diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-10-13 13:42:34 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-10-13 13:42:34 +0000 |
commit | 1c9fe09b02efa0ae876b496e2221cc0d7ac2cea3 (patch) | |
tree | 3c7fc2ac74de7c68e0c48bc1ace4fdc00b684d9f /testing | |
parent | 91c07316d099e008b179df33ed3935dce632b599 (diff) | |
download | aports-1c9fe09b02efa0ae876b496e2221cc0d7ac2cea3.tar.bz2 aports-1c9fe09b02efa0ae876b496e2221cc0d7ac2cea3.tar.xz |
testing/pmacct: default config added
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pmacct/APKBUILD | 13 | ||||
-rw-r--r-- | testing/pmacct/pmacctd.conf | 11 |
2 files changed, 19 insertions, 5 deletions
diff --git a/testing/pmacct/APKBUILD b/testing/pmacct/APKBUILD index e23f214596..ea90751cf0 100644 --- a/testing/pmacct/APKBUILD +++ b/testing/pmacct/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname=pmacct pkgver=0.12.4 -pkgrel=1 +pkgrel=2 pkgdesc="Measure, account, classify, aggregate and export IPv4 and IPv6 traffic" url="http://www.pmacct.net/" license="GPL" @@ -11,7 +11,8 @@ install= subpackages="$pkgname-doc" source="http://www.pmacct.net/$pkgname-$pkgver.tar.gz pmacct.initd - pmacct.confd" + pmacct.confd + pmacctd.conf" _builddir="$srcdir"/$pkgname-$pkgver @@ -39,13 +40,15 @@ package() { install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + install -m644 -D "$srcdir"/pmacctd.conf "$pkgdir"/etc/pmacctd.conf mkdir -p $pkgdir/usr/share/doc/pmacct/examples - mkdir -p $pkgdir/etc/pmacct/sql + 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/*.pgsql $pkgdir/etc/pmacct/sql + cp sql/* $pkgdir/usr/share/doc/pmacct/sql } md5sums="72098ff945e1ddaa77d7f0b3531fa765 pmacct-0.12.4.tar.gz c2427b6a32a4eb649a075a977f5b2c42 pmacct.initd -394bf0687572261e90eecd70c33c8ede pmacct.confd" +394bf0687572261e90eecd70c33c8ede pmacct.confd +6ea97965b3fdfceb6b5c0ce2cbf01a92 pmacctd.conf" diff --git a/testing/pmacct/pmacctd.conf b/testing/pmacct/pmacctd.conf new file mode 100644 index 0000000000..fe9a64ef01 --- /dev/null +++ b/testing/pmacct/pmacctd.conf @@ -0,0 +1,11 @@ +# 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 |