diff options
Diffstat (limited to 'main/awall/APKBUILD')
-rw-r--r-- | main/awall/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD index e910801a3e..ec6a9056c4 100644 --- a/main/awall/APKBUILD +++ b/main/awall/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> pkgname=awall pkgver=0.2.12 -pkgrel=0 +pkgrel=1 pkgdesc="Alpine Wall" url=http://git.alpinelinux.org/cgit/kunkku/awall/ arch=noarch @@ -10,12 +10,19 @@ license=GPL-2 replaces="awall-nat" depends="bind-tools ip6tables ipset iptables lua lua-alt-getopt lua-filesystem lua-json4 lua-pc lua-signal lua-sleep lua-stringy xtables-addons" subpackages=$pkgname-masquerade -source="${url}snapshot/awall-${pkgver}.tar.bz2" +source="${url}snapshot/awall-${pkgver}.tar.bz2 + 0001-filter-fix-warning-about-m-state-in-newer-iptables.patch + " _builddir=$srcdir/awall-${pkgver} prepare() { - : + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { @@ -37,4 +44,5 @@ masquerade() { done } -md5sums="4ed8fb1e6d4584706288ddb02fc6ecf7 awall-0.2.12.tar.bz2" +md5sums="4ed8fb1e6d4584706288ddb02fc6ecf7 awall-0.2.12.tar.bz2 +017fc1b37ed798caf145c5e5eb0aa0ab 0001-filter-fix-warning-about-m-state-in-newer-iptables.patch" |