aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-05-01 11:43:27 +0000
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-05-01 11:43:27 +0000
commit422469ae0f7ff261d41adc5c7efcfc7b3c0d9f7a (patch)
tree67d521ff923609167955ad11001c69efa31554f1
parent22daf6b166970009521e7d6254567c1325a02f74 (diff)
downloadaports-422469ae0f7ff261d41adc5c7efcfc7b3c0d9f7a.tar.bz2
aports-422469ae0f7ff261d41adc5c7efcfc7b3c0d9f7a.tar.xz
testing/awall: upgrade to 0.1.1
-rw-r--r--testing/awall/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/testing/awall/APKBUILD b/testing/awall/APKBUILD
index 31a522ba91..df7d371f70 100644
--- a/testing/awall/APKBUILD
+++ b/testing/awall/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=awall
-pkgver=0.1.0
+pkgver=0.1.1
pkgrel=0
pkgdesc="Alpine Wall"
url=http://git.alpinelinux.org/cgit/kunkku/awall/
@@ -26,16 +26,23 @@ package() {
cd "$_builddir"
local dir=$pkgdir/$_luadir/awall
local bindir=$pkgdir/usr/sbin
- local poldir=$pkgdir/usr/share/awall/mandatory
+ local poldir=$pkgdir/usr/share/awall
+
+ install -d "$poldir/mandatory"
+ install -d "$poldir/optional"
+ install -d "$poldir/sample"
+
install -d "$bindir"
- install -d "$poldir"
install -d "$dir/modules"
install -d "$pkgdir/etc/awall"
install -d "$pkgdir/var/run/awall"
+
install awall-cli "$bindir/awall"
- install -m 644 json/services.json "$poldir"
install -m 644 awall/*.lua "$dir"
install -m 644 awall/modules/filter.lua "$dir/modules"
+
+ install -m 644 json/services.json "$poldir/mandatory"
+ install -m 644 sample-policy.json "$poldir/sample"
}
nat() {
@@ -48,4 +55,4 @@ nat() {
install -m 644 awall/modules/nat.lua "$moddir"
}
-md5sums="032edeb7e909137f4deee36f009bd68e awall-0.1.0.tar.bz2"
+md5sums="de2ae6f4b2825b523873ca82bd1f7c48 awall-0.1.1.tar.bz2"