public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/FORT-validator/
Date: Fri,  6 Oct 2023 14:35:10 +0000 (UTC)	[thread overview]
Message-ID: <1696602771.a06e54c8eb3536801ea13f97f06cf998a8255249.davidroman@gentoo> (raw)
Message-ID: <20231006143510.0X9tbjy_ymuSxG6gUOdMIhXjwmQz6nT_x-u8QdOnq5M@z> (raw)

commit:     a06e54c8eb3536801ea13f97f06cf998a8255249
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Oct  6 14:32:51 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Oct  6 14:32:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a06e54c8

net-misc/FORT-validator: add 1.5.4

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 .../FORT-validator/FORT-validator-1.5.4.ebuild     | 75 ++++++++++++++++++++++
 net-misc/FORT-validator/Manifest                   |  1 +
 2 files changed, 76 insertions(+)

diff --git a/net-misc/FORT-validator/FORT-validator-1.5.4.ebuild b/net-misc/FORT-validator/FORT-validator-1.5.4.ebuild
new file mode 100644
index 0000000000..a3eb5a2a92
--- /dev/null
+++ b/net-misc/FORT-validator/FORT-validator-1.5.4.ebuild
@@ -0,0 +1,75 @@
+# 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/openssl
+"
+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
+	# Don’t compile debug by default
+	sed -i '/fort_CFLAGS/ s/ -g / /' src/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 abcac86d6f..69f263ae6b 100644
--- a/net-misc/FORT-validator/Manifest
+++ b/net-misc/FORT-validator/Manifest
@@ -1,3 +1,4 @@
 DIST fort-1.5.2.tar.gz 562414 BLAKE2B cbe5a5a47ec7a47176ab1cdd9b3ed26e5a73dd238a364d0ec54a5955316e4813a715180652ad2092ed9cf5c843dc7677d33ed831adb5bcabc156995fbf4c208b SHA512 77c9484314067f5612a5a076ae7e16423f41b79220fc911599f867426dedf7b2276b8f8109ad0b17a714c463f3080b734d1562f6b7ed2265583b1ab6c7f32436
 DIST fort-1.5.3.tar.gz 564257 BLAKE2B f0a6c9899c968f6697c79c0f541275874bc7aa23d6e42113d4be23b6338eb3007557a0260e601575719b90b8e87c4483bb13a40a6ac0724e17cf8157ce40d6ba SHA512 1b97bec1b031cd717d4012b0faec36785ba5c8e06ca46b4a017a08c3f2a038d2224c740a6b84f1c853c996c203af9ac975506d5c0e379a7cab82554318136a99
 DIST fort-1.5.3_p20220607.zip 719847 BLAKE2B 10ed3913e6482e15da64f48ce42a0eb9d14b5e39875f8b2ac1dc71da9cccfaa952a3bbb71030bc6c025aa9966087db20e0a574af6da8424b0b24e8d51e98fb23 SHA512 2dfa61a99edffb678ba338165610445921380bf98c32958b4c425dfa055a212ec4edcbf68758f43fdb4f36769a79fceca46e82abdc471e4bea22caf28c879eb3
+DIST fort-1.5.4.tar.gz 563138 BLAKE2B bd2a680a41b678bbf49d762fdd1f0f20e2c8bbf3fa80cb57c996d39ad39118ead3ebed7737bdef7478effbb6fa6e7fb39cd3c945a495f613a010dd79bea4f5d6 SHA512 44ec8dd28ab087f1d78f999c53b5dee8f13a6fc9bdf590d3261d640488b118e14970d88c5c5851e602a8119704378088230b8137978ef3caf6bab909af36408e


             reply	other threads:[~2023-10-06 14:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06 14:38 David Roman [this message]
2023-10-06 14:35 ` [gentoo-commits] repo/proj/guru:dev commit in: net-misc/FORT-validator/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-05-31  8:55 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-31  8:55 Julien Roy
2023-10-06 14:38 David Roman
2022-12-29 11:33 Florian Schmaus
2021-05-03 10:11 Andrew Ammerlaan
2020-12-07 14:02 Andrew Ammerlaan
2020-12-07 14:02 Andrew Ammerlaan
2020-12-04 15:00 Andrew Ammerlaan
2020-12-04 15:00 Andrew Ammerlaan
2020-07-09 14:29 Andrew Ammerlaan
2020-05-02  9:04 Andrew Ammerlaan
2020-03-15 11:29 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-15 11:39 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-15 11:21 Andrew Ammerlaan
2020-03-13 17:45 Andrew Ammerlaan

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=1696602771.a06e54c8eb3536801ea13f97f06cf998a8255249.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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