net-misc/FORT-validator: migrating from user eclass to GLEP 81

This commit is contained in:
Alarig Le Lay 2020-02-19 12:53:34 +01:00
parent 27171c4868
commit 5ae2141c59
8 changed files with 55 additions and 8 deletions

2
acct-group/fort/Manifest Normal file
View file

@ -0,0 +1,2 @@
EBUILD fort-0.ebuild 157 BLAKE2B 96884a9b1eb0547b95728261648693b251e7b3b0c9b4cbdca9d8aa9f2e6b4c32e11b48e29c3f273e609518df85b17303cef98209575cd435b289cc1300a1d200 SHA512 bcc83542907c01238cf16127033286c91b79dba4cb853583398b21150d3184b9be0e65a8894f3513ef1f2affe448866774cc5acdd992263b0dbe8cd877d6e345
MISC metadata.xml 366 BLAKE2B c2234c807433af153ff818c86a421c72181c278f95421339c5338d74e6962f3a33170d4cf7bbae97b46189986b30065b4a7342865a847612159f7a0e8539c0c3 SHA512 9a3e5b0062fe74ef8ff9413ec231002a4f226a66b2901cbb16a109b33261bc5fa0b9103d3f5f8b9d398dfea50514f0e56cfa5b025769f8c7e192484f25590880

View file

@ -0,0 +1,9 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-group
# Port 323
ACCT_GROUP_ID=323

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

2
acct-user/fort/Manifest Normal file
View file

@ -0,0 +1,2 @@
EBUILD fort-0.ebuild 264 BLAKE2B c1007317db19e5c1d6814c6e9ffb3cb00c345d2e425338609fc68e0ff95f9ba31a950b4a1da750fbfe79de2db40d44e812792a68b9ac4eb01a4b0a1a42c150c5 SHA512 41c9a50b3eb57774dee097635c27d2fe93d5a0d0a794c9ca27cf69d574c6d925170c65ae02eba5fe75874bb5bfb56627f242a7d5547a4c88b2008ac17a5c2ee1
MISC metadata.xml 366 BLAKE2B c2234c807433af153ff818c86a421c72181c278f95421339c5338d74e6962f3a33170d4cf7bbae97b46189986b30065b4a7342865a847612159f7a0e8539c0c3 SHA512 9a3e5b0062fe74ef8ff9413ec231002a4f226a66b2901cbb16a109b33261bc5fa0b9103d3f5f8b9d398dfea50514f0e56cfa5b025769f8c7e192484f25590880

View file

