Do not alter the module configuration for postgresql: it has already been

integrated in the webmin distribution.
This commit is contained in:
Jimmy Olgeni 2001-12-02 10:57:17 +00:00
parent 7b8c2d0c4f
commit d9f28d5c97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50849

View file

@ -7,6 +7,7 @@
PORTNAME= webmin
PORTVERSION= 0.91
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/webmin/updates/ \
http://www.webmin.com/webmin/download/
@ -52,18 +53,6 @@ post-patch:
${WRKSRC}/postfix/config.sed > ${WRKSRC}/postfix/config
@${RM} ${WRKSRC}/postfix/config.sed
@${CP} ${WRKSRC}/postgresql/config ${WRKSRC}/postgresql/config.sed
@${SED} -e "s@^hba_conf=.*@hba_conf=${LOCALBASE}/pgsql/data/pg_hba.conf@" \
-e "s@^login=.*@login=pgsql@" \
-e "s@^pid_file=.*@pid_file=${LOCALBASE}/pgsql/data/postmaster.pid@" \
-e "s@^start_cmd=.*@start_cmd=${LOCALBASE}/etc/rc.d/010.pgsql.sh start@" \
-e "s@^stop_cmd=.*@stop_cmd=${LOCALBASE}/etc/rc.d/010.pgsql.sh stop@" \
-e "s@^psql=.*@psql=${LOCALBASE}/bin/psql@" \
-e "s@^plib=.*@plib=${LOCALBASE}/lib@" \
${WRKSRC}/postgresql/config.sed > ${WRKSRC}/postgresql/config
@${RM} ${WRKSRC}/postgresql/config.sed
@${CP} ${WRKSRC}/dhcpd/config-freebsd ${WRKSRC}/dhcpd/config-freebsd.sed
@${SED} -e "s@^dhcpd_conf=.*@dhcpd_conf=${LOCALBASE}/etc/dhcpd.conf@" \
${WRKSRC}/dhcpd/config-freebsd.sed > ${WRKSRC}/dhcpd/config-freebsd