diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-03-15 19:26:26 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-03-15 19:26:26 +0000 |
commit | cf193c59d969cb5576f1f1eb7332b0839a051e73 (patch) | |
tree | d95350bae99275f11785b9ef3040c874dd634628 /databases/postgresql73 | |
parent | d0f45c329eaec9ee0a7abe87077939a698ac3ed4 (diff) | |
download | ports-cf193c59d969cb5576f1f1eb7332b0839a051e73.tar.gz ports-cf193c59d969cb5576f1f1eb7332b0839a051e73.zip |
ldconfig PostgreSQL's lib should happen before starting *ANY* ports.
This would cure headache like apache module linking against libpq
fail to work after rebooting.
Originally, maintainer and I want this commit to go with the
PostgreSQL updating. But we both think that the latest PostgreSQL
would not be released before FreeBSD 4.3-RELEASE ports freeze.
As a conclusion, PORTREVISION bumped.
Discussed with/Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=39895
Diffstat (limited to 'databases/postgresql73')
-rw-r--r-- | databases/postgresql73/Makefile | 7 | ||||
-rw-r--r-- | databases/postgresql73/files/post-install-notes | 2 | ||||
-rw-r--r-- | databases/postgresql73/pkg-message | 2 | ||||
-rw-r--r-- | databases/postgresql73/pkg-plist | 5 |
4 files changed, 8 insertions, 8 deletions
diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile index 313ef570c06d..e5d237658c2a 100644 --- a/databases/postgresql73/Makefile +++ b/databases/postgresql73/Makefile @@ -7,6 +7,7 @@ PORTNAME= postgresql PORTVERSION= 7.0.3 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= ftp://ftp.postgresql.org/pub/%SUBDIR%/ \ ftp://ftp.de.postgresql.org/%SUBDIR%/ \ @@ -133,9 +134,9 @@ post-install: @ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib @ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/pgsql/lib @ ${SED} -e "s=!!PREFIX!!=${PREFIX}=g" < ${FILESDIR}/pgsql.sh.tmpl \ - > ${PREFIX}/etc/rc.d/pgsql.sh - @ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh - @ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh + > ${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 @ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' < ${FILESDIR}/post-install-notes \ > ${PREFIX}/pgsql/post-install-notes .if defined(WITHOUT_MULTIBYTE) diff --git a/databases/postgresql73/files/post-install-notes b/databases/postgresql73/files/post-install-notes index 4c69908b2676..f77271d85113 100644 --- a/databases/postgresql73/files/post-install-notes +++ b/databases/postgresql73/files/post-install-notes @@ -16,4 +16,4 @@ If you built in the TCL support, you can load the Pg package into your TCL scripts as easily as ``package require Pgtcl''. To start PostgreSQL, run the startup script: -%%PREFIX%%/etc/rc.d/pgsql.sh start +%%PREFIX%%/etc/rc.d/010.pgsql.sh start diff --git a/databases/postgresql73/pkg-message b/databases/postgresql73/pkg-message index 88cc50d642e6..afda87898a21 100644 --- a/databases/postgresql73/pkg-message +++ b/databases/postgresql73/pkg-message @@ -8,5 +8,5 @@ Example: You can then start PostgreSQL by running: - /usr/local/etc/rc.d/pgsql.sh start + /usr/local/etc/rc.d/010.pgsql.sh start ========================================== diff --git a/databases/postgresql73/pkg-plist b/databases/postgresql73/pkg-plist index 4cf31ebc5bc6..ff1866c0d635 100644 --- a/databases/postgresql73/pkg-plist +++ b/databases/postgresql73/pkg-plist @@ -1,5 +1,5 @@ @unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi -etc/rc.d/pgsql.sh +etc/rc.d/010.pgsql.sh pgsql/dot.profile.dist @exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile) pgsql/bin/createdb @@ -92,5 +92,4 @@ pgsql/post-install-notes @dirrm pgsql/man/man1 @dirrm pgsql/man/manl @dirrm pgsql/man -@unexec rmdir %D/pgsql/data 2>/dev/null || true -@unexec rmdir %D/pgsql 2>/dev/null || true +@dirrm pgsql |