aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql73-server
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1998-10-16 02:42:29 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1998-10-16 02:42:29 +0000
commit3c92df3d36daee0f33bdf548a95afbd97ce8f6ec (patch)
tree38d19dfd1275c2988ee3f1f781e973f00c7ec6cf /databases/postgresql73-server
parent79f04ccd0d16e63abb00f29365d951198a57c655 (diff)
downloadports-3c92df3d36daee0f33bdf548a95afbd97ce8f6ec.tar.gz
ports-3c92df3d36daee0f33bdf548a95afbd97ce8f6ec.zip
Notes
Diffstat (limited to 'databases/postgresql73-server')
-rw-r--r--databases/postgresql73-server/Makefile6
-rw-r--r--databases/postgresql73-server/pkg-plist11
-rw-r--r--databases/postgresql73-server/scripts/createuser2
3 files changed, 8 insertions, 11 deletions
diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile
index 1d91986f62c8..42e4d1614a0f 100644
--- a/databases/postgresql73-server/Makefile
+++ b/databases/postgresql73-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.26 1998/09/25 10:07:42 asami Exp $
+# $Id: Makefile,v 1.27 1998/10/12 04:12:35 jseger Exp $
#
DISTNAME= postgresql-6.3.2
@@ -20,8 +20,6 @@ LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80
WITH_TCL= --with-tcl
.endif
-BROKEN_ELF= yes
-
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
@@ -101,7 +99,7 @@ post-install:
fi
@ chown -R pgsql:pgsql ${PREFIX}/pgsql
@ ${ECHO} 'Initializing PostgreSQL Databases - this may take a few minutes...'
- @ ${LDCONFIG} -m ${PREFIX}/pgsql/lib
+ @ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/pgsql/lib
@ su -l pgsql -c '${PREFIX}/pgsql/bin/initdb --pglib=${PREFIX}/pgsql/lib --pgdata=${PREFIX}/pgsql/data'
@ ${SED} -e "s=!!PREFIX!!=${PREFIX}=g" < ${FILESDIR}/pgsql.sh.tmpl \
> ${PREFIX}/etc/rc.d/pgsql.sh
diff --git a/databases/postgresql73-server/pkg-plist b/databases/postgresql73-server/pkg-plist
index 90b209b0cf1b..69fcca04897d 100644
--- a/databases/postgresql73-server/pkg-plist
+++ b/databases/postgresql73-server/pkg-plist
@@ -14,9 +14,8 @@ pgsql/bin/pg_dumpall
pgsql/bin/pg_id
pgsql/bin/pg_passwd
pgsql/bin/pg_version
-pgsql/bin/pgtclsh
-pgsql/bin/pgtksh
pgsql/bin/postgres
+pgsql/bin/postmaster
pgsql/bin/psql
pgsql/data/PG_VERSION
pgsql/data/base/template1/PG_VERSION
@@ -68,7 +67,6 @@ pgsql/data/pg_log
pgsql/data/pg_pwd
pgsql/data/pg_shadow
pgsql/data/pg_variable
-pgsql/errlog
pgsql/include/access/attnum.h
pgsql/include/c.h
pgsql/include/commands/trigger.h
@@ -78,7 +76,6 @@ pgsql/include/ecpgtype.h
pgsql/include/executor/spi.h
pgsql/include/fmgr.h
pgsql/include/lib/dllist.h
-pgsql/include/libpgtcl.h
pgsql/include/libpq-fe.h
pgsql/include/libpq/libpq-fs.h
pgsql/include/libpq/pqcomm.h
@@ -92,11 +89,13 @@ pgsql/include/utils/palloc.h
pgsql/lib/global1.bki.source
pgsql/lib/global1.description
pgsql/lib/libecpg.a
+pgsql/lib/libecpg.so
pgsql/lib/libecpg.so.1.1
-pgsql/lib/libpgtcl.a
-pgsql/lib/libpgtcl.so.1.0
pgsql/lib/libpq.a
+pgsql/lib/libpq.so
pgsql/lib/libpq.so.1.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
pgsql/lib/local1_template1.bki.source
pgsql/lib/local1_template1.description
pgsql/lib/pg_geqo.sample
diff --git a/databases/postgresql73-server/scripts/createuser b/databases/postgresql73-server/scripts/createuser
index ceb99626e648..2abe201e7a4b 100644
--- a/databases/postgresql73-server/scripts/createuser
+++ b/databases/postgresql73-server/scripts/createuser
@@ -32,7 +32,7 @@ if( getgrnam( "pgsql" ) ) {
print "pgsql user using uid $pgUID\n";
print "pgsql user using gid $pgGID\n";
-system( "/usr/bin/chpass -a \"pgsql:*:$pgUID:$pgGID::0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/pgsql:/bin/sh\"" );
+system( "/usr/bin/chpass -a \"pgsql:*:$pgUID:$pgGID\:\:0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/pgsql:/bin/sh\"" );
sub append_file {
local($file,@list) = @_;