@ -0,0 +1,13 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-user
DESCRIPTITN="User for FORT RPKI validator"
ACCT_USER_ID=323
ACCT_USER_GROUPS=( fort )
ACCT_USER_HOME=/var/lib/${PN}/
acct-user_add_deps

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -3,7 +3,7 @@
EAPI=7 EAPI=7
inherit autotools user fcaps inherit autotools fcaps
DESCRIPTION="FORT validator is an open source RPKI validator." DESCRIPTION="FORT validator is an open source RPKI validator."
HOMEPAGE="https://fortproject.net/validator?2" HOMEPAGE="https://fortproject.net/validator?2"
@ -17,10 +17,12 @@ KEYWORDS="~amd64 ~x86"
IUSE="caps libressl" IUSE="caps libressl"
DEPEND=" DEPEND="
acct-group/fort
acct-user/fort
caps? ( sys-libs/libcap ) caps? ( sys-libs/libcap )
dev-libs/jansson dev-libs/jansson
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= ) libressl? ( dev-libs/libressl:0= )
!libressl? ( dev-libs/openssl:0= )
net-misc/rsync net-misc/rsync
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
@ -35,11 +37,6 @@ src_prepare() {
eautoreconf eautoreconf
} }
pkg_setup() {
enewgroup fort
enewuser fort -1 /bin/sh /var/lib/${MY_PN}/ fort
}
src_install() { src_install() {
newinitd "${FILESDIR}/${MY_PN}-initd" ${MY_PN} newinitd "${FILESDIR}/${MY_PN}-initd" ${MY_PN}
newconfd "${FILESDIR}/${MY_PN}-confd" ${MY_PN} newconfd "${FILESDIR}/${MY_PN}-confd" ${MY_PN}

View file

@ -2,5 +2,5 @@ AUX fort-confd 460 BLAKE2B 5731cbaa8865b6bc708fb6d6c58fa85f6936cac61c304daba2776
AUX fort-config.json 144 BLAKE2B 68674502b9bcc9cccbe566224b730c81098bc4f6af2fb9b62c02712499aa2618049cafb431a7943699b946fb42fae5e979d205edeb6bc5e7cc121b09346ecacf SHA512 3faa68a2ba2d881a9d2413af53133b7e4ce72b4e0250e64c734ff1957d943435b32a012d271fd098e25d3b31afba0ae406dc1b27c2ac38964cf853d45f4dc1c1 AUX fort-config.json 144 BLAKE2B 68674502b9bcc9cccbe566224b730c81098bc4f6af2fb9b62c02712499aa2618049cafb431a7943699b946fb42fae5e979d205edeb6bc5e7cc121b09346ecacf SHA512 3faa68a2ba2d881a9d2413af53133b7e4ce72b4e0250e64c734ff1957d943435b32a012d271fd098e25d3b31afba0ae406dc1b27c2ac38964cf853d45f4dc1c1
AUX fort-initd 791 BLAKE2B dba40c667d7e2f81ac383632bd81adfa7056cda13979585edba8c5236aa99f18fbbc1bec820eef2ad221662490b3a4196dedb6559342c15933d58447f5d53f14 SHA512 14832d09d8b28088e3fed6d631b90ea70bd520c6f47252f58055570338417bab95c2fa2c48061edd3543421f059e08020e48894d1f9cee6984c4082b563fa3f5 AUX fort-initd 791 BLAKE2B dba40c667d7e2f81ac383632bd81adfa7056cda13979585edba8c5236aa99f18fbbc1bec820eef2ad221662490b3a4196dedb6559342c15933d58447f5d53f14 SHA512 14832d09d8b28088e3fed6d631b90ea70bd520c6f47252f58055570338417bab95c2fa2c48061edd3543421f059e08020e48894d1f9cee6984c4082b563fa3f5
DIST FORT-validator-1.1.3.tar.gz 383459 BLAKE2B 80523058fb7e7b7f8d8a1d3737321f33a1795ed7f659bd8f0f0f107df3abfd36508bff1bf03ee3964ba4ad61faa9df29ea19c81f4533666b5a01e2dabf904172 SHA512 6d34e96c1f1d710914593620e848281d427cfcbefddfe355be8b36fb3b3451bc48113c968ddc25c18ea6df23fb182e7bb4951743de2ab0aa8d84d764040ca617 DIST FORT-validator-1.1.3.tar.gz 383459 BLAKE2B 80523058fb7e7b7f8d8a1d3737321f33a1795ed7f659bd8f0f0f107df3abfd36508bff1bf03ee3964ba4ad61faa9df29ea19c81f4533666b5a01e2dabf904172 SHA512 6d34e96c1f1d710914593620e848281d427cfcbefddfe355be8b36fb3b3451bc48113c968ddc25c18ea6df23fb182e7bb4951743de2ab0aa8d84d764040ca617
EBUILD FORT-validator-1.1.3.ebuild 1091 BLAKE2B e2463fa5432773b5ab780382961f602349620da6cce467e0c05d7d06664ba9b950dd5f2b1e9dbab35835f2c423bf83020c39ef7300ae0c38412ea47c0d2c26ea SHA512 f31b3e3d6c9303c6a35e6019a9dd5f0d0e2ba8c2d8a1345b8ee921a7816cebe8665d63b76d72efe8c0de82c7a290c0e7eb60e89b5563a701dd209666725df6cd EBUILD FORT-validator-1.1.3.ebuild 1036 BLAKE2B d9b043955d09d4521b6fd4bd5d918367410eb42a5570aa2cb202a9f01ff2ab3316bcb7cca3949685772e7a7129c0ddedddcb22f3eb412f19ee18918489837de9 SHA512 850a3119bdfbed917daad16b6456d9bd81c50d88370098ae5f35306d9b9c98c514da693ffccbf8899fe434beaf3d1041c8f033410ec37a801849467807ad5334
MISC metadata.xml 366 BLAKE2B c2234c807433af153ff818c86a421c72181c278f95421339c5338d74e6962f3a33170d4cf7bbae97b46189986b30065b4a7342865a847612159f7a0e8539c0c3 SHA512 9a3e5b0062fe74ef8ff9413ec231002a4f226a66b2901cbb16a109b33261bc5fa0b9103d3f5f8b9d398dfea50514f0e56cfa5b025769f8c7e192484f25590880 MISC metadata.xml 366 BLAKE2B c2234c807433af153ff818c86a421c72181c278f95421339c5338d74e6962f3a33170d4cf7bbae97b46189986b30065b4a7342865a847612159f7a0e8539c0c3 SHA512 9a3e5b0062fe74ef8ff9413ec231002a4f226a66b2901cbb16a109b33261bc5fa0b9103d3f5f8b9d398dfea50514f0e56cfa5b025769f8c7e192484f25590880