ports/50855: Maintainer update port net/ipcad: new version has come
Lev Walkin
vlm at lionet.info
Sat Apr 12 11:50:15 UTC 2003
>Number: 50855
>Category: ports
>Synopsis: Maintainer update port net/ipcad: new version has come
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 12 04:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Lev Walkin
>Release: FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD spelio.netli.lan 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Mar 5 18:10:06 PST 2003 vlm at spelio.netli.lan:/usr/src/sys/compile/SPELIO i386
>Description:
ipcad source has updated: changed underlying storage protocol, added
dynamic interfaces support, fixed a minor configuration issue.
>How-To-Repeat:
>Fix:
diff -ruN ipcad.old/Makefile ipcad/Makefile
--- ipcad.old/Makefile Sat Apr 12 04:19:55 2003
+++ ipcad/Makefile Sat Apr 12 04:36:16 2003
@@ -6,20 +6,25 @@
#
PORTNAME= ipcad
-PORTVERSION= 2.7.1
+PORTVERSION= 2.8.2
CATEGORIES= net
MASTER_SITES= http://www.spelio.net.ru/soft/
MAINTAINER= vlm at spelio.net.ru
-COMMENT= IP accounting daemon simulating Cisco ip accounting
+COMMENT= IP accounting daemon with Cisco-like ip accounting export
MANCOMPRESSED= no
MAN5= ipcad.conf.5
MAN8= ipcad.8
post-install:
- strip ${PREFIX}/bin/ipcad
+ @${STRIP_CMD} ${PREFIX}/bin/ipcad
+ @${SED} -e "s=!!PREFIX!!=${PREFIX}=g" \
+ < ${FILESDIR}/ipcad.sh.tmpl \
+ > ${PREFIX}/etc/rc.d/ipcad.sh
+ @${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/etc/rc.d/ipcad.sh
${INSTALL_MAN} ${WRKSRC}/ipcad.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/ipcad.conf.5 ${PREFIX}/man/man5
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN ipcad.old/distinfo ipcad/distinfo
--- ipcad.old/distinfo Sat Apr 12 04:19:55 2003
+++ ipcad/distinfo Sat Apr 12 04:32:13 2003
@@ -1 +1 @@
-MD5 (ipcad-2.7.1.tar.gz) = bfbb0b4706a9cd8cffa34213f8a709e3
+MD5 (ipcad-2.8.2.tar.gz) = cf1cf2ef6144ea63b7287b676e8d9b14
diff -ruN ipcad.old/files/ipcad.sh.tmpl ipcad/files/ipcad.sh.tmpl
--- ipcad.old/files/ipcad.sh.tmpl Wed Dec 31 16:00:00 1969
+++ ipcad/files/ipcad.sh.tmpl Sat Apr 12 04:34:58 2003
@@ -0,0 +1,19 @@
+#!/bin/sh
+# ipcad startup script example.
+
+case "$1" in
+start)
+ if [ -x !!PREFIX!!/bin/ipcad -a -f !!PREFIX!!/etc/ipcad.conf ]; then
+ !!PREFIX!!/bin/ipcad -rds && echo -n ' ipcad'
+ fi
+ ;;
+stop)
+ /usr/bin/killall ipcad && /bin/echo -n ' ipcad'
+ ;;
+*)
+ /bin/echo "Usage: `basename $0` {start|stop}" >&2
+ exit 64
+ ;;
+esac
+
+exit 0
diff -ruN ipcad.old/pkg-message ipcad/pkg-message
--- ipcad.old/pkg-message Wed Dec 31 16:00:00 1969
+++ ipcad/pkg-message Sat Apr 12 04:22:24 2003
@@ -0,0 +1,7 @@
+===========================================================================
+
+To configure this package, adjust ${PREFIX}/etc/ipcad.conf from
+${PREFIX}/etc/ipcad.conf.sample, then start "ipcad -rds"
+You should be able to "rsh localhost sh ip accounting" after that
+
+===========================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list