Gentoo Archives: gentoo-commits

From: Alarig Le Lay <alarig@××××××××××.fr>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/FORT-validator/
Date: Thu, 03 Dec 2020 13:02:36
Message-Id: 1607000534.2954370c0bfcef86716fef5d475ac59a429acbaa.AlarigLeLay@gentoo
1 commit: 2954370c0bfcef86716fef5d475ac59a429acbaa
2 Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
3 AuthorDate: Thu Dec 3 13:02:14 2020 +0000
4 Commit: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
5 CommitDate: Thu Dec 3 13:02:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2954370c
7
8 net-misc/FORT-validator: Version bump
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>
12
13 .../FORT-validator/FORT-validator-1.4.0.ebuild | 77 ++++++++++++++++++++++
14 net-misc/FORT-validator/Manifest | 1 +
15 2 files changed, 78 insertions(+)
16
17 diff --git a/net-misc/FORT-validator/FORT-validator-1.4.0.ebuild b/net-misc/FORT-validator/FORT-validator-1.4.0.ebuild
18 new file mode 100644
19 index 00000000..ce424e3a
20 --- /dev/null
21 +++ b/net-misc/FORT-validator/FORT-validator-1.4.0.ebuild
22 @@ -0,0 +1,77 @@
23 +# Copyright 2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit autotools fcaps systemd
29 +
30 +DESCRIPTION="FORT validator is an open source RPKI validator"
31 +HOMEPAGE="https://fortproject.net/validator?2"
32 +SRC_URI="https://github.com/NICMx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +MY_PN="fort"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="caps libressl"
40 +
41 +DEPEND="
42 + acct-group/fort
43 + acct-user/fort
44 + caps? ( sys-libs/libcap )
45 + dev-libs/jansson
46 + libressl? ( dev-libs/libressl:0= )
47 + !libressl? ( dev-libs/openssl:0= )
48 +"
49 +RDEPEND="
50 + ${DEPEND}
51 + net-misc/rsync
52 +"
53 +BDEPEND="
54 + sys-devel/autoconf
55 + sys-devel/automake
56 +"
57 +
58 +PATCHES="${FILESDIR}/${PN}-skip-online-test.patch"
59 +
60 +src_prepare() {
61 + default
62 +
63 + eautoreconf
64 +}
65 +
66 +src_install() {
67 + newinitd "${FILESDIR}/${MY_PN}-initd" ${MY_PN}
68 + newconfd "${FILESDIR}/${MY_PN}-confd" ${MY_PN}
69 +
70 + emake DESTDIR="${D}" install
71 + insinto /usr/share/${MY_PN}/
72 + insopts -m0644 -o "${MY_PN}"
73 + diropts -m0755 -o "${MY_PN}"
74 + doins -r examples/tal/
75 +
76 + dodoc -r examples/
77 +
78 + insinto /etc/fort
79 + newins "${FILESDIR}/fort-config.json" config.json
80 +
81 + exeinto "/usr/libexec/${MY_PN}"
82 + doexe fort_setup.sh
83 +
84 + systemd_dounit "${FILESDIR}/${MY_PN}.service"
85 +}
86 +
87 +pkg_postinst() {
88 + fcaps cap_net_bind_service usr/bin/fort
89 +
90 + einfo ""
91 + einfo "ARIN TAL is disabled by default because the ARIN Relying Party"
92 + einfo "Agreement must be accepted beforehead. Start fort, run"
93 + einfo ""
94 + einfo " su -s /bin/sh -c '${EROOT}/usr/libexec/${MY_PN}/fort_setup.sh /usr/share/${MY_PN}/tal/' fort"
95 + einfo ""
96 + einfo "as root and restart fort to enable it."
97 + einfo "The configuration file generation will provide a config file, but a"
98 + einfo "simpler one is shiped with the ebuid. Use the one you prefer."
99 +}
100
101 diff --git a/net-misc/FORT-validator/Manifest b/net-misc/FORT-validator/Manifest
102 index 2b313100..73c9852a 100644
103 --- a/net-misc/FORT-validator/Manifest
104 +++ b/net-misc/FORT-validator/Manifest
105 @@ -1,2 +1,3 @@
106 DIST FORT-validator-1.2.1.tar.gz 431832 BLAKE2B 25459e591a531dcf3326baec06c9e462611f1fd727bd79623d0f5eae0f02b2398e698ea6f0cf7608061f5e125afb056c7dff9b1dcc6fbe01332e573e8c4b1f15 SHA512 87d256a02ca6d3c00bb2245476c126b076f6c57e9eeaefb2dcb0dfed5763b5769731de08e4168c9ce701a2820eeda69c3bf054c8445b910948504fdb7b0b6b50
107 DIST FORT-validator-1.3.0.tar.gz 444918 BLAKE2B 3a8fb8cce5c71d22ab402d6b6a1478f173641a3876bad04e9fde4373d2a6b49395ff692aa048579886a82a799ed7849fc51d86c798b0b0ea9c594b4eb532b367 SHA512 0aed86979e6b9c3142cc9a53d13a619dbe22a3e05bcc26f30fda5048ac3e9d31b83307fbd4a68543eaf948954dbaba54edbce9b90ab0189d15c3629b220d094c
108 +DIST FORT-validator-1.4.0.tar.gz 468621 BLAKE2B f531f06136e8052ca8a001c91c8209bba7f0da6dcbb8cbccf9d7b3d39e2366951f48f254614def4749a8eb3f83bf01afaf9e2b013eecbc8fcd0c4274c4c3496a SHA512 dfbd94c9fbd8a4eac9f43030ebfa005febc01e4a39fccdd58fbfcc79aadfe0eeb2f8a2f4836c8d14c3e957f58e91466650ff1a266144f4b4f731495f8a74e460