Date: Mon, 5 Apr 2004 05:24:51 GMT From: Lev Walkin <vlm@lionet.info> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65194: [maintainer update] Update port: net-mgmt/ipcad to 3.4.5 Message-ID: <200404050524.i355Op4x050737@mane.lionet.info> Resent-Message-ID: <200404050530.i355UG2i098642@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65194 >Category: ports >Synopsis: [maintainer update] Update port: net-mgmt/ipcad to 3.4.5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Apr 04 22:30:15 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Lev Walkin <vlm@lionet.info> >Release: >Organization: >Environment: >Description: Version 3.4.5 of net-mgmt/ipcad contains NetFlow export support and a couple of security updates. >How-To-Repeat: shar archive of a new ipcad tree is included. >Fix: # 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: # # . # ./files # ./files/ipcad.sh.tmpl # ./Makefile # ./distinfo # ./pkg-descr # ./pkg-message # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/ipcad.sh.tmpl sed 's/^X//' >./files/ipcad.sh.tmpl << 'END-of-./files/ipcad.sh.tmpl' X#!/bin/sh X# ipcad startup script example. X Xcase "$1" in Xstart) X if [ -x !!PREFIX!!/bin/ipcad -a -f !!PREFIX!!/etc/ipcad.conf ]; then X !!PREFIX!!/bin/ipcad -rds && echo -n ' ipcad' X fi X ;; Xstop) X /usr/bin/killall ipcad && /bin/echo -n ' ipcad' X ;; X*) X /bin/echo "Usage: `basename $0` {start|stop}" >&2 X exit 64 X ;; Xesac X Xexit 0 END-of-./files/ipcad.sh.tmpl echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: ipcad X# Date created: 15 April 2001 X# Whom: Lev Walkin <vlm@spelio.net.ru> X# X# $FreeBSD: ports/net-mgmt/ipcad/Makefile,v 1.13 2004/02/23 04:42:01 wollman Exp $ X# X XPORTNAME= ipcad XPORTVERSION= 3.4.5 XPORTREVISION= 1 XCATEGORIES= net-mgmt XMASTER_SITES= http://ipcad.sourceforge.net/ \ X http://www.spelio.net.ru/soft/ X XMAINTAINER= vlm@lionet.info XCOMMENT= IP accounting daemon with Cisco-like RSH and NetFlow export modes X XMANCOMPRESSED= no XMAN5= ipcad.conf.5 XMAN8= ipcad.8 X Xpost-install: X @${STRIP_CMD} ${PREFIX}/bin/ipcad X @${SED} -e "s=!!PREFIX!!=${PREFIX}=g" \ X < ${FILESDIR}/ipcad.sh.tmpl \ X > ${PREFIX}/etc/rc.d/ipcad.sh X @${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/etc/rc.d/ipcad.sh X ${INSTALL_MAN} ${WRKSRC}/ipcad.8 ${PREFIX}/man/man8 X ${INSTALL_MAN} ${WRKSRC}/ipcad.conf.5 ${PREFIX}/man/man5 X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (ipcad-3.4.5.tar.gz) = b6580f3fe5f0cbce0e6b9839239a9bdf XSIZE (ipcad-3.4.5.tar.gz) = 151565 END-of-./distinfo echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XIPCAD is an IP accounting daemon. It uses bpf or pcap to access interfaces Xand gather IP statistics. Collected numbers are arranged to form an Xaddress-to-address flow pairs and than can be accessed via rsh in Cisco Xfashion, or exported via NetFlow UDP protocol. X XSee README file and man pages for details. X XWWW: http://ipcad.sourceforge.net/ X X-- XLev Walkin Xvlm@lionet.info END-of-./pkg-descr echo x - ./pkg-message sed 's/^X//' >./pkg-message << 'END-of-./pkg-message' X=========================================================================== X XTo configure this package, customize ${PREFIX}/etc/ipcad.conf from X${PREFIX}/etc/ipcad.conf.sample, then start `ipcad -rds` XYou should be able to do `rsh localhost sh ip accounting` after that. X X=========================================================================== END-of-./pkg-message echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xbin/ipcad Xetc/ipcad.conf.sample Xetc/rc.d/ipcad.sh END-of-./pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404050524.i355Op4x050737>