diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-10-26 09:29:10 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-10-26 09:29:10 +0000 |
commit | 9209ca280e67dd06672435c23e23d3f9f7e8aaa8 (patch) | |
tree | 479d809171f57bc74bc8ea0f7728d3515bb4194e /testing | |
parent | 8ff4faf39092bc7c8e46baa18d9f026bb8c7cbd2 (diff) | |
download | aports-9209ca280e67dd06672435c23e23d3f9f7e8aaa8.tar.bz2 aports-9209ca280e67dd06672435c23e23d3f9f7e8aaa8.tar.xz |
testing/pmacct: moved to main
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pmacct/APKBUILD | 57 | ||||
-rw-r--r-- | testing/pmacct/nfacctd.conf | 11 | ||||
-rw-r--r-- | testing/pmacct/pmacct.confd | 7 | ||||
-rw-r--r-- | testing/pmacct/pmacct.initd | 30 | ||||
-rwxr-xr-x | testing/pmacct/pmacct.post-deinstall | 4 | ||||
-rw-r--r-- | testing/pmacct/pmacct.post-install | 4 | ||||
-rw-r--r-- | testing/pmacct/pmacctd.conf | 11 | ||||
-rw-r--r-- | testing/pmacct/sfacctd.conf | 9 | ||||
-rw-r--r-- | testing/pmacct/uacctd.conf | 9 |
9 files changed, 0 insertions, 142 deletions
diff --git a/testing/pmacct/APKBUILD b/testing/pmacct/APKBUILD deleted file mode 100644 index 83d0c547af..0000000000 --- a/testing/pmacct/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@gmail.com> -pkgname=pmacct -pkgver=0.12.4 -pkgrel=7 -pkgdesc="Measure, account, classify, aggregate and export IPv4 and IPv6 traffic" -url="http://www.pmacct.net/" -license="GPL" -depends= -makedepends="libpcap-dev libpq postgresql-dev" -install="$pkgname.post-install $pkgname.post-deinstall" -subpackages="$pkgname-doc" -source="http://www.pmacct.net/$pkgname-$pkgver.tar.gz - pmacct.initd - pmacct.confd - pmacctd.conf" - -_builddir="$srcdir"/$pkgname-$pkgver - -#prepare() { -# cd "$_builddir" -# apply patches here -#} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-pgsql \ - --enable-64bit \ - --enable-threads \ - --enable-ulog - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/pmacctd - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/pmacctd - install -m644 -D "$srcdir"/pmacctd.conf "$pkgdir"/etc/pmacctd.conf - install -m644 -D "$srcdir"/nfacctd.conf "$pkgdir"/etc/nfacctd.conf - install -m644 -D "$srcdir"/sfacctd.conf "$pkgdir"/etc/sfacctd.conf - install -m644 -D "$srcdir"/uacctd.conf "$pkgdir"/etc/uacctd.conf - mkdir -p $pkgdir/usr/share/doc/pmacct/examples - mkdir -p $pkgdir/usr/share/doc/pmacct/sql - cp examples/* $pkgdir/usr/share/doc/pmacct/examples - cp sql/README.* $pkgdir/usr/share/doc/pmacct - cp sql/* $pkgdir/usr/share/doc/pmacct/sql -} - -md5sums="72098ff945e1ddaa77d7f0b3531fa765 pmacct-0.12.4.tar.gz -8ebf022a90bb795e6726fee4065bd386 pmacct.initd -394bf0687572261e90eecd70c33c8ede pmacct.confd -ecb85e4f9bcb1f6ef0ee1426f979be2b pmacctd.conf" diff --git a/testing/pmacct/nfacctd.conf b/testing/pmacct/nfacctd.conf deleted file mode 100644 index 47397d9076..0000000000 --- a/testing/pmacct/nfacctd.conf +++ /dev/null @@ -1,11 +0,0 @@ -! Sample default config file - -daemonize: true -pidfile: /var/run/pmacctd.pid -syslog: daemon - -! sql_host: localhost -! sql_passwd:pmacct -! sql_table_version: 7 - -! plugins: pgsql diff --git a/testing/pmacct/pmacct.confd b/testing/pmacct/pmacct.confd deleted file mode 100644 index c6557c8074..0000000000 --- a/testing/pmacct/pmacct.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-analyzer/pmacct/files/pmacctd-conf.d,v 1.3 2007/03/28 21:17:57 cedk Exp $ - -# Other options to pass to pmacctd -#OPTS="" - diff --git a/testing/pmacct/pmacct.initd b/testing/pmacct/pmacct.initd deleted file mode 100644 index e6e6a3f651..0000000000 --- a/testing/pmacct/pmacct.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-analyzer/pmacct/files/$SVCNAME-init.d,v 1.4 2009/06/01 09:48:41 pva Exp $ - -depend() { - need net - after firewall -} - -checkconfig() { - if [ ! -e /etc/$SVCNAME.conf ] ; then - eerror "You need an /etc/$SVCNAME.conf file to run $SVCNAME" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting $SVCNAME" - start-stop-daemon --start --pidfile /var/run/$SVCNAME.pid --exec /usr/sbin/$SVCNAME \ - -- -D -f /etc/$SVCNAME.conf -F /var/run/$SVCNAME.pid ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping $SVCNAME" - start-stop-daemon --stop --pidfile /var/run/$SVCNAME.pid --exec /usr/sbin/$SVCNAME - eend $? -} diff --git a/testing/pmacct/pmacct.post-deinstall b/testing/pmacct/pmacct.post-deinstall deleted file mode 100755 index 327b1ce74c..0000000000 --- a/testing/pmacct/pmacct.post-deinstall +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -rm /etc/init.d/nfacctd &>/dev/null -rm /etc/init.d/sfacctd &>/dev/null -rm /etc/init.d/uacctd &>/dev/null diff --git a/testing/pmacct/pmacct.post-install b/testing/pmacct/pmacct.post-install deleted file mode 100644 index 9fd02c4b10..0000000000 --- a/testing/pmacct/pmacct.post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -ln -s /etc/init.d/pmacctd /etc/init.d/nfacctd &>/dev/null -ln -s /etc/init.d/pmacctd /etc/init.d/sfacctd &>/dev/null -ln -s /etc/init.d/pmacctd /etc/init.d/uacctd &>/dev/null diff --git a/testing/pmacct/pmacctd.conf b/testing/pmacct/pmacctd.conf deleted file mode 100644 index d64189ede4..0000000000 --- a/testing/pmacct/pmacctd.conf +++ /dev/null @@ -1,11 +0,0 @@ -! Sample configuration file - -daemonize: true -pidfile: /var/run/pmacctd.pid -syslog: daemon - -! sql_host: localhost -! sql_passwd:pmacct -! sql_table_version: 7 - -! plugins: pgsql diff --git a/testing/pmacct/sfacctd.conf b/testing/pmacct/sfacctd.conf deleted file mode 100644 index d175e31134..0000000000 --- a/testing/pmacct/sfacctd.conf +++ /dev/null @@ -1,9 +0,0 @@ -daemonize: true -pidfile: /var/run/pmacctd.pid -syslog: daemon - -! sql_host: localhost -! sql_passwd:pmacct -! sql_table_version: 7 - -! plugins: pgsql diff --git a/testing/pmacct/uacctd.conf b/testing/pmacct/uacctd.conf deleted file mode 100644 index d175e31134..0000000000 --- a/testing/pmacct/uacctd.conf +++ /dev/null @@ -1,9 +0,0 @@ -daemonize: true -pidfile: /var/run/pmacctd.pid -syslog: daemon - -! sql_host: localhost -! sql_passwd:pmacct -! sql_table_version: 7 - -! plugins: pgsql |