aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-14 23:30:24 -0800
committerAdam Vandenberg2013-11-14 23:30:24 -0800
commit2b8d2e8af7bfbd1bed3720770be114001123493a (patch)
tree821c8141d8c176e14b360b106a3e7a7871de0854 /Library/Formula
parentd71b9830d1d131e0f18c4c56b043097fa9a33984 (diff)
downloadhomebrew-2b8d2e8af7bfbd1bed3720770be114001123493a.tar.bz2
samba 3.6.20
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/samba.rb18
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'