aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/awall/APKBUILD3
-rw-r--r--main/awall/awall.trigger3
2 files changed, 5 insertions, 1 deletions
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD
index 1f3aa0b55e..e575a22adf 100644
--- a/main/awall/APKBUILD
+++ b/main/awall/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=awall
pkgver=1.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine Wall"
url="http://git.alpinelinux.org/cgit/awall/"
arch="noarch"
@@ -11,6 +11,7 @@ replaces="awall-nat"
depends="bind-tools ip6tables ipset iptables lua lua-alt-getopt lua-cjson
lua-filesystem lua-pc lua-signal lua-sleep lua-stringy xtables-addons"
subpackages=$pkgname-masquerade
+triggers="$pkgname.trigger=/usr/share/awall"
source=http://dev.alpinelinux.org/archive/awall/awall-$pkgver.tar.xz
_builddir=$srcdir/awall-$pkgver
diff --git a/main/awall/awall.trigger b/main/awall/awall.trigger
new file mode 100644
index 0000000000..5c802e4945
--- /dev/null
+++ b/main/awall/awall.trigger
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/sbin/awall translate