Browse Source

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.
pull/9/head
zeising 2 months ago
parent
commit
64f19608d0
7 changed files with 63 additions and 2 deletions
  1. +1
    -1
      GIDs
  2. +1
    -1
      UIDs
  3. +1
    -0
      net/Makefile
  4. +37
    -0
      net/rpki-client/Makefile
  5. +5
    -0
      net/rpki-client/distinfo
  6. +10
    -0
      net/rpki-client/pkg-descr
  7. +8
    -0
      net/rpki-client/pkg-plist

+ 1
- 1
GIDs View File

@@ -210,7 +210,7 @@ step:*:266:
odoo:*:267:
# free: 268
# free: 269
# free: 270
_rpki-client:*:270:
# free: 271
# free: 272
# free: 273


+ 1
- 1
UIDs View File

@@ -215,7 +215,7 @@ step:*:266:266::0:0:Step CA:/nonexistent:/usr/sbin/nologin
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


+ 1
- 0
net/Makefile View File

@@ -1182,6 +1182,7 @@
SUBDIR += ripe-whois
SUBDIR += routinator
SUBDIR += rp-pppoe
SUBDIR += rpki-client
SUBDIR += rsocket-cpp
SUBDIR += rsplib
SUBDIR += rsync


+ 37
- 0
net/rpki-client/Makefile View File

@@ -0,0 +1,37 @@
# $FreeBSD$

PORTNAME= rpki-client
DISTVERSION= 6.7p0
CATEGORIES= net

MAINTAINER= zeising@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>

+ 5
- 0
net/rpki-client/distinfo View File

@@ -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

+ 10
- 0
net/rpki-client/pkg-descr View File

@@ -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/

+ 8
- 0
net/rpki-client/pkg-plist View File

@@ -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
@dir(%%USERS%%,,0755) /var/cache/rpki-client
@dir(%%USERS%%,,0755) /var/db/rpki-client

Loading…
Cancel
Save