From owner-svn-ports-head@freebsd.org Tue Sep 24 17:53:10 2019 Return-Path: Delivered-To: svn-ports-head@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 8E9F612CD62; Tue, 24 Sep 2019 17:53:10 +0000 (UTC) (envelope-from swills@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) server-signature RSA-PSS (4096 bits) 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 46d81L3GKqz3Hry; Tue, 24 Sep 2019 17:53:10 +0000 (UTC) (envelope-from swills@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 536772FFA; Tue, 24 Sep 2019 17:53:10 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8OHrAnr027046; Tue, 24 Sep 2019 17:53:10 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8OHr89t027039; Tue, 24 Sep 2019 17:53:08 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201909241753.x8OHr89t027039@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 24 Sep 2019 17:53:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512735 - in head/net/radsecproxy: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/net/radsecproxy: . files X-SVN-Commit-Revision: 512735 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2019 17:53:10 -0000 Author: swills Date: Tue Sep 24 17:53:08 2019 New Revision: 512735 URL: https://svnweb.freebsd.org/changeset/ports/512735 Log: net/radsecproxy: Update to 1.8.0, Remove BROKEN (on 12/13) PR: 240382 Submitted by: Jørn Åne de Jong Approved by: m.tsatsenko@gmail.com (maintainer) Added: head/net/radsecproxy/files/patch-dtls.c (contents, props changed) head/net/radsecproxy/files/patch-radsecproxy.conf-example (contents, props changed) head/net/radsecproxy/files/patch-rewrite.c (contents, props changed) Modified: head/net/radsecproxy/Makefile (contents, props changed) head/net/radsecproxy/distinfo (contents, props changed) head/net/radsecproxy/pkg-descr (contents, props changed) head/net/radsecproxy/pkg-plist (contents, props changed) Modified: head/net/radsecproxy/Makefile ============================================================================== --- head/net/radsecproxy/Makefile Tue Sep 24 17:47:13 2019 (r512734) +++ head/net/radsecproxy/Makefile Tue Sep 24 17:53:08 2019 (r512735) @@ -2,29 +2,26 @@ # $FreeBSD$ PORTNAME= radsecproxy -PORTVERSION= 1.6.8 +PORTVERSION= 1.8.0 CATEGORIES= net -MASTER_SITES= https://software.nordu.net/radsecproxy/ +MASTER_SITES= GH MAINTAINER= m.tsatsenko@gmail.com COMMENT= Radsecproxy is a generic RADIUS proxy -LICENSE= GPLv2 BSD3CLAUSE -LICENSE_COMB= dual +LICENSE= BSD3CLAUSE -USES= cpe tar:xz ssl -CPE_VENDOR= nordunet +LIB_DEPENDS= libnettle.so:security/nettle +USES= autoreconf cpe localbase:ldflags ssl tar:tgz + GNU_CONFIGURE= yes +USE_GITHUB= yes USE_RC_SUBR= ${PORTNAME} CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} +CPE_VENDOR= switch .include - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= incomplete definition of type 'struct ssl_st' -BROKEN_FreeBSD_13= incomplete definition of type 'struct ssl_st' -.endif post-install: ${MAKE} install-man -C ${WRKSRC} ${MAKE_ARGS} Modified: head/net/radsecproxy/distinfo ============================================================================== --- head/net/radsecproxy/distinfo Tue Sep 24 17:47:13 2019 (r512734) +++ head/net/radsecproxy/distinfo Tue Sep 24 17:53:08 2019 (r512735) @@ -1,3 +1,3 @@ -TIMESTAMP = 1498780490 -SHA256 (radsecproxy-1.6.8.tar.xz) = 823ebee37c88974db93485ab67c449bc9fcd45117683f57d83b36e6bf16b6a8f -SIZE (radsecproxy-1.6.8.tar.xz) = 159928 +TIMESTAMP = 1567862289 +SHA256 (radsecproxy-radsecproxy-1.8.0_GH0.tar.gz) = 6b0316055b76001743c8f2c94e878979c76aea4c9327199f26ba74abba354d37 +SIZE (radsecproxy-radsecproxy-1.8.0_GH0.tar.gz) = 109914 Added: head/net/radsecproxy/files/patch-dtls.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radsecproxy/files/patch-dtls.c Tue Sep 24 17:53:08 2019 (r512735) @@ -0,0 +1,11 @@ +--- dtls.c.orig 2019-07-04 06:42:58 UTC ++++ dtls.c +@@ -491,7 +491,7 @@ void *dtlslistener(void *arg) { + BIO_set_fd(SSL_get_rbio(conf->tlsconf->dtlssslprep), s, BIO_NOCLOSE); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if (OPENSSL_VERSION_NUMBER < 0x10100000) || defined(LIBRESSL_VERSION_NUMBER) + if(DTLSv1_listen(conf->tlsconf->dtlssslprep, &from) > 0) { + #else + if(DTLSv1_listen(conf->tlsconf->dtlssslprep, (BIO_ADDR *)&from) > 0) { Added: head/net/radsecproxy/files/patch-radsecproxy.conf-example ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radsecproxy/files/patch-radsecproxy.conf-example Tue Sep 24 17:53:08 2019 (r512735) @@ -0,0 +1,25 @@ +--- radsecproxy.conf-example.orig 2019-07-04 06:42:58 UTC ++++ radsecproxy.conf-example +@@ -1,4 +1,4 @@ +-# Master config file, must be in /usr/local/etc/radsecproxy or specified with -c option ++# Master config file, /usr/local/etc/radsecproxy.conf or specified with -c option + # All possible config options are listed below + + # First you may define any global options, these are: +@@ -91,12 +91,12 @@ + tls default { + # You must specify at least one of CACertificateFile or CACertificatePath + # for TLS to work. We always verify peer certificate (client and server) +- # CACertificateFile /etc/cacerts/CA.pem +- CACertificatePath /etc/cacerts ++ # CACertificateFile /usr/local/etc/ssl/CA.pem ++ CACertificatePath /usr/local/etc/ssl/cacerts + + # You must specify the below for TLS, we always present our certificate +- CertificateFile /etc/hostcertkey/host.example.com.pem +- CertificateKeyFile /etc/hostcertkey/host.example.com.key.pem ++ CertificateFile /usr/local/etc/ssl/host.example.com.pem ++ CertificateKeyFile /usr/local/etc/ssl/host.example.com.key.pem + # Optionally specify password if key is encrypted (not very secure) + CertificateKeyPassword "follow the white rabbit" + # Optionally enable CRL checking Added: head/net/radsecproxy/files/patch-rewrite.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radsecproxy/files/patch-rewrite.c Tue Sep 24 17:53:08 2019 (r512735) @@ -0,0 +1,10 @@ +--- rewrite.c.orig 2019-07-04 06:42:58 UTC ++++ rewrite.c +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + #include "debug.h" + #include "gconfig.h" + #include "hash.h" Modified: head/net/radsecproxy/pkg-descr ============================================================================== --- head/net/radsecproxy/pkg-descr Tue Sep 24 17:47:13 2019 (r512734) +++ head/net/radsecproxy/pkg-descr Tue Sep 24 17:53:08 2019 (r512735) @@ -3,4 +3,4 @@ UDP transport, also supports TLS (RadSec), as well as DTLS. The aim is for the proxy to have sufficient features to be flexible, while at the same time to be small, efficient and easy to configure. -WWW: https://software.nordu.net/radsecproxy/ +WWW: https://radsecproxy.github.io Modified: head/net/radsecproxy/pkg-plist ============================================================================== --- head/net/radsecproxy/pkg-plist Tue Sep 24 17:47:13 2019 (r512734) +++ head/net/radsecproxy/pkg-plist Tue Sep 24 17:53:08 2019 (r512735) @@ -1,4 +1,5 @@ bin/radsecproxy-conf +bin/radsecproxy-hash etc/radsecproxy.conf-example man/man1/radsecproxy-hash.1.gz man/man1/radsecproxy.1.gz