net-misc/FORT-validator: Version bump to 1.5.3
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
2b31cb1e5c
commit
a3918289be
73
net-misc/FORT-validator/FORT-validator-1.5.3.ebuild
Normal file
73
net-misc/FORT-validator/FORT-validator-1.5.3.ebuild
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
# 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/openssl
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
net-misc/rsync
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/autoconf
|
||||||
|
sys-devel/automake
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/fort-${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."
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
DIST FORT-validator-1.4.2.tar.gz 471694 BLAKE2B 9c5f3a2a6b79dbd62248e125d665d31561c2efee0b7df31215d16d55b56b56dee8dd6e5c34e9d01e36e82383dec49d6bb59fc3f078be000f166f46c4c08ead33 SHA512 c06c5552282584c0c671cec04d11a6072c5d19b3cc5a6e140088e6774c9b03a5fb00e9929e3f278f61207083f10f332282dba2c9395a28e78c190599c077c9fd
|
DIST FORT-validator-1.4.2.tar.gz 471694 BLAKE2B 9c5f3a2a6b79dbd62248e125d665d31561c2efee0b7df31215d16d55b56b56dee8dd6e5c34e9d01e36e82383dec49d6bb59fc3f078be000f166f46c4c08ead33 SHA512 c06c5552282584c0c671cec04d11a6072c5d19b3cc5a6e140088e6774c9b03a5fb00e9929e3f278f61207083f10f332282dba2c9395a28e78c190599c077c9fd
|
||||||
DIST FORT-validator-1.5.0.tar.gz 482884 BLAKE2B 704f9d9f9c9cea54f8831f669eac62d5298da8ccacfdae5a4ecc30ee126be610679ff25a929d5ead64cb02fd63bdeaebc7027312d7fcb6d49bd0d563bb256fa2 SHA512 3da44896c69685c0a49e418b10e70ad34a5c621a32982203eb3def5462af014d1f807e29e3e9a7555b381ad976e8e19c2cc0973149c9c6253ee845a14fb86023
|
DIST FORT-validator-1.5.0.tar.gz 482884 BLAKE2B 704f9d9f9c9cea54f8831f669eac62d5298da8ccacfdae5a4ecc30ee126be610679ff25a929d5ead64cb02fd63bdeaebc7027312d7fcb6d49bd0d563bb256fa2 SHA512 3da44896c69685c0a49e418b10e70ad34a5c621a32982203eb3def5462af014d1f807e29e3e9a7555b381ad976e8e19c2cc0973149c9c6253ee845a14fb86023
|
||||||
DIST fort-1.5.2.tar.gz 562414 BLAKE2B cbe5a5a47ec7a47176ab1cdd9b3ed26e5a73dd238a364d0ec54a5955316e4813a715180652ad2092ed9cf5c843dc7677d33ed831adb5bcabc156995fbf4c208b SHA512 77c9484314067f5612a5a076ae7e16423f41b79220fc911599f867426dedf7b2276b8f8109ad0b17a714c463f3080b734d1562f6b7ed2265583b1ab6c7f32436
|
DIST fort-1.5.2.tar.gz 562414 BLAKE2B cbe5a5a47ec7a47176ab1cdd9b3ed26e5a73dd238a364d0ec54a5955316e4813a715180652ad2092ed9cf5c843dc7677d33ed831adb5bcabc156995fbf4c208b SHA512 77c9484314067f5612a5a076ae7e16423f41b79220fc911599f867426dedf7b2276b8f8109ad0b17a714c463f3080b734d1562f6b7ed2265583b1ab6c7f32436
|
||||||
|
DIST fort-1.5.3.tar.gz 564257 BLAKE2B f0a6c9899c968f6697c79c0f541275874bc7aa23d6e42113d4be23b6338eb3007557a0260e601575719b90b8e87c4483bb13a40a6ac0724e17cf8157ce40d6ba SHA512 1b97bec1b031cd717d4012b0faec36785ba5c8e06ca46b4a017a08c3f2a038d2224c740a6b84f1c853c996c203af9ac975506d5c0e379a7cab82554318136a99
|
||||||
|
|
Loading…
Reference in a new issue