ports/53181: New port: postgresql-contrib

Palle Girgensohn girgen at pingpong.net
Wed Jun 11 00:30:19 UTC 2003


>Number:         53181
>Category:       ports
>Synopsis:       New port: postgresql-contrib
>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 Jun 10 17:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn <girgen at pingpong.net>
>Release:        FreeBSD 4.8-RELEASE 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:
New port, containing all contrib stuff distributed with postgresql

>From the README:

The PostgreSQL contrib tree
---------------------------

This subtree contains porting tools, analysis utilities, and plug-in
features that are not part of the core PostgreSQL system, mainly because
they address a limited audience or are too experimental to be part of
the main source tree.  This does not preclude their usefulness.

Each subdirectory contains a README file with information about the
module.  Most items can be built with `gmake all' and installed with
`gmake install' in the usual fashion, after you have run the `configure'
script in the top-level directory.  Some directories supply new
user-defined functions, operators, or types.  After you have installed
the files you need to register the new entities in the database system
by running the commands in the supplied .sql file.  For example,

	$ psql -d dbname -f module.sql

See the PostgreSQL documentation for more information about this
procedure.


>How-To-Repeat:
	
>Fix:

	


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	postgresql-contrib
#	postgresql-contrib/pkg-message
#	postgresql-contrib/pkg-descr
#	postgresql-contrib/pkg-plist
#	postgresql-contrib/Makefile
#
echo c - postgresql-contrib
mkdir -p postgresql-contrib > /dev/null 2>&1
echo x - postgresql-contrib/pkg-message
sed 's/^X//' >postgresql-contrib/pkg-message << 'END-of-postgresql-contrib/pkg-message'
XThe PostgreSQL contrib utilities have been installed. Please see
X/usr/local/share/doc/postgresql/contrib/README
Xfor more information.
END-of-postgresql-contrib/pkg-message
echo x - postgresql-contrib/pkg-descr
sed 's/^X//' >postgresql-contrib/pkg-descr << 'END-of-postgresql-contrib/pkg-descr'
XThis is the port for all stuff that comes in the contrib subtree of
Xthe postgresql distribution. This subtree contains porting tools,
Xanalysis utilities, and plug-in features that are not part of the core
XPostgreSQL system, mainly because they address a limited audience or
Xare too experimental to be part of the main source tree.  This does
Xnot preclude their usefulness.
X
XEach subdirectory contains a README file with information about the
Xmodule. Some directories supply new user-defined functions, operators,
Xor types.  After you have installed the files you need to register the
Xnew entities in the database system by running the commands in the
Xsupplied .sql file.  For example,
X
X        $ psql -d dbname -f module.sql
X
XThe .sql files are installed into /usr/local/share/postgresql/contrib
X
XFor more information, please see
X/usr/local/share/doc/postgresql/contrib/README*
X
XThis software is part of the standard PostgreSQL distribution.
X
XWWW: http://www.postgresql.org/
END-of-postgresql-contrib/pkg-descr
echo x - postgresql-contrib/pkg-plist
sed 's/^X//' >postgresql-contrib/pkg-plist << 'END-of-postgresql-contrib/pkg-plist'
Xbin/ApplySnapshot
Xbin/CleanLog
Xbin/GetSyncID
Xbin/InitRservTest
Xbin/MasterAddTable
Xbin/MasterInit
Xbin/MasterSync
Xbin/PrepareSnapshot
Xbin/Replicate
Xbin/RservTest
Xbin/SlaveAddTable
Xbin/SlaveInit
Xbin/dbf2pg
Xbin/findoidjoins
Xbin/fti.pl
Xbin/make_oidjoins_check
Xbin/oid2name
Xbin/pg_dumplo
Xbin/pg_logger
Xbin/pgbench
Xbin/vacuumlo
Xlib/postgresql/_int.so
Xlib/postgresql/array_iterator.so
Xlib/postgresql/autoinc.so
Xlib/postgresql/btree_gist.so
Xlib/postgresql/chkpass.so
Xlib/postgresql/cube.so
Xlib/postgresql/dblink.so
Xlib/postgresql/dbsize.so
Xlib/postgresql/earthdistance.so
Xlib/postgresql/fti.so
Xlib/postgresql/fuzzystrmatch.so
Xlib/postgresql/insert_username.so
Xlib/postgresql/int_aggregate.so
Xlib/postgresql/isbn_issn.so
Xlib/postgresql/lo.so
Xlib/postgresql/ltree.so
Xlib/postgresql/misc_utils.so
Xlib/postgresql/moddatetime.so
Xlib/postgresql/noup.so
Xlib/postgresql/pending.so
Xlib/postgresql/pgcrypto.so
Xlib/postgresql/pgstattuple.so
Xlib/postgresql/refint.so
Xlib/postgresql/rserv.so
Xlib/postgresql/rtree_gist.so
Xlib/postgresql/seg.so
Xlib/postgresql/string_io.so
Xlib/postgresql/tablefunc.so
Xlib/postgresql/timetravel.so
Xlib/postgresql/tsearch.so
Xlib/postgresql/user_locks.so
Xshare/doc/postgresql/contrib/README
Xshare/doc/postgresql/contrib/README.apachelog
Xshare/doc/postgresql/contrib/README.array_iterator
Xshare/doc/postgresql/contrib/README.btree_gist
Xshare/doc/postgresql/contrib/README.chkpass
Xshare/doc/postgresql/contrib/README.cube
Xshare/doc/postgresql/contrib/README.dbf2pg
Xshare/doc/postgresql/contrib/README.dblink
Xshare/doc/postgresql/contrib/README.dbmirror
Xshare/doc/postgresql/contrib/README.dbsize
Xshare/doc/postgresql/contrib/README.earthdistance
Xshare/doc/postgresql/contrib/README.findoidjoins
Xshare/doc/postgresql/contrib/README.fti
Xshare/doc/postgresql/contrib/README.fuzzystrmatch
Xshare/doc/postgresql/contrib/README.int_aggregate
Xshare/doc/postgresql/contrib/README.intarray
Xshare/doc/postgresql/contrib/README.isbn_issn
Xshare/doc/postgresql/contrib/README.lo
Xshare/doc/postgresql/contrib/README.ltree
Xshare/doc/postgresql/contrib/README.misc_utils
Xshare/doc/postgresql/contrib/README.noup
Xshare/doc/postgresql/contrib/README.oid2name
Xshare/doc/postgresql/contrib/README.pg_dumplo
Xshare/doc/postgresql/contrib/README.pg_logger
Xshare/doc/postgresql/contrib/README.pgbench
Xshare/doc/postgresql/contrib/README.pgbench_jis
Xshare/doc/postgresql/contrib/README.pgcrypto
Xshare/doc/postgresql/contrib/README.pgstattuple
Xshare/doc/postgresql/contrib/README.pgstattuple.euc_jp
Xshare/doc/postgresql/contrib/README.rserv
Xshare/doc/postgresql/contrib/README.rtree_gist
Xshare/doc/postgresql/contrib/README.seg
Xshare/doc/postgresql/contrib/README.soundex
Xshare/doc/postgresql/contrib/README.spi
Xshare/doc/postgresql/contrib/README.string_io
Xshare/doc/postgresql/contrib/README.tablefunc
Xshare/doc/postgresql/contrib/README.tsearch
Xshare/doc/postgresql/contrib/README.user_locks
Xshare/doc/postgresql/contrib/README.vacuumlo
Xshare/doc/postgresql/contrib/autoinc.example
Xshare/doc/postgresql/contrib/insert_username.example
Xshare/doc/postgresql/contrib/moddatetime.example
Xshare/doc/postgresql/contrib/refint.example
Xshare/doc/postgresql/contrib/timetravel.example
Xshare/postgresql/contrib/RServ.pm
Xshare/postgresql/contrib/_int.sql
Xshare/postgresql/contrib/array_iterator.sql
Xshare/postgresql/contrib/autoinc.sql
Xshare/postgresql/contrib/btree_gist.sql
Xshare/postgresql/contrib/chkpass.sql
Xshare/postgresql/contrib/cube.sql
Xshare/postgresql/contrib/dblink.sql
Xshare/postgresql/contrib/dbsize.sql
Xshare/postgresql/contrib/earthdistance.sql
Xshare/postgresql/contrib/fti.sql
Xshare/postgresql/contrib/fuzzystrmatch.sql
Xshare/postgresql/contrib/insert_username.sql
Xshare/postgresql/contrib/int_aggregate.sql
Xshare/postgresql/contrib/isbn_issn.sql
Xshare/postgresql/contrib/lo.sql
Xshare/postgresql/contrib/lo_drop.sql
Xshare/postgresql/contrib/lo_test.sql
Xshare/postgresql/contrib/ltree.sql
Xshare/postgresql/contrib/master.sql
Xshare/postgresql/contrib/misc_utils.sql
Xshare/postgresql/contrib/moddatetime.sql
Xshare/postgresql/contrib/noup.sql
Xshare/postgresql/contrib/pgcrypto.sql
Xshare/postgresql/contrib/pgstattuple.sql
Xshare/postgresql/contrib/refint.sql
Xshare/postgresql/contrib/rtree_gist.sql
Xshare/postgresql/contrib/seg.sql
Xshare/postgresql/contrib/slave.sql
Xshare/postgresql/contrib/string_io.sql
Xshare/postgresql/contrib/tablefunc.sql
Xshare/postgresql/contrib/timetravel.sql
Xshare/postgresql/contrib/tsearch.sql
Xshare/postgresql/contrib/user_locks.sql
X at dirrm share/postgresql/contrib
X at dirrm share/postgresql
X at dirrm share/doc/postgresql/contrib
X at dirrm share/doc/postgresql
X at dirrm lib/postgresql
END-of-postgresql-contrib/pkg-plist
echo x - postgresql-contrib/Makefile
sed 's/^X//' >postgresql-contrib/Makefile << 'END-of-postgresql-contrib/Makefile'
X# New ports collection makefile for:	postgresql-contrib
X# Date created:		June 10, 2003
X# Whom:			Palle Girgensohn <girgen at pingpong.net>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	postgresql-contrib
XPORTREVISION=	0
XCATEGORIES=	databases
X
XMAINTAINER=	girgen at pingpong.net
X
XLIB_DEPENDS=	pq:${PORTSDIR}/${POSTGRESQL_PORT}
X
XCOMMENT=	The contrib utilities from the PostgreSQL distribution
X
XPOSTGRESQL_PORT?=	databases/postgresql7
XPOSTGRESQL_SUBPORT=YES
X.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
X
XCONFIGURE_ARGS=	--with-libraries=${LOCALBASE}/lib \
X		--with-includes=${LOCALBASE}/include \
X		--docdir=${PREFIX}/share/doc/postgresql
XMAKE_ARGS=	-C contrib
X
Xpre-build:
X	cd ${WRKSRC}/src/backend ;\
X	${GMAKE} ../../src/include/parser/parse.h ../../src/include/utils/fmgroids.h
X
Xpost-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/contrib/README \
X			  ${PREFIX}/share/doc/postgresql/contrib/README
X	@ ${ECHO} ==================================== ;\
X	  ${SED} -e "s,/usr/local,${PREFIX},g"  ${PKGDIR}/pkg-message ;\
X	  ${ECHO} ====================================
X
X.include <bsd.port.mk>
END-of-postgresql-contrib/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list