freebsd-ports/databases/iplike/files/patch-install_iplike.sh.in
Philip M. Gollucci eddd1e9d25 A C implementation of the stored procedure written in plpgsql that's bundled
with OpenNMS, this is the preferred version for use as is offers better
performance

WWW: http://www.opennms.org/wiki/IPLIKE

PR:		ports/142581
Submitted by:	Sevan Janiyan <venture37 at geeklan.co.uk>
2010-01-12 01:19:59 +00:00

11 lines
441 B
Bash

--- install_iplike.sh.in.orig 2010-01-05 19:52:07.000000000 +0000
+++ install_iplike.sh.in 2010-01-05 19:53:15.000000000 +0000
@@ -5,7 +5,7 @@
libdir="@libdir@"
[ -z "$PG_DATABASE" ] && PG_DATABASE="opennms"
-[ -z "$PG_USER" ] && PG_USER="postgres"
+[ -z "$PG_USER" ] && PG_USER="pgsql"
[ -z "$PG_HOST" ] && PG_HOST="localhost"
[ -z "$PG_PORT" ] && PG_PORT="5432"
[ -z "$PG_PSQL" ] && PG_PSQL="@PSQL_BINDIR@/psql"