Skip to content

Commit

Permalink
net-misc/rpki-client: add 9.3
Browse files Browse the repository at this point in the history
Signed-off-by: Alarig Le Lay <[email protected]>
  • Loading branch information
alarig committed Sep 23, 2024
1 parent dddd73e commit 32f2a6f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net-misc/rpki-client/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ DIST rpki-client-8.8-cert.pem 341121 BLAKE2B 2975da502335d1cda2eb907cf5bf4b9464b
DIST rpki-client-8.8.tar.gz 541743 BLAKE2B 1b6b86506731ef38228a0b53b0468fef6efe360e2bebd094d11be991de40c0adaf29d583cf1eb85f1cb3daca723bb4298a9e797dd9a22e02fe415b55026a6bdc SHA512 555384cbc65a0b9be1a63541613d0866067dc4ad328deda0391d0bd291d1854d2a875cef71e35da1d89447c21c875bb5d65671a7dfe9fb6453bf3a71638e11b4
DIST rpki-client-9.2-cert.pem 348925 BLAKE2B f459efd7286027bf843b17f248ccd5016d51369fb514df7a3feccc9a821455859b97345227d98fcec148c95f518eba771432f9be5bc8feea81ad743c7b9f65e1 SHA512 c7108665118308bacfba64162f851f374edd6f9c6850f8698ca7151b467195930866d9b2dcf5bb74e0cac132bd9ae9215dd8d68040f672245f7412b65c5236c9
DIST rpki-client-9.2.tar.gz 565124 BLAKE2B ad8bc08ca2a52701d725147fe5921a1e23789901bb7edb5f070c56b4a9a5ed4887a782040792e4f83633f314480e3118716fb5747123e2731e85493ca8334c02 SHA512 9eedacaa13d0cdd5d229fee749f213b480fce0a9590f8128e3fd73a65f25142474a7871e540ef29bc8b8c3dfa9eaebd84879b9125308a3b309967043c35c5cdb
DIST rpki-client-9.3-cert.pem 348925 BLAKE2B f459efd7286027bf843b17f248ccd5016d51369fb514df7a3feccc9a821455859b97345227d98fcec148c95f518eba771432f9be5bc8feea81ad743c7b9f65e1 SHA512 c7108665118308bacfba64162f851f374edd6f9c6850f8698ca7151b467195930866d9b2dcf5bb74e0cac132bd9ae9215dd8d68040f672245f7412b65c5236c9
DIST rpki-client-9.3.tar.gz 565901 BLAKE2B 137df7bf0f9d20c3801c1ba51a04b9a7ced53c655027d419366a2d2cce85b0f9a459a96260fb3f635a7a8c2e957ad6b308fba2a19aba85edbe1896511061843c SHA512 aa7bb82f7a91fb1e39bb707c46c2f30a4ac4745799cdadcdf0db64e4f3c39411ee07ff2fe4c55c0c1aebb38f26a356844c42a294f9c058c6ca1507e67ed1d827
53 changes: 53 additions & 0 deletions net-misc/rpki-client/rpki-client-9.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PV="${PV/_p/p}"
MY_P="${PN}-${MY_PV}"

DESCRIPTION="Portability shim for OpenBSD's rpki-client"
HOMEPAGE="https://rpki-client.org/"
SRC_URI="mirror://openbsd/${PN}/${PN}-${MY_PV}.tar.gz
https://lg.breizh-ix.net/ssl/cert.pem -> ${PN}-${MY_PV}-cert.pem"

S="${WORKDIR}/${MY_P}"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
acct-group/_rpki-client
acct-user/_rpki-client
dev-libs/expat
dev-libs/libretls
dev-libs/openssl[rfc3779]
sys-libs/zlib
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-build/libtool
"

src_configure() {
local myeconfargs=(
--with-rsync=rsync
--with-base-dir="/var/cache/${PN}"
--with-output-dir="/var/db/${PN}"
)
econf "${myeconfargs[@]}"
}

src_install() {
emake DESTDIR="${D}" BINDIR="/usr/bin" MANDIR="/usr/share/man" install

insinto /etc/rpki
doins *.tal
doins *.constraints
keepdir "/var/db/${PN}/"
fowners -R _rpki-client "/var/db/${PN}/"

insinto /etc/ssl
newins "${DISTDIR}/${PN}-${MY_PV}-cert.pem" cert.pem
}

0 comments on commit 32f2a6f

Please sign in to comment.