ports/142581: [new port] databases/iplike
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 10 17:10:05 UTC 2010
>Number: 142581
>Category: ports
>Synopsis: [new port] databases/iplike
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 10 17:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./Makefile
# ./distinfo
# ./pkg-descr
# ./files
# ./files/pkg-message.in
# ./files/patch-install_iplike.sh.in
# ./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# New ports collection makefile for: iplike
X# Date created: 5 January 2010
X# Whom: Sevan Janiyan <venture37 at geeklan.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME= iplike
XPORTVERSION= 1.0.8
XCATEGORIES= databases
XMASTER_SITES= SF/opennms/IPLIKE/stable-1.0/
X
XMAINTAINER= venture37 at geeklan.co.uk
XCOMMENT= C implementation of the OpenNMS iplike stored procedure
X
XGNU_CONFIGURE= yes
XUSE_PGSQL= yes
XSUB_FILES= pkg-message
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XMD5 (iplike-1.0.8.tar.gz) = 85bcafd5e96a79e7d0ab6eee0b4b0b75
XSHA256 (iplike-1.0.8.tar.gz) = f4c4a2ed00f538e4dd242189860969775a60fac0abab8683ad82061e40202802
XSIZE (iplike-1.0.8.tar.gz) = 319791
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XA C implementation of the stored procedure written in plpgsql that's bundled
Xwith OpenNMS, this is the preferred version for use as is offers better
Xperformance
X
XWWW: http://www.opennms.org/wiki/IPLIKE
0e313719ff012ceaf97a028d51caa8f5
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/pkg-message.in
sed 's/^X//' >./files/pkg-message.in << 'f63be51668f70461c30a5539f7c148ef'
X| Don't forget to run %%PREFIX%%/sbin/install_iplike.sh to make the relevant
X| changes to your OpenNMS database.
X| To confirm the changes have been made run:
X| psql -U opennms -h localhost -c '\df+ iplike' | head
X| Check the Language column, It should say "c" and not "plpgsql"
f63be51668f70461c30a5539f7c148ef
echo x - ./files/patch-install_iplike.sh.in
sed 's/^X//' >./files/patch-install_iplike.sh.in << 'ded61e823b9bea920c1e8720425fff1c'
X--- install_iplike.sh.in.orig 2010-01-05 19:52:07.000000000 +0000
X+++ install_iplike.sh.in 2010-01-05 19:53:15.000000000 +0000
X@@ -5,7 +5,7 @@
X libdir="@libdir@"
X
X [ -z "$PG_DATABASE" ] && PG_DATABASE="opennms"
X-[ -z "$PG_USER" ] && PG_USER="postgres"
X+[ -z "$PG_USER" ] && PG_USER="pgsql"
X [ -z "$PG_HOST" ] && PG_HOST="localhost"
X [ -z "$PG_PORT" ] && PG_PORT="5432"
X [ -z "$PG_PSQL" ] && PG_PSQL="@PSQL_BINDIR@/psql"
ded61e823b9bea920c1e8720425fff1c
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
Xlib/iplike.la
Xlib/iplike.so
Xsbin/install_iplike.sh
ef3e7f63841ae908ba397c2bef1fbad6
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list