diff options
| author | Adam Vandenberg | 2013-11-14 23:30:24 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-14 23:30:24 -0800 |
| commit | 2b8d2e8af7bfbd1bed3720770be114001123493a (patch) | |
| tree | 821c8141d8c176e14b360b106a3e7a7871de0854 /Library | |
| parent | d71b9830d1d131e0f18c4c56b043097fa9a33984 (diff) | |
| download | homebrew-2b8d2e8af7bfbd1bed3720770be114001123493a.tar.bz2 | |
samba 3.6.20
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/samba.rb | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb index 46ff637d2..17c48f75c 100644 --- a/Library/Formula/samba.rb +++ b/Library/Formula/samba.rb @@ -2,13 +2,8 @@ require 'formula' class Samba < Formula homepage 'http://samba.org/' - url 'http://www.samba.org/samba/ftp/stable/samba-3.6.8.tar.gz' - sha1 'a3cd91fa8835c7c47e4cb3ab419f92b4895052b5' - - # Needed for autogen.sh - depends_on :autoconf - depends_on :automake - depends_on :libtool + url 'http://www.samba.org/samba/ftp/stable/samba-3.6.20.tar.gz' + sha1 '445f579112bc69027f560be276744facc1196fe1' # Fixes the Grouplimit of 16 users os OS X. # Bug has been raised upstream: @@ -18,15 +13,12 @@ class Samba < Formula end def install - # Enable deprecated CUPS structs on Mountain Lion - # https://github.com/mxcl/homebrew/issues/13790 - ENV['CFLAGS'] += " -D_IPP_PRIVATE_STRUCTURES" cd 'source3' do - system "./autogen.sh" system "./configure", "--disable-debug", - "--disable-dependency-tracking", "--prefix=#{prefix}", - "--with-configdir=#{prefix}/etc" + "--with-configdir=#{prefix}/etc", + "--without-ldap", + "--without-krb5" system "make install" (prefix/'etc').mkpath touch prefix/'etc/smb.conf' |
