From owner-svn-ports-all@freebsd.org Wed Jul 1 18:38:04 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4070735913E; Wed, 1 Jul 2020 18:38:04 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49xqjS10DTz4rsW; Wed, 1 Jul 2020 18:38:04 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05C21D959; Wed, 1 Jul 2020 18:38:04 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 061Ic3Gg008732; Wed, 1 Jul 2020 18:38:03 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 061Ic2qY008722; Wed, 1 Jul 2020 18:38:02 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <202007011838.061Ic2qY008722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Wed, 1 Jul 2020 18:38:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540988 - in head: . net net/rpki-client X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: in head: . net net/rpki-client X-SVN-Commit-Revision: 540988 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2020 18:38:04 -0000 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@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 + +.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 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 +@dir(%%USERS%%,,0755) /var/cache/rpki-client +@dir(%%USERS%%,,0755) /var/db/rpki-client