net-misc/FORT-validator: drop 1.6.0

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

View file

@ -1,15 +1,16 @@
BDEPEND=sys-devel/autoconf sys-devel/automake >=app-portage/elt-patches-20240116 sys-devel/gnuconfig || ( >=dev-build/automake-1.17-r1:1.17 >=dev-build/automake-1.16.5:1.16 ) || ( >=dev-build/autoconf-2.72-r1:2.72 >=dev-build/autoconf-2.71-r6:2.71 ) >=dev-build/libtool-2.4.7-r3 filecaps? ( sys-libs/libcap ) virtual/pkgconfig
BDEPEND=>=app-portage/elt-patches-20240116 sys-devel/gnuconfig || ( >=dev-build/automake-1.17-r1:1.17 >=dev-build/automake-1.16.5:1.16 ) || ( >=dev-build/autoconf-2.72-r1:2.72 >=dev-build/autoconf-2.71-r6:2.71 ) >=dev-build/libtool-2.4.7-r3 virtual/pkgconfig
DEFINED_PHASES=install postinst prepare
DEPEND=acct-group/fort acct-user/fort caps? ( sys-libs/libcap ) dev-libs/jansson dev-libs/libxml2 dev-libs/openssl net-misc/curl
DEPEND=acct-group/fort acct-user/fort caps? ( sys-libs/libcap ) dev-libs/jansson dev-libs/libxml2 dev-libs/openssl[rfc3779] net-misc/curl
DESCRIPTION=FORT validator is an open source RPKI validator
EAPI=7
EAPI=8
HOMEPAGE=https://fortproject.net/validator?2
IDEPEND=filecaps? ( sys-libs/libcap )
INHERIT=autotools fcaps systemd
IUSE=caps +filecaps
KEYWORDS=~amd64 ~x86
LICENSE=MIT
RDEPEND=acct-group/fort acct-user/fort caps? ( sys-libs/libcap ) dev-libs/jansson dev-libs/libxml2 dev-libs/openssl net-misc/curl net-misc/rsync filecaps? ( sys-libs/libcap )
RDEPEND=acct-group/fort acct-user/fort caps? ( sys-libs/libcap ) dev-libs/jansson dev-libs/libxml2 dev-libs/openssl[rfc3779] net-misc/curl net-misc/rsync
SLOT=0
SRC_URI=https://github.com/NICMx/FORT-validator/releases/download/1.6.0/fort-1.6.0.tar.gz
SRC_URI=https://github.com/NICMx/FORT-validator/releases/download/1.6.3/fort-1.6.3.tar.gz
_eclasses_=gnuconfig a397adda6984a4c423e28ac274c1ba98 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 libtool 5f49a16f67f81bdf873e3d1f10b10001 autotools d12ccbad07b44642a75ac97a3334d8e0 fcaps c0a086b957a1b183a8d136eabf02f191 systemd c8b03e8df84486aa991d4396686e8942
_md5_=002db88485f03f4fbb12459dfb060cac
_md5_=a4ea0f86d837fa981e3be6e2dd2a2ff1

View file

@ -1,75 +0,0 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
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
net-misc/curl
"
RDEPEND="
${DEPEND}
net-misc/rsync
"
BDEPEND="
sys-devel/autoconf
sys-devel/automake
"
S="${WORKDIR}/${MY_PN}-${PV}"
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,4 +1,3 @@
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.2.tar.gz 477582 BLAKE2B 38c302414d27c16fa0b217e717dfa7997b57bbf67f3b8864d718f465e96393879c3b656eec1b7141d99b76bb1493ad528bf6eb188a004be63f242ac6e7eb98db SHA512 403158ad65d0b3516c1b14963765c4809f07f9a3c9f20862250800416b5a0617f22d9c874d285c06975e988c3edef9b5c91bfd9c4f5798dd1c5d538458f195d6
DIST fort-1.6.3.tar.gz 507804 BLAKE2B c70d3619d651ef127a281b6e7b91ad384ec34be8e9ebbe84296678ea2a7246fa335f8743af7c5335121b14ea838e9f47ceaf8235cc2376a109aa62bee7117bae SHA512 b4e95d23ab53b80012a1a6acc56f0f97e17db98c02f83cb762d8b1391f3d5e9e4447ff9b9e37c02b50c2244ef3e2bde0205a45c0b9af47ab07c489e8f5029d90