ports/50397: [PATCH] databases/postgresql[-odbc|7|72] patch

Sergey A.Osokin osa at FreeBSD.org.ru
Fri Mar 28 13:40:08 UTC 2003


>Number:         50397
>Category:       ports
>Synopsis:       [PATCH] databases/postgresql[-odbc|7|72] patch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 28 05:40:04 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
n/a
>Environment:
System: FreeBSD 5.0-CURRENT i386

>Description:
	databases/postgresql[-odbc|7|72] patch
	After this commit
	http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1948598+0+current/cvs-all
	we have a new special variable MASTER_PGSQL_SITE.
	
>How-To-Repeat:
>Fix:

Index: ports/databases/postgresql-odbc/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql-odbc/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- ports/databases/postgresql-odbc/Makefile	21 Feb 2003 11:15:03 -0000	1.5
+++ ports/databases/postgresql-odbc/Makefile	28 Mar 2003 13:28:46 -0000
@@ -8,7 +8,9 @@
 PORTNAME=	postgresql
 PORTVERSION=	7.2.5
 CATEGORIES=	databases
-MASTER_SITES=	http://odbc.postgresql.org/ftpsite/odbc/versions/src/
+MASTER_SITES=	http://odbc.postgresql.org/ftpsite/%SUBDIR%/ \
+		${MASTER_SITE_PGSQL}
+MASTER_SITE_SUBDIR=	odbc/versions/src
 PKGNAMESUFFIX?=	-odbc
 DISTNAME=	psqlodbc-${PORTVERSION}
 DIST_SUBDIR=	postgresql
Index: ports/databases/postgresql7/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/Makefile,v
retrieving revision 1.107
diff -u -r1.107 Makefile
--- ports/databases/postgresql7/Makefile	20 Feb 2003 01:14:11 -0000	1.107
+++ ports/databases/postgresql7/Makefile	28 Mar 2003 13:28:48 -0000
@@ -9,20 +9,7 @@
 PORTVERSION?=	7.3.2
 PORTREVISION=	1
 CATEGORIES?=	databases
-MASTER_SITES=	ftp://ftp3.us.postgresql.org/pub/postgresql/%SUBDIR%/ \
-		ftp://ftp5.us.postgresql.org/pub/PostgreSQL/%SUBDIR%/ \
-		ftp://ftp10.us.postgresql.org/pub/postgresql/%SUBDIR%/ \
-		ftp://ftp13.us.postgresql.org/mirror/postresql/%SUBDIR%/ \
-		ftp://ftp8.us.postgresql.org/pub/pgsql/%SUBDIR%/ \
-		ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/%SUBDIR%/ \
-		ftp://ftp.se.postgresql.org/pub/database/relational/postgresql/%SUBDIR%/ \
-		ftp://ftp2.ch.postgresql.org/mirror/postgresql/%SUBDIR%/ \
-		ftp://ftp.de.postgresql.org/mirror/postgresql/%SUBDIR%/ \
-		ftp://ftp.chg.ru/pub/databases/postgresql/%SUBDIR%/ \
-		ftp://ftp.sunet.se/pub/unix/databases/relational/postgresql/%SUBDIR%/ \
-		ftp://ftp.jaist.ac.jp/pub/dbms/PostgreSQL/%SUBDIR%/ \
-		ftp://ftp.us.postgresql.org/%SUBDIR%/ \
-		ftp://ftp.postgresql.org/pub/%SUBDIR%/
+MASTER_SITES=	${MASTER_SITE_PGSQL}
 MASTER_SITE_SUBDIR=	source/v${PORTVERSION}
 DISTFILES=	postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
 		postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
Index: ports/databases/postgresql72/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql72/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/databases/postgresql72/Makefile	24 Feb 2003 04:58:20 -0000	1.3
+++ ports/databases/postgresql72/Makefile	28 Mar 2003 13:28:51 -0000
@@ -8,15 +8,7 @@
 PORTNAME?=	postgresql
 PORTVERSION?=	7.2.4
 CATEGORIES?=	databases
-MASTER_SITES=	ftp://ftp.postgresql.org/pub/%SUBDIR%/ \
-		ftp://ftp.se.postgresql.org/pub/database/relational/postgresql/%SUBDIR%/ \
-		ftp://ftp2.ch.postgresql.org/mirror/postgresql/%SUBDIR%/ \
-		ftp://ftp.de.postgresql.org/mirror/postgresql/%SUBDIR%/ \
-		ftp://ftp.chg.ru/pub/databases/postgresql/%SUBDIR%/ \
-		ftp://ftp.sunet.se/pub/unix/databases/relational/postgresql/%SUBDIR%/ \
-		ftp://ftp2.ch.postgresql.org/mirror/postgresql/%SUBDIR%/ \
-		ftp://ftp.jaist.ac.jp/pub/dbms/PostgreSQL/%SUBDIR%/ \
-		ftp://ftp.us.postgresql.org/%SUBDIR%/
+MASTER_SITES=	${MASTER_SITE_PGSQL}
 MASTER_SITE_SUBDIR=	source/v${PORTVERSION}
 DISTFILES=	postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
 		postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list