aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorViktor Szakáts2015-01-06 02:33:34 +0100
committerMike McQuaid2015-01-07 16:42:53 +0000
commit536cb2788fb673016bf6501ececef04175910188 (patch)
tree1d66cb96907d6a792461e39c539731c8ffe5b92f /Library/Formula
parent02ab2b0f0c7ac0a4cf12d85effe8858685ab2f9a (diff)
downloadhomebrew-536cb2788fb673016bf6501ececef04175910188.tar.bz2
samba 3.6.24, url: use https, modernizing
Closes #35588. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/samba.rb28
1 files changed, 13 insertions, 15 deletions
diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb
index cd6284a9e..e6eb98ac3 100644
--- a/Library/Formula/samba.rb
+++ b/Library/Formula/samba.rb
@@ -1,14 +1,12 @@
-require 'formula'
-
class Samba < Formula
- homepage 'http://samba.org/'
- url 'http://www.samba.org/samba/ftp/stable/samba-3.6.23.tar.gz'
- sha1 '5ba2f8323ab17fa6c04bf87c11d20f10a4fcfe17'
+ homepage "https://samba.org/"
+ url "https://download.samba.org/pub/samba/stable/samba-3.6.24.tar.gz"
+ sha1 "6d48b55ab1e172b0c75035040f5aea65fbf0561e"
- conflicts_with 'talloc', :because => 'both install `include/talloc.h`'
+ conflicts_with "talloc", :because => "both install `include/talloc.h`"
- skip_clean 'private'
- skip_clean 'var/locks'
+ skip_clean "private"
+ skip_clean "var/locks"
# Fixes the Grouplimit of 16 users os OS X.
# Bug has been raised upstream:
@@ -16,21 +14,21 @@ class Samba < Formula
patch :DATA
def install
- cd 'source3' do
+ cd "source3" do
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-configdir=#{prefix}/etc",
"--without-ldap",
"--without-krb5"
- system "make install"
- (prefix/'etc').mkpath
- touch prefix/'etc/smb.conf'
- (prefix/'private').mkpath
- (var/'locks').mkpath
+ system "make", "install"
+ (prefix/"etc").mkpath
+ touch prefix/"etc/smb.conf"
+ (prefix/"private").mkpath
+ (var/"locks").mkpath
end
end
- plist_options :manual => 'smbd'
+ plist_options :manual => "smbd"
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>