aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql7/Makefile246
-rw-r--r--databases/postgresql7/distinfo8
-rw-r--r--databases/postgresql7/files/502.pgsql89
-rw-r--r--databases/postgresql7/files/dot.cshrc.in13
-rw-r--r--databases/postgresql7/files/dot.profile.in25
-rw-r--r--databases/postgresql7/files/patch-configure59
-rw-r--r--databases/postgresql7/files/patch-src:backend:utils:misc:postgresql.conf.sample24
-rw-r--r--databases/postgresql7/files/pgsql.sh.tmpl51
-rw-r--r--databases/postgresql7/files/pkg-message.server37
-rw-r--r--databases/postgresql7/files/post-install-notes62
-rw-r--r--databases/postgresql7/pkg-descr23
-rw-r--r--databases/postgresql7/pkg-install68
-rw-r--r--databases/postgresql7/pkg-plist562
-rw-r--r--databases/postgresql73/Makefile229
-rw-r--r--databases/postgresql73/distinfo8
-rw-r--r--databases/postgresql73/files/502.pgsql89
-rw-r--r--databases/postgresql73/files/dot.cshrc.in13
-rw-r--r--databases/postgresql73/files/dot.profile.in25
-rw-r--r--databases/postgresql73/files/patch-configure59
-rw-r--r--databases/postgresql73/files/pgsql.sh.tmpl49
-rw-r--r--databases/postgresql73/files/pkg-message.server17
-rw-r--r--databases/postgresql73/files/post-install-notes57
-rw-r--r--databases/postgresql73/pkg-descr23
-rw-r--r--databases/postgresql73/pkg-install65
-rw-r--r--databases/postgresql73/pkg-plist492
25 files changed, 0 insertions, 2393 deletions
diff --git a/databases/postgresql7/Makefile b/databases/postgresql7/Makefile
deleted file mode 100644
index f02d92eede47..000000000000
--- a/databases/postgresql7/Makefile
+++ /dev/null
@@ -1,246 +0,0 @@
-# New ports collection makefile for: PostgreSQL
-# Date created: November 13, 1998
-# Whom: Marc G. Fournier <scrappy@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME?= postgresql
-PORTVERSION?= 7.4.6
-PORTREVISION?= 0
-CATEGORIES?= databases
-MASTER_SITES= ${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR= source/v${PORTVERSION}
-DISTFILES= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
- postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
-
-MAINTAINER?= girgen@FreeBSD.org
-COMMENT?= The most advanced open-source database available anywhere
-
-WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
-DIST_SUBDIR= postgresql
-
-USE_BZIP2= YES
-USE_GMAKE= YES
-GNU_CONFIGURE= YES
-
-.if defined(POSTGRESQL_SUBPORT)
-## the POSTGRESQL_SUBPORTS use this port's distinfo
-MD5_FILE= ${.CURDIR}/../postgresql7/distinfo
-.else
-
-## POSTGRESQL_SUBPORTS stops here
-## The rest of this file is for normal base installation
-INSTALLS_SHLIB= YES
-
-CONFIGURE_ARGS= --with-libraries=${LOCALBASE}/lib \
- --with-includes=${LOCALBASE}/include
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-
-.if defined(WITH_PAM)
-CONFIGURE_ARGS+= --with-pam
-.endif
-
-.if !defined(WITHOUT_GNUGETOPT)
-USE_GETOPT_LONG=yes
-.endif
-
-.if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= GETTEXT=""
-USE_GETTEXT= YES
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= GETTEXT="@comment "
-.endif
-
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O3 -funroll-loops
-.endif
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-INSTALL_TARGET= install
-.else
-INSTALL_TARGET= install-strip
-.endif
-
-.if !defined(WITHOUT_SSL)
-USE_OPENSSL= yes
-CONFIGURE_ARGS+= "--with-openssl=${OPENSSLBASE}"
-.endif
-
-.if defined(WITHOUT_SERVER)
-PLIST_SUB+= SERVER="@comment "
-PKGNAMESUFFIX= -client
-PKGMSG= /dev/null
-CONFLICTS= postgresql-7* postgresql-devel-*
-.else
-PKGMESSAGE= ${FILESDIR}/pkg-message.server
-PKGMSG= ${PKGMESSAGE}
-CONFLICTS= postgresql-client-7* postgresql-devel-*
-PLIST_SUB+= SERVER=""
-INSTALL_TARGET+= install-all-headers
-MAKEFILE= GNUmakefile
-.endif
-
-.if defined(WITH_MIT_KRB5)
-KRB5CONF= ${KRB5_HOME}/bin/krb5-config
-LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
-WITH_KRB5= yes
-.endif
-
-.if defined(WITH_HEIMDAL_KRB5)
-WITH_KRB5= yes
-.if defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
-CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME}
-KRB5CONF= ${HEIMDAL_HOME}/bin/krb5-config
-.elif ( defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105 ) && exists(${DESTDIR}/usr/lib/libkrb5.a)
-CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr
-KRB5CONF= ${DESTDIR}/usr/bin/krb5-config
-.else
-LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
-CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
-KRB5CONF= ${LOCALBASE}/bin/krb5-config
-.endif
-.endif
-
-.include <bsd.port.pre.mk>
-.if defined(WITH_KRB5)
-CONFIGURE_ARGS+= --with-krb5="`${KRB5CONF} --prefix krb5`"
-LDFLAGS+= `${KRB5CONF} --libs krb5`
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-.endif
-
-.if defined(WITH_TESTS)
-DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
-.endif
-
-.if defined(WITH_LIBC_R)
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
-.endif
-
-MAN1= clusterdb.1 createdb.1 createlang.1 createuser.1 dropdb.1 \
- droplang.1 dropuser.1 ecpg.1 initdb.1 initlocation.1 ipcclean.1 \
- pg_config.1 pg_controldata.1 pg_ctl.1 pg_dump.1 pg_dumpall.1 \
- pg_resetxlog.1 pg_restore.1 pgtclsh.1 pgtksh.1 postgres.1 \
- postmaster.1 psql.1 vacuumdb.1
-
-MAN7= abort.7 alter_aggregate.7 alter_conversion.7 \
- alter_database.7 alter_domain.7 alter_function.7 \
- alter_group.7 alter_language.7 alter_operator_class.7 \
- alter_schema.7 alter_sequence.7 alter_table.7 \
- alter_trigger.7 alter_user.7 analyze.7 begin.7 checkpoint.7 \
- close.7 cluster.7 comment.7 commit.7 copy.7 create_aggregate.7 \
- create_cast.7 create_constraint_trigger.7 create_conversion.7 \
- create_database.7 create_domain.7 create_function.7 create_group.7 \
- create_index.7 create_language.7 create_operator.7 \
- create_operator_class.7 create_rule.7 create_schema.7 \
- create_sequence.7 create_table.7 create_table_as.7 \
- create_trigger.7 create_type.7 create_user.7 create_view.7 \
- deallocate.7 declare.7 delete.7 drop_aggregate.7 \
- drop_cast.7 drop_conversion.7 drop_database.7 drop_domain.7 \
- drop_function.7 drop_group.7 drop_index.7 drop_language.7 \
- drop_operator.7 drop_operator_class.7 drop_rule.7 drop_schema.7 \
- drop_sequence.7 \
- drop_table.7 drop_trigger.7 drop_type.7 drop_user.7 \
- drop_view.7 end.7 execute.7 explain.7 fetch.7 grant.7 insert.7 \
- listen.7 load.7 lock.7 move.7 notify.7 prepare.7 reindex.7 \
- reset.7 revoke.7 rollback.7 select.7 select_into.7 \
- set.7 set_constraints.7 set_transaction.7 show.7 \
- set_session_authorization.7 start_transaction.7 \
- truncate.7 unlisten.7 update.7 vacuum.7
-
-pre-everything::
- @${SH} ${PKGINSTALL} ${PORTNAME} BACKUPWARNING
- @${ECHO} ""
- @${ECHO} "${PORTNAME} has several tunables that can be used to configure PostgreSQL:"
- @${ECHO} ""
- @${ECHO} " WITHOUT_GNUGETOPT Don't install GNU getopt (will"
- @${ECHO} " still be used if already installed)"
- @${ECHO} " WITHOUT_NLS Skips building with support for"
- @${ECHO} " internationalized error messages"
- @${ECHO} " WITHOUT_SERVER Don't install the server,"
- @${ECHO} " only install binaries, headers and libs"
- @${ECHO} " for PostgreSQL clients"
- @${ECHO} " WITHOUT_SSL Builds without OpenSSL support"
- @${ECHO} " WITH_PAM Builds with PAM support"
- @${ECHO} " WITH_MIT_KRB5 Builds with MIT's kerberos support"
- @${ECHO} " WITH_HEIMDAL_KRB5 Builds with Heimdal's kerberos support"
- @${ECHO} " WITH_OPTIMIZED_CFLAGS Builds with compiler optimizations (-O3)"
- @${ECHO} " WITH_DEBUG Builds with debugging symbols"
- @${ECHO} " WITH_TESTS Allows the use of a \"check\" target"
- @${ECHO} " to run regression tests"
- @${ECHO} " WITH_LIBC_R Link the binaries with libc_r."
- @${ECHO} " Needed to run plpython"
- @${ECHO} ""
-.if defined(WITH_MIT_KRB5) && defined(WITH_HEIMDAL_KRB5)
- @${ECHO} "WITH_MIT_KRB5 and WITH_HEIMDAL_KRB5 are mutually exclusive."
- @${ECHO} "Please choose one or the other."
- @exit 1
-.endif
-.if defined(WITH_MIT_KRB5) && !exists(${KRB5CONF})
- @${ECHO} "Unable to find krb5-config in your local base, please verify that"
- @${ECHO} "security/krb5 is installed or undefine the WITH_MIT_KRB5 tunable."
- @exit 1
-.endif
-.if defined(WITH_HEIMDAL_KRB5) && !exists(${KRB5CONF})
- @${ECHO} "Unable to find krb5-config in the base system. Undefine"
- @${ECHO} "WITH_HEIMDAL_KRB5 or add MAKE_KERBEROS5=yes to /etc/make.conf"
- @${ECHO} "and remake world."
- @exit 1
-.endif
-
-.if defined(WITHOUT_SERVER)
-do-install:
- @ cd ${WRKSRC}; \
- ${GMAKE} -C src/bin ${INSTALL_TARGET} ;\
- ${GMAKE} -C src/include ${INSTALL_TARGET} ;\
- ${GMAKE} -C src/interfaces ${INSTALL_TARGET} ;\
- ${GMAKE} -C doc ${INSTALL_TARGET}
-.else
-pre-install:
- @ ${SETENV} PKG_PREFIX=${PREFIX} \
- ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
-.endif
-
-post-install:
- @ ${MKDIR} ${PREFIX}/share/postgresql ;\
- ${CAT} ${FILESDIR}/post-install-notes ${PKGMSG} |\
- ${SED} "s|/usr/local|${PREFIX}|g" |\
- tee ${PREFIX}/share/postgresql/post-install-notes
-.if !defined(WITHOUT_SERVER)
-.for i in profile cshrc
- @ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
- < ${FILESDIR}/dot.$i.in \
- > ${PREFIX}/share/postgresql/dot.$i.dist; \
- ${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
- if [ ! -f ~pgsql/.$i ]; then \
- ${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
- fi
-.endfor
- @ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%PG_PREFIX%%|${PG_PREFIX}|g" \
- < ${FILESDIR}/pgsql.sh.tmpl \
- > ${PREFIX}/etc/rc.d/010.pgsql.sh ;\
- ${CHMOD} 554 ${PREFIX}/etc/rc.d/010.pgsql.sh ;\
- ${CHOWN} root:pgsql ${PREFIX}/etc/rc.d/010.pgsql.sh ;\
- ${INSTALL_DATA} ${PREFIX}/share/postgresql/post-install-notes ~pgsql/. ;\
- ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
- ${INSTALL_DATA} ${FILESDIR}/502.pgsql \
- ${PREFIX}/share/postgresql
-.endif
-
-.if defined(WITH_TESTS)
-check:
- @if [ `id -u` != 0 ] ; then \
- ${ECHO} "Running postgresql regressions tests" ;\
- cd ${WRKSRC}; ${GMAKE} check ;\
- else \
- ${ECHO} "You cannot run regression tests when postgresql is built as user root." ; \
- ${ECHO} "Clean and rebuild the port as a regular user to run the tests." ;\
- fi
-.endif
-
-.include <bsd.port.post.mk>
-.endif
diff --git a/databases/postgresql7/distinfo b/databases/postgresql7/distinfo
deleted file mode 100644
index 5e767ee944da..000000000000
--- a/databases/postgresql7/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-MD5 (postgresql/postgresql-base-7.4.6.tar.bz2) = 650757097b7cff36ea6052ddb3a78987
-SIZE (postgresql/postgresql-base-7.4.6.tar.bz2) = 6534961
-MD5 (postgresql/postgresql-docs-7.4.6.tar.bz2) = 1a0567a4ac34dd1f02d5ba3e70e611c1
-SIZE (postgresql/postgresql-docs-7.4.6.tar.bz2) = 2412858
-MD5 (postgresql/postgresql-opt-7.4.6.tar.bz2) = f70f0c3f4b07fff02273a1ed9f8f55d6
-SIZE (postgresql/postgresql-opt-7.4.6.tar.bz2) = 331832
-MD5 (postgresql/postgresql-test-7.4.6.tar.bz2) = 8efd2d6dc0bdace536f473054bb5be67
-SIZE (postgresql/postgresql-test-7.4.6.tar.bz2) = 942380
diff --git a/databases/postgresql7/files/502.pgsql b/databases/postgresql7/files/502.pgsql
deleted file mode 100644
index 84cdb9b5ad45..000000000000
--- a/databases/postgresql7/files/502.pgsql
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Maintenance shell script to vacuum and backup database
-# Put this in /usr/local/etc/periodic/daily, and it will be run
-# every night
-#
-# Written by Palle Girgensohn <girgen@pingpong.net>
-#
-# In public domain, do what you like with it,
-# and use it at your own risk... :)
-#
-######################################################################
-#
-# If you like to tweak the settings of the variables PGBACKUPDIR and
-# PGDUMP_ARGS, you should preferably set them in ~pgsql/.profile.
-# If set there, that setting will override the defaults here.
-#
-######################################################################
-
-DIR=`dirname $0`
-progname=`basename $0`
-PRG=`cd $DIR; pwd `/$progname
-
-# Run as user pgsql
-if [ `id -un` != pgsql ]; then
- su -l pgsql -c ${PRG}
- exit $?
-fi
-
-# arguments to pg_dump
-PGDUMP_ARGS=${PGDUMP_ARGS:-"-b -F c"}
-
-# The directory where the backups will reside.
-# ${HOME} is pgsql's home directory
-PGBACKUPDIR=${PGBACKUPDIR:-${HOME}/backups}
-
-# If you want to keep a history of database backups, set
-# PGBACKUP_SAVE_DAYS in ~pgsql/.profile to the number of days. This is
-# used as "find ... -mtime +${PGBACKUP_SAVE_DAYS} -delete", see below
-PGBACKUP_SAVE_DAYS=${PGBACKUP_SAVE_DAYS:-7}
-
-# PGBACKUPDIR must be writeable by user pgsql
-# ~pgsql is just that under normal circumstances,
-# but this might not be where you want the backups...
-if [ ! -d ${PGBACKUPDIR} ] ; then
- echo Creating ${PGBACKUPDIR}
- mkdir ${PGBACKUPDIR}
- chmod 700 ${PGBACKUPDIR}
-fi
-
-echo
-echo "PostgreSQL maintenance"
-
-# Protect the data
-umask 077
-dbnames=`psql -q -t -A -d template1 -c "SELECT datname FROM pg_database WHERE datname != 'template0'"`
-rc=$?
-now=`date "+%Y-%m-%dT%H:%M:%S"`
-file=${PGBACKUPDIR}/pgglobals_${now}
-pg_dumpall -g | gzip -9 > ${file}.gz
-for db in ${dbnames}; do
- echo -n " $db"
- file=${PGBACKUPDIR}/pgdump_${db}_${now}
- pg_dump ${PGDUMP_ARGS} -f ${file} ${db}
- [ $? -gt 0 ] && rc=3
-done
-
-if [ $rc -gt 0 ]; then
- echo
- echo "Errors were reported during backup."
-fi
-
-echo
-echo "vacuuming..."
-vacuumdb -a -z -q
-if [ $? -gt 0 ]
-then
- echo
- echo "Errors were reported during vacuum."
- rc=3
-fi
-
-# cleaning up old data
-find ${PGBACKUPDIR} \( -name 'pgdump_*' -o -name 'pgglobals_*' \) \
- -a -mtime +${PGBACKUP_SAVE_DAYS} -delete
-
-exit $rc
diff --git a/databases/postgresql7/files/dot.cshrc.in b/databases/postgresql7/files/dot.cshrc.in
deleted file mode 100644
index 724212c70b23..000000000000
--- a/databases/postgresql7/files/dot.cshrc.in
+++ /dev/null
@@ -1,13 +0,0 @@
-set path = ( %%PREFIX%%/bin $path )
-
-setenv PGLIB %%PREFIX%%/lib
-
-# note: PGDATA can be overridden by the -D startup option
-setenv PGDATA $HOME/data
-
-#You might want to set some locale stuff here
-#setenv PGDATESTYLE ISO
-#setenv LC_ALL sv_SE.ISO_8859-1
-
-# if you want to make regression tests use this TZ
-#setenv TZ PST8PDT
diff --git a/databases/postgresql7/files/dot.profile.in b/databases/postgresql7/files/dot.profile.in
deleted file mode 100644
index 6da911dfa6fa..000000000000
--- a/databases/postgresql7/files/dot.profile.in
+++ /dev/null
@@ -1,25 +0,0 @@
-# both new and old layout's paths, but new path first...
-PATH=%%PREFIX%%/bin:${PATH}
-
-PGLIB=%%PREFIX%%/lib
-
-# note: PGDATA can be overridden by the -D startup option
-PGDATA=${HOME}/data
-
-export PATH PGLIB PGDATA
-
-# if you use the periodic script from share/postgresql/502.pgsql, you
-# can set these
-#PGDUMP_ARGS="-b -F c"
-#PGBACKUPDIR=${HOME}/backups
-#PGBACKUP_SAVE_DAYS=7
-#export PGBACKUPDIR PGDUMP_ARGS PGBACKUP_SAVE_DAYS
-
-#You might want to set some locale stuff here
-#PGDATESTYLE=ISO
-#LC_ALL=sv_SE.ISO_8859-1
-#export PGDATESTYLE LC_ALL
-
-# if you want to make regression tests use this TZ
-#TZ=PST8PDT
-#export TZ
diff --git a/databases/postgresql7/files/patch-configure b/databases/postgresql7/files/patch-configure
deleted file mode 100644
index efeca517d300..000000000000
--- a/databases/postgresql7/files/patch-configure
+++ /dev/null
@@ -1,59 +0,0 @@
---- configure.orig Wed Jun 26 21:28:24 2002
-+++ configure Wed Jun 26 21:35:16 2002
-@@ -2007,11 +2007,13 @@
- EOF
-
-
-- if test -d "$krb4_prefix/include"; then
-- INCLUDES="$INCLUDES -I$krb4_prefix/include"
-- fi
-- if test -d "$krb4_prefix/lib"; then
-- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
-+ if test "$krb4_prefix" != "/usr"; then
-+ if test -d "$krb4_prefix/include"; then
-+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
-+ fi
-+ if test -d "$krb4_prefix/lib"; then
-+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
-+ fi
- fi
-
- krb_srvtab="/etc/srvtab"
-@@ -2052,11 +2054,13 @@
- EOF
-
-
-- if test -d "$krb5_prefix/include"; then
-- INCLUDES="$INCLUDES -I$krb5_prefix/include"
-- fi
-- if test -d "$krb5_prefix/lib"; then
-- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
-+ if test "$krb5_prefix" != "/usr"; then
-+ if test -d "$krb5_prefix/include"; then
-+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
-+ fi
-+ if test -d "$krb5_prefix/lib"; then
-+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
-+ fi
- fi
-
- krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
-@@ -2157,11 +2161,13 @@
- EOF
-
-
-- if test -d "${openssl_prefix}/include" ; then
-- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
-- fi
-- if test -d "${openssl_prefix}/lib" ; then
-- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
-+ if test "${openssl_prefix}" != "/usr"; then
-+ if test -d "${openssl_prefix}/include" ; then
-+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
-+ fi
-+ if test -d "${openssl_prefix}/lib" ; then
-+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
-+ fi
- fi
-
- fi
diff --git a/databases/postgresql7/files/patch-src:backend:utils:misc:postgresql.conf.sample b/databases/postgresql7/files/patch-src:backend:utils:misc:postgresql.conf.sample
deleted file mode 100644
index b9842b0c94f6..000000000000
--- a/databases/postgresql7/files/patch-src:backend:utils:misc:postgresql.conf.sample
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/backend/utils/misc/postgresql.conf.sample~ Wed Oct 8 05:49:38 2003
-+++ src/backend/utils/misc/postgresql.conf.sample Tue Nov 18 05:08:08 2003
-@@ -136,9 +136,9 @@
-
- # - Syslog -
-
--#syslog = 0 # range 0-2; 0=stdout; 1=both; 2=syslog
--#syslog_facility = 'LOCAL0'
--#syslog_ident = 'postgres'
-+syslog = 2 # range 0-2; 0=stdout; 1=both; 2=syslog
-+syslog_facility = 'LOCAL0'
-+syslog_ident = 'postgres'
-
- # - When to Log -
-
-@@ -162,7 +162,7 @@
- # milliseconds. Zero prints all queries.
- # Minus-one disables.
-
--#silent_mode = false # DO NOT USE without Syslog!
-+silent_mode = true # DO NOT USE without Syslog!
-
- # - What to Log -
-
diff --git a/databases/postgresql7/files/pgsql.sh.tmpl b/databases/postgresql7/files/pgsql.sh.tmpl
deleted file mode 100644
index 3f8706d6af0c..000000000000
--- a/databases/postgresql7/files/pgsql.sh.tmpl
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# For postmaster startup options, edit $PGDATA/postgresql.conf
-#
-# Note that PGDATA is set in ~pgsql/.profile, don't try to manipulate it here!
-#
-
-PREFIX=%%PREFIX%%
-PGBIN=${PREFIX}/bin
-
-case $1 in
-start)
- [ -x ${PGBIN}/pg_ctl ] && {
- echo -n ' pgsql'
- su -l pgsql -c \
- "[ -d \${PGDATA} ] && exec ${PREFIX}/bin/pg_ctl start -s -w"
- }
- ;;
-
-stop)
- [ -x ${PGBIN}/pg_ctl ] && {
- echo -n ' pgsql'
- su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl stop -s -m fast"
- }
- ;;
-
-restart)
- [ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl restart -s -m fast"
- }
- ;;
-
-reload)
- [ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl reload"
- }
- ;;
-
-status)
- [ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl status"
- }
- ;;
-
-*)
- echo "usage: `basename $0` {start|stop|restart|reload|status}" >&2
- exit 64
- ;;
-esac
diff --git a/databases/postgresql7/files/pkg-message.server b/databases/postgresql7/files/pkg-message.server
deleted file mode 100644
index 69826681eb42..000000000000
--- a/databases/postgresql7/files/pkg-message.server
+++ /dev/null
@@ -1,37 +0,0 @@
-======================================================================
-
-To initialize the database, you should run initdb as the "pgsql" user
-(if you want to use your locale for collation, edit ~pgsql/.profile
-and set the locale to your preference first).
-
-Example:
-
- su -l pgsql -c initdb
-
-You can then start PostgreSQL by running:
-
- /usr/local/etc/rc.d/010.pgsql.sh start
-
-For postmaster settings, see ~pgsql/data/postgresql.conf
-
-NB. FreeBSD's PostgreSQL port now by default logs to syslog
- See ~pgsql/data/postgresql.conf for more info
-
-For more tips, read ~pgsql/post-install-notes
-======================================================================
-Specific for the 7.4.1 update:
-
- A dump/restore is *not* required for those running 7.4.
-
- If you want to install the fixes in the information schema you need to
- reload it into the database. This is either accomplished by
- initializing a new cluster by running "initdb", or by running the
- following sequence of SQL commands in each database (ideally including
- template1) as a superuser in psql, after installing the new release:
-DROP SCHEMA information_schema CASCADE;
-\i /usr/local/pgsql/share/information_schema.sql
-
- Fixes to the information schema (from HISTORY):
- * Fix information schema for bit data types (Peter)
- * Fix information schema view constraint_column_usage for foreign
- keys (Peter)
diff --git a/databases/postgresql7/files/post-install-notes b/databases/postgresql7/files/post-install-notes
deleted file mode 100644
index d52b24121539..000000000000
--- a/databases/postgresql7/files/post-install-notes
+++ /dev/null
@@ -1,62 +0,0 @@
-The PostgreSQL port has a collection of "side orders":
-
-postgresql-doc
- For all of the html documentation
-
-p5-Pg
- A perl5 API for client access to PostgreSQL databases.
-
-postgresql-tcltk
- If you want tcl/tk client support.
-
-postgresql-jdbc
- For Java JDBC support.
-
-postgresql-odbc
- For client access from unix applications using ODBC as access
- method. Not needed to access unix PostgreSQL servers from Win32
- using ODBC. See below.
-
-ruby-postgres, py-PyGreSQL
- For client access to PostgreSQL databases using the ruby & python
- languages.
-
-p5-postgresql-plperl, postgresql-pltcl & postgresql-plruby
- For using perl5, tcl & ruby as procedural languages.
-
-postgresql-contrib
- Lots of contributed utilities, postgresql functions and
- datatypes. There you find autovacuum, pgcrypto and many other cool
- things.
-
-etc etc...
-
-For procedural languages and postgresql functions, please note that
-you might have to update them when updating the server. For example,
-the "elog" method disappeared in postgresql-7.4, so postgresql-contrib
-must be updated along with the server.
-
-If you have many tables and many clients running, consider raising
-kern.maxfiles using sysctl(8), or reconfigure your kernel
-appropriately.
-
-You should vacuum and backup your database regularly. There is a
-periodic script, /usr/local/share/postgresql/502.pgsql, that you may
-find useful.
-
-To allow many simultaneous connections to your PostgreSQL server, you
-should raise the SystemV shared memory limits in your kernel. Here are
-example values for allowing up to 180 clients (tinkering in
-postgresql.conf also needed, of course):
- options SYSVSHM
- options SYSVSEM
- options SYSVMSG
- options SHMMAXPGS=65536
- options SEMMNI=40
- options SEMMNS=240
- options SEMUME=40
- options SEMMNU=120
-
-If you plan to access your PostgreSQL server using ODBC, please
-consider running the SQL script /usr/local/share/postgresql/odbc.sql
-to get the functions required for ODBC compliance.
diff --git a/databases/postgresql7/pkg-descr b/databases/postgresql7/pkg-descr
deleted file mode 100644
index f8f8a9e0d422..000000000000
--- a/databases/postgresql7/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-PostgreSQL is a sophisticated Object-Relational DBMS, supporting
-almost all SQL constructs, including subselects, transactions, and
-user-defined types and functions. It is the most advanced open-source
-database available anywhere. Commercial Support is also available.
-
-The original Postgres code was the effort of many graduate students,
-undergraduate students, and staff programmers working under the direction of
-Professor Michael Stonebraker at the University of California, Berkeley. In
-1995, Andrew Yu and Jolly Chen took on the task of converting the DBMS query
-language to SQL and created a new database system which came to known as
-Postgres95. Many others contributed to the porting, testing, debugging and
-enhancement of the Postgres95 code. As the code improved, and 1995 faded into
-memory, PostgreSQL was born.
-
-PostgreSQL development is presently being performed by a team of Internet
-developers who are now responsible for all current and future development. The
-development team coordinator is Marc G. Fournier (scrappy@PostgreSQL.ORG).
-Support is available from the PostgreSQL developer/user community through the
-support mailing list (questions@PostgreSQL.ORG).
-
-PostgreSQL is free and the complete source is available.
-
-WWW: http://www.postgresql.org/
diff --git a/databases/postgresql7/pkg-install b/databases/postgresql7/pkg-install
deleted file mode 100644
index 90a0378d55f3..000000000000
--- a/databases/postgresql7/pkg-install
+++ /dev/null
@@ -1,68 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD$
-
-PATH=/bin:/usr/sbin
-
-DB_DIR=${PKG_PREFIX}/pgsql
-
-backupwarning() { echo "
-NOTICE: unlike most minor versions, upgrading from 7.4.1 to 7.4.x
-*recommends* some updates to the pg_* system tables. Full
-instructions for how to do this are included in the HISTORY file.
-
- =========== BACKUP YOUR DATA! =============
- As always, backup your data before
- upgrading. If the upgrade leads to a higher
- minor revision (e.g. 7.3.x -> 7.4), a dump
- and restore of all databases is
- required. This is *NOT* done by the port!
-
- Press ctrl-C *now* if you need to pg_dump.
- ===========================================
-"
- sleep 5
-}
-
-case $2 in
-PRE-INSTALL)
- backupwarning
- USER=pgsql
- GROUP=${USER}
- UID=70
- GID=${UID}
-
- if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
- else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
- fi
-
- if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d ${DB_DIR} -c "PostgreSQL Daemon"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
- fi
-
- if ! [ -x ~pgsql ] ; then
- mkdir -p ${DB_DIR}
- chown pgsql:pgsql ${DB_DIR}
- fi
- ;;
-
-BACKUPWARNING)
- backupwarning
- ;;
-esac
diff --git a/databases/postgresql7/pkg-plist b/databases/postgresql7/pkg-plist
deleted file mode 100644
index 6700f1c5353e..000000000000
--- a/databases/postgresql7/pkg-plist
+++ /dev/null
@@ -1,562 +0,0 @@
-bin/clusterdb
-bin/createdb
-bin/createlang
-bin/createuser
-bin/dropdb
-bin/droplang
-bin/dropuser
-bin/ecpg
-bin/initdb
-bin/initlocation
-bin/ipcclean
-bin/pg_config
-bin/pg_controldata
-bin/pg_ctl
-bin/pg_dump
-bin/pg_dumpall
-bin/pg_encoding
-bin/pg_id
-bin/pg_resetxlog
-bin/pg_restore
-%%SERVER%%bin/postmaster
-%%SERVER%%bin/postgres
-bin/psql
-bin/vacuumdb
-include/libpq/libpq-fs.h
-@dirrm include/libpq
-include/postgresql/internal/libpq/pqcomm.h
-@dirrm include/postgresql/internal/libpq
-include/postgresql/internal/lib/dllist.h
-@dirrm include/postgresql/internal/lib
-include/postgresql/informix/esql/datetime.h
-include/postgresql/informix/esql/decimal.h
-include/postgresql/informix/esql/sqlda.h
-include/postgresql/informix/esql/sqltypes.h
-@dirrm include/postgresql/informix/esql
-@dirrm include/postgresql/informix
-include/postgresql/internal/c.h
-include/postgresql/internal/libpq-int.h
-include/postgresql/internal/postgres_fe.h
-include/postgresql/internal/port.h
-include/postgresql/internal/pqexpbuffer.h
-@dirrm include/postgresql/internal
-include/ecpg_informix.h
-include/ecpgerrno.h
-include/ecpglib.h
-include/ecpgtype.h
-include/libpq-fe.h
-include/pg_config.h
-include/pg_config_manual.h
-include/pg_config_os.h
-include/pgtypes_date.h
-include/pgtypes_error.h
-include/pgtypes_interval.h
-include/pgtypes_numeric.h
-include/pgtypes_timestamp.h
-include/postgres_ext.h
-include/sql3types.h
-include/sqlca.h
-lib/libecpg.a
-lib/libecpg.so
-lib/libecpg.so.4
-lib/libecpg_compat.a
-lib/libecpg_compat.so
-lib/libecpg_compat.so.1
-lib/libpq.a
-lib/libpq.so
-lib/libpq.so.3
-lib/libpgtypes.a
-lib/libpgtypes.so
-lib/libpgtypes.so.1
-%%SERVER%%lib/postgresql/ascii_and_mic.so
-%%SERVER%%lib/postgresql/cyrillic_and_mic.so
-%%SERVER%%lib/postgresql/euc_cn_and_mic.so
-%%SERVER%%lib/postgresql/euc_jp_and_sjis.so
-%%SERVER%%lib/postgresql/euc_kr_and_mic.so
-%%SERVER%%lib/postgresql/euc_tw_and_big5.so
-%%SERVER%%lib/postgresql/latin2_and_win1250.so
-%%SERVER%%lib/postgresql/latin_and_mic.so
-%%SERVER%%lib/postgresql/utf8_and_ascii.so
-%%SERVER%%lib/postgresql/utf8_and_big5.so
-%%SERVER%%lib/postgresql/utf8_and_cyrillic.so
-%%SERVER%%lib/postgresql/utf8_and_euc_cn.so
-%%SERVER%%lib/postgresql/utf8_and_euc_jp.so
-%%SERVER%%lib/postgresql/utf8_and_euc_kr.so
-%%SERVER%%lib/postgresql/utf8_and_euc_tw.so
-%%SERVER%%lib/postgresql/utf8_and_gb18030.so
-%%SERVER%%lib/postgresql/utf8_and_gbk.so
-%%SERVER%%lib/postgresql/utf8_and_iso8859.so
-%%SERVER%%lib/postgresql/utf8_and_iso8859_1.so
-%%SERVER%%lib/postgresql/utf8_and_johab.so
-%%SERVER%%lib/postgresql/utf8_and_sjis.so
-%%SERVER%%lib/postgresql/utf8_and_tcvn.so
-%%SERVER%%lib/postgresql/utf8_and_uhc.so
-%%SERVER%%lib/postgresql/utf8_and_win1250.so
-%%SERVER%%lib/postgresql/utf8_and_win1256.so
-%%SERVER%%lib/postgresql/utf8_and_win874.so
-%%SERVER%%lib/postgresql/plpgsql.so
-@unexec rmdir %D/lib/postgresql 2>/dev/null || true
-%%SERVER%%share/postgresql/502.pgsql
-%%SERVER%%share/postgresql/conversion_create.sql
-%%SERVER%%share/postgresql/information_schema.sql
-%%SERVER%%share/postgresql/pg_hba.conf.sample
-%%SERVER%%share/postgresql/pg_ident.conf.sample
-%%SERVER%%share/postgresql/postgres.bki
-%%SERVER%%share/postgresql/postgres.description
-%%SERVER%%share/postgresql/postgresql.conf.sample
-%%SERVER%%share/postgresql/sql_features.txt
-share/postgresql/pg_service.conf.sample
-share/postgresql/post-install-notes
-@unexec rmdir %D/share/postgresql 2>/dev/null || true
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/hr/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/hu/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/hu/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/hu/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/it/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/it/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/it/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/nb/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/nb/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/nb/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/sl/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/sl/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/sl/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/sl/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/sl/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pgscripts.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/psql.mo
-%%SERVER%%%%GETTEXT%%share/locale/cs/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/de/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/es/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/fr/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/hr/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/hu/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/it/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/nb/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/ru/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/sv/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/tr/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/postgres.mo
-%%GETTEXT%%@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/cs 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_CN 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES 2>/dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_TW 2>/dev/null || true
-%%SERVER%%@unexec if cmp -s ~pgsql/.profile %D/share/postgresql/dot.profile.dist; then rm -f ~pgsql/.profile; fi
-%%SERVER%%@unexec if cmp -s ~pgsql/.cshrc %D/share/postgresql/dot.cshrc.dist; then rm -f ~pgsql/.cshrc; fi
-%%SERVER%%@unexec [ -f ~pgsql/dot.profile.dist ] && rm ~pgsql/dot.profile.dist
-%%SERVER%%@unexec [ -f ~pgsql/dot.cshrc.dist ] && rm ~pgsql/dot.cshrc.dist
-%%SERVER%%@exec [ -f %D/share/postgresql/post-install-notes ] && cp %D/share/postgresql/post-install-notes ~pgsql && chown pgsql:pgsql ~pgsql/post-install-notes
-%%SERVER%%@unexec [ -f ~pgsql/post-install-notes ] && rm ~pgsql/post-install-notes
-%%SERVER%%share/postgresql/dot.profile.dist
-%%SERVER%%share/postgresql/dot.cshrc.dist
-%%SERVER%%@exec [ -f %D/share/postgresql/dot.profile.dist ] && cp %D/share/postgresql/dot.profile.dist ~pgsql/.
-%%SERVER%%@exec [ -f %D/share/postgresql/dot.cshrc.dist ] && cp %D/share/postgresql/dot.cshrc.dist ~pgsql/.
-%%SERVER%%@exec [ -f ~pgsql/.profile ] || (cp %D/share/postgresql/dot.profile.dist ~pgsql/.profile && chown pgsql:pgsql ~pgsql/.profile)
-%%SERVER%%@exec [ -f ~pgsql/.cshrc ] || (cp %D/share/postgresql/dot.cshrc.dist ~pgsql/.cshrc && chown pgsql:pgsql ~pgsql/.cshrc)
-%%SERVER%%@unexec rmdir ~pgsql 2> /dev/null || true
-%%SERVER%%@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %D/pgsql and the pgsql user manually."
-%%SERVER%%@unexec rmdir %D/share/postgresql 2>/dev/null || true
-%%SERVER%%etc/rc.d/010.pgsql.sh
-%%SERVER%%include/postgresql/server/access/attnum.h
-%%SERVER%%include/postgresql/server/access/clog.h
-%%SERVER%%include/postgresql/server/access/genam.h
-%%SERVER%%include/postgresql/server/access/gist.h
-%%SERVER%%include/postgresql/server/access/gistscan.h
-%%SERVER%%include/postgresql/server/access/hash.h
-%%SERVER%%include/postgresql/server/access/heapam.h
-%%SERVER%%include/postgresql/server/access/hio.h
-%%SERVER%%include/postgresql/server/access/htup.h
-%%SERVER%%include/postgresql/server/access/ibit.h
-%%SERVER%%include/postgresql/server/access/iqual.h
-%%SERVER%%include/postgresql/server/access/istrat.h
-%%SERVER%%include/postgresql/server/access/itup.h
-%%SERVER%%include/postgresql/server/access/nbtree.h
-%%SERVER%%include/postgresql/server/access/printtup.h
-%%SERVER%%include/postgresql/server/access/relscan.h
-%%SERVER%%include/postgresql/server/access/rmgr.h
-%%SERVER%%include/postgresql/server/access/rtree.h
-%%SERVER%%include/postgresql/server/access/rtscan.h
-%%SERVER%%include/postgresql/server/access/sdir.h
-%%SERVER%%include/postgresql/server/access/skey.h
-%%SERVER%%include/postgresql/server/access/slru.h
-%%SERVER%%include/postgresql/server/access/strat.h
-%%SERVER%%include/postgresql/server/access/transam.h
-%%SERVER%%include/postgresql/server/access/tupdesc.h
-%%SERVER%%include/postgresql/server/access/tupmacs.h
-%%SERVER%%include/postgresql/server/access/valid.h
-%%SERVER%%include/postgresql/server/access/tuptoaster.h
-%%SERVER%%include/postgresql/server/access/xact.h
-%%SERVER%%include/postgresql/server/access/xlog.h
-%%SERVER%%include/postgresql/server/access/xlogdefs.h
-%%SERVER%%include/postgresql/server/access/xlogutils.h
-%%SERVER%%include/postgresql/server/bootstrap/bootstrap.h
-%%SERVER%%include/postgresql/server/catalog/catalog.h
-%%SERVER%%include/postgresql/server/catalog/catname.h
-%%SERVER%%include/postgresql/server/catalog/catversion.h
-%%SERVER%%include/postgresql/server/catalog/dependency.h
-%%SERVER%%include/postgresql/server/catalog/heap.h
-%%SERVER%%include/postgresql/server/catalog/index.h
-%%SERVER%%include/postgresql/server/catalog/indexing.h
-%%SERVER%%include/postgresql/server/catalog/namespace.h
-%%SERVER%%include/postgresql/server/catalog/pg_aggregate.h
-%%SERVER%%include/postgresql/server/catalog/pg_am.h
-%%SERVER%%include/postgresql/server/catalog/pg_amop.h
-%%SERVER%%include/postgresql/server/catalog/pg_amproc.h
-%%SERVER%%include/postgresql/server/catalog/pg_attrdef.h
-%%SERVER%%include/postgresql/server/catalog/pg_attribute.h
-%%SERVER%%include/postgresql/server/catalog/pg_cast.h
-%%SERVER%%include/postgresql/server/catalog/pg_class.h
-%%SERVER%%include/postgresql/server/catalog/pg_constraint.h
-%%SERVER%%include/postgresql/server/catalog/pg_control.h
-%%SERVER%%include/postgresql/server/catalog/pg_conversion.h
-%%SERVER%%include/postgresql/server/catalog/pg_database.h
-%%SERVER%%include/postgresql/server/catalog/pg_depend.h
-%%SERVER%%include/postgresql/server/catalog/pg_group.h
-%%SERVER%%include/postgresql/server/catalog/pg_description.h
-%%SERVER%%include/postgresql/server/catalog/pg_index.h
-%%SERVER%%include/postgresql/server/catalog/pg_inherits.h
-%%SERVER%%include/postgresql/server/catalog/pg_language.h
-%%SERVER%%include/postgresql/server/catalog/pg_largeobject.h
-%%SERVER%%include/postgresql/server/catalog/pg_listener.h
-%%SERVER%%include/postgresql/server/catalog/pg_namespace.h
-%%SERVER%%include/postgresql/server/catalog/pg_opclass.h
-%%SERVER%%include/postgresql/server/catalog/pg_operator.h
-%%SERVER%%include/postgresql/server/catalog/pg_proc.h
-%%SERVER%%include/postgresql/server/catalog/pg_rewrite.h
-%%SERVER%%include/postgresql/server/catalog/pg_shadow.h
-%%SERVER%%include/postgresql/server/catalog/pg_statistic.h
-%%SERVER%%include/postgresql/server/catalog/pg_trigger.h
-%%SERVER%%include/postgresql/server/catalog/pg_type.h
-%%SERVER%%include/postgresql/server/catalog/pg_version.h
-%%SERVER%%include/postgresql/server/commands/alter.h
-%%SERVER%%include/postgresql/server/commands/async.h
-%%SERVER%%include/postgresql/server/commands/cluster.h
-%%SERVER%%include/postgresql/server/commands/comment.h
-%%SERVER%%include/postgresql/server/commands/conversioncmds.h
-%%SERVER%%include/postgresql/server/commands/copy.h
-%%SERVER%%include/postgresql/server/commands/dbcommands.h
-%%SERVER%%include/postgresql/server/commands/defrem.h
-%%SERVER%%include/postgresql/server/commands/explain.h
-%%SERVER%%include/postgresql/server/commands/lockcmds.h
-%%SERVER%%include/postgresql/server/commands/portalcmds.h
-%%SERVER%%include/postgresql/server/commands/prepare.h
-%%SERVER%%include/postgresql/server/commands/proclang.h
-%%SERVER%%include/postgresql/server/commands/schemacmds.h
-%%SERVER%%include/postgresql/server/commands/sequence.h
-%%SERVER%%include/postgresql/server/commands/tablecmds.h
-%%SERVER%%include/postgresql/server/commands/trigger.h
-%%SERVER%%include/postgresql/server/commands/typecmds.h
-%%SERVER%%include/postgresql/server/commands/user.h
-%%SERVER%%include/postgresql/server/commands/vacuum.h
-%%SERVER%%include/postgresql/server/commands/variable.h
-%%SERVER%%include/postgresql/server/commands/version.h
-%%SERVER%%include/postgresql/server/commands/view.h
-%%SERVER%%include/postgresql/server/executor/execdebug.h
-%%SERVER%%include/postgresql/server/executor/execdefs.h
-%%SERVER%%include/postgresql/server/executor/execdesc.h
-%%SERVER%%include/postgresql/server/executor/executor.h
-%%SERVER%%include/postgresql/server/executor/functions.h
-%%SERVER%%include/postgresql/server/executor/hashjoin.h
-%%SERVER%%include/postgresql/server/executor/instrument.h
-%%SERVER%%include/postgresql/server/executor/nodeAgg.h
-%%SERVER%%include/postgresql/server/executor/nodeAppend.h
-%%SERVER%%include/postgresql/server/executor/nodeFunctionscan.h
-%%SERVER%%include/postgresql/server/executor/nodeGroup.h
-%%SERVER%%include/postgresql/server/executor/nodeHash.h
-%%SERVER%%include/postgresql/server/executor/nodeHashjoin.h
-%%SERVER%%include/postgresql/server/executor/nodeIndexscan.h
-%%SERVER%%include/postgresql/server/executor/nodeLimit.h
-%%SERVER%%include/postgresql/server/executor/nodeMaterial.h
-%%SERVER%%include/postgresql/server/executor/nodeMergejoin.h
-%%SERVER%%include/postgresql/server/executor/nodeNestloop.h
-%%SERVER%%include/postgresql/server/executor/nodeResult.h
-%%SERVER%%include/postgresql/server/executor/nodeSeqscan.h
-%%SERVER%%include/postgresql/server/executor/nodeSetOp.h
-%%SERVER%%include/postgresql/server/executor/nodeSort.h
-%%SERVER%%include/postgresql/server/executor/nodeSubplan.h
-%%SERVER%%include/postgresql/server/executor/nodeSubqueryscan.h
-%%SERVER%%include/postgresql/server/executor/nodeTidscan.h
-%%SERVER%%include/postgresql/server/executor/nodeUnique.h
-%%SERVER%%include/postgresql/server/executor/spi.h
-%%SERVER%%include/postgresql/server/executor/spi_priv.h
-%%SERVER%%include/postgresql/server/executor/tstoreReceiver.h
-%%SERVER%%include/postgresql/server/executor/tuptable.h
-%%SERVER%%include/postgresql/server/lib/dllist.h
-%%SERVER%%include/postgresql/server/lib/lispsort.h
-%%SERVER%%include/postgresql/server/lib/stringinfo.h
-%%SERVER%%include/postgresql/server/libpq/auth.h
-%%SERVER%%include/postgresql/server/libpq/be-fsstubs.h
-%%SERVER%%include/postgresql/server/libpq/crypt.h
-%%SERVER%%include/postgresql/server/libpq/hba.h
-%%SERVER%%include/postgresql/server/libpq/ip.h
-%%SERVER%%include/postgresql/server/libpq/libpq-be.h
-%%SERVER%%include/postgresql/server/libpq/libpq-fs.h
-%%SERVER%%include/postgresql/server/libpq/libpq.h
-%%SERVER%%include/postgresql/server/libpq/pqcomm.h
-%%SERVER%%include/postgresql/server/libpq/pqformat.h
-%%SERVER%%include/postgresql/server/libpq/pqsignal.h
-%%SERVER%%include/postgresql/server/mb/pg_wchar.h
-%%SERVER%%include/postgresql/server/nodes/bitmapset.h
-%%SERVER%%include/postgresql/server/nodes/execnodes.h
-%%SERVER%%include/postgresql/server/nodes/makefuncs.h
-%%SERVER%%include/postgresql/server/nodes/memnodes.h
-%%SERVER%%include/postgresql/server/nodes/nodeFuncs.h
-%%SERVER%%include/postgresql/server/nodes/nodes.h
-%%SERVER%%include/postgresql/server/nodes/params.h
-%%SERVER%%include/postgresql/server/nodes/parsenodes.h
-%%SERVER%%include/postgresql/server/nodes/pg_list.h
-%%SERVER%%include/postgresql/server/nodes/plannodes.h
-%%SERVER%%include/postgresql/server/nodes/primnodes.h
-%%SERVER%%include/postgresql/server/nodes/print.h
-%%SERVER%%include/postgresql/server/nodes/readfuncs.h
-%%SERVER%%include/postgresql/server/nodes/relation.h
-%%SERVER%%include/postgresql/server/optimizer/clauses.h
-%%SERVER%%include/postgresql/server/optimizer/cost.h
-%%SERVER%%include/postgresql/server/optimizer/geqo.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_copy.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_gene.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_misc.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_mutation.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_pool.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_random.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_recombination.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_selection.h
-%%SERVER%%include/postgresql/server/optimizer/joininfo.h
-%%SERVER%%include/postgresql/server/optimizer/pathnode.h
-%%SERVER%%include/postgresql/server/optimizer/paths.h
-%%SERVER%%include/postgresql/server/optimizer/plancat.h
-%%SERVER%%include/postgresql/server/optimizer/planmain.h
-%%SERVER%%include/postgresql/server/optimizer/planner.h
-%%SERVER%%include/postgresql/server/optimizer/prep.h
-%%SERVER%%include/postgresql/server/optimizer/restrictinfo.h
-%%SERVER%%include/postgresql/server/optimizer/subselect.h
-%%SERVER%%include/postgresql/server/optimizer/tlist.h
-%%SERVER%%include/postgresql/server/optimizer/var.h
-%%SERVER%%include/postgresql/server/parser/analyze.h
-%%SERVER%%include/postgresql/server/parser/gramparse.h
-%%SERVER%%include/postgresql/server/parser/keywords.h
-%%SERVER%%include/postgresql/server/parser/parse.h
-%%SERVER%%include/postgresql/server/parser/parse_agg.h
-%%SERVER%%include/postgresql/server/parser/parse_clause.h
-%%SERVER%%include/postgresql/server/parser/parse_coerce.h
-%%SERVER%%include/postgresql/server/parser/parse_expr.h
-%%SERVER%%include/postgresql/server/parser/parse_func.h
-%%SERVER%%include/postgresql/server/parser/parse_node.h
-%%SERVER%%include/postgresql/server/parser/parse_oper.h
-%%SERVER%%include/postgresql/server/parser/parse_relation.h
-%%SERVER%%include/postgresql/server/parser/parse_target.h
-%%SERVER%%include/postgresql/server/parser/parse_type.h
-%%SERVER%%include/postgresql/server/parser/parser.h
-%%SERVER%%include/postgresql/server/parser/parsetree.h
-%%SERVER%%include/postgresql/server/parser/scansup.h
-%%SERVER%%include/postgresql/server/port/aix.h
-%%SERVER%%include/postgresql/server/port/beos.h
-%%SERVER%%include/postgresql/server/port/bsdi.h
-%%SERVER%%include/postgresql/server/port/cygwin.h
-%%SERVER%%include/postgresql/server/port/darwin.h
-%%SERVER%%include/postgresql/server/port/dgux.h
-%%SERVER%%include/postgresql/server/port/freebsd.h
-%%SERVER%%include/postgresql/server/port/hpux.h
-%%SERVER%%include/postgresql/server/port/irix5.h
-%%SERVER%%include/postgresql/server/port/linux.h
-%%SERVER%%include/postgresql/server/port/netbsd.h
-%%SERVER%%include/postgresql/server/port/nextstep.h
-%%SERVER%%include/postgresql/server/port/openbsd.h
-%%SERVER%%include/postgresql/server/port/osf.h
-%%SERVER%%include/postgresql/server/port/qnx4.h
-%%SERVER%%include/postgresql/server/port/sco.h
-%%SERVER%%include/postgresql/server/port/solaris.h
-%%SERVER%%include/postgresql/server/port/sunos4.h
-%%SERVER%%include/postgresql/server/port/svr4.h
-%%SERVER%%include/postgresql/server/port/ultrix4.h
-%%SERVER%%include/postgresql/server/port/univel.h
-%%SERVER%%include/postgresql/server/port/unixware.h
-%%SERVER%%include/postgresql/server/port/win32.h
-%%SERVER%%include/postgresql/server/regex/regcustom.h
-%%SERVER%%include/postgresql/server/regex/regerrs.h
-%%SERVER%%include/postgresql/server/regex/regex.h
-%%SERVER%%include/postgresql/server/regex/regguts.h
-%%SERVER%%include/postgresql/server/rewrite/prs2lock.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteDefine.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteHandler.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteManip.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteRemove.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteSupport.h
-%%SERVER%%include/postgresql/server/storage/backendid.h
-%%SERVER%%include/postgresql/server/storage/block.h
-%%SERVER%%include/postgresql/server/storage/buf.h
-%%SERVER%%include/postgresql/server/storage/buf_internals.h
-%%SERVER%%include/postgresql/server/storage/buffile.h
-%%SERVER%%include/postgresql/server/storage/bufmgr.h
-%%SERVER%%include/postgresql/server/storage/bufpage.h
-%%SERVER%%include/postgresql/server/storage/fd.h
-%%SERVER%%include/postgresql/server/storage/freespace.h
-%%SERVER%%include/postgresql/server/storage/ipc.h
-%%SERVER%%include/postgresql/server/storage/item.h
-%%SERVER%%include/postgresql/server/storage/itemid.h
-%%SERVER%%include/postgresql/server/storage/itempos.h
-%%SERVER%%include/postgresql/server/storage/itemptr.h
-%%SERVER%%include/postgresql/server/storage/large_object.h
-%%SERVER%%include/postgresql/server/storage/lmgr.h
-%%SERVER%%include/postgresql/server/storage/lock.h
-%%SERVER%%include/postgresql/server/storage/lwlock.h
-%%SERVER%%include/postgresql/server/storage/off.h
-%%SERVER%%include/postgresql/server/storage/pg_sema.h
-%%SERVER%%include/postgresql/server/storage/pg_shmem.h
-%%SERVER%%include/postgresql/server/storage/pmsignal.h
-%%SERVER%%include/postgresql/server/storage/pos.h
-%%SERVER%%include/postgresql/server/storage/proc.h
-%%SERVER%%include/postgresql/server/storage/relfilenode.h
-%%SERVER%%include/postgresql/server/storage/s_lock.h
-%%SERVER%%include/postgresql/server/storage/shmem.h
-%%SERVER%%include/postgresql/server/storage/sinval.h
-%%SERVER%%include/postgresql/server/storage/sinvaladt.h
-%%SERVER%%include/postgresql/server/storage/smgr.h
-%%SERVER%%include/postgresql/server/storage/spin.h
-%%SERVER%%include/postgresql/server/tcop/dest.h
-%%SERVER%%include/postgresql/server/tcop/fastpath.h
-%%SERVER%%include/postgresql/server/tcop/pquery.h
-%%SERVER%%include/postgresql/server/tcop/tcopdebug.h
-%%SERVER%%include/postgresql/server/tcop/tcopprot.h
-%%SERVER%%include/postgresql/server/tcop/utility.h
-%%SERVER%%include/postgresql/server/utils/acl.h
-%%SERVER%%include/postgresql/server/utils/array.h
-%%SERVER%%include/postgresql/server/utils/ascii.h
-%%SERVER%%include/postgresql/server/utils/builtins.h
-%%SERVER%%include/postgresql/server/utils/cash.h
-%%SERVER%%include/postgresql/server/utils/catcache.h
-%%SERVER%%include/postgresql/server/utils/date.h
-%%SERVER%%include/postgresql/server/utils/datetime.h
-%%SERVER%%include/postgresql/server/utils/datum.h
-%%SERVER%%include/postgresql/server/utils/dynahash.h
-%%SERVER%%include/postgresql/server/utils/dynamic_loader.h
-%%SERVER%%include/postgresql/server/utils/elog.h
-%%SERVER%%include/postgresql/server/utils/errcodes.h
-%%SERVER%%include/postgresql/server/utils/fmgroids.h
-%%SERVER%%include/postgresql/server/utils/fmgrtab.h
-%%SERVER%%include/postgresql/server/utils/formatting.h
-%%SERVER%%include/postgresql/server/utils/geo_decls.h
-%%SERVER%%include/postgresql/server/utils/guc.h
-%%SERVER%%include/postgresql/server/utils/guc_tables.h
-%%SERVER%%include/postgresql/server/utils/hsearch.h
-%%SERVER%%include/postgresql/server/utils/help_config.h
-%%SERVER%%include/postgresql/server/utils/inet.h
-%%SERVER%%include/postgresql/server/utils/int8.h
-%%SERVER%%include/postgresql/server/utils/inval.h
-%%SERVER%%include/postgresql/server/utils/logtape.h
-%%SERVER%%include/postgresql/server/utils/lsyscache.h
-%%SERVER%%include/postgresql/server/utils/memutils.h
-%%SERVER%%include/postgresql/server/utils/nabstime.h
-%%SERVER%%include/postgresql/server/utils/numeric.h
-%%SERVER%%include/postgresql/server/utils/palloc.h
-%%SERVER%%include/postgresql/server/utils/pg_crc.h
-%%SERVER%%include/postgresql/server/utils/pg_locale.h
-%%SERVER%%include/postgresql/server/utils/pg_lzcompress.h
-%%SERVER%%include/postgresql/server/utils/portal.h
-%%SERVER%%include/postgresql/server/utils/ps_status.h
-%%SERVER%%include/postgresql/server/utils/rel.h
-%%SERVER%%include/postgresql/server/utils/relcache.h
-%%SERVER%%include/postgresql/server/utils/selfuncs.h
-%%SERVER%%include/postgresql/server/utils/sets.h
-%%SERVER%%include/postgresql/server/utils/syscache.h
-%%SERVER%%include/postgresql/server/utils/timestamp.h
-%%SERVER%%include/postgresql/server/utils/tqual.h
-%%SERVER%%include/postgresql/server/utils/tuplesort.h
-%%SERVER%%include/postgresql/server/utils/tuplestore.h
-%%SERVER%%include/postgresql/server/utils/typcache.h
-%%SERVER%%include/postgresql/server/utils/varbit.h
-%%SERVER%%include/postgresql/server/c.h
-%%SERVER%%include/postgresql/server/dynloader.h
-%%SERVER%%include/postgresql/server/fmgr.h
-%%SERVER%%include/postgresql/server/funcapi.h
-%%SERVER%%include/postgresql/server/getaddrinfo.h
-%%SERVER%%include/postgresql/server/getopt_long.h
-%%SERVER%%include/postgresql/server/miscadmin.h
-%%SERVER%%include/postgresql/server/pg_config.h
-%%SERVER%%include/postgresql/server/pg_config_manual.h
-%%SERVER%%include/postgresql/server/pg_config_os.h
-%%SERVER%%include/postgresql/server/pgstat.h
-%%SERVER%%include/postgresql/server/port.h
-%%SERVER%%include/postgresql/server/postgres.h
-%%SERVER%%include/postgresql/server/postgres_ext.h
-%%SERVER%%include/postgresql/server/postgres_fe.h
-%%SERVER%%include/postgresql/server/rusagestub.h
-%%SERVER%%include/postgresql/server/strdup.h
-%%SERVER%%@dirrm include/postgresql/server/access
-%%SERVER%%@dirrm include/postgresql/server/bootstrap
-%%SERVER%%@dirrm include/postgresql/server/catalog
-%%SERVER%%@dirrm include/postgresql/server/commands
-%%SERVER%%@dirrm include/postgresql/server/executor
-%%SERVER%%@dirrm include/postgresql/server/lib
-%%SERVER%%@dirrm include/postgresql/server/libpq
-%%SERVER%%@dirrm include/postgresql/server/mb
-%%SERVER%%@dirrm include/postgresql/server/nodes
-%%SERVER%%@dirrm include/postgresql/server/optimizer
-%%SERVER%%@dirrm include/postgresql/server/parser
-%%SERVER%%@dirrm include/postgresql/server/port
-%%SERVER%%@dirrm include/postgresql/server/regex
-%%SERVER%%@dirrm include/postgresql/server/rewrite
-%%SERVER%%@dirrm include/postgresql/server/storage
-%%SERVER%%@dirrm include/postgresql/server/tcop
-%%SERVER%%@dirrm include/postgresql/server/utils
-%%SERVER%%@dirrm include/postgresql/server
-@dirrm include/postgresql
diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile
deleted file mode 100644
index f4887e43a171..000000000000
--- a/databases/postgresql73/Makefile
+++ /dev/null
@@ -1,229 +0,0 @@
-# New ports collection makefile for: PostgreSQL
-# Date created: November 13, 1998
-# Whom: Marc G. Fournier <scrappy@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME?= postgresql
-PORTVERSION?= 7.3.8
-PORTREVISION?= 0
-CATEGORIES?= databases
-MASTER_SITES= ${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR= source/v${PORTVERSION}
-DISTFILES= postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
- postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
-
-MAINTAINER?= girgen@FreeBSD.org
-COMMENT?= The most advanced open-source database available anywhere
-
-WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
-DIST_SUBDIR= postgresql
-
-LATEST_LINK= postgresql73
-USE_BZIP2= YES
-USE_GMAKE= YES
-GNU_CONFIGURE= YES
-
-.if defined(POSTGRESQL_SUBPORT)
-## the POSTGRESQL_SUBPORTS use this port's distinfo
-MD5_FILE= ${.CURDIR}/../postgresql73/distinfo
-.else
-
-## POSTGRESQL_SUBPORTS stops here
-## The rest of this file is for normal base installation
-INSTALLS_SHLIB= YES
-
-CONFIGURE_ARGS= --with-libraries=${LOCALBASE}/lib \
- --with-includes=${LOCALBASE}/include
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-
-.if !defined(WITHOUT_GNUGETOPT)
-USE_GETOPT_LONG=yes
-.endif
-
-.if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= GETTEXT=""
-USE_GETTEXT= yes
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= GETTEXT="@comment "
-.endif
-
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O3 -funroll-loops
-.endif
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-INSTALL_TARGET= install
-.else
-INSTALL_TARGET= install-strip
-.endif
-
-.if !defined(WITHOUT_SSL)
-USE_OPENSSL= yes
-CONFIGURE_ARGS+= "--with-openssl=${OPENSSLBASE}"
-.endif
-
-.if defined(WITHOUT_SERVER)
-PLIST_SUB+= SERVER="@comment "
-PKGNAMESUFFIX= -client
-PKGMSG= ""
-CONFLICTS= postgresql-7*
-.else
-PKGMESSAGE= ${FILESDIR}/pkg-message.server
-PKGMSG= ${PKGMESSAGE}
-CONFLICTS= postgresql-client*
-PLIST_SUB+= SERVER=""
-INSTALL_TARGET+= install-all-headers
-MAKEFILE= GNUmakefile
-.endif
-
-.if defined(WITH_MIT_KRB5)
-KRB5CONF= ${KRB5_HOME}/bin/krb5-config
-WITH_KRB5= yes
-.endif
-
-.if defined(WITH_HEIMDAL_KRB5)
-KRB5CONF= /usr/bin/krb5-config
-LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
-WITH_KRB5= yes
-.endif
-
-.include <bsd.port.pre.mk>
-.if defined(WITH_KRB5)
-CONFIGURE_ARGS+= --with-krb5="`${KRB5CONF} --prefix krb5`"
-LDFLAGS+= `${KRB5CONF} --libs krb5`
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-.endif
-
-.if defined(WITH_TESTS)
-DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
-.endif
-
-.if defined(WITH_LIBC_R)
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
-.endif
-
-MAN1= clusterdb.1 createdb.1 createlang.1 createuser.1 dropdb.1 \
- droplang.1 dropuser.1 ecpg.1 initdb.1 initlocation.1 ipcclean.1 \
- pg_config.1 pg_controldata.1 pg_ctl.1 pg_dump.1 pg_dumpall.1 \
- pg_resetxlog.1 pg_restore.1 pgtclsh.1 pgtksh.1 postgres.1 \
- postmaster.1 psql.1 vacuumdb.1
-
-MAN7= abort.7 alter_database.7 alter_group.7 alter_table.7 \
- alter_trigger.7 alter_user.7 analyze.7 begin.7 checkpoint.7 \
- close.7 cluster.7 comment.7 commit.7 copy.7 create_aggregate.7 \
- create_cast.7 create_constraint_trigger.7 create_conversion.7 \
- create_database.7 create_domain.7 create_function.7 create_group.7 \
- create_index.7 create_language.7 create_operator.7 \
- create_operator_class.7 create_rule.7 create_schema.7 \
- create_sequence.7 create_table.7 create_table_as.7 \
- create_trigger.7 create_type.7 create_user.7 create_view.7 \
- deallocate.7 declare.7 delete.7 drop_aggregate.7 \
- drop_cast.7 drop_conversion.7 drop_database.7 drop_domain.7 \
- drop_function.7 drop_group.7 drop_index.7 drop_language.7 \
- drop_operator.7 drop_operator_class.7 drop_rule.7 drop_schema.7 \
- drop_sequence.7 \
- drop_table.7 drop_trigger.7 drop_type.7 drop_user.7 \
- drop_view.7 end.7 execute.7 explain.7 fetch.7 grant.7 insert.7 \
- listen.7 load.7 lock.7 move.7 notify.7 prepare.7 reindex.7 \
- reset.7 revoke.7 rollback.7 select.7 select_into.7 \
- set.7 set_constraints.7 set_transaction.7 show.7 \
- set_session_authorization.7 start_transaction.7 \
- truncate.7 unlisten.7 update.7 vacuum.7
-
-pre-everything::
- @${SH} ${PKGINSTALL} ${PORTNAME} BACKUPWARNING
- @${ECHO} ""
- @${ECHO} "${PORTNAME} has several tunables that can be used to configure PostgreSQL:"
- @${ECHO} ""
- @${ECHO} " WITHOUT_GNUGETOPT Don't install GNU getopt (will"
- @${ECHO} " still be used if already installed)"
- @${ECHO} " WITHOUT_NLS Skips building with support for"
- @${ECHO} " internationalized error messages"
- @${ECHO} " WITHOUT_SERVER Don't install the server,"
- @${ECHO} " only install binaries, headers and libs"
- @${ECHO} " for PostgreSQL clients"
- @${ECHO} " WITHOUT_SSL Builds without OpenSSL support"
- @${ECHO} " WITH_MIT_KRB5 Builds with MIT's kerberos support"
- @${ECHO} " WITH_HEIMDAL_KRB5 Builds with Heimdal's kerberos support"
- @${ECHO} " WITH_OPTIMIZED_CFLAGS Builds with compiler optimizations (-O3)"
- @${ECHO} " WITH_DEBUG Builds with debugging symbols"
- @${ECHO} " WITH_TESTS Allows the use of a \"check\" target"
- @${ECHO} " to run regression tests"
- @${ECHO} " WITH_LIBC_R Link the binaries with libc_r."
- @${ECHO} " Needed to run plpython"
- @${ECHO} ""
-.if defined(WITH_MIT_KRB5) && defined(WITH_HEIMDAL_KRB5)
- @${ECHO} "WITH_MIT_KRB5 and WITH_HEIMDAL_KRB5 are mutually exclusive."
- @${ECHO} "Please choose one or the other."
- @exit 1
-.endif
-.if defined(WITH_MIT_KRB5) && !exists(${KRB5CONF})
- @${ECHO} "Unable to find krb5-config in your local base, please verify that"
- @${ECHO} "security/krb5 is installed or undefine the WITH_MIT_KRB5 tunable."
- @exit 1
-.endif
-.if defined(WITH_HEIMDAL_KRB5) && !exists(${KRB5CONF})
- @${ECHO} "Unable to find krb5-config in the base system. Undefine"
- @${ECHO} "WITH_HEIMDAL_KRB5 or add MAKE_KERBEROS5=yes to /etc/make.conf"
- @${ECHO} "and remake world (or undefine the WITH_HEIMDAL_KRB5 tunable)."
- @exit 1
-.endif
-
-.if defined(WITHOUT_SERVER)
-do-install:
- @ cd ${WRKSRC}; \
- ${GMAKE} -C src/bin ${INSTALL_TARGET} ;\
- ${GMAKE} -C src/include ${INSTALL_TARGET} ;\
- ${GMAKE} -C src/interfaces ${INSTALL_TARGET} ;\
- ${GMAKE} -C doc ${INSTALL_TARGET}
-.else
-pre-install:
- @ ${SETENV} PKG_PREFIX=${PREFIX} \
- ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
-.endif
-
-post-install:
- @ ${MKDIR} ${PREFIX}/share/postgresql ;\
- ${CAT} ${FILESDIR}/post-install-notes ${PKGMSG} |\
- ${SED} "s|/usr/local|${PREFIX}|g" |\
- tee ${PREFIX}/share/postgresql/post-install-notes
-.if !defined(WITHOUT_SERVER)
-.for i in profile cshrc
- @ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
- < ${FILESDIR}/dot.$i.in \
- > ${PREFIX}/share/postgresql/dot.$i.dist; \
- ${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \
- if [ ! -f ~pgsql/.$i ]; then \
- ${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
- fi
-.endfor
- @ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%PG_PREFIX%%|${PG_PREFIX}|g" \
- < ${FILESDIR}/pgsql.sh.tmpl \
- > ${PREFIX}/etc/rc.d/010.pgsql.sh ;\
- ${CHMOD} 554 ${PREFIX}/etc/rc.d/010.pgsql.sh ;\
- ${CHOWN} root:pgsql ${PREFIX}/etc/rc.d/010.pgsql.sh ;\
- ${INSTALL_DATA} ${PREFIX}/share/postgresql/post-install-notes ~pgsql/. ;\
- ${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
- ${INSTALL_DATA} ${FILESDIR}/502.pgsql \
- ${PREFIX}/share/postgresql
-.endif
-
-.if defined(WITH_TESTS)
-check:
- @if [ `id -u` != 0 ] ; then \
- ${ECHO} "Running postgresql regressions tests" ;\
- cd ${WRKSRC}; ${GMAKE} check ;\
- else \
- ${ECHO} "You cannot run regression tests when postgresql is built as user root." ; \
- ${ECHO} "Clean and rebuild the port as a regular user to run the tests." ;\
- fi
-.endif
-
-.include <bsd.port.post.mk>
-.endif
diff --git a/databases/postgresql73/distinfo b/databases/postgresql73/distinfo
deleted file mode 100644
index c3738afeb8c7..000000000000
--- a/databases/postgresql73/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-MD5 (postgresql/postgresql-base-7.3.8.tar.bz2) = ed60b739218cb55f642e0e28bc741a9c
-SIZE (postgresql/postgresql-base-7.3.8.tar.bz2) = 5648343
-MD5 (postgresql/postgresql-docs-7.3.8.tar.bz2) = 52376e982ffccd748dd7a8247bc8fc7f
-SIZE (postgresql/postgresql-docs-7.3.8.tar.bz2) = 2342068
-MD5 (postgresql/postgresql-opt-7.3.8.tar.bz2) = ff3f04c3f0e118e1cb33654aa459c063
-SIZE (postgresql/postgresql-opt-7.3.8.tar.bz2) = 340652
-MD5 (postgresql/postgresql-test-7.3.8.tar.bz2) = 9c89013eca8a749d3d9efd0e7ff8f2ea
-SIZE (postgresql/postgresql-test-7.3.8.tar.bz2) = 908291
diff --git a/databases/postgresql73/files/502.pgsql b/databases/postgresql73/files/502.pgsql
deleted file mode 100644
index 84cdb9b5ad45..000000000000
--- a/databases/postgresql73/files/502.pgsql
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Maintenance shell script to vacuum and backup database
-# Put this in /usr/local/etc/periodic/daily, and it will be run
-# every night
-#
-# Written by Palle Girgensohn <girgen@pingpong.net>
-#
-# In public domain, do what you like with it,
-# and use it at your own risk... :)
-#
-######################################################################
-#
-# If you like to tweak the settings of the variables PGBACKUPDIR and
-# PGDUMP_ARGS, you should preferably set them in ~pgsql/.profile.
-# If set there, that setting will override the defaults here.
-#
-######################################################################
-
-DIR=`dirname $0`
-progname=`basename $0`
-PRG=`cd $DIR; pwd `/$progname
-
-# Run as user pgsql
-if [ `id -un` != pgsql ]; then
- su -l pgsql -c ${PRG}
- exit $?
-fi
-
-# arguments to pg_dump
-PGDUMP_ARGS=${PGDUMP_ARGS:-"-b -F c"}
-
-# The directory where the backups will reside.
-# ${HOME} is pgsql's home directory
-PGBACKUPDIR=${PGBACKUPDIR:-${HOME}/backups}
-
-# If you want to keep a history of database backups, set
-# PGBACKUP_SAVE_DAYS in ~pgsql/.profile to the number of days. This is
-# used as "find ... -mtime +${PGBACKUP_SAVE_DAYS} -delete", see below
-PGBACKUP_SAVE_DAYS=${PGBACKUP_SAVE_DAYS:-7}
-
-# PGBACKUPDIR must be writeable by user pgsql
-# ~pgsql is just that under normal circumstances,
-# but this might not be where you want the backups...
-if [ ! -d ${PGBACKUPDIR} ] ; then
- echo Creating ${PGBACKUPDIR}
- mkdir ${PGBACKUPDIR}
- chmod 700 ${PGBACKUPDIR}
-fi
-
-echo
-echo "PostgreSQL maintenance"
-
-# Protect the data
-umask 077
-dbnames=`psql -q -t -A -d template1 -c "SELECT datname FROM pg_database WHERE datname != 'template0'"`
-rc=$?
-now=`date "+%Y-%m-%dT%H:%M:%S"`
-file=${PGBACKUPDIR}/pgglobals_${now}
-pg_dumpall -g | gzip -9 > ${file}.gz
-for db in ${dbnames}; do
- echo -n " $db"
- file=${PGBACKUPDIR}/pgdump_${db}_${now}
- pg_dump ${PGDUMP_ARGS} -f ${file} ${db}
- [ $? -gt 0 ] && rc=3
-done
-
-if [ $rc -gt 0 ]; then
- echo
- echo "Errors were reported during backup."
-fi
-
-echo
-echo "vacuuming..."
-vacuumdb -a -z -q
-if [ $? -gt 0 ]
-then
- echo
- echo "Errors were reported during vacuum."
- rc=3
-fi
-
-# cleaning up old data
-find ${PGBACKUPDIR} \( -name 'pgdump_*' -o -name 'pgglobals_*' \) \
- -a -mtime +${PGBACKUP_SAVE_DAYS} -delete
-
-exit $rc
diff --git a/databases/postgresql73/files/dot.cshrc.in b/databases/postgresql73/files/dot.cshrc.in
deleted file mode 100644
index 724212c70b23..000000000000
--- a/databases/postgresql73/files/dot.cshrc.in
+++ /dev/null
@@ -1,13 +0,0 @@
-set path = ( %%PREFIX%%/bin $path )
-
-setenv PGLIB %%PREFIX%%/lib
-
-# note: PGDATA can be overridden by the -D startup option
-setenv PGDATA $HOME/data
-
-#You might want to set some locale stuff here
-#setenv PGDATESTYLE ISO
-#setenv LC_ALL sv_SE.ISO_8859-1
-
-# if you want to make regression tests use this TZ
-#setenv TZ PST8PDT
diff --git a/databases/postgresql73/files/dot.profile.in b/databases/postgresql73/files/dot.profile.in
deleted file mode 100644
index 6da911dfa6fa..000000000000
--- a/databases/postgresql73/files/dot.profile.in
+++ /dev/null
@@ -1,25 +0,0 @@
-# both new and old layout's paths, but new path first...
-PATH=%%PREFIX%%/bin:${PATH}
-
-PGLIB=%%PREFIX%%/lib
-
-# note: PGDATA can be overridden by the -D startup option
-PGDATA=${HOME}/data
-
-export PATH PGLIB PGDATA
-
-# if you use the periodic script from share/postgresql/502.pgsql, you
-# can set these
-#PGDUMP_ARGS="-b -F c"
-#PGBACKUPDIR=${HOME}/backups
-#PGBACKUP_SAVE_DAYS=7
-#export PGBACKUPDIR PGDUMP_ARGS PGBACKUP_SAVE_DAYS
-
-#You might want to set some locale stuff here
-#PGDATESTYLE=ISO
-#LC_ALL=sv_SE.ISO_8859-1
-#export PGDATESTYLE LC_ALL
-
-# if you want to make regression tests use this TZ
-#TZ=PST8PDT
-#export TZ
diff --git a/databases/postgresql73/files/patch-configure b/databases/postgresql73/files/patch-configure
deleted file mode 100644
index efeca517d300..000000000000
--- a/databases/postgresql73/files/patch-configure
+++ /dev/null
@@ -1,59 +0,0 @@
---- configure.orig Wed Jun 26 21:28:24 2002
-+++ configure Wed Jun 26 21:35:16 2002
-@@ -2007,11 +2007,13 @@
- EOF
-
-
-- if test -d "$krb4_prefix/include"; then
-- INCLUDES="$INCLUDES -I$krb4_prefix/include"
-- fi
-- if test -d "$krb4_prefix/lib"; then
-- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
-+ if test "$krb4_prefix" != "/usr"; then
-+ if test -d "$krb4_prefix/include"; then
-+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
-+ fi
-+ if test -d "$krb4_prefix/lib"; then
-+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
-+ fi
- fi
-
- krb_srvtab="/etc/srvtab"
-@@ -2052,11 +2054,13 @@
- EOF
-
-
-- if test -d "$krb5_prefix/include"; then
-- INCLUDES="$INCLUDES -I$krb5_prefix/include"
-- fi
-- if test -d "$krb5_prefix/lib"; then
-- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
-+ if test "$krb5_prefix" != "/usr"; then
-+ if test -d "$krb5_prefix/include"; then
-+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
-+ fi
-+ if test -d "$krb5_prefix/lib"; then
-+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
-+ fi
- fi
-
- krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
-@@ -2157,11 +2161,13 @@
- EOF
-
-
-- if test -d "${openssl_prefix}/include" ; then
-- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
-- fi
-- if test -d "${openssl_prefix}/lib" ; then
-- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
-+ if test "${openssl_prefix}" != "/usr"; then
-+ if test -d "${openssl_prefix}/include" ; then
-+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
-+ fi
-+ if test -d "${openssl_prefix}/lib" ; then
-+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
-+ fi
- fi
-
- fi
diff --git a/databases/postgresql73/files/pgsql.sh.tmpl b/databases/postgresql73/files/pgsql.sh.tmpl
deleted file mode 100644
index 0d85d6fba25d..000000000000
--- a/databases/postgresql73/files/pgsql.sh.tmpl
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# For postmaster startup options, edit $PGDATA/postgresql.conf
-#
-# Note that PGDATA is set in ~pgsql/.profile, don't try to manipulate it here!
-#
-
-PREFIX=%%PREFIX%%
-PGBIN=${PREFIX}/bin
-logfile=/var/log/pgsql
-
-case $1 in
-start)
- touch ${logfile}
- chmod 600 ${logfile}
- chown pgsql:pgsql ${logfile}
- [ -x ${PGBIN}/pg_ctl ] && {
- su -l pgsql -c \
- "[ -d \${PGDATA} ] && exec ${PREFIX}/bin/pg_ctl start -s -w -l ${logfile}"
- echo -n ' pgsql'
- }
- ;;
-
-stop)
- [ -x ${PGBIN}/pg_ctl ] && {
- su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl stop -s -m fast"
- echo -n ' pgsql'
- }
- ;;
-
-restart)
- [ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl restart -s -m fast -l ${logfile}"
- }
- ;;
-
-status)
- [ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl status"
- }
- ;;
-
-*)
- echo "usage: `basename $0` {start|stop|restart|status}" >&2
- exit 64
- ;;
-esac
diff --git a/databases/postgresql73/files/pkg-message.server b/databases/postgresql73/files/pkg-message.server
deleted file mode 100644
index 6027012da44c..000000000000
--- a/databases/postgresql73/files/pkg-message.server
+++ /dev/null
@@ -1,17 +0,0 @@
-======================================================================
-
-To initialize the database, you should run initdb as the "pgsql" user
-(if you want to use your locale for collation, edit ~pgsql/.profile
-and set the locale to your preference first).
-
-Example:
-
- su -l pgsql -c initdb
-
-You can then start PostgreSQL by running:
-
- /usr/local/etc/rc.d/010.pgsql.sh start
-
-For postmaster settings, see ~pgsql/data/postgresql.conf
-For more tips, read ~pgsql/post-install-notes
-======================================================================
diff --git a/databases/postgresql73/files/post-install-notes b/databases/postgresql73/files/post-install-notes
deleted file mode 100644
index 037eec446deb..000000000000
--- a/databases/postgresql73/files/post-install-notes
+++ /dev/null
@@ -1,57 +0,0 @@
-The PostgreSQL port has a collection of "side orders":
-
-postgresql-doc
- For all of the html documentation
-
-p5-Pg
- A perl5 API for client access to PostgreSQL databases.
-
-postgresql-tcltk
- If you want tcl/tk client support. You get a neat GUI, pgaccess, as
- a bonus!
-
-postgresql-jdbc
- For Java JDBC support.
-
-postgresql-odbc
- For client access from unix applications using ODBC as access
- method. Not needed to access unix PostgreSQL servers from Win32
- using ODBC. See below.
-
-ruby-postgres, py-PyGreSQL
- For client access to PostgreSQL databases using the ruby & python
- languages.
-
-p5-postgresql-plperl, postgresql-pltcl & postgresql-plruby
- For using perl5, tcl & ruby as procedural languages.
-
-etc etc...
-
-Note that many files have moved around compared to previous versions
-of PostgreSQL. For example, plpgsql.so and all other language modules
-are now in /usr/local/lib/postgresql.
-
-If you have many tables and many clients running, consider raising
-kern.maxfiles using sysctl(8), or reconfigure your kernel
-appropriately.
-
-You should vacuum and backup your database regularly. There is a
-periodic script, /usr/local/share/postgresql/502.pgsql, that you may
-find useful.
-
-To allow many simultaneous connections to your PostgreSQL server, you
-should raise the SystemV shared memory limits in your kernel. Here are
-example values for allowing up to 180 clients (tinkering in
-postgresql.conf also needed, of course):
- options SYSVSHM
- options SYSVSEM
- options SYSVMSG
- options SHMMAXPGS=65536
- options SEMMNI=40
- options SEMMNS=240
- options SEMUME=40
- options SEMMNU=120
-
-If you plan to access your PostgreSQL server using ODBC, please
-consider running the SQL script /usr/local/share/postgresql/odbc.sql
-to get the functions required for ODBC compliance.
diff --git a/databases/postgresql73/pkg-descr b/databases/postgresql73/pkg-descr
deleted file mode 100644
index f8f8a9e0d422..000000000000
--- a/databases/postgresql73/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-PostgreSQL is a sophisticated Object-Relational DBMS, supporting
-almost all SQL constructs, including subselects, transactions, and
-user-defined types and functions. It is the most advanced open-source
-database available anywhere. Commercial Support is also available.
-
-The original Postgres code was the effort of many graduate students,
-undergraduate students, and staff programmers working under the direction of
-Professor Michael Stonebraker at the University of California, Berkeley. In
-1995, Andrew Yu and Jolly Chen took on the task of converting the DBMS query
-language to SQL and created a new database system which came to known as
-Postgres95. Many others contributed to the porting, testing, debugging and
-enhancement of the Postgres95 code. As the code improved, and 1995 faded into
-memory, PostgreSQL was born.
-
-PostgreSQL development is presently being performed by a team of Internet
-developers who are now responsible for all current and future development. The
-development team coordinator is Marc G. Fournier (scrappy@PostgreSQL.ORG).
-Support is available from the PostgreSQL developer/user community through the
-support mailing list (questions@PostgreSQL.ORG).
-
-PostgreSQL is free and the complete source is available.
-
-WWW: http://www.postgresql.org/
diff --git a/databases/postgresql73/pkg-install b/databases/postgresql73/pkg-install
deleted file mode 100644
index a4bde386e5c5..000000000000
--- a/databases/postgresql73/pkg-install
+++ /dev/null
@@ -1,65 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD$
-
-PATH=/bin:/usr/sbin
-
-DB_DIR=${PKG_PREFIX}/pgsql
-
-backupwarning() {
- echo "
- =========== BACKUP YOUR DATA! =============
- As always, backup your data before
- upgrading. If the upgrade leads to a higher
- minor revision (e.g. 7.2.x -> 7.3), a dump
- and restore of all databases is
- required. This is *NOT* done by the port!
-
- Press ctrl-C *now* if you need to pg_dump.
- ===========================================
-"
- sleep 5
-}
-
-case $2 in
-PRE-INSTALL)
- backupwarning
- USER=pgsql
- GROUP=${USER}
- UID=70
- GID=${UID}
-
- if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
- else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
- fi
-
- if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d ${DB_DIR} -c "PostgreSQL Daemon"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
- fi
-
- if ! [ -x ~pgsql ] ; then
- mkdir -p ${DB_DIR}
- chown pgsql:pgsql ${DB_DIR}
- fi
- ;;
-
-BACKUPWARNING)
- backupwarning
- ;;
-esac
diff --git a/databases/postgresql73/pkg-plist b/databases/postgresql73/pkg-plist
deleted file mode 100644
index 3b5b073108cb..000000000000
--- a/databases/postgresql73/pkg-plist
+++ /dev/null
@@ -1,492 +0,0 @@
-bin/clusterdb
-bin/createdb
-bin/createlang
-bin/createuser
-bin/dropdb
-bin/droplang
-bin/dropuser
-bin/ecpg
-bin/initdb
-bin/initlocation
-bin/ipcclean
-bin/pg_config
-bin/pg_controldata
-bin/pg_ctl
-bin/pg_dump
-bin/pg_dumpall
-bin/pg_encoding
-bin/pg_id
-bin/pg_resetxlog
-bin/pg_restore
-%%SERVER%%bin/postmaster
-%%SERVER%%bin/postgres
-bin/psql
-bin/vacuumdb
-include/libpq/libpq-fs.h
-@dirrm include/libpq
-include/postgresql/internal/libpq/pqcomm.h
-@dirrm include/postgresql/internal/libpq
-include/postgresql/internal/lib/dllist.h
-@dirrm include/postgresql/internal/lib
-include/postgresql/internal/c.h
-include/postgresql/internal/libpq-int.h
-include/postgresql/internal/postgres_fe.h
-include/postgresql/internal/pqexpbuffer.h
-@dirrm include/postgresql/internal
-include/ecpgerrno.h
-include/ecpglib.h
-include/ecpgtype.h
-include/libpq-fe.h
-include/pg_config.h
-include/pg_config_os.h
-include/postgres_ext.h
-include/sql3types.h
-include/sqlca.h
-lib/libecpg.a
-lib/libecpg.so
-lib/libecpg.so.3
-lib/libpq.a
-lib/libpq.so
-lib/libpq.so.3
-%%SERVER%%lib/postgresql/ascii_and_mic.so
-%%SERVER%%lib/postgresql/cyrillic_and_mic.so
-%%SERVER%%lib/postgresql/euc_cn_and_mic.so
-%%SERVER%%lib/postgresql/euc_jp_and_sjis.so
-%%SERVER%%lib/postgresql/euc_kr_and_mic.so
-%%SERVER%%lib/postgresql/euc_tw_and_big5.so
-%%SERVER%%lib/postgresql/latin2_and_win1250.so
-%%SERVER%%lib/postgresql/latin_and_mic.so
-%%SERVER%%lib/postgresql/utf8_and_ascii.so
-%%SERVER%%lib/postgresql/utf8_and_big5.so
-%%SERVER%%lib/postgresql/utf8_and_cyrillic.so
-%%SERVER%%lib/postgresql/utf8_and_euc_cn.so
-%%SERVER%%lib/postgresql/utf8_and_euc_jp.so
-%%SERVER%%lib/postgresql/utf8_and_euc_kr.so
-%%SERVER%%lib/postgresql/utf8_and_euc_tw.so
-%%SERVER%%lib/postgresql/utf8_and_gb18030.so
-%%SERVER%%lib/postgresql/utf8_and_gbk.so
-%%SERVER%%lib/postgresql/utf8_and_iso8859.so
-%%SERVER%%lib/postgresql/utf8_and_iso8859_1.so
-%%SERVER%%lib/postgresql/utf8_and_johab.so
-%%SERVER%%lib/postgresql/utf8_and_sjis.so
-%%SERVER%%lib/postgresql/utf8_and_tcvn.so
-%%SERVER%%lib/postgresql/utf8_and_uhc.so
-%%SERVER%%lib/postgresql/utf8_and_win1250.so
-%%SERVER%%lib/postgresql/utf8_and_win1256.so
-%%SERVER%%lib/postgresql/utf8_and_win874.so
-%%SERVER%%lib/postgresql/plpgsql.so
-@unexec rmdir %D/lib/postgresql 2>/dev/null || true
-%%SERVER%%share/postgresql/502.pgsql
-%%SERVER%%share/postgresql/postgres.bki
-%%SERVER%%share/postgresql/postgres.description
-%%SERVER%%share/postgresql/pg_hba.conf.sample
-%%SERVER%%share/postgresql/pg_ident.conf.sample
-%%SERVER%%share/postgresql/postgresql.conf.sample
-%%SERVER%%share/postgresql/conversion_create.sql
-share/postgresql/post-install-notes
-@unexec rmdir %D/share/postgresql 2>/dev/null || true
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/cs/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/de/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/pt_BR/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/ru/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/sv/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/pg_dump.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/fr/LC_MESSAGES/libpq.mo
-%%GETTEXT%%share/locale/hu/LC_MESSAGES/psql.mo
-%%GETTEXT%%share/locale/hu/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/hu/LC_MESSAGES/pg_resetxlog.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/pg_controldata.mo
-%%GETTEXT%%share/locale/es/LC_MESSAGES/libpq.mo
-%%SERVER%%%%GETTEXT%%share/locale/cs/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/de/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/es/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/hr/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/hu/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/ru/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/sv/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/tr/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/zh_CN/LC_MESSAGES/postgres.mo
-%%SERVER%%%%GETTEXT%%share/locale/zh_TW/LC_MESSAGES/postgres.mo
-%%GETTEXT%%@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2> /dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/cs 2> /dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2> /dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_CN 2> /dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES 2> /dev/null || true
-%%GETTEXT%%@unexec rmdir %D/share/locale/zh_TW 2> /dev/null || true
-%%SERVER%%@unexec if cmp -s ~pgsql/.profile %D/share/postgresql/dot.profile.dist; then rm -f ~pgsql/.profile; fi
-%%SERVER%%@unexec if cmp -s ~pgsql/.cshrc %D/share/postgresql/dot.cshrc.dist; then rm -f ~pgsql/.cshrc; fi
-%%SERVER%%@unexec [ -f ~pgsql/dot.profile.dist ] && rm ~pgsql/dot.profile.dist
-%%SERVER%%@unexec [ -f ~pgsql/dot.cshrc.dist ] && rm ~pgsql/dot.cshrc.dist
-%%SERVER%%@exec [ -f %D/share/postgresql/post-install-notes ] && cp %D/share/postgresql/post-install-notes ~pgsql && chown pgsql:pgsql ~pgsql/post-install-notes
-%%SERVER%%@unexec [ -f ~pgsql/post-install-notes ] && rm ~pgsql/post-install-notes
-%%SERVER%%share/postgresql/dot.profile.dist
-%%SERVER%%share/postgresql/dot.cshrc.dist
-%%SERVER%%@exec [ -f %D/share/postgresql/dot.profile.dist ] && cp %D/share/postgresql/dot.profile.dist ~pgsql/.
-%%SERVER%%@exec [ -f %D/share/postgresql/dot.cshrc.dist ] && cp %D/share/postgresql/dot.cshrc.dist ~pgsql/.
-%%SERVER%%@exec [ -f ~pgsql/.profile ] || (cp %D/share/postgresql/dot.profile.dist ~pgsql/.profile && chown pgsql:pgsql ~pgsql/.profile)
-%%SERVER%%@exec [ -f ~pgsql/.cshrc ] || (cp %D/share/postgresql/dot.cshrc.dist ~pgsql/.cshrc && chown pgsql:pgsql ~pgsql/.cshrc)
-%%SERVER%%@unexec rmdir ~pgsql 2> /dev/null || true
-%%SERVER%%@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %D/pgsql and the pgsql user manually."
-%%SERVER%%@unexec rmdir %D/share/postgresql 2>/dev/null || true
-%%SERVER%%etc/rc.d/010.pgsql.sh
-%%SERVER%%include/postgresql/server/access/attnum.h
-%%SERVER%%include/postgresql/server/access/clog.h
-%%SERVER%%include/postgresql/server/access/genam.h
-%%SERVER%%include/postgresql/server/access/gist.h
-%%SERVER%%include/postgresql/server/access/gistscan.h
-%%SERVER%%include/postgresql/server/access/hash.h
-%%SERVER%%include/postgresql/server/access/heapam.h
-%%SERVER%%include/postgresql/server/access/hio.h
-%%SERVER%%include/postgresql/server/access/htup.h
-%%SERVER%%include/postgresql/server/access/ibit.h
-%%SERVER%%include/postgresql/server/access/iqual.h
-%%SERVER%%include/postgresql/server/access/istrat.h
-%%SERVER%%include/postgresql/server/access/itup.h
-%%SERVER%%include/postgresql/server/access/nbtree.h
-%%SERVER%%include/postgresql/server/access/printtup.h
-%%SERVER%%include/postgresql/server/access/relscan.h
-%%SERVER%%include/postgresql/server/access/rmgr.h
-%%SERVER%%include/postgresql/server/access/rtree.h
-%%SERVER%%include/postgresql/server/access/rtscan.h
-%%SERVER%%include/postgresql/server/access/sdir.h
-%%SERVER%%include/postgresql/server/access/skey.h
-%%SERVER%%include/postgresql/server/access/strat.h
-%%SERVER%%include/postgresql/server/access/transam.h
-%%SERVER%%include/postgresql/server/access/tupdesc.h
-%%SERVER%%include/postgresql/server/access/tupmacs.h
-%%SERVER%%include/postgresql/server/access/valid.h
-%%SERVER%%include/postgresql/server/access/tuptoaster.h
-%%SERVER%%include/postgresql/server/access/xact.h
-%%SERVER%%include/postgresql/server/access/xlog.h
-%%SERVER%%include/postgresql/server/access/xlogdefs.h
-%%SERVER%%include/postgresql/server/access/xlogutils.h
-%%SERVER%%include/postgresql/server/bootstrap/bootstrap.h
-%%SERVER%%include/postgresql/server/catalog/catalog.h
-%%SERVER%%include/postgresql/server/catalog/catname.h
-%%SERVER%%include/postgresql/server/catalog/catversion.h
-%%SERVER%%include/postgresql/server/catalog/dependency.h
-%%SERVER%%include/postgresql/server/catalog/heap.h
-%%SERVER%%include/postgresql/server/catalog/index.h
-%%SERVER%%include/postgresql/server/catalog/indexing.h
-%%SERVER%%include/postgresql/server/catalog/namespace.h
-%%SERVER%%include/postgresql/server/catalog/pg_aggregate.h
-%%SERVER%%include/postgresql/server/catalog/pg_am.h
-%%SERVER%%include/postgresql/server/catalog/pg_amop.h
-%%SERVER%%include/postgresql/server/catalog/pg_amproc.h
-%%SERVER%%include/postgresql/server/catalog/pg_attrdef.h
-%%SERVER%%include/postgresql/server/catalog/pg_attribute.h
-%%SERVER%%include/postgresql/server/catalog/pg_cast.h
-%%SERVER%%include/postgresql/server/catalog/pg_class.h
-%%SERVER%%include/postgresql/server/catalog/pg_constraint.h
-%%SERVER%%include/postgresql/server/catalog/pg_control.h
-%%SERVER%%include/postgresql/server/catalog/pg_conversion.h
-%%SERVER%%include/postgresql/server/catalog/pg_database.h
-%%SERVER%%include/postgresql/server/catalog/pg_depend.h
-%%SERVER%%include/postgresql/server/catalog/pg_group.h
-%%SERVER%%include/postgresql/server/catalog/pg_description.h
-%%SERVER%%include/postgresql/server/catalog/pg_index.h
-%%SERVER%%include/postgresql/server/catalog/pg_inherits.h
-%%SERVER%%include/postgresql/server/catalog/pg_language.h
-%%SERVER%%include/postgresql/server/catalog/pg_largeobject.h
-%%SERVER%%include/postgresql/server/catalog/pg_listener.h
-%%SERVER%%include/postgresql/server/catalog/pg_namespace.h
-%%SERVER%%include/postgresql/server/catalog/pg_opclass.h
-%%SERVER%%include/postgresql/server/catalog/pg_operator.h
-%%SERVER%%include/postgresql/server/catalog/pg_proc.h
-%%SERVER%%include/postgresql/server/catalog/pg_rewrite.h
-%%SERVER%%include/postgresql/server/catalog/pg_shadow.h
-%%SERVER%%include/postgresql/server/catalog/pg_statistic.h
-%%SERVER%%include/postgresql/server/catalog/pg_trigger.h
-%%SERVER%%include/postgresql/server/catalog/pg_type.h
-%%SERVER%%include/postgresql/server/catalog/pg_version.h
-%%SERVER%%include/postgresql/server/commands/async.h
-%%SERVER%%include/postgresql/server/commands/cluster.h
-%%SERVER%%include/postgresql/server/commands/comment.h
-%%SERVER%%include/postgresql/server/commands/conversioncmds.h
-%%SERVER%%include/postgresql/server/commands/copy.h
-%%SERVER%%include/postgresql/server/commands/dbcommands.h
-%%SERVER%%include/postgresql/server/commands/defrem.h
-%%SERVER%%include/postgresql/server/commands/explain.h
-%%SERVER%%include/postgresql/server/commands/lockcmds.h
-%%SERVER%%include/postgresql/server/commands/portalcmds.h
-%%SERVER%%include/postgresql/server/commands/prepare.h
-%%SERVER%%include/postgresql/server/commands/proclang.h
-%%SERVER%%include/postgresql/server/commands/schemacmds.h
-%%SERVER%%include/postgresql/server/commands/sequence.h
-%%SERVER%%include/postgresql/server/commands/tablecmds.h
-%%SERVER%%include/postgresql/server/commands/trigger.h
-%%SERVER%%include/postgresql/server/commands/user.h
-%%SERVER%%include/postgresql/server/commands/vacuum.h
-%%SERVER%%include/postgresql/server/commands/variable.h
-%%SERVER%%include/postgresql/server/commands/version.h
-%%SERVER%%include/postgresql/server/commands/view.h
-%%SERVER%%include/postgresql/server/executor/execdebug.h
-%%SERVER%%include/postgresql/server/executor/execdefs.h
-%%SERVER%%include/postgresql/server/executor/execdesc.h
-%%SERVER%%include/postgresql/server/executor/executor.h
-%%SERVER%%include/postgresql/server/executor/functions.h
-%%SERVER%%include/postgresql/server/executor/hashjoin.h
-%%SERVER%%include/postgresql/server/executor/instrument.h
-%%SERVER%%include/postgresql/server/executor/nodeAgg.h
-%%SERVER%%include/postgresql/server/executor/nodeAppend.h
-%%SERVER%%include/postgresql/server/executor/nodeFunctionscan.h
-%%SERVER%%include/postgresql/server/executor/nodeGroup.h
-%%SERVER%%include/postgresql/server/executor/nodeHash.h
-%%SERVER%%include/postgresql/server/executor/nodeHashjoin.h
-%%SERVER%%include/postgresql/server/executor/nodeIndexscan.h
-%%SERVER%%include/postgresql/server/executor/nodeLimit.h
-%%SERVER%%include/postgresql/server/executor/nodeMaterial.h
-%%SERVER%%include/postgresql/server/executor/nodeMergejoin.h
-%%SERVER%%include/postgresql/server/executor/nodeNestloop.h
-%%SERVER%%include/postgresql/server/executor/nodeResult.h
-%%SERVER%%include/postgresql/server/executor/nodeSeqscan.h
-%%SERVER%%include/postgresql/server/executor/nodeSetOp.h
-%%SERVER%%include/postgresql/server/executor/nodeSort.h
-%%SERVER%%include/postgresql/server/executor/nodeSubplan.h
-%%SERVER%%include/postgresql/server/executor/nodeSubqueryscan.h
-%%SERVER%%include/postgresql/server/executor/nodeTidscan.h
-%%SERVER%%include/postgresql/server/executor/nodeUnique.h
-%%SERVER%%include/postgresql/server/executor/spi.h
-%%SERVER%%include/postgresql/server/executor/spi_priv.h
-%%SERVER%%include/postgresql/server/executor/tuptable.h
-%%SERVER%%include/postgresql/server/lib/dllist.h
-%%SERVER%%include/postgresql/server/lib/lispsort.h
-%%SERVER%%include/postgresql/server/lib/stringinfo.h
-%%SERVER%%include/postgresql/server/libpq/auth.h
-%%SERVER%%include/postgresql/server/libpq/be-fsstubs.h
-%%SERVER%%include/postgresql/server/libpq/crypt.h
-%%SERVER%%include/postgresql/server/libpq/hba.h
-%%SERVER%%include/postgresql/server/libpq/libpq-be.h
-%%SERVER%%include/postgresql/server/libpq/libpq-fs.h
-%%SERVER%%include/postgresql/server/libpq/libpq.h
-%%SERVER%%include/postgresql/server/libpq/password.h
-%%SERVER%%include/postgresql/server/libpq/pqcomm.h
-%%SERVER%%include/postgresql/server/libpq/pqformat.h
-%%SERVER%%include/postgresql/server/libpq/pqsignal.h
-%%SERVER%%include/postgresql/server/mb/pg_wchar.h
-%%SERVER%%include/postgresql/server/nodes/execnodes.h
-%%SERVER%%include/postgresql/server/nodes/makefuncs.h
-%%SERVER%%include/postgresql/server/nodes/memnodes.h
-%%SERVER%%include/postgresql/server/nodes/nodeFuncs.h
-%%SERVER%%include/postgresql/server/nodes/nodes.h
-%%SERVER%%include/postgresql/server/nodes/params.h
-%%SERVER%%include/postgresql/server/nodes/parsenodes.h
-%%SERVER%%include/postgresql/server/nodes/pg_list.h
-%%SERVER%%include/postgresql/server/nodes/plannodes.h
-%%SERVER%%include/postgresql/server/nodes/primnodes.h
-%%SERVER%%include/postgresql/server/nodes/print.h
-%%SERVER%%include/postgresql/server/nodes/readfuncs.h
-%%SERVER%%include/postgresql/server/nodes/relation.h
-%%SERVER%%include/postgresql/server/optimizer/clauses.h
-%%SERVER%%include/postgresql/server/optimizer/cost.h
-%%SERVER%%include/postgresql/server/optimizer/geqo.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_copy.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_gene.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_misc.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_mutation.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_pool.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_random.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_recombination.h
-%%SERVER%%include/postgresql/server/optimizer/geqo_selection.h
-%%SERVER%%include/postgresql/server/optimizer/joininfo.h
-%%SERVER%%include/postgresql/server/optimizer/pathnode.h
-%%SERVER%%include/postgresql/server/optimizer/paths.h
-%%SERVER%%include/postgresql/server/optimizer/plancat.h
-%%SERVER%%include/postgresql/server/optimizer/planmain.h
-%%SERVER%%include/postgresql/server/optimizer/planner.h
-%%SERVER%%include/postgresql/server/optimizer/prep.h
-%%SERVER%%include/postgresql/server/optimizer/restrictinfo.h
-%%SERVER%%include/postgresql/server/optimizer/subselect.h
-%%SERVER%%include/postgresql/server/optimizer/tlist.h
-%%SERVER%%include/postgresql/server/optimizer/var.h
-%%SERVER%%include/postgresql/server/parser/analyze.h
-%%SERVER%%include/postgresql/server/parser/gramparse.h
-%%SERVER%%include/postgresql/server/parser/keywords.h
-%%SERVER%%include/postgresql/server/parser/parse.h
-%%SERVER%%include/postgresql/server/parser/parse_agg.h
-%%SERVER%%include/postgresql/server/parser/parse_clause.h
-%%SERVER%%include/postgresql/server/parser/parse_coerce.h
-%%SERVER%%include/postgresql/server/parser/parse_expr.h
-%%SERVER%%include/postgresql/server/parser/parse_func.h
-%%SERVER%%include/postgresql/server/parser/parse_node.h
-%%SERVER%%include/postgresql/server/parser/parse_oper.h
-%%SERVER%%include/postgresql/server/parser/parse_relation.h
-%%SERVER%%include/postgresql/server/parser/parse_target.h
-%%SERVER%%include/postgresql/server/parser/parse_type.h
-%%SERVER%%include/postgresql/server/parser/parser.h
-%%SERVER%%include/postgresql/server/parser/parsetree.h
-%%SERVER%%include/postgresql/server/parser/scansup.h
-%%SERVER%%include/postgresql/server/port/aix.h
-%%SERVER%%include/postgresql/server/port/beos.h
-%%SERVER%%include/postgresql/server/port/bsdi.h
-%%SERVER%%include/postgresql/server/port/darwin.h
-%%SERVER%%include/postgresql/server/port/dgux.h
-%%SERVER%%include/postgresql/server/port/freebsd.h
-%%SERVER%%include/postgresql/server/port/hpux.h
-%%SERVER%%include/postgresql/server/port/irix5.h
-%%SERVER%%include/postgresql/server/port/linux.h
-%%SERVER%%include/postgresql/server/port/netbsd.h
-%%SERVER%%include/postgresql/server/port/nextstep.h
-%%SERVER%%include/postgresql/server/port/openbsd.h
-%%SERVER%%include/postgresql/server/port/osf.h
-%%SERVER%%include/postgresql/server/port/qnx4.h
-%%SERVER%%include/postgresql/server/port/sco.h
-%%SERVER%%include/postgresql/server/port/solaris.h
-%%SERVER%%include/postgresql/server/port/sunos4.h
-%%SERVER%%include/postgresql/server/port/svr4.h
-%%SERVER%%include/postgresql/server/port/ultrix4.h
-%%SERVER%%include/postgresql/server/port/univel.h
-%%SERVER%%include/postgresql/server/port/unixware.h
-%%SERVER%%include/postgresql/server/port/win.h
-%%SERVER%%include/postgresql/server/port/win32.h
-%%SERVER%%include/postgresql/server/regex/cclass.h
-%%SERVER%%include/postgresql/server/regex/cname.h
-%%SERVER%%include/postgresql/server/regex/regex.h
-%%SERVER%%include/postgresql/server/regex/regex2.h
-%%SERVER%%include/postgresql/server/regex/utils.h
-%%SERVER%%include/postgresql/server/rewrite/prs2lock.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteDefine.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteHandler.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteManip.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteRemove.h
-%%SERVER%%include/postgresql/server/rewrite/rewriteSupport.h
-%%SERVER%%include/postgresql/server/storage/backendid.h
-%%SERVER%%include/postgresql/server/storage/block.h
-%%SERVER%%include/postgresql/server/storage/buf.h
-%%SERVER%%include/postgresql/server/storage/buf_internals.h
-%%SERVER%%include/postgresql/server/storage/buffile.h
-%%SERVER%%include/postgresql/server/storage/bufmgr.h
-%%SERVER%%include/postgresql/server/storage/bufpage.h
-%%SERVER%%include/postgresql/server/storage/fd.h
-%%SERVER%%include/postgresql/server/storage/freespace.h
-%%SERVER%%include/postgresql/server/storage/ipc.h
-%%SERVER%%include/postgresql/server/storage/item.h
-%%SERVER%%include/postgresql/server/storage/itemid.h
-%%SERVER%%include/postgresql/server/storage/itempos.h
-%%SERVER%%include/postgresql/server/storage/itemptr.h
-%%SERVER%%include/postgresql/server/storage/large_object.h
-%%SERVER%%include/postgresql/server/storage/lmgr.h
-%%SERVER%%include/postgresql/server/storage/lock.h
-%%SERVER%%include/postgresql/server/storage/lwlock.h
-%%SERVER%%include/postgresql/server/storage/off.h
-%%SERVER%%include/postgresql/server/storage/page.h
-%%SERVER%%include/postgresql/server/storage/pg_sema.h
-%%SERVER%%include/postgresql/server/storage/pg_shmem.h
-%%SERVER%%include/postgresql/server/storage/pmsignal.h
-%%SERVER%%include/postgresql/server/storage/pos.h
-%%SERVER%%include/postgresql/server/storage/proc.h
-%%SERVER%%include/postgresql/server/storage/relfilenode.h
-%%SERVER%%include/postgresql/server/storage/s_lock.h
-%%SERVER%%include/postgresql/server/storage/shmem.h
-%%SERVER%%include/postgresql/server/storage/sinval.h
-%%SERVER%%include/postgresql/server/storage/sinvaladt.h
-%%SERVER%%include/postgresql/server/storage/smgr.h
-%%SERVER%%include/postgresql/server/storage/spin.h
-%%SERVER%%include/postgresql/server/tcop/dest.h
-%%SERVER%%include/postgresql/server/tcop/fastpath.h
-%%SERVER%%include/postgresql/server/tcop/pquery.h
-%%SERVER%%include/postgresql/server/tcop/tcopdebug.h
-%%SERVER%%include/postgresql/server/tcop/tcopprot.h
-%%SERVER%%include/postgresql/server/tcop/utility.h
-%%SERVER%%include/postgresql/server/utils/acl.h
-%%SERVER%%include/postgresql/server/utils/array.h
-%%SERVER%%include/postgresql/server/utils/ascii.h
-%%SERVER%%include/postgresql/server/utils/bit.h
-%%SERVER%%include/postgresql/server/utils/builtins.h
-%%SERVER%%include/postgresql/server/utils/cash.h
-%%SERVER%%include/postgresql/server/utils/catcache.h
-%%SERVER%%include/postgresql/server/utils/date.h
-%%SERVER%%include/postgresql/server/utils/datetime.h
-%%SERVER%%include/postgresql/server/utils/datum.h
-%%SERVER%%include/postgresql/server/utils/dynahash.h
-%%SERVER%%include/postgresql/server/utils/dynamic_loader.h
-%%SERVER%%include/postgresql/server/utils/elog.h
-%%SERVER%%include/postgresql/server/utils/fcache.h
-%%SERVER%%include/postgresql/server/utils/fmgroids.h
-%%SERVER%%include/postgresql/server/utils/fmgrtab.h
-%%SERVER%%include/postgresql/server/utils/formatting.h
-%%SERVER%%include/postgresql/server/utils/geo_decls.h
-%%SERVER%%include/postgresql/server/utils/guc.h
-%%SERVER%%include/postgresql/server/utils/hsearch.h
-%%SERVER%%include/postgresql/server/utils/inet.h
-%%SERVER%%include/postgresql/server/utils/int8.h
-%%SERVER%%include/postgresql/server/utils/inval.h
-%%SERVER%%include/postgresql/server/utils/logtape.h
-%%SERVER%%include/postgresql/server/utils/lsyscache.h
-%%SERVER%%include/postgresql/server/utils/memutils.h
-%%SERVER%%include/postgresql/server/utils/nabstime.h
-%%SERVER%%include/postgresql/server/utils/numeric.h
-%%SERVER%%include/postgresql/server/utils/palloc.h
-%%SERVER%%include/postgresql/server/utils/pg_crc.h
-%%SERVER%%include/postgresql/server/utils/pg_locale.h
-%%SERVER%%include/postgresql/server/utils/pg_lzcompress.h
-%%SERVER%%include/postgresql/server/utils/portal.h
-%%SERVER%%include/postgresql/server/utils/ps_status.h
-%%SERVER%%include/postgresql/server/utils/rel.h
-%%SERVER%%include/postgresql/server/utils/relcache.h
-%%SERVER%%include/postgresql/server/utils/selfuncs.h
-%%SERVER%%include/postgresql/server/utils/sets.h
-%%SERVER%%include/postgresql/server/utils/syscache.h
-%%SERVER%%include/postgresql/server/utils/timestamp.h
-%%SERVER%%include/postgresql/server/utils/tqual.h
-%%SERVER%%include/postgresql/server/utils/tuplesort.h
-%%SERVER%%include/postgresql/server/utils/tuplestore.h
-%%SERVER%%include/postgresql/server/utils/varbit.h
-%%SERVER%%include/postgresql/server/pg_config.h
-%%SERVER%%include/postgresql/server/pg_config_os.h
-%%SERVER%%include/postgresql/server/c.h
-%%SERVER%%include/postgresql/server/dynloader.h
-%%SERVER%%include/postgresql/server/fmgr.h
-%%SERVER%%include/postgresql/server/funcapi.h
-%%SERVER%%include/postgresql/server/miscadmin.h
-%%SERVER%%include/postgresql/server/pgstat.h
-%%SERVER%%include/postgresql/server/postgres.h
-%%SERVER%%include/postgresql/server/postgres_ext.h
-%%SERVER%%include/postgresql/server/postgres_fe.h
-%%SERVER%%include/postgresql/server/rusagestub.h
-%%SERVER%%include/postgresql/server/strdup.h
-%%SERVER%%@dirrm include/postgresql/server/access
-%%SERVER%%@dirrm include/postgresql/server/bootstrap
-%%SERVER%%@dirrm include/postgresql/server/catalog
-%%SERVER%%@dirrm include/postgresql/server/commands
-%%SERVER%%@dirrm include/postgresql/server/executor
-%%SERVER%%@dirrm include/postgresql/server/lib
-%%SERVER%%@dirrm include/postgresql/server/libpq
-%%SERVER%%@dirrm include/postgresql/server/mb
-%%SERVER%%@dirrm include/postgresql/server/nodes
-%%SERVER%%@dirrm include/postgresql/server/optimizer
-%%SERVER%%@dirrm include/postgresql/server/parser
-%%SERVER%%@dirrm include/postgresql/server/port
-%%SERVER%%@dirrm include/postgresql/server/regex
-%%SERVER%%@dirrm include/postgresql/server/rewrite
-%%SERVER%%@dirrm include/postgresql/server/storage
-%%SERVER%%@dirrm include/postgresql/server/tcop
-%%SERVER%%@dirrm include/postgresql/server/utils
-%%SERVER%%@dirrm include/postgresql/server
-@dirrm include/postgresql