diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-11-17 15:15:57 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-11-17 15:16:59 +0000 |
commit | 142ebc4596e236b0ea829b9b62dbd25059270f6a (patch) | |
tree | b71dd66516f94e70fd7e21667fb57e6fe713c7d8 /main/nfdump | |
parent | ce5a7529db9e93314a64f9a0c9064f256178d1bf (diff) | |
download | aports-142ebc4596e236b0ea829b9b62dbd25059270f6a.tar.bz2 aports-142ebc4596e236b0ea829b9b62dbd25059270f6a.tar.xz |
main/nfdump: move nfprofile and its RRD dependencies into a subpkg
Diffstat (limited to 'main/nfdump')
-rw-r--r-- | main/nfdump/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/main/nfdump/APKBUILD b/main/nfdump/APKBUILD index 4adf403ade..ebef90cd91 100644 --- a/main/nfdump/APKBUILD +++ b/main/nfdump/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nfdump pkgver=1.6.9 -pkgrel=1 +pkgrel=2 pkgdesc="The nfdump tools collect and process netflow data on the command line." url="http://nfdump.sourceforge.net/" arch="all" @@ -10,7 +10,7 @@ depends="" depends_dev="" makedepends="bison flex $depends_dev rrdtool-dev" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc nfprofile" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz nfcapd.confd nfcapd.initd" @@ -47,6 +47,14 @@ package() { "$pkgdir"/etc/conf.d/nfcapd } +nfprofile() { + pkgdesc="Create views of the data with NFdump filters" + depends="nfdump" + cd "$_builddir" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/nfprofile "$subpkgdir"/usr/bin || return 1 +} + md5sums="6c0adfcfdacd402f2251006b4c962e3f nfdump-1.6.9.tar.gz 541c45b9ac0e85ac955dd58919972b18 nfcapd.confd b084778684f622eb705980e500ec346b nfcapd.initd" |