diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-06-05 23:59:26 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-06-06 00:02:12 +0300 |
commit | 9583687191c94fbbbaa9ffef729b3e8170dd725f (patch) | |
tree | 7b707c123a8d7f336e25ef8db182f873661844e3 /main/awall | |
parent | 41508e7cc7cf1b2bdc486676579f7acbecb74076 (diff) | |
download | aports-9583687191c94fbbbaa9ffef729b3e8170dd725f.tar.bz2 aports-9583687191c94fbbbaa9ffef729b3e8170dd725f.tar.xz |
main/awall: upgrade to 1.4.4
Diffstat (limited to 'main/awall')
-rw-r--r-- | main/awall/APKBUILD | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD index 2ff319e6ea..e74026de90 100644 --- a/main/awall/APKBUILD +++ b/main/awall/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> pkgname=awall -pkgver=1.4.3 +pkgver=1.4.4 pkgrel=0 pkgdesc="Alpine Wall" url="http://git.alpinelinux.org/cgit/awall/" @@ -16,29 +16,26 @@ triggers="$pkgname.trigger=/usr/share/awall" source="http://dev.alpinelinux.org/archive/awall/awall-$pkgver.tar.xz " -_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 -} +builddir=$srcdir/awall-$pkgver build() { sed -i -e "1,1s:lua:lua$_luaver:" awall-cli return 0 } +check() { + cd "$builddir" + make check +} + package() { - cd "$_builddir" + cd "$builddir" make "ROOT_DIR=$pkgdir" LUA_VERSION=$_luaver install } masquerade() { depends=awall - cd "$_builddir" + cd "$builddir" for file in lua/$_luaver/awall/modules/masquerade.lua awall/mandatory/masquerade.json; do local path=usr/share/$file install -d "$subpkgdir/$(dirname $path)" @@ -46,4 +43,4 @@ masquerade() { done } -sha512sums="149e41f49a66397e967fa4f5cc0afab59a175d5b645222fcb05f81411466d14abd977649297f0e27329f7e86961e19adc52453f61c4d426ffc2bef8b73b265ae awall-1.4.3.tar.xz" +sha512sums="db888f8ecd0c7347ba93d5389acffe49eabb47766233705ad6e7a123086987b921764b33917344a84441e9e614dfe51adce3c07c08bb8b615a857d86c0c5ed88 awall-1.4.4.tar.xz" |