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 76CCB138350 for ; Mon, 4 May 2020 08:54:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6834FE09B7; Mon, 4 May 2020 08:54:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 41789E09B7 for ; Mon, 4 May 2020 08:54:12 +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 917B334F563 for ; Mon, 4 May 2020 08:54:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D9E0215 for ; Mon, 4 May 2020 08:54:09 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1588539247.075f159d38dba3037debd40fbdfc82c1e421c9b4.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/rpki-client/files/, net-misc/rpki-client/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/rpki-client/Manifest net-misc/rpki-client/files/rpki-client-0.2.0-Makefile.patch net-misc/rpki-client/metadata.xml net-misc/rpki-client/rpki-client-0.3.0.ebuild X-VCS-Directories: net-misc/rpki-client/ net-misc/rpki-client/files/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 075f159d38dba3037debd40fbdfc82c1e421c9b4 X-VCS-Branch: master Date: Mon, 4 May 2020 08:54:09 +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: f2431db8-f6c1-4ace-8df8-d495a518febe X-Archives-Hash: 3f9f1fc2dca830ca2b6a509c06b11e12 commit: 075f159d38dba3037debd40fbdfc82c1e421c9b4 Author: Alarig Le Lay swordarmor fr> AuthorDate: Sun May 3 20:54:07 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sun May 3 20:54:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=075f159d net-misc/rpki-client: New ebuild RPKI client implementation Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay swordarmor.fr> net-misc/rpki-client/Manifest | 1 + .../files/rpki-client-0.2.0-Makefile.patch | 19 ++++++++++ net-misc/rpki-client/metadata.xml | 8 ++++ net-misc/rpki-client/rpki-client-0.3.0.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 71 insertions(+) diff --git a/net-misc/rpki-client/Manifest b/net-misc/rpki-client/Manifest new file mode 100644 index 0000000..b50be42 --- /dev/null +++ b/net-misc/rpki-client/Manifest @@ -0,0 +1 @@ +DIST rpki-client-0.3.0.tar.gz 81002 BLAKE2B acc428d14cfcfd0733236061d4b7bccce2fc898829ffc34603918e7cee1c7bf48496388c667027c9a3c319f41c46c58bd06e73088e2f2f80958dd5db34e1d5a6 SHA512 4169198074bd3e81008e34838a868313faa450c4fdf5bc827a5229a8ca4fbaa22fedd45d4dde59be0f15d8b80a27eb287a5e29eacc4a2c4a57e9c9e344ac3bbf diff --git a/net-misc/rpki-client/files/rpki-client-0.2.0-Makefile.patch b/net-misc/rpki-client/files/rpki-client-0.2.0-Makefile.patch new file mode 100644 index 0000000..25ff4a5 --- /dev/null +++ b/net-misc/rpki-client/files/rpki-client-0.2.0-Makefile.patch @@ -0,0 +1,19 @@ +--- Makefile 2019-06-16 16:32:45.000000000 +0200 ++++ Makefile 2019-12-07 17:14:01.888076319 +0100 +@@ -30,12 +30,12 @@ + test-tal + + # Linux. +-#LDADD += `pkg-config --libs openssl` -lresolv +-#CFLAGS += `pkg-config --cflags openssl` ++LDADD += `pkg-config --libs openssl` -lresolv ++CFLAGS += `pkg-config --cflags openssl` + + # OpenBSD. +-CFLAGS += -I/usr/local/include/eopenssl +-LDADD += /usr/local/lib/eopenssl/libssl.a /usr/local/lib/eopenssl/libcrypto.a ++#CFLAGS += -I/usr/local/include/eopenssl ++#LDADD += /usr/local/lib/eopenssl/libssl.a /usr/local/lib/eopenssl/libcrypto.a + + all: $(BINS) + diff --git a/net-misc/rpki-client/metadata.xml b/net-misc/rpki-client/metadata.xml new file mode 100644 index 0000000..17361c3 --- /dev/null +++ b/net-misc/rpki-client/metadata.xml @@ -0,0 +1,8 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + + diff --git a/net-misc/rpki-client/rpki-client-0.3.0.ebuild b/net-misc/rpki-client/rpki-client-0.3.0.ebuild new file mode 100644 index 0000000..ca194cc --- /dev/null +++ b/net-misc/rpki-client/rpki-client-0.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils + +VERSION="VERSION_${PV//./_}" + +DESCRIPTION="RPKI client implementation" +HOMEPAGE="https://github.com/kristapsdz/rpki-client" +SRC_URI="https://github.com/kristapsdz/${PN}/archive/${VERSION}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + acct-group/_rpki-client + acct-user/_rpki-client +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + ./configure CPPFLAGS="`pkg-config --cflags openssl`" \ + LDFLAGS="`pkg-config --libs-only-L openssl`" \ + LDADD="`pkg-config --libs openssl` -lresolv" +} + +src_unpack() { + unpack ${A} + mv "${WORKDIR}/${PN}-${VERSION}" "${S}" +} + +src_install() { + emake DESTDIR="${D}" BINDIR="/usr/bin" MANDIR="/usr/share/man" install + insinto /usr/share/${PN} + doins tals/* + keepdir /var/cache/${PN}/ + fowners -R _rpki-client /var/cache/${PN}/ +}