From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D0251382C5 for ; Mon, 7 Dec 2020 12:14:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5A71E0A99; Mon, 7 Dec 2020 12:14:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FC81E0A97 for ; Mon, 7 Dec 2020 12:14:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5542340DEC for ; Mon, 7 Dec 2020 12:14:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52ADE481 for ; Mon, 7 Dec 2020 12:14:31 +0000 (UTC) From: "Alarig Le Lay" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alarig Le Lay" Message-ID: <1607343261.004ffa84d4e5133852aa7bc2a921547e97e8b2c0.AlarigLeLay@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/FORT-validator/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/FORT-validator/FORT-validator-1.4.1.ebuild net-misc/FORT-validator/Manifest X-VCS-Directories: net-misc/FORT-validator/ X-VCS-Committer: AlarigLeLay X-VCS-Committer-Name: Alarig Le Lay X-VCS-Revision: 004ffa84d4e5133852aa7bc2a921547e97e8b2c0 X-VCS-Branch: dev Date: Mon, 7 Dec 2020 12:14:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 405926d6-1273-4446-85f9-c98d16494326 X-Archives-Hash: ec9414d24732974b21dc34f01ce06c85 commit: 004ffa84d4e5133852aa7bc2a921547e97e8b2c0 Author: Alarig Le Lay swordarmor fr> AuthorDate: Mon Dec 7 12:14:21 2020 +0000 Commit: Alarig Le Lay swordarmor fr> CommitDate: Mon Dec 7 12:14:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=004ffa84 net-misc/FORT-validator: New release Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alarig Le Lay swordarmor.fr> .../FORT-validator/FORT-validator-1.4.1.ebuild | 77 ++++++++++++++++++++++ net-misc/FORT-validator/Manifest | 1 + 2 files changed, 78 insertions(+) diff --git a/net-misc/FORT-validator/FORT-validator-1.4.1.ebuild b/net-misc/FORT-validator/FORT-validator-1.4.1.ebuild new file mode 100644 index 00000000..ce424e3a --- /dev/null +++ b/net-misc/FORT-validator/FORT-validator-1.4.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools fcaps systemd + +DESCRIPTION="FORT validator is an open source RPKI validator" +HOMEPAGE="https://fortproject.net/validator?2" +SRC_URI="https://github.com/NICMx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +MY_PN="fort" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="caps libressl" + +DEPEND=" + acct-group/fort + acct-user/fort + caps? ( sys-libs/libcap ) + dev-libs/jansson + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) +" +RDEPEND=" + ${DEPEND} + net-misc/rsync +" +BDEPEND=" + sys-devel/autoconf + sys-devel/automake +" + +PATCHES="${FILESDIR}/${PN}-skip-online-test.patch" + +src_prepare() { + default + + eautoreconf +} + +src_install() { + newinitd "${FILESDIR}/${MY_PN}-initd" ${MY_PN} + newconfd "${FILESDIR}/${MY_PN}-confd" ${MY_PN} + + emake DESTDIR="${D}" 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 + + exeinto "/usr/libexec/${MY_PN}" + doexe fort_setup.sh + + systemd_dounit "${FILESDIR}/${MY_PN}.service" +} + +pkg_postinst() { + fcaps cap_net_bind_service usr/bin/fort + + einfo "" + einfo "ARIN TAL is disabled by default because the ARIN Relying Party" + einfo "Agreement must be accepted beforehead. Start fort, run" + einfo "" + einfo " su -s /bin/sh -c '${EROOT}/usr/libexec/${MY_PN}/fort_setup.sh /usr/share/${MY_PN}/tal/' fort" + einfo "" + einfo "as root and restart fort to enable it." + einfo "The configuration file generation will provide a config file, but a" + einfo "simpler one is shiped with the ebuid. Use the one you prefer." +} diff --git a/net-misc/FORT-validator/Manifest b/net-misc/FORT-validator/Manifest index d6a678f9..817dd6d4 100644 --- a/net-misc/FORT-validator/Manifest +++ b/net-misc/FORT-validator/Manifest @@ -1,2 +1,3 @@ DIST FORT-validator-1.3.0.tar.gz 444918 BLAKE2B 3a8fb8cce5c71d22ab402d6b6a1478f173641a3876bad04e9fde4373d2a6b49395ff692aa048579886a82a799ed7849fc51d86c798b0b0ea9c594b4eb532b367 SHA512 0aed86979e6b9c3142cc9a53d13a619dbe22a3e05bcc26f30fda5048ac3e9d31b83307fbd4a68543eaf948954dbaba54edbce9b90ab0189d15c3629b220d094c DIST FORT-validator-1.4.0.tar.gz 468621 BLAKE2B f531f06136e8052ca8a001c91c8209bba7f0da6dcbb8cbccf9d7b3d39e2366951f48f254614def4749a8eb3f83bf01afaf9e2b013eecbc8fcd0c4274c4c3496a SHA512 dfbd94c9fbd8a4eac9f43030ebfa005febc01e4a39fccdd58fbfcc79aadfe0eeb2f8a2f4836c8d14c3e957f58e91466650ff1a266144f4b4f731495f8a74e460 +DIST FORT-validator-1.4.1.tar.gz 468737 BLAKE2B d1cbe115ba4d5e650d83e5793773028d545d7e56e8a7247ddc10673e0925ff278ebbc35f1161423d6f2b0bea6c8cb3416d8d87afea8c414bb69b5b95b9c8bf06 SHA512 aac4039bfad71fe9d9747abf8b2121d8b801c07feac83238c994b406241d2fefcf46bebc899298be84fddb90bbc345b117613a4bd4d45fbb38da89d1040ed393