From: "Alarig Le Lay" <alarig@swordarmor.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/FORT-validator/
Date: Thu, 30 May 2024 12:19:21 +0000 (UTC) [thread overview]
Message-ID: <1717071546.3b4a8f315821f9a00515ad6225325ff27dad8c20.AlarigLeLay@gentoo> (raw)
commit: 3b4a8f315821f9a00515ad6225325ff27dad8c20
Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Thu May 30 12:19:03 2024 +0000
Commit: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
CommitDate: Thu May 30 12:19:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b4a8f31
net-misc/FORT-validator: add 1.6.2
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>
.../FORT-validator/FORT-validator-1.6.2.ebuild | 71 ++++++++++++++++++++++
net-misc/FORT-validator/Manifest | 1 +
2 files changed, 72 insertions(+)
diff --git a/net-misc/FORT-validator/FORT-validator-1.6.2.ebuild b/net-misc/FORT-validator/FORT-validator-1.6.2.ebuild
new file mode 100644
index 000000000..89351a5ad
--- /dev/null
+++ b/net-misc/FORT-validator/FORT-validator-1.6.2.ebuild
@@ -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"
+
+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
+"
+
+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."
+}
diff --git a/net-misc/FORT-validator/Manifest b/net-misc/FORT-validator/Manifest
index d273fecf6..d2722de1e 100644
--- a/net-misc/FORT-validator/Manifest
+++ b/net-misc/FORT-validator/Manifest
@@ -1,2 +1,3 @@
DIST fort-1.5.4.tar.gz 563138 BLAKE2B bd2a680a41b678bbf49d762fdd1f0f20e2c8bbf3fa80cb57c996d39ad39118ead3ebed7737bdef7478effbb6fa6e7fb39cd3c945a495f613a010dd79bea4f5d6 SHA512 44ec8dd28ab087f1d78f999c53b5dee8f13a6fc9bdf590d3261d640488b118e14970d88c5c5851e602a8119704378088230b8137978ef3caf6bab909af36408e
DIST fort-1.6.1.tar.gz 547724 BLAKE2B 362299bf0a190b9d8cf6f658f2830435ceb78c4bc181e6735e2291f2d766018e9402cc596c20ef4b98aca43ac1c8edfee8369f237f0b9c1e657cf31ae2d023b0 SHA512 84ad18e730fca7ac67c028dc5b05a5b5d175eaa4eb2edade238ae16064c2f83865e263e767d37938c975578236edd8cba0b8604099a9e3ccef13250d2feb46dd
+DIST fort-1.6.2.tar.gz 477582 BLAKE2B 38c302414d27c16fa0b217e717dfa7997b57bbf67f3b8864d718f465e96393879c3b656eec1b7141d99b76bb1493ad528bf6eb188a004be63f242ac6e7eb98db SHA512 403158ad65d0b3516c1b14963765c4809f07f9a3c9f20862250800416b5a0617f22d9c874d285c06975e988c3edef9b5c91bfd9c4f5798dd1c5d538458f195d6
next reply other threads:[~2024-05-30 12:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-30 12:19 Alarig Le Lay [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 1:18 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/FORT-validator/ Lucio Sauer
2024-06-03 1:18 Lucio Sauer
2024-06-03 1:18 Lucio Sauer
2024-05-30 12:19 Alarig Le Lay
2024-05-26 17:04 Alarig Le Lay
2024-05-26 17:01 Alarig Le Lay
2023-10-06 14:38 [gentoo-commits] repo/proj/guru:master " David Roman
2023-10-06 14:35 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2023-10-06 14:38 [gentoo-commits] repo/proj/guru:master " David Roman
2023-10-06 14:35 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2022-12-28 22:24 Alarig Le Lay
2021-05-03 10:11 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-03 9:36 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-26 9:09 Theo Anderson
2020-12-07 12:14 Alarig Le Lay
2020-12-07 12:14 Alarig Le Lay
2020-12-03 13:02 Alarig Le Lay
2020-12-03 13:02 Alarig Le Lay
2020-07-08 20:46 Alarig Le Lay
2020-05-02 8:40 Alarig Le Lay
2020-03-15 11:29 Andrew Ammerlaan
2020-03-15 10:47 Alarig Le Lay
2020-03-13 16:27 Alarig Le Lay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1717071546.3b4a8f315821f9a00515ad6225325ff27dad8c20.AlarigLeLay@gentoo \
--to=alarig@swordarmor.fr \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox