aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipfw/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2014-01-24 10:23:46 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2014-01-24 10:23:46 +0000
commit7fca2157cceacb723a8d803174e2c6e914186db4 (patch)
tree5b07540e6e4967702646b76db68a01a5bafbfd04 /main/ipfw/APKBUILD
parenteeccca281ddf09a5e6c514c7151915384d141a84 (diff)
downloadaports-7fca2157cceacb723a8d803174e2c6e914186db4.tar.bz2
aports-7fca2157cceacb723a8d803174e2c6e914186db4.tar.xz
main/ipfw: new aport
Diffstat (limited to 'main/ipfw/APKBUILD')
-rw-r--r--main/ipfw/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/ipfw/APKBUILD b/main/ipfw/APKBUILD
new file mode 100644
index 0000000000..f5e084d11e
--- /dev/null
+++ b/main/ipfw/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=ipfw
+_realver=20130607
+pkgver=3.0_git${_realver}
+pkgrel=0
+pkgdesc="BSD ipfw firewall and dummynet suite (linux-grsec modules)"
+url="http://info.iet.unipi.it/~luigi/dummynet/"
+arch="all"
+license="BSD"
+depends=""
+makedepends=""
+install=
+source="http://info.iet.unipi.it/~luigi/doc/${_realver}-${pkgname}3.tgz"
+subpackages=""
+
+_builddir="$srcdir/ipfw3-2012"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make ipfw
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir/usr/sbin"
+ install -D -m755 ipfw/ipfw "$pkgdir/usr/sbin/ipfw"
+}
+
+md5sums="004e65e6d545a89c4dcc3e741e287444 20130607-ipfw3.tgz"
+sha256sums="7dc80437b137e629f8ef3a7889b24ffbd1c27274e9cce15fd1f3b2c8620c6d64 20130607-ipfw3.tgz"
+sha512sums="6c4c2c7d4795094b9ff72212394e7dee44e5f9e09e97021b5ac9c3fad6de5a32b1d608ae9572da17f62cb37d076d89ab26859c61255d03d6bce22ca527f2c8ec 20130607-ipfw3.tgz"