aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ipt-netflow
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ipt-netflow')
-rw-r--r--unmaintained/ipt-netflow/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/unmaintained/ipt-netflow/APKBUILD b/unmaintained/ipt-netflow/APKBUILD
new file mode 100644
index 0000000000..5dda63403b
--- /dev/null
+++ b/unmaintained/ipt-netflow/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Rush Future <rush.zlo@gmail.com>
+# Maintainer: Rush Future <rush.zlo@gmail.com>
+pkgname=ipt-netflow
+pkgver=1.8.4
+pkgrel=1
+pkgdesc="Kernel netflow sensor"
+url="http://ipt-netflow.sourceforge.net."
+arch="all"
+license="GPL3+"
+makedepends="iptables-dev bash"
+source="$pkgname-$pkgver.tar.gz::https://github.com/RushOnline/$pkgname/archive/v${pkgver}.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+build() {
+ cd "$_builddir"
+ ./configure \
+ || return 1
+ make libipt_NETFLOW.so || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make linstall DESTDIR=$pkgdir || return 1
+}
+
+md5sums="a5d564dd5f30d5b61a93decf29e3a208 ipt-netflow-1.8.4.tar.gz"
+sha256sums="bb2446a0b16aa7f6052599410c2b4ce184d40893ec2ca12756f3bcb341890f43 ipt-netflow-1.8.4.tar.gz"
+sha512sums="e15ad33b4b3df9e1e53fbac6334dbe08802d66f4850cbf489d7a60184cdb47d94448ae13480d586474a6bec6204680d059543b619ae40a0f74fad22fed1b024a ipt-netflow-1.8.4.tar.gz"