aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-01-14 19:38:32 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-01-14 18:55:29 +0000
commit6c712a4b1db3b4305fc62f44e3f9a928c5f8fb4a (patch)
tree064b4572a2e410a8d7a3e89ebe764fd60444b985
parent0b00ecef7dc304257c8d36d1431f79713dd97ca7 (diff)
downloadaports-6c712a4b1db3b4305fc62f44e3f9a928c5f8fb4a.tar.gz
aports-6c712a4b1db3b4305fc62f44e3f9a928c5f8fb4a.tar.bz2
aports-6c712a4b1db3b4305fc62f44e3f9a928c5f8fb4a.tar.xz
community/sniffglue: enable checks
-rw-r--r--community/sniffglue/APKBUILD20
1 files changed, 5 insertions, 15 deletions
diff --git a/community/sniffglue/APKBUILD b/community/sniffglue/APKBUILD
index 5680090de1..7c26fd0e7b 100644
--- a/community/sniffglue/APKBUILD
+++ b/community/sniffglue/APKBUILD
@@ -2,13 +2,11 @@
# Maintainer: kpcyrd <git@rxv.cc>
pkgname=sniffglue
pkgver=0.11.1
-pkgrel=0
+pkgrel=1
pkgdesc="Secure multithreaded packet sniffer"
url="https://github.com/kpcyrd/sniffglue"
-# !aarch64: https://cloud.drone.io/alpinelinux/aports/10687/3/1
-# !x86: fails to compile even when -fno-stack-protector is passed
# !ppc64le: fails to build ring
-arch="x86_64 armhf armv7" # limited by cargo
+arch="x86_64 armhf armv7 aarch64 x86" # limited by cargo
license="GPL-3.0-or-later"
makedepends="
cargo
@@ -17,18 +15,10 @@ makedepends="
"
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
-source="
+source="$pkgname-$pkgver.tar.gz::https://github.com/kpcyrd/sniffglue/archive/v$pkgver.tar.gz
sniffglue.conf
- $pkgname-$pkgver.tar.gz::https://github.com/kpcyrd/$pkgname/archive/v$pkgver.tar.gz
"
-# libring fails to compile otherwise
-case "$CARCH" in
- x86)
- export CFLAGS="$CFLAGS -fno-stack-protector"
- ;;
-esac
-
build() {
cargo build --release --locked
}
@@ -44,5 +34,5 @@ package() {
install -Dm644 "$srcdir/$pkgname.conf" "$pkgdir/etc/$pkgname.conf"
}
-sha512sums="66e6b87e832ba8424334d24e3457a214e60e67c731471098329d0ca54c574518f7856ba780bb6bffde53bdefe2c8f789a242138ae67e2fef3e562fa083b362b1 sniffglue.conf
-d44c6a66c363ca06e5536776055826a50cd56ab344e9197493ee97ef7988cc41b7474b7be406bda2d1a95e105dc0fc42936d36f9783f404aa9abfbbacb224c02 sniffglue-0.11.1.tar.gz"
+sha512sums="d44c6a66c363ca06e5536776055826a50cd56ab344e9197493ee97ef7988cc41b7474b7be406bda2d1a95e105dc0fc42936d36f9783f404aa9abfbbacb224c02 sniffglue-0.11.1.tar.gz
+66e6b87e832ba8424334d24e3457a214e60e67c731471098329d0ca54c574518f7856ba780bb6bffde53bdefe2c8f789a242138ae67e2fef3e562fa083b362b1 sniffglue.conf"