svn commit: r540988 - in head: . net net/rpki-client
Niclas Zeising
zeising at FreeBSD.org
Wed Jul 1 18:38:04 UTC 2020
Author: zeising
Date: Wed Jul 1 18:38:02 2020
New Revision: 540988
URL: https://svnweb.freebsd.org/changeset/ports/540988
Log:
Add new port: net/rpki-client
rpki-client is a FREE, easy-to-use implementation of the Resource Public Key
Infrastructure (RPKI) for Relying Parties (RP) to facilitate validation of the
Route Origin of a BGP announcement. The program queries the RPKI repository
system and outputs Validated ROA Payloads in the configuration format of either
OpenBGPD or BIRD, but also as CSV or JSON objects for consumption by other
routing stacks. rpki-client originated in OpenBSD.
This version is based on the portable version of rpki-client.
WWW: https://www.rpki-client.org/
WWW: https://github.com/rpki-client/rpki-client-portable
Allocate UID and GID 270 for use when running rpki-client.
Added:
head/net/rpki-client/
head/net/rpki-client/Makefile (contents, props changed)
head/net/rpki-client/distinfo (contents, props changed)
head/net/rpki-client/pkg-descr (contents, props changed)
head/net/rpki-client/pkg-plist (contents, props changed)
Modified:
head/GIDs
head/UIDs
head/net/Makefile
Modified: head/GIDs
==============================================================================
--- head/GIDs Wed Jul 1 18:18:45 2020 (r540987)
+++ head/GIDs Wed Jul 1 18:38:02 2020 (r540988)
@@ -210,7 +210,7 @@ step:*:266:
odoo:*:267:
# free: 268
# free: 269
-# free: 270
+_rpki-client:*:270:
# free: 271
# free: 272
# free: 273
Modified: head/UIDs
==============================================================================
--- head/UIDs Wed Jul 1 18:18:45 2020 (r540987)
+++ head/UIDs Wed Jul 1 18:38:02 2020 (r540988)
@@ -215,7 +215,7 @@ step:*:266:266::0:0:Step CA:/nonexistent:/usr/sbin/nol
odoo:*:267:267::0:0:Odoo ERP:/nonexistent:/usr/sbin/nologin
# free: 268
# free: 269
-# free: 270
+_rpki-client:*:270:270::0:0:rpki-client user:/nonexistent:/usr/sbin/nologin
# free: 271
# free: 272
# free: 273
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Wed Jul 1 18:18:45 2020 (r540987)
+++ head/net/Makefile Wed Jul 1 18:38:02 2020 (r540988)
@@ -1182,6 +1182,7 @@
SUBDIR += ripe-whois
SUBDIR += routinator
SUBDIR += rp-pppoe
+ SUBDIR += rpki-client
SUBDIR += rsocket-cpp
SUBDIR += rsplib
SUBDIR += rsync
Added: head/net/rpki-client/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/rpki-client/Makefile Wed Jul 1 18:38:02 2020 (r540988)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= rpki-client
+DISTVERSION= 6.7p0
+CATEGORIES= net
+
+MAINTAINER= zeising at FreeBSD.org
+COMMENT= Resource Public Key Infrastructure (RPKI) implementation from OpenBSD
+
+LICENSE= ISCL
+
+BUILD_DEPENDS= rsync>0:net/rsync
+RUN_DEPENDS= rsync>0:net/rsync
+
+USES= autoreconf libtool ssl
+
+USERS= _rpki-client
+GROUPS= ${USERS}
+PLIST_SUB= USERS="${USERS}"
+
+USE_GITHUB= yes
+GH_PROJECT= ${PORTNAME}-portable ${PORTNAME}-openbsd:openbsd
+GH_TAGNAME= 3592f05:openbsd
+GH_SUBDIR= openbsd:openbsd
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSREL:R} < 12 && ${SSL_DEFAULT} == "base"
+BROKEN= requires OpenSSL 1.1.1, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf
+.endif
+
+pre-configure:
+ cd ${WRKSRC} && ${SH} update.sh
+
+.include <bsd.port.post.mk>
Added: head/net/rpki-client/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/rpki-client/distinfo Wed Jul 1 18:38:02 2020 (r540988)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1593510658
+SHA256 (rpki-client-rpki-client-portable-6.7p0_GH0.tar.gz) = 5847c9584042a8b38b6d7ef165799fd51fb604ac6b6a7403ce9a3682db799a5f
+SIZE (rpki-client-rpki-client-portable-6.7p0_GH0.tar.gz) = 44454
+SHA256 (rpki-client-rpki-client-openbsd-3592f05_GH0.tar.gz) = f3f79c6179842d533ed6291f2ff240cf31165c7b0919435b48917369bbccde80
+SIZE (rpki-client-rpki-client-openbsd-3592f05_GH0.tar.gz) = 318162
Added: head/net/rpki-client/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/rpki-client/pkg-descr Wed Jul 1 18:38:02 2020 (r540988)
@@ -0,0 +1,10 @@
+rpki-client is a FREE, easy-to-use implementation of the Resource Public Key
+Infrastructure (RPKI) for Relying Parties (RP) to facilitate validation of the
+Route Origin of a BGP announcement. The program queries the RPKI repository
+system and outputs Validated ROA Payloads in the configuration format of either
+OpenBGPD or BIRD, but also as CSV or JSON objects for consumption by other
+routing stacks.
+
+This version is based on the portable version of rpki-client.
+
+WWW: https://www.rpki-client.org/
Added: head/net/rpki-client/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/rpki-client/pkg-plist Wed Jul 1 18:38:02 2020 (r540988)
@@ -0,0 +1,8 @@
+etc/rpki/afrinic.tal
+etc/rpki/apnic.tal
+etc/rpki/lacnic.tal
+etc/rpki/ripe.tal
+man/man8/rpki-client.8.gz
+sbin/rpki-client
+ at dir(%%USERS%%,,0755) /var/cache/rpki-client
+ at dir(%%USERS%%,,0755) /var/db/rpki-client
More information about the svn-ports-head
mailing list