net-misc/FORT-validator: add 1.6.3

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-08-28 11:28:59 +02:00
parent 0f32fa5f86
commit c58d9d2978
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,71 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools fcaps systemd
MY_PN="fort"
DESCRIPTION="FORT validator is an open source RPKI validator"
HOMEPAGE="https://fortproject.net/validator?2"
SRC_URI="https://github.com/NICMx/${PN}/releases/download/${PV}/fort-${PV}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="caps"
DEPEND="
acct-group/fort
acct-user/fort
caps? ( sys-libs/libcap )
dev-libs/jansson
dev-libs/libxml2
dev-libs/openssl[rfc3779]
net-misc/curl
"
RDEPEND="
${DEPEND}
net-misc/rsync
"
src_prepare() {
default
# Don't strip CFLAGS
sed -i 's/fort_CFLAGS =/fort_CFLAGS = ${CFLAGS} /' src/Makefile.am || die
# Don't test network
sed -i '/http/d' test/Makefile.am || die
eautoreconf
}
src_install() {
newinitd "${FILESDIR}/${MY_PN}-1.5-initd" ${MY_PN}
newconfd "${FILESDIR}/${MY_PN}-1.5-confd" ${MY_PN}
emake DESTDIR="${ED}" install
insinto /usr/share/${MY_PN}/
insopts -m0644 -o "${MY_PN}"
diropts -m0755 -o "${MY_PN}"
doins -r examples/tal/
dodoc -r examples/
insinto /etc/fort
newins "${FILESDIR}/fort-config.json" config.json
systemd_dounit "${FILESDIR}/${MY_PN}-1.5.service"
}
pkg_postinst() {
fcaps cap_net_bind_service usr/bin/fort
einfo ""
einfo "You have to init the TALs before the first run. To do so, run "
einfo ""
einfo " su -s /bin/sh -c '${EROOT}/usr/bin/${MY_PN} --init-tals --tal /usr/share/${MY_PN}/tal/' fort"
einfo ""
einfo "as root."
}

View file

@ -1,3 +1,4 @@
DIST fort-1.6.0.tar.gz 547314 BLAKE2B d69c0e489ec5dae379bd4e6897c8c0f825c30995e655c150ca43931d2735daa115b5bdd7213f5ad9bb4e3cc23d04e759a0d8df2af9c9a5016d16b3ef4ef990ac SHA512 58f26fca0f2438b168f15b46eae935f8ea56920f2459513c8b2bbc8df156f6ca93f61a86a564f4e89e63ce5299869daaf955d50beed5901cf761f7d5bd77ce1f DIST fort-1.6.0.tar.gz 547314 BLAKE2B d69c0e489ec5dae379bd4e6897c8c0f825c30995e655c150ca43931d2735daa115b5bdd7213f5ad9bb4e3cc23d04e759a0d8df2af9c9a5016d16b3ef4ef990ac SHA512 58f26fca0f2438b168f15b46eae935f8ea56920f2459513c8b2bbc8df156f6ca93f61a86a564f4e89e63ce5299869daaf955d50beed5901cf761f7d5bd77ce1f
DIST fort-1.6.1.tar.gz 547724 BLAKE2B 362299bf0a190b9d8cf6f658f2830435ceb78c4bc181e6735e2291f2d766018e9402cc596c20ef4b98aca43ac1c8edfee8369f237f0b9c1e657cf31ae2d023b0 SHA512 84ad18e730fca7ac67c028dc5b05a5b5d175eaa4eb2edade238ae16064c2f83865e263e767d37938c975578236edd8cba0b8604099a9e3ccef13250d2feb46dd DIST fort-1.6.1.tar.gz 547724 BLAKE2B 362299bf0a190b9d8cf6f658f2830435ceb78c4bc181e6735e2291f2d766018e9402cc596c20ef4b98aca43ac1c8edfee8369f237f0b9c1e657cf31ae2d023b0 SHA512 84ad18e730fca7ac67c028dc5b05a5b5d175eaa4eb2edade238ae16064c2f83865e263e767d37938c975578236edd8cba0b8604099a9e3ccef13250d2feb46dd
DIST fort-1.6.2.tar.gz 477582 BLAKE2B 38c302414d27c16fa0b217e717dfa7997b57bbf67f3b8864d718f465e96393879c3b656eec1b7141d99b76bb1493ad528bf6eb188a004be63f242ac6e7eb98db SHA512 403158ad65d0b3516c1b14963765c4809f07f9a3c9f20862250800416b5a0617f22d9c874d285c06975e988c3edef9b5c91bfd9c4f5798dd1c5d538458f195d6 DIST fort-1.6.2.tar.gz 477582 BLAKE2B 38c302414d27c16fa0b217e717dfa7997b57bbf67f3b8864d718f465e96393879c3b656eec1b7141d99b76bb1493ad528bf6eb188a004be63f242ac6e7eb98db SHA512 403158ad65d0b3516c1b14963765c4809f07f9a3c9f20862250800416b5a0617f22d9c874d285c06975e988c3edef9b5c91bfd9c4f5798dd1c5d538458f195d6
DIST fort-1.6.3.tar.gz 507804 BLAKE2B c70d3619d651ef127a281b6e7b91ad384ec34be8e9ebbe84296678ea2a7246fa335f8743af7c5335121b14ea838e9f47ceaf8235cc2376a109aa62bee7117bae SHA512 b4e95d23ab53b80012a1a6acc56f0f97e17db98c02f83cb762d8b1391f3d5e9e4447ff9b9e37c02b50c2244ef3e2bde0205a45c0b9af47ab07c489e8f5029d90