mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
57 lines
1.1 KiB
Text
57 lines
1.1 KiB
Text
# Contributor: Gavin Henry <ghenry@sentrypeer.org>
|
|
# Maintainer: Gavin Henry <ghenry@sentrypeer.org>
|
|
pkgname=sentrypeer
|
|
pkgver=4.0.4
|
|
pkgrel=0
|
|
pkgdesc="Honeypot for a distributed p2p list of bad actor IP addresses and phone numbers"
|
|
url="https://sentrypeer.org/"
|
|
# ppc64le: fails tests
|
|
arch="all !ppc64le !x86 !armhf !armv7"
|
|
license="GPL-2.0-only OR GPL-3.0-only"
|
|
makedepends="
|
|
autoconf
|
|
autoconf-archive
|
|
automake
|
|
cargo
|
|
chrpath
|
|
clang-dev
|
|
cmake
|
|
curl-dev
|
|
jansson-dev
|
|
libmicrohttpd-dev
|
|
libosip2-dev
|
|
opendht-dev
|
|
pcre2-dev
|
|
rust
|
|
rust-bindgen
|
|
sqlite-dev
|
|
util-linux-dev
|
|
"
|
|
checkdepends="cmocka-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/SentryPeer/SentryPeer/releases/download/v$pkgver/sentrypeer-$pkgver.tar.gz"
|
|
options="!check" # needs net
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check || {
|
|
cat test-suite.log
|
|
return 1
|
|
}
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
chrpath -d "$pkgdir"/usr/bin/sentrypeer
|
|
}
|
|
|
|
sha512sums="
|
|
4c948b721fe21effa64b8e9848339e89fb0f877ed58b174c1aeab398a49e9fd25e5638d4078dd8b13a02f06e5b032361ff47e79d00bcb4f2929b0cdfd66d4499 sentrypeer-4.0.4.tar.gz
|
|
"
|