public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/rpki-client/files/, net-misc/rpki-client/
Date: Mon,  4 May 2020 08:54:09 +0000 (UTC)	[thread overview]
Message-ID: <1588539247.075f159d38dba3037debd40fbdfc82c1e421c9b4.andrewammerlaan@gentoo> (raw)

commit:     075f159d38dba3037debd40fbdfc82c1e421c9b4
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Sun May  3 20:54:07 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <alarig <AT> 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 @@
+<?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>
+</pkgmetadata>

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}/
+}


             reply	other threads:[~2020-05-04  8:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04  8:54 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-29 11:47 [gentoo-commits] repo/proj/guru:master commit in: net-misc/rpki-client/files/, net-misc/rpki-client/ Andrew Ammerlaan
2020-06-15 10:32 Andrew Ammerlaan
2020-06-15 10:32 Andrew Ammerlaan
2020-12-27 12:48 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1588539247.075f159d38dba3037debd40fbdfc82c1e421c9b4.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox