svn commit: r512735 - in head/net/radsecproxy: . files

Steve Wills swills at FreeBSD.org
Tue Sep 24 17:53:10 UTC 2019


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 <jornane at icloud.com>
  Approved by:	m.tsatsenko at 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 at 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 <bsd.port.pre.mk>
-
-.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 <stdlib.h>
+ #include <string.h>
+ #include <regex.h>
++#include <arpa/inet.h>
+ #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


More information about the svn-ports-all mailing list