index net/radsecproxy/Makefile --- net/radsecproxy/Makefile +++ net/radsecproxy/Makefile @@ -2,9 +2,9 @@ # $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 @@ -12,20 +12,20 @@ COMMENT= Radsecproxy is a generic RADIUS proxy LICENSE= GPLv2 BSD3CLAUSE LICENSE_COMB= dual -USES= cpe tar:xz ssl -CPE_VENDOR= nordunet +LIB_DEPENDS= libnettle.so:security/nettle + +USES= cpe tar:tgz ssl autoreconf + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes +USE_GITHUB= yes USE_RC_SUBR= ${PORTNAME} CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} .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} ${INSTALL_DATA} ${WRKSRC}/radsecproxy.conf-example \ index net/radsecproxy/distinfo --- net/radsecproxy/distinfo +++ net/radsecproxy/distinfo @@ -1,3 +1,3 @@ TIMESTAMP = 1498780490 -SHA256 (radsecproxy-1.6.8.tar.xz) = 823ebee37c88974db93485ab67c449bc9fcd45117683f57d83b36e6bf16b6a8f -SIZE (radsecproxy-1.6.8.tar.xz) = 159928 +SHA256 (radsecproxy-radsecproxy-1.8.0_GH0.tar.gz) = 6b0316055b76001743c8f2c94e878979c76aea4c9327199f26ba74abba354d37 +SIZE (radsecproxy-radsecproxy-1.8.0_GH0.tar.gz) = 109914 new file mode 100644 index net/radsecproxy/files/patch-radsecproxy.conf-example --- /dev/null +++ net/radsecproxy/files/patch-radsecproxy.conf-example @@ -0,0 +1,25 @@ +--- radsecproxy.conf-example.orig 2019-09-06 22:57:21 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 new file mode 100644 index net/radsecproxy/files/patch-rewrite.c --- /dev/null +++ net/radsecproxy/files/patch-rewrite.c @@ -0,0 +1,10 @@ +--- rewrite.c.orig 2019-09-06 16:34:45 UTC ++++ rewrite.c +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + #include "debug.h" + #include "gconfig.h" + #include "hash.h" index net/radsecproxy/pkg-descr --- net/radsecproxy/pkg-descr +++ net/radsecproxy/pkg-descr @@ -3,4 +3,4 @@ UDP transport, also supports TLS (RadSec), as well as RADIUS over TCP and 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 index net/radsecproxy/pkg-plist --- net/radsecproxy/pkg-plist +++ net/radsecproxy/pkg-plist @@ -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