pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases use MASTER_SITE_PGSQL



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c16b140abaac
branches:  trunk
changeset: 511048:c16b140abaac
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Apr 08 19:14:06 2006 +0000

description:
use MASTER_SITE_PGSQL

diffstat:

 databases/postgresql73/Makefile.common |  14 +++++++-------
 databases/postgresql74/Makefile.common |  14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diffs (56 lines):

diff -r 09a4f3e1c34e -r c16b140abaac databases/postgresql73/Makefile.common
--- a/databases/postgresql73/Makefile.common    Sat Apr 08 19:08:25 2006 +0000
+++ b/databases/postgresql73/Makefile.common    Sat Apr 08 19:14:06 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2006/04/06 06:21:42 reed Exp $
+# $NetBSD: Makefile.common,v 1.18 2006/04/08 19:16:36 jdolecek Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -11,12 +11,12 @@
 
 DISTNAME?=             postgresql-${DIST_VERS}
 CATEGORIES+=           databases
-MASTER_SITES?=         http://www.postgresql.org/ftpsite/source/v${DIST_VERS}/ \
-                       ftp://ftp.postgresql.org/pub/source/v${DIST_VERS}/ \
-                       ftp://ftp.de.postgresql.org/mirror/postgresql/source/v${DIST_VERS}/ \
-                       ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/source/v${DIST_VERS}/ \
-                       ftp://ftp.sunsite.auc.dk/mirrors/postgresql/source/v${DIST_VERS}/ \
-                       ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/source/v${DIST_VERS}/
+MASTER_SITES?=         ${MASTER_SITE_PGSQL:=source/v${DIST_VERS}/}
+
+# Craft a MASTER_SORT_REGEX that understands the location of the country
+# code in the FTP server name for the PostgreSQL mirror sites.
+#
+MASTER_SORT_REGEX+=    ${MASTER_SORT:S/./\\./g:C/.*/:\/\/[^[\/]*&\/ :\/\/[^\/]*&\\./}
 
 MAINTAINER?=           pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE?=             http://www.postgresql.org/
diff -r 09a4f3e1c34e -r c16b140abaac databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Sat Apr 08 19:08:25 2006 +0000
+++ b/databases/postgresql74/Makefile.common    Sat Apr 08 19:14:06 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.33 2006/04/06 06:21:42 reed Exp $
+# $NetBSD: Makefile.common,v 1.34 2006/04/08 19:14:06 jdolecek Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -11,12 +11,12 @@
 
 DISTNAME?=             postgresql-${DIST_VERS}
 CATEGORIES+=           databases
-MASTER_SITES?=         \
-                       ftp://ftp.de.postgresql.org/mirror/postgresql/source/v${DIST_VERS}/ \
-                       ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/source/v${DIST_VERS}/ \
-                       ftp://ftp.sunsite.auc.dk/mirrors/postgresql/source/v${DIST_VERS}/ \
-                       ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/source/v${DIST_VERS}/ \
-                       ftp://ftp.postgresql.org/pub/source/v${DIST_VERS}/
+MASTER_SITES?=  ${MASTER_SITE_PGSQL:=source/v${DIST_VERS}/}
+
+# Craft a MASTER_SORT_REGEX that understands the location of the country
+# code in the FTP server name for the PostgreSQL mirror sites.
+#
+MASTER_SORT_REGEX+=    ${MASTER_SORT:S/./\\./g:C/.*/:\/\/[^[\/]*&\/ :\/\/[^\/]*&\\./}
 
 EXTRACT_SUFX=          .tar.bz2
 



Home | Main Index | Thread Index | Old Index