diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = zapret-git pkgdesc = Bypass deep packet inspection. pkgver = r92.0f09398 - pkgrel = 1 + pkgrel = 3 url = https://github.com/bol-van/zapret arch = x86_64 license = GPL @@ -18,6 +18,10 @@ pkgbase = zapret-git sha256sums = 25c309e2ec545c9ee53759e23961c8a3f02708a7ba8dcbabab6eb681a36c03c0 pkgname = zapret-nfqws-git + depends = systemd + depends = ipset + depends = curl + depends = libnetfilter_queue pkgname = zapret-tpws-git @@ -1,11 +1,8 @@ # Maintainer: Ahmad Hasan Mubashshir <ahmubashshir@gmail.com> -pkgname=( - 'zapret-nfqws-git' - 'zapret-tpws-git' -) +pkgname=(zapret-{nfqws,tpws}-git) pkgbase=zapret-git pkgver=r92.0f09398 -pkgrel=1 +pkgrel=3 pkgdesc="Bypass deep packet inspection." arch=('x86_64') url="https://github.com/bol-van/zapret" @@ -49,6 +46,8 @@ _package_common() sed -ri 's/^#?WS_USER=.*$/WS_USER=zapret/' "$pkgdir/opt/zapret/init.d/sysv/functions" } package_zapret-nfqws-git() { + + depends+=('libnetfilter_queue') cd "$srcdir/${pkgbase%-git}" _package_common install -Dm755 "binaries/my/nfqws" "$pkgdir/opt/zapret/nfq/nfqws" |