Received: from avasout-ptp-002.plus.net (avasout-ptp-002.plus.net [84.93.230.235]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 221C87815A5 for ; Mon, 25 Apr 2022 19:21:17 +0000 (UTC) Received: from alpine.my.domain ([212.159.59.85]) by smtp with ESMTP id j4GencHD0O2rij4GfnT0g5; Mon, 25 Apr 2022 20:21:16 +0100 X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.4 cv=Zs/+lv3G c=1 sm=1 tr=0 ts=6266f4ac a=WCS0tyHtJqBilYZXUjgseQ==:117 a=WCS0tyHtJqBilYZXUjgseQ==:17 a=ZpkkFur0AAAA:8 a=NEAV23lmAAAA:8 a=IdwcCMKPY2x0Bewk4BAA:9 a=5FtNF28YhzYDeMx1bpRV:22 From: Gavin Henry To: alpine-aports@lists.alpinelinux.org Cc: Gavin Henry Subject: [PATCH] testing/sentrypeer: new aport Date: Mon, 25 Apr 2022 19:21:02 +0000 Message-Id: <20220425192102.24112-1-ghenry@sentrypeer.org> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfLEN1aAM5gcT3WoIA01HIeGz7vXzDPcxUz+itFkPUyfzmmCJkYw514NcPYViOqeMJWJAD/+R4xgry3B1jNbPUNLKm0vSRihcU0TRZh/3hww0BVz1oofC mdkKhJ4PdBbztKc04WTAkAkDPCaazTPlRXIAXv9fFhb6M6rNVeuKmOM32fEnJhk/T0h2EWsjzU/r8nRWMAF934FMqc3iPMrA/Z8= 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 +# Maintainer: Gavin Henry +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