[arch-commits] CVS update of arch/build/daemons/ipfm (PKGBUILD ipfm)
Thomas Baechler
thomas at archlinux.org
Fri Jul 27 15:11:55 UTC 2007
Date: Friday, July 27, 2007 @ 11:11:55
Author: thomas
Path: /home/cvs-arch/arch/build/daemons/ipfm
Removed: PKGBUILD (1.15) ipfm (1.4)
project dead, moved to unsupported
----------+
PKGBUILD | 22 ----------------------
ipfm | 36 ------------------------------------
2 files changed, 58 deletions(-)
Index: arch/build/daemons/ipfm/PKGBUILD
diff -u arch/build/daemons/ipfm/PKGBUILD:1.15 arch/build/daemons/ipfm/PKGBUILD:removed
--- arch/build/daemons/ipfm/PKGBUILD:1.15 Thu Sep 28 07:51:15 2006
+++ arch/build/daemons/ipfm/PKGBUILD Fri Jul 27 11:11:54 2007
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD,v 1.15 2006/09/28 11:51:15 tpowa Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
-pkgname=ipfm
-pkgver=0.11.5
-pkgrel=4
-pkgdesc="IP Flow Meter, a bandwidth analysis tool"
-arch=(i686 x86_64)
-backup=(etc/ipfm.conf)
-depends=('glibc' 'bash' 'libpcap')
-source=(http://robert.cheramy.net/ipfm/archive/$pkgname-$pkgver.tgz ipfm)
-url="http://robert.cheramy.net/ipfm/"
-md5sums=('7331aeeabf47cbd37603abe75355fe20' 'c0afca0772b2066acdba883451a891ee')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make || return 1
- make ROOT=$startdir/pkg install
- mkdir -p $startdir/pkg/etc/rc.d
- cp ../ipfm $startdir/pkg/etc/rc.d
-}
Index: arch/build/daemons/ipfm/ipfm
diff -u arch/build/daemons/ipfm/ipfm:1.4 arch/build/daemons/ipfm/ipfm:removed
--- arch/build/daemons/ipfm/ipfm:1.4 Sun Feb 16 22:13:11 2003
+++ arch/build/daemons/ipfm/ipfm Fri Jul 27 11:11:54 2007
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/ipfm`
-case "$1" in
- start)
- stat_busy "Starting IP Flow Meter"
- [ -z "$PID" ] && /usr/sbin/ipfm
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ipfm
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping IP Flow Meter"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ipfm
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
More information about the arch-commits
mailing list