From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 4 22:30:16 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B88416A4CF for ; Sun, 4 Apr 2004 22:30:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F95543D58 for ; Sun, 4 Apr 2004 22:30:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i355UGbv098645 for ; Sun, 4 Apr 2004 22:30:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i355UG2i098642; Sun, 4 Apr 2004 22:30:16 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 4 Apr 2004 22:30:16 -0700 (PDT) Resent-Message-Id: <200404050530.i355UG2i098642@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lev Walkin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8563C16A4CE for ; Sun, 4 Apr 2004 22:24:55 -0700 (PDT) Received: from mane.lionet.info (mane.lionet.info [66.45.230.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150BD43D3F for ; Sun, 4 Apr 2004 22:24:53 -0700 (PDT) (envelope-from vlm@lionet.info) Received: from mane.lionet.info (mane.lionet.info [66.45.230.133]) by mane.lionet.info (8.12.10/8.12.10) with ESMTP id i355Oq04050738 for ; Mon, 5 Apr 2004 05:24:52 GMT (envelope-from vlm@mane.lionet.info) Received: (from vlm@localhost) by mane.lionet.info (8.12.10/8.12.10/Submit) id i355Op4x050737; Mon, 5 Apr 2004 05:24:51 GMT (envelope-from vlm) Message-Id: <200404050524.i355Op4x050737@mane.lionet.info> Date: Mon, 5 Apr 2004 05:24:51 GMT From: Lev Walkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/65194: [maintainer update] Update port: net-mgmt/ipcad to 3.4.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lev Walkin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 05:30:16 -0000 >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 >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 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 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: