aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.sites.mk18
-rw-r--r--net/samba-devel/Makefile13
-rw-r--r--net/samba-libsmbclient/Makefile14
-rw-r--r--net/samba/Makefile4
-rw-r--r--net/samba3/Makefile13
-rw-r--r--security/pam_smb/Makefile4
-rw-r--r--www/smb2www/Makefile8
7 files changed, 27 insertions, 47 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 48695f3b0dd6..764f5106b978 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -724,6 +724,24 @@ MASTER_SITE_RUBY+= \
http://mirrors.sunsite.dk/ruby/%SUBDIR%/ \
ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/%SUBDIR%/
+MASTER_SITE_SAMBA+= \
+ http://us3.samba.org/samba/ftp/%SUBDIR%/ \
+ http://us1.samba.org/samba/ftp/%SUBDIR%/ \
+ http://us4.samba.org/samba/ftp/%SUBDIR%/ \
+ http://us2.samba.org/samba/ftp/%SUBDIR%/ \
+ ftp://ca.samba.org/%SUBDIR%/ \
+ ftp://de.samba.org/samba.org/%SUBDIR%/ \
+ ftp://ftp.k2.net/mirrors/samba/%SUBDIR%/ \
+ ftp://ftp.oss.eznetsols.org/samba/%SUBDIR%/ \
+ ftp://gd.tuwien.ac.at/infosys/servers/samba/%SUBDIR%/ \
+ ftp://giswitch.sggw.waw.pl/pub/unix/samba/%SUBDIR%/ \
+ ftp://ru.samba.org/pub/samba/%SUBDIR%/ \
+ ftp://tr.samba.org/samba/%SUBDIR%/ \
+ http://sambafr.idealx.org/samba/ftp/%SUBDIR%/ \
+ ftp://ftp.easynet.be/samba/ftp/%SUBDIR%/ \
+ ftp://ftp.linuxforum.net/ftp.samba.org/%SUBDIR%/ \
+ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/samba/&,}
+
MASTER_SITE_SAVANNAH+= \
http://savannah.nongnu.org/download/%SUBDIR%/ \
ftp://ftp.gnu.org/pub/savannah/files/%SUBDIR%/
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile
index d4fe86947e94..4ca474200520 100644
--- a/net/samba-devel/Makefile
+++ b/net/samba-devel/Makefile
@@ -10,18 +10,7 @@ PORTVERSION= 3.0.2.a
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= http://us1.samba.org/samba/ftp/%SUBDIR%/ \
- http://us3.samba.org/samba/ftp/%SUBDIR%/ \
- http://us4.samba.org/samba/ftp/%SUBDIR%/ \
- ftp://ca.samba.org/%SUBDIR%/ \
- ftp://de.samba.org/samba.org/%SUBDIR%/ \
- ftp://ftp.k2.net/mirrors/samba/%SUBDIR%/ \
- ftp://ftp.oss.eznetsols.org/samba/%SUBDIR%/ \
- ftp://gd.tuwien.ac.at/infosys/servers/samba/%SUBDIR%/ \
- ftp://giswitch.sggw.waw.pl/pub/unix/samba/%SUBDIR%/ \
- ftp://ru.samba.org/pub/samba/%SUBDIR%/ \
- ftp://tr.samba.org/samba/%SUBDIR%/ \
- http://sambafr.idealx.org/samba/ftp/%SUBDIR%/
+MASTER_SITES= ${MASTER_SITE_SAMBA}
MASTER_SITE_SUBDIR= . rc
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/:S/.a/a/}
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile
index 70565172b0d5..7445aed94688 100644
--- a/net/samba-libsmbclient/Makefile
+++ b/net/samba-libsmbclient/Makefile
@@ -8,19 +8,7 @@
PORTNAME= samba
PORTVERSION= 3.0.2a
CATEGORIES= net
-MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ \
- http://us1.samba.org/samba/ftp/%SUBDIR%/ \
- http://us4.samba.org/samba/ftp/%SUBDIR%/ \
- http://us5.samba.org/samba/ftp/%SUBDIR%/ \
- ftp://ca.samba.org/%SUBDIR%/ \
- ftp://de.samba.org/samba.org/%SUBDIR%/ \
- ftp://ftp.k2.net/mirrors/samba/%SUBDIR%/ \
- ftp://ftp.oss.eznetsols.org/samba/%SUBDIR%/ \
- ftp://gd.tuwien.ac.at/infosys/servers/samba/%SUBDIR%/ \
- ftp://giswitch.sggw.waw.pl/pub/unix/samba/%SUBDIR%/ \
- ftp://ru.samba.org/pub/samba/%SUBDIR%/ \
- ftp://tr.samba.org/samba/%SUBDIR%/ \
- http://sambafr.idealx.org/samba/ftp/%SUBDIR%/
+MASTER_SITES= ${MASTER_SITE_SAMBA}
MASTER_SITE_SUBDIR= . old-versions
PKGNAMESUFFIX= -libsmbclient
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 6ef7e84ff64e..c21a90ac1cc0 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -9,9 +9,7 @@ PORTNAME= samba
PORTVERSION= 2.2.8a
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ \
- http://us4.samba.org/samba/ftp/%SUBDIR%/ \
- http://us5.samba.org/samba/ftp/%SUBDIR%/
+MASTER_SITES= ${MASTER_SITE_SAMBA}
MASTER_SITE_SUBDIR= . old-versions
.if defined(WITH_JAIL)
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index d4fe86947e94..4ca474200520 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -10,18 +10,7 @@ PORTVERSION= 3.0.2.a
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= http://us1.samba.org/samba/ftp/%SUBDIR%/ \
- http://us3.samba.org/samba/ftp/%SUBDIR%/ \
- http://us4.samba.org/samba/ftp/%SUBDIR%/ \
- ftp://ca.samba.org/%SUBDIR%/ \
- ftp://de.samba.org/samba.org/%SUBDIR%/ \
- ftp://ftp.k2.net/mirrors/samba/%SUBDIR%/ \
- ftp://ftp.oss.eznetsols.org/samba/%SUBDIR%/ \
- ftp://gd.tuwien.ac.at/infosys/servers/samba/%SUBDIR%/ \
- ftp://giswitch.sggw.waw.pl/pub/unix/samba/%SUBDIR%/ \
- ftp://ru.samba.org/pub/samba/%SUBDIR%/ \
- ftp://tr.samba.org/samba/%SUBDIR%/ \
- http://sambafr.idealx.org/samba/ftp/%SUBDIR%/
+MASTER_SITES= ${MASTER_SITE_SAMBA}
MASTER_SITE_SUBDIR= . rc
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/:S/.a/a/}
diff --git a/security/pam_smb/Makefile b/security/pam_smb/Makefile
index a7aaa3a54ff2..ebbf61eecf8d 100644
--- a/security/pam_smb/Makefile
+++ b/security/pam_smb/Makefile
@@ -9,7 +9,9 @@ PORTVERSION= 2.0.0.r5
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://pamsmb.sourceforge.net/v2/ \
- http://www.csn.ul.ie/~airlied/pam_smb/v2/
+ http://www.csn.ul.ie/~airlied/pam_smb/v2/ \
+ ${MASTER_SITE_SAMBA}
+MASTER_SITE_SUBDIR= pam_smb/v2
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/smb2www/Makefile b/www/smb2www/Makefile
index 2920a6d13942..de2ca6644475 100644
--- a/www/smb2www/Makefile
+++ b/www/smb2www/Makefile
@@ -9,12 +9,8 @@ PORTNAME= smb2www
PORTVERSION= 0.0.980804
PORTREVISION= 2
CATEGORIES= www
-MASTER_SITES= http://us1.samba.org/samba/smb2www/ \
- http://us2.samba.org/samba/smb2www/ \
- http://us3.samba.org/samba/smb2www/ \
- http://us4.samba.org/samba/smb2www/ \
- http://uk.samba.org/samba/smb2www/ \
- http://sunsite.auc.dk/samba/smb2www/
+MASTER_SITES= ${MASTER_SITE_SAMBA}
+MASTER_SITE_SUBDIR= smb2www
DISTNAME= ${PORTNAME}-${PORTVERSION:S/0.0.//g}
MAINTAINER= roman@xpert.com