aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iprange
diff options
context:
space:
mode:
authorJonny Tyers <jtyers@gmail.com>2016-12-28 11:26:49 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-29 07:00:57 +0000
commitecc4af32ef1e0f586b3582f1251ecfacc9f03905 (patch)
tree469a5e7876ab45196af425a4a767784463a54334 /testing/iprange
parentd2ebb75940bc1ce2f40e9600b0bd2378ce9151ef (diff)
downloadaports-ecc4af32ef1e0f586b3582f1251ecfacc9f03905.tar.bz2
aports-ecc4af32ef1e0f586b3582f1251ecfacc9f03905.tar.xz
testing/iprange: new aport
https://github.com/firehol/iprange manage ip ranges (part of FireHOL) [TT: modernize, add !check]
Diffstat (limited to 'testing/iprange')
-rw-r--r--testing/iprange/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/iprange/APKBUILD b/testing/iprange/APKBUILD
new file mode 100644
index 0000000000..95df945967
--- /dev/null
+++ b/testing/iprange/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Jonny Tyers <jtyers@gmail.com>
+# Maintainer: Jonny Tyers <jtyers@gmail.com>
+pkgname=iprange
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="manages IP ranges (part of FireHOL)"
+url="https://github.com/firehol/iprange"
+arch="all"
+license="GPL2"
+depends=""
+install=""
+subpackages="$pkgname-doc"
+source="https://firehol.org/download/iprange/releases/v$pkgver/iprange-$pkgver.tar.bz2"
+options="!check"
+
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/ssh \
+ --datadir=/usr/share/openssh \
+ --libexecdir=/usr/lib/ssh \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c3da3b0f070010e53d2caa53cf0f11d5a8691ead418f2549c837a287cc8cbd023f36fa85eb7740ddc5df5339f103107cf3be02f6ee1489e160cba10692f9e0e1 iprange-1.0.3.tar.bz2"