summaryrefslogtreecommitdiff
path: root/databases/postgresql81-server/Makefile
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2005-02-03 09:30:27 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2005-02-03 09:30:27 +0000
commit88413af3b8210a5e5d7a3dbb2a6050f03229850b (patch)
tree9ed8a3148862873a5079319de478bac6760b1685 /databases/postgresql81-server/Makefile
parentFix build on 4.x (gcc295) (diff)
In order to address a potential security hole recently identified with
the "LOAD" option, the PostgreSQL Global Development Group is announcing the release of new versions of PostgreSQL. Update to 7.3.9, 7.4.7 & 8.0.1. Take the opportunity to reset PORTREVISION of slave ports. Back out name change of startup script. The new script uses rc.subr(8), and as such also uses rcorder(8). But, rcorder does not exist in FreeBSD 4.x. Hence rename the script it back to the top of the directory list. [1] The periodic script should of course be executable. [2] [1] Noted by Niels Chr. Bank-Pedersen <ncbp at bank-pedersen dot dk> [2] Noted by Fritz Heinrichmeyer <fritz.heinrichmeyer at fernuni-hagen dot de>
Notes
Notes: svn path=/head/; revision=127966
Diffstat (limited to 'databases/postgresql81-server/Makefile')
-rw-r--r--databases/postgresql81-server/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile
index 7bdc96d9506e..48744e34198a 100644
--- a/databases/postgresql81-server/Makefile
+++ b/databases/postgresql81-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
-PORTVERSION?= 8.0.0
+PORTVERSION?= 8.0.1
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
@@ -47,7 +47,7 @@ PKGMESSAGE= ${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
.if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
SERVER_ONLY= yes
USE_RC_SUBR= yes
-RCSCRIPT= ${PREFIX}/etc/rc.d/postgresql.sh
+RCSCRIPT= ${PREFIX}/etc/rc.d/010.pgsql.sh
USE_PGSQL= yes
WANT_PGSQL_VER= ${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
.endif
@@ -92,11 +92,11 @@ OPTIONS+= TESTS "Allows the use of a \"check\" target" off
OPTIONS+= DEBUG "Builds with debugging symbols" off
.if defined(SERVER_ONLY) && defined(WITH_RENDEZVOUS)
-CONFIGURE_ARGS+= --with-rendezvous
+CONFIGURE_ARGS+=--with-rendezvous
.endif
. if defined(SERVER_ONLY) && defined(WITH_PAM)
-CONFIGURE_ARGS+= --with-pam
+CONFIGURE_ARGS+=--with-pam
. endif
. if !defined(WITHOUT_GNUGETOPT) || exists(${LOCALBASE}/include/getopt.h)
@@ -117,7 +117,7 @@ CFLAGS+= -O3 -funroll-loops
. endif
. if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
+CONFIGURE_ARGS+=--enable-debug
INSTALL_TARGET= install
. else
INSTALL_TARGET= install-strip
@@ -150,7 +150,7 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
. if defined(SERVER_ONLY) && defined(WITH_TESTS)
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
-EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-text-regress-pgregress-sh
+EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
. endif
. if defined(SERVER_ONLY) && defined(WITH_LIBC_R)
@@ -266,7 +266,7 @@ do-install:
${CHOWN} root:pgsql ${RCSCRIPT} ;\
${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
${MKDIR} ${PREFIX}/etc/periodic/daily ;\
- ${INSTALL_DATA} ${FILESDIR}/502.pgsql \
+ ${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
${PREFIX}/etc/periodic/daily
. endif # SERVER_ONLY
@ if [ -r ${PKGMESSAGE} ]; then \