mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-21 07:42:21 +01:00
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
# Contributor: Gavin Henry <ghenry@sentrypeer.org>
|
|
# Maintainer: Gavin Henry <ghenry@sentrypeer.org>
|
|
pkgname=sentrypeer
|
|
pkgver=1.4.1
|
|
pkgrel=0
|
|
pkgdesc="Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers"
|
|
url="https://sentrypeer.org/"
|
|
arch="all !x86 !armhf !armv7"
|
|
license="GPL-2.0-only OR GPL-3.0-only"
|
|
makedepends="
|
|
autoconf
|
|
autoconf-archive
|
|
automake
|
|
curl-dev
|
|
jansson-dev
|
|
libmicrohttpd-dev
|
|
libosip2-dev
|
|
opendht-dev
|
|
pcre2-dev
|
|
sqlite-dev
|
|
util-linux-dev
|
|
"
|
|
checkdepends="cmocka-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="
|
|
561e879db097270a518412b014c1a0ce257afe82a3294b8dbe2aadc6d0362d8ed3b2182e6cbf7ff9525ec3964178f107408e741783f5829e9cb2e8f4f6c5bc9c sentrypeer-1.4.1.tar.gz
|
|
"
|