fix kerberos support (from Jesse Kempf <kempf at rpi.edu>) and
mention to start the server with nohup to prevent a signal race (from mpf@)
This commit is contained in:
parent
e4124fa3f0
commit
3d35133277
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.72 2005/02/05 15:11:58 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.73 2005/04/06 06:23:46 sturm Exp $
|
||||
|
||||
COMMENT= "PostgreSQL RDBMS (client)"
|
||||
COMMENT-server= "PostgreSQL RDBMS (server)"
|
||||
@ -6,8 +6,8 @@ COMMENT-docs= "PostgreSQL RDBMS documentation"
|
||||
|
||||
VERSION= 7.4.3
|
||||
DISTNAME= postgresql-${VERSION}
|
||||
FULLPKGNAME= postgresql-client-${VERSION}p1
|
||||
PKGNAME-server= postgresql-server-${VERSION}p1
|
||||
FULLPKGNAME= postgresql-client-${VERSION}p2
|
||||
PKGNAME-server= postgresql-server-${VERSION}p2
|
||||
PKGNAME-docs= postgresql-docs-${VERSION}p1
|
||||
|
||||
CATEGORIES= databases
|
||||
@ -45,18 +45,19 @@ CONFIGURE_ENV= LIBS=-lcurses
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${KERBEROS5} == "yes"
|
||||
POSTGRES_KRB5_LIBS=--with-krb5=/usr
|
||||
POSTGRES_KRB5_INCLUDES=/usr/include/kerberosV
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS= --disable-rpath --with-openssl=/usr \
|
||||
--with-includes=${POSTGRES_KRB5_LIBS} --with-perl \
|
||||
--with-includes=/usr/include/kerberosV \
|
||||
--with-perl \
|
||||
--enable-integer-datetimes \
|
||||
--includedir="${PREFIX}/include/postgresql" \
|
||||
--datadir="${PREFIX}/share/postgresql" \
|
||||
--docdir="${PREFIX}/share/doc/postgresql"
|
||||
|
||||
.if ${KERBEROS5} == "yes"
|
||||
CONFIGURE_ARGS+=--with-krb5=/usr/lib
|
||||
.endif
|
||||
|
||||
|
||||
# There is no spinlock support for hppa yet. Until we have access to
|
||||
# a system to get this working, disable them for now. There is
|
||||
# (apparently) a serious performance hit doing this.
|
||||
|
@ -34,7 +34,7 @@ If you wish to start PostgreSQL automatically during system startup,
|
||||
add the following lines to /etc/rc.local:
|
||||
|
||||
if [ -x !!PREFIX!!/bin/pg_ctl ]; then
|
||||
su -l _postgresql -c "!!PREFIX!!/bin/pg_ctl start \
|
||||
su -l _postgresql -c "nohup !!PREFIX!!/bin/pg_ctl start \
|
||||
-D /var/postgresql/data -l /var/postgresql/logfile \
|
||||
-o '-D /var/postgresql/data'"
|
||||
echo -n ' postgresql'
|
||||
|
Loading…
Reference in New Issue
Block a user