net-misc/FORT-validator: drop 1.5.3_p20220607
This commit is contained in:
parent
3ccefe05be
commit
40a8bb2dc6
|
@ -1,76 +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"
|
|
||||||
MY_PV="issue83"
|
|
||||||
|
|
||||||
DESCRIPTION="FORT validator is an open source RPKI validator"
|
|
||||||
HOMEPAGE="https://fortproject.net/validator?2"
|
|
||||||
SRC_URI="https://github.com/NICMx/${PN}/archive/refs/heads/${MY_PV}.zip -> ${MY_PN}-${PV}.zip"
|
|
||||||
|
|
||||||
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}/${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Don't strip CFLAGS
|
|
||||||
sed -i 's/fort_CFLAGS =/fort_CFLAGS = ${CFLAGS} /' src/Makefile.am || die
|
|
||||||
# Don’t compile debug by default
|
|
||||||
sed -i '/fort_CFLAGS/ s/ -g / /' 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,2 @@
|
||||||
DIST fort-1.5.3_p20220607.zip 719847 BLAKE2B 10ed3913e6482e15da64f48ce42a0eb9d14b5e39875f8b2ac1dc71da9cccfaa952a3bbb71030bc6c025aa9966087db20e0a574af6da8424b0b24e8d51e98fb23 SHA512 2dfa61a99edffb678ba338165610445921380bf98c32958b4c425dfa055a212ec4edcbf68758f43fdb4f36769a79fceca46e82abdc471e4bea22caf28c879eb3
|
|
||||||
DIST fort-1.5.4.tar.gz 563138 BLAKE2B bd2a680a41b678bbf49d762fdd1f0f20e2c8bbf3fa80cb57c996d39ad39118ead3ebed7737bdef7478effbb6fa6e7fb39cd3c945a495f613a010dd79bea4f5d6 SHA512 44ec8dd28ab087f1d78f999c53b5dee8f13a6fc9bdf590d3261d640488b118e14970d88c5c5851e602a8119704378088230b8137978ef3caf6bab909af36408e
|
DIST fort-1.5.4.tar.gz 563138 BLAKE2B bd2a680a41b678bbf49d762fdd1f0f20e2c8bbf3fa80cb57c996d39ad39118ead3ebed7737bdef7478effbb6fa6e7fb39cd3c945a495f613a010dd79bea4f5d6 SHA512 44ec8dd28ab087f1d78f999c53b5dee8f13a6fc9bdf590d3261d640488b118e14970d88c5c5851e602a8119704378088230b8137978ef3caf6bab909af36408e
|
||||||
DIST fort-1.6.0.tar.gz 547314 BLAKE2B d69c0e489ec5dae379bd4e6897c8c0f825c30995e655c150ca43931d2735daa115b5bdd7213f5ad9bb4e3cc23d04e759a0d8df2af9c9a5016d16b3ef4ef990ac SHA512 58f26fca0f2438b168f15b46eae935f8ea56920f2459513c8b2bbc8df156f6ca93f61a86a564f4e89e63ce5299869daaf955d50beed5901cf761f7d5bd77ce1f
|
DIST fort-1.6.0.tar.gz 547314 BLAKE2B d69c0e489ec5dae379bd4e6897c8c0f825c30995e655c150ca43931d2735daa115b5bdd7213f5ad9bb4e3cc23d04e759a0d8df2af9c9a5016d16b3ef4ef990ac SHA512 58f26fca0f2438b168f15b46eae935f8ea56920f2459513c8b2bbc8df156f6ca93f61a86a564f4e89e63ce5299869daaf955d50beed5901cf761f7d5bd77ce1f
|
||||||
|
|
Loading…
Reference in a new issue