Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Mar 2004 08:25:01 +0900
From:      Kimura Fuyuki <fuyuki@nigredo.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63861: bsd.sites.mk: Add MASTER_SITE_SAMBA
Message-ID:  <86ad2tk182.wl%fuyuki@nigredo.org>
Resent-Message-ID: <200403062330.i26NU9Ah056715@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63861
>Category:       ports
>Synopsis:       bsd.sites.mk: Add MASTER_SITE_SAMBA
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 06 15:30:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
>Environment:

  FreeBSD ns.nigredo.org 5.2.1-RELEASE-p1 i386

>Description:

Add MASTER_SITE_SAMBA. It can be used by only four ports but they are
very popular and their distfiles are huge.

The mirror list is based on samba-devel/Makefile and I tweaked it a
bit using the information from http://www.samba.org/.

>How-To-Repeat:

>Fix:
Index: bsd.sites.mk
===================================================================
RCS file: /cvs/FreeBSD/ports/Mk/bsd.sites.mk,v
retrieving revision 1.224
diff -u -r1.224 bsd.sites.mk
--- bsd.sites.mk	6 Mar 2004 16:28:30 -0000	1.224
+++ bsd.sites.mk	6 Mar 2004 23:06:34 -0000
@@ -723,6 +728,24 @@
 	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%/

Index: Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/net/samba/Makefile,v
retrieving revision 1.132
diff -u -r1.132 Makefile
--- Makefile	4 Mar 2004 08:09:58 -0000	1.132
+++ Makefile	6 Mar 2004 22:57:23 -0000
@@ -9,9 +9,7 @@
 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)
Index: Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/net/samba-devel/Makefile,v
retrieving revision 1.105
diff -u -r1.105 Makefile
--- Makefile	5 Mar 2004 14:25:42 -0000	1.105
+++ Makefile	6 Mar 2004 22:58:55 -0000
@@ -10,18 +10,7 @@
 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/}
 
Index: Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/net/samba-libsmbclient/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	6 Mar 2004 11:41:58 -0000	1.11
+++ Makefile	6 Mar 2004 22:59:41 -0000
@@ -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
 
Index: Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/www/smb2www/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	4 Feb 2004 05:09:35 -0000	1.6
+++ Makefile	6 Mar 2004 23:05:12 -0000
@@ -9,12 +9,8 @@
 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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ad2tk182.wl%fuyuki>