aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Henry <ghenry@sentrypeer.org>2022-04-25 18:57:24 +0000
committerdispatch <dispatch@listserv.local>2022-04-25 18:57:36 +0000
commit852d2fc1e5635d9f9566905c4b68430c47a5c47c (patch)
tree66873b1e110bef4bbfdedb04e09dc9884e352023
parent4fd6f65298f789f672956052e9b62b7822d257cd (diff)
downloadaports-patches/4045.tar.gz
aports-patches/4045.tar.bz2
aports-patches/4045.tar.xz
testing/sentrypeer: new aportpatches/4045
https://sentrypeer.org/ Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers testing/
-rw-r--r--testing/sentrypeer/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/sentrypeer/APKBUILD b/testing/sentrypeer/APKBUILD
new file mode 100644
index 0000000000..fe66f9ce8d
--- /dev/null
+++ b/testing/sentrypeer/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Gavin Henry <ghenry@sentrypeer.org>
+# Maintainer: Gavin Henry <ghenry@sentrypeer.org>
+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="all"
+license="GPL-2.0-only GPL-3.0-only"
+makedepends="autoconf autoconf-archive automake pkgconfig sqlite-dev opendht-dev jansson-dev libmicrohttpd-dev libosip2-dev pcre2-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
+"