diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-10-25 14:32:56 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-10-25 14:32:56 +0000 |
commit | 3267e13c6455340bd3e79ff5595a635185367489 (patch) | |
tree | 58a459feeb27fc8f51e8ff993f8dd208dbce0891 | |
parent | 58158f49f3032dd693e3fd89d893bcdbd8ec1403 (diff) | |
download | aports-3267e13c6455340bd3e79ff5595a635185367489.tar.bz2 aports-3267e13c6455340bd3e79ff5595a635185367489.tar.xz |
testing/pmacct: deps fix and more post-install fixes
-rw-r--r-- | testing/pmacct/APKBUILD | 16 | ||||
-rw-r--r-- | testing/pmacct/pmacct.post-install | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/testing/pmacct/APKBUILD b/testing/pmacct/APKBUILD index 52ac230717..8451198d86 100644 --- a/testing/pmacct/APKBUILD +++ b/testing/pmacct/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname=pmacct pkgver=0.12.4 -pkgrel=4 +pkgrel=5 pkgdesc="Measure, account, classify, aggregate and export IPv4 and IPv6 traffic" url="http://www.pmacct.net/" license="GPL" depends= -makedepends="libpcap-dev postgresql-dev" +makedepends="libpcap-dev libpq postgresql-dev" install="$pkgname.post-install" subpackages="$pkgname-doc" source="http://www.pmacct.net/$pkgname-$pkgver.tar.gz @@ -16,10 +16,10 @@ source="http://www.pmacct.net/$pkgname-$pkgver.tar.gz _builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - # apply patches here -} +#prepare() { +# cd "$_builddir" +# apply patches here +#} build() { cd "$_builddir" @@ -38,8 +38,8 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + 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 diff --git a/testing/pmacct/pmacct.post-install b/testing/pmacct/pmacct.post-install index 5966e4349e..9fd02c4b10 100644 --- a/testing/pmacct/pmacct.post-install +++ b/testing/pmacct/pmacct.post-install @@ -1,4 +1,4 @@ #!/bin/sh -ln -s /etc/init.d/pmacct /etc/init.d/nfacctd &>/dev/null -ln -s /etc/init.d/pmacct /etc/init.d/sfacctd &>/dev/null -ln -s /etc/init.d/pmacct /etc/init.d/uacctd &>/dev/null +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 |