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 4BA50138359 for ; Tue, 20 Oct 2020 18:52:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91D5BE09DE; Tue, 20 Oct 2020 18:52:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 763CEE09DE for ; Tue, 20 Oct 2020 18:52:20 +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 C29E4340917 for ; Tue, 20 Oct 2020 18:52:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4674B209 for ; Tue, 20 Oct 2020 18:52:17 +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: <1603219931.9dc74b40b67a510bde274b4df884960ff5be6188.AlarigLeLay@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/rpki-client/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/rpki-client/Manifest net-misc/rpki-client/rpki-client-6.7_p1.ebuild X-VCS-Directories: net-misc/rpki-client/ X-VCS-Committer: AlarigLeLay X-VCS-Committer-Name: Alarig Le Lay X-VCS-Revision: 9dc74b40b67a510bde274b4df884960ff5be6188 X-VCS-Branch: dev Date: Tue, 20 Oct 2020 18:52:17 +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: 9fea8e24-3ee4-446c-87b1-00099f2e2a16 X-Archives-Hash: 976617d0fa7979f19afe049115bafe0a commit: 9dc74b40b67a510bde274b4df884960ff5be6188 Author: Alarig Le Lay swordarmor fr> AuthorDate: Tue Oct 20 18:52:11 2020 +0000 Commit: Alarig Le Lay swordarmor fr> CommitDate: Tue Oct 20 18:52:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9dc74b40 net-misc/rpki-client: New release 6.7_p1 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Alarig Le Lay swordarmor.fr> net-misc/rpki-client/Manifest | 1 + net-misc/rpki-client/rpki-client-6.7_p1.ebuild | 68 ++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/net-misc/rpki-client/Manifest b/net-misc/rpki-client/Manifest index 6c43856e..74fee4ed 100644 --- a/net-misc/rpki-client/Manifest +++ b/net-misc/rpki-client/Manifest @@ -1,2 +1,3 @@ DIST rpki-client-6.6_p2.tar.gz 42840 BLAKE2B f5075376925cad57893a27c463c6727362e108cbccb348785ca4940fbaa8262286342ecb6f5fa59a0615009bc16571b15218483822c827528ecc19e1963c9e6b SHA512 5acdabef9b0373fb2fe47a2b9cb2638809ac1260b273c1566e3dbd34287c3703dd7979a7ba98b7d5b305664add6f2d5af4564ad2315033406e5e835f1051951f DIST rpki-client-6.7_p0.tar.gz 44454 BLAKE2B 2336f3a8f4a0cb53a9c6f4df6dbd269ff1e8bcb11b61d4c283c3153e563054efb163339ec7852f45e12cc7e9544522d7dabc62d0f79b5a6951014e47980caad9 SHA512 018e237a4075779850f18bdc69c49dac03d8bb2d377dbd680f1faa307057647ea3188acb6b78766e6563dd48afadd5eaea419413c41a018882d1a8b147bb6630 +DIST rpki-client-6.7_p1.tar.gz 44463 BLAKE2B c269a502c680a4c41c2201fceed2f3bab7b83e3a6a173fea5081ced073e10f02fd7aaa07ef4b9d14f816c88871ffee8c65126f0efcda9e8ca7c08032cac179d6 SHA512 bc9815ab6cd930715e9494b82b1547a419706db3fa4eca003767d6e39c3a63c0a3f3048c211c773e1f0e87043b0bfd622b0d5be856ccced27f893eefc9511211 diff --git a/net-misc/rpki-client/rpki-client-6.7_p1.ebuild b/net-misc/rpki-client/rpki-client-6.7_p1.ebuild new file mode 100644 index 00000000..b9a0673b --- /dev/null +++ b/net-misc/rpki-client/rpki-client-6.7_p1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools git-r3 + +MY_PN="${PN}-portable" +MY_PV="${PV/_p/p}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Portability shim for OpenBSD's rpki-client" +HOMEPAGE="https://rpki-client.org/" +SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +EGIT_REPO_URI="https://github.com/${PN}/${PN}-openbsd.git" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + acct-group/_rpki-client + acct-user/_rpki-client +" +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}/${PN}-${PV%_*}-update.patch" +) + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + default + + EGIT_BRANCH=$(cat "${S}"/OPENBSD_BRANCH) + EGIT_CHECKOUT_DIR="${S}/openbsd" + git-r3_fetch + git-r3_checkout +} + +src_prepare() { + default + + cd "${S}" + ./autogen.sh + + eautoreconf +} + +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 + keepdir "/var/db/${PN}/" + fowners -R _rpki-client "/var/db/${PN}/" +}