Subject: [PATCH 1/2] testing/sentrypeer: new aport

From: Gavin Henry <[email-masked]>
Date: Mon, 25 Apr 2022 19:26:54 +0000

https://sentrypeer.org/
Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers
---
 testing/sentrypeer/APKBUILD | 51 +++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 testing/sentrypeer/APKBUILD

diff --git a/testing/sentrypeer/APKBUILD b/testing/sentrypeer/APKBUILD
new file mode 100644
index 0000000000..296793492c
--- /dev/null
+++ b/testing/sentrypeer/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Gavin Henry <[email-masked]>
+# Maintainer: Gavin Henry <[email-masked]>
+pkgname=sentrypeer
+pkgver=1.4.0
+pkgrel=0
+pkgdesc="Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers"
+url="https://sentrypeer.org/"
+arch="!x86 !armhf !armv7"
+license="GPL-2.0-only OR GPL-3.0-only"
+makedepends="
+        autoconf
+        autoconf-archive
+        automake
+        jansson-dev
+        libmicrohttpd-dev
+        libosip2-dev
+        opendht-dev
+        pcre2-dev
+        sqlite-dev
+        util-linux-dev"
+checkdepends="cmocka-dev curl-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/SentryPeer/SentryPeer/archive/refs/tags/v$pkgver.tar.gz"
+builddir="$srcdir/SentryPeer-$pkgver"
+
+prepare() {
+	default_prepare
+	sed -i '/AM_LDFLAGS=/d' Makefile.am
+	./bootstrap.sh
+}
+
+build() {
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr
+	make
+}
+
+check() {
+	make check
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+
+sha512sums="
+6ca0b3fba3beaf1262cf18e246acd5fc0d5bd0f04b6007a69aa24197ecb607baf21fade03e4b3e7a67301da0dd33c36d80cc31d06a58befab7e9c272c925cfdc  sentrypeer-1.4.0.tar.gz
+"
-- 
2.36.0

---

From: Gavin Henry <[email-masked]>
Date: Mon, 25 Apr 2022 19:26:55 +0000

https://sentrypeer.org/
Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers
---
 testing/sentrypeer/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/sentrypeer/APKBUILD b/testing/sentrypeer/APKBUILD
index 296793492c..635073d1f5 100644
--- a/testing/sentrypeer/APKBUILD
+++ b/testing/sentrypeer/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.4.0
 pkgrel=0
 pkgdesc="Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers"
 url="https://sentrypeer.org/"
-arch="!x86 !armhf !armv7"
+arch="all !x86 !armhf !armv7"
 license="GPL-2.0-only OR GPL-3.0-only"
 makedepends="
         autoconf
-- 
2.36.0