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 66C1E7811BC for ; Sat, 19 Mar 2022 00:03:46 +0000 (UTC) Received: from alpine.my.domain ([212.159.59.85]) by smtp with ESMTP id VMVrnSVm2YWUuVMVsnVF9A; Sat, 19 Mar 2022 00:00:14 +0000 X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.4 cv=XfLqcK15 c=1 sm=1 tr=0 ts=62351d0e 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: Fri, 18 Mar 2022 23:59:56 +0000 Message-Id: <20220318235956.8234-1-ghenry@sentrypeer.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfEXdHY063hdWG8owbOkFI4dY3uX4pxePcZAo2EFbkmDomAIXAzp/iEMRHql1QHk2pMpHyt4rFCIlB9ONgkvnAN/PjAz33+RmhEtdzMhzpri35xTbcKTV axVsCchyIFathGjx+cCf2OtE2McXgJzjo2EfOXPBMqWcMHnxsylBTSD2sQqVD3EFo79ffrwR7F4m7n5i8ITwfI+Mq1AvpIoRBYE= https://sentrypeer.org/ Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers testing/ --- testing/sentrypeer/APKBUILD | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/sentrypeer/APKBUILD 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 +# Maintainer: Gavin Henry +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 +" -- 2.34.1