From 536cb2788fb673016bf6501ececef04175910188 Mon Sep 17 00:00:00 2001 From: Viktor Szakáts Date: Tue, 6 Jan 2015 02:33:34 +0100 Subject: samba 3.6.24, url: use https, modernizing Closes #35588. Signed-off-by: Mike McQuaid --- Library/Formula/samba.rb | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3