aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Henry <ghenry@sentrypeer.org>2022-03-18 23:59:56 +0000
committeralice <alice@ayaya.dev>2022-04-23 22:16:21 +0000
commitf0386744a4f83a43be3ab397569489ca23c8952a (patch)
tree34a2080e534c066ed28b23529da33b1c61bf1e90
parentbfc032cd744606101d63defc187f83d3cce8228d (diff)
downloadaports-patches/3977.tar.gz
aports-patches/3977.tar.bz2
aports-patches/3977.tar.xz
testing/sentrypeer: new aportpatches/3977
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..7a30907020
--- /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.2.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="
+53d06405139828c7d78521db6c9c254952b3596281e115b68e9f7363d67cc39d214effb165296f1c5e9b4f01cd91e3a7e218dd645d51859d05ab2b51d44a7129 sentrypeer-1.2.0.tar.gz
+"