ports/56342: postgresql-contrib updated, added scripts

Palle Girgensohn girgen at pingpong.net
Wed Sep 3 00:30:22 UTC 2003


>Number:         56342
>Category:       ports
>Synopsis:       postgresql-contrib updated, added scripts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 02 17:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn <girgen at pingpong.net>
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
PING PONG
>Environment:
System: FreeBSD palle.girgensohn.se 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 29 17:21:22 CEST 2002     root at palle.girgensohn.se:/usr/local/obj/usr/src/sys/STORDATAN  i386


	
>Description:
Some scripts are added:
- ipc_check
- reindexdb

Also, change the way postgres slave ports build, use make -V instead
of .include. This is better.

Includes newly reported ports/56330, which is superceeded.
	
>How-To-Repeat:
	
>Fix:

	


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql-contrib/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	24 Aug 2003 12:17:02 -0000	1.1
+++ Makefile	3 Sep 2003 00:17:10 -0000
@@ -4,21 +4,29 @@
 #
 # $FreeBSD: ports/databases/postgresql-contrib/Makefile,v 1.1 2003/08/24 12:17:02 edwin Exp $
 #
+POSTGRESQL_PORT?=	databases/postgresql7
 
-PORTNAME=	postgresql-contrib
-PORTREVISION=	0
+PORTNAME=	postgresql
+PORTVERSION!=	${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V PORTVERSION
+PORTREVISION=	2
 CATEGORIES=	databases
+MASTER_SITES=	${MASTER_SITE_PGSQL}
+MASTER_SITE_SUBDIR!=	${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V MASTER_SITE_SUBDIR
+PKGNAMESUFFIX=	-contrib
+DISTFILES!=	${MAKE} -C ${.CURDIR}/../../${POSTGRESQL_PORT} -V DISTFILES
+DIST_SUBDIR=	postgresql
 
 MAINTAINER=	girgen at pingpong.net
 COMMENT=	The contrib utilities from the PostgreSQL distribution
 
 LIB_DEPENDS=	pq:${PORTSDIR}/${POSTGRESQL_PORT}
 
-POSTGRESQL_PORT?=	databases/postgresql7
-POSTGRESQL_SUBPORT=YES
-.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
-
+USE_BISON=	YES
 INSTALLS_SHLIB=	yes
+MD5_FILE=	${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo
+
+USE_GMAKE=	YES
+GNU_CONFIGURE=	YES
 
 CONFIGURE_ARGS=	--with-libraries=${LOCALBASE}/lib \
 		--with-includes=${LOCALBASE}/include \
@@ -30,6 +38,10 @@
 	${GMAKE} ../../src/include/parser/parse.h ../../src/include/utils/fmgroids.h
 
 post-install:
+	@ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ipc_check/ipc_check.pl ${PREFIX}/bin/ipc_check ;\
+	  ${INSTALL_DATA} ${WRKSRC}/contrib/ipc_check/README ${PREFIX}/share/doc/postgresql/contrib/README.ipc_check ;\
+	  ${INSTALL_SCRIPT} ${WRKSRC}/contrib/reindexdb/reindexdb ${PREFIX}/bin/reindexdb ;\
+	  ${INSTALL_DATA} ${WRKSRC}/contrib/reindexdb/README ${PREFIX}/share/doc/postgresql/contrib/README.reindexdb
 	@ ${INSTALL_DATA} ${WRKSRC}/contrib/README \
 			  ${PREFIX}/share/doc/postgresql/contrib/README
 	@ ${ECHO} ==================================== ;\
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql-contrib/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	24 Aug 2003 12:17:02 -0000	1.1
+++ pkg-plist	3 Sep 2003 00:11:21 -0000
@@ -13,11 +13,13 @@
 bin/dbf2pg
 bin/findoidjoins
 bin/fti.pl
+bin/ipc_check
 bin/make_oidjoins_check
 bin/oid2name
 bin/pg_dumplo
 bin/pg_logger
 bin/pgbench
+bin/reindexdb
 bin/vacuumlo
 lib/postgresql/_int.so
 lib/postgresql/array_iterator.so
@@ -66,6 +68,7 @@
 share/doc/postgresql/contrib/README.fuzzystrmatch
 share/doc/postgresql/contrib/README.int_aggregate
 share/doc/postgresql/contrib/README.intarray
+share/doc/postgresql/contrib/README.ipc_check
 share/doc/postgresql/contrib/README.isbn_issn
 share/doc/postgresql/contrib/README.lo
 share/doc/postgresql/contrib/README.ltree
@@ -79,6 +82,7 @@
 share/doc/postgresql/contrib/README.pgcrypto
 share/doc/postgresql/contrib/README.pgstattuple
 share/doc/postgresql/contrib/README.pgstattuple.euc_jp
+share/doc/postgresql/contrib/README.reindexdb
 share/doc/postgresql/contrib/README.rserv
 share/doc/postgresql/contrib/README.rtree_gist
 share/doc/postgresql/contrib/README.seg
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list