aboutsummaryrefslogtreecommitdiffstats
path: root/main/awall/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-28 14:28:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-28 14:05:18 +0000
commit0e83c2ead081c11b763dda91333916a00d49170e (patch)
tree6c358ebd9fac77bae6b51347db4829b992c36104 /main/awall/APKBUILD
parentfc322cceefeeeb1260e92dce558c7d57bd256c75 (diff)
downloadaports-0e83c2ead081c11b763dda91333916a00d49170e.tar.bz2
aports-0e83c2ead081c11b763dda91333916a00d49170e.tar.xz
main/awall: fix warning about -m state
ref #1497
Diffstat (limited to 'main/awall/APKBUILD')
-rw-r--r--main/awall/APKBUILD16
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"