mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
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@swordarmor.fr>
This commit is contained in:
1
net-misc/rpki-client/Manifest
Normal file
1
net-misc/rpki-client/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rpki-client-0.3.0.tar.gz 81002 BLAKE2B acc428d14cfcfd0733236061d4b7bccce2fc898829ffc34603918e7cee1c7bf48496388c667027c9a3c319f41c46c58bd06e73088e2f2f80958dd5db34e1d5a6 SHA512 4169198074bd3e81008e34838a868313faa450c4fdf5bc827a5229a8ca4fbaa22fedd45d4dde59be0f15d8b80a27eb287a5e29eacc4a2c4a57e9c9e344ac3bbf
|
||||
19
net-misc/rpki-client/files/rpki-client-0.2.0-Makefile.patch
Normal file
19
net-misc/rpki-client/files/rpki-client-0.2.0-Makefile.patch
Normal file
@@ -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)
|
||||
|
||||
8
net-misc/rpki-client/metadata.xml
Normal file
8
net-misc/rpki-client/metadata.xml
Normal file
@@ -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>
|
||||
43
net-misc/rpki-client/rpki-client-0.3.0.ebuild
Normal file
43
net-misc/rpki-client/rpki-client-0.3.0.ebuild
Normal file
@@ -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}/
|
||||
}
|
||||
Reference in New Issue
Block a user