Index: head/net/ipcad/Makefile =================================================================== --- head/net/ipcad/Makefile (revision 78806) +++ head/net/ipcad/Makefile (revision 78807) @@ -1,25 +1,30 @@ # New ports collection makefile for: ipcad # Date created: 15 April 2001 # Whom: Lev Walkin # # $FreeBSD$ # PORTNAME= ipcad -PORTVERSION= 2.7.1 +PORTVERSION= 2.8.2 CATEGORIES= net MASTER_SITES= http://www.spelio.net.ru/soft/ MAINTAINER= vlm@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 Property changes on: head/net/ipcad/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/net/ipcad/distinfo =================================================================== --- head/net/ipcad/distinfo (revision 78806) +++ head/net/ipcad/distinfo (revision 78807) @@ -1 +1 @@ -MD5 (ipcad-2.7.1.tar.gz) = bfbb0b4706a9cd8cffa34213f8a709e3 +MD5 (ipcad-2.8.2.tar.gz) = cf1cf2ef6144ea63b7287b676e8d9b14 Property changes on: head/net/ipcad/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net/ipcad/files/ipcad.sh.tmpl =================================================================== --- head/net/ipcad/files/ipcad.sh.tmpl (nonexistent) +++ head/net/ipcad/files/ipcad.sh.tmpl (revision 78807) @@ -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 Property changes on: head/net/ipcad/files/ipcad.sh.tmpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/ipcad/pkg-message =================================================================== --- head/net/ipcad/pkg-message (nonexistent) +++ head/net/ipcad/pkg-message (revision 78807) @@ -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 + +=========================================================================== Property changes on: head/net/ipcad/pkg-message ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/ipcad/Makefile =================================================================== --- head/net-mgmt/ipcad/Makefile (revision 78806) +++ head/net-mgmt/ipcad/Makefile (revision 78807) @@ -1,25 +1,30 @@ # New ports collection makefile for: ipcad # Date created: 15 April 2001 # Whom: Lev Walkin # # $FreeBSD$ # PORTNAME= ipcad -PORTVERSION= 2.7.1 +PORTVERSION= 2.8.2 CATEGORIES= net MASTER_SITES= http://www.spelio.net.ru/soft/ MAINTAINER= vlm@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 Property changes on: head/net-mgmt/ipcad/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/net-mgmt/ipcad/distinfo =================================================================== --- head/net-mgmt/ipcad/distinfo (revision 78806) +++ head/net-mgmt/ipcad/distinfo (revision 78807) @@ -1 +1 @@ -MD5 (ipcad-2.7.1.tar.gz) = bfbb0b4706a9cd8cffa34213f8a709e3 +MD5 (ipcad-2.8.2.tar.gz) = cf1cf2ef6144ea63b7287b676e8d9b14 Property changes on: head/net-mgmt/ipcad/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net-mgmt/ipcad/files/ipcad.sh.tmpl =================================================================== --- head/net-mgmt/ipcad/files/ipcad.sh.tmpl (nonexistent) +++ head/net-mgmt/ipcad/files/ipcad.sh.tmpl (revision 78807) @@ -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 Property changes on: head/net-mgmt/ipcad/files/ipcad.sh.tmpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/ipcad/pkg-message =================================================================== --- head/net-mgmt/ipcad/pkg-message (nonexistent) +++ head/net-mgmt/ipcad/pkg-message (revision 78807) @@ -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 + +=========================================================================== Property changes on: head/net-mgmt/ipcad/pkg-message ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property