1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

radsecproxy is a generic RADIUS proxy that in addition to to usual RADIUS

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: http://software.uninett.no/radsecproxy/

PR:		ports/147943
Submitted by:	Honza Betik <honza@betik.cz>
Approved by:	bapt (mentor)
This commit is contained in:
Eitan Adler 2011-10-26 18:44:49 +00:00
parent 981d8c5f36
commit be916c23ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284382
6 changed files with 89 additions and 0 deletions

View File

@ -910,6 +910,7 @@
SUBDIR += radiusclient
SUBDIR += radiusd-cistron
SUBDIR += radreport
SUBDIR += radsecproxy
SUBDIR += radvd
SUBDIR += raggle
SUBDIR += rdesktop

31
net/radsecproxy/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: radsecproxy
# Date created: 2011-10-25
# Whom: Honza Betik
#
# $FreeBSD$
PORTNAME= radsecproxy
PORTVERSION= 1.4.2
CATEGORIES= net
MASTER_SITES= http://software.uninett.no/radsecproxy/
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= Radsecproxy is a generic RADIUS proxy
LICENSE= GPLv2 BSD
LICENSE_COMB= dual
MAN1= radsecproxy.1
MAN5= radsecproxy.conf.5
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/radsecproxy ${PREFIX}/bin/catgconf
${INSTALL_PROGRAM} ${WRKSRC}/radsecproxy ${PREFIX}/sbin/radsecproxy
${INSTALL_DATA} ${WRKSRC}/radsecproxy.conf-example ${PREFIX}/etc/radsecproxy.conf-example
${INSTALL_MAN} ${WRKSRC}/radsecproxy.1 ${PREFIX}/man/man1/radsecproxy.1
${INSTALL_MAN} ${WRKSRC}/radsecproxy.conf.5 ${PREFIX}/man/man5/radsecproxy.conf.5
${INSTALL_DATA} ${WRKSRC}/radsecproxy.conf-example ${PREFIX}/etc/radsecproxy.conf-example
.include <bsd.port.mk>

2
net/radsecproxy/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (radsecproxy-1.4.2.tar.gz) = 76f2db133c22883bd87bd0c6f2c258c14d7c01751845d425abb4a1599401757e
SIZE (radsecproxy-1.4.2.tar.gz) = 188224

View File

@ -0,0 +1,46 @@
#!/bin/sh
# PROVIDE: radsecproxy
# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# radsecproxy_enable (bool): Set to NO by default.
# Set it to YES to enable radsecproxy.
. /etc/rc.subr
name="radsecproxy"
rcvar=`set_rcvar`
: ${radsecproxy_enable:="NO"}
: ${radsecproxy_user:="nobody"}
: ${radsecproxy_group:="nobody"}
: ${radsecproxy_pidfile:="/var/run/radsecproxy/radsecproxy.pid"}
user=${radsecproxy_user}
group=${radsecproxy_group}
pidfile=${radsecproxy_pidfile}
required_files=%%PREFIX%%/etc/radsecproxy.conf
command="%%PREFIX%%/sbin/${name}"
command_args="-c %%PREFIX%%/etc/radsecproxy.conf -i ${pidfile}"
start_precmd="radsecproxy_prestart"
stop_postcmd="radsecproxy_poststop"
radsecproxy_prestart()
{
mkdir -p $(dirname $pidfile)
chown ${user}:${group} $(dirname $pidfile)
}
radsecproxy_poststop()
{
rm -f ${pidfile}
}
load_rc_config $name
run_rc_command "$1"

View File

@ -0,0 +1,6 @@
radsecproxy is a generic RADIUS proxy that in addition to to usual RADIUS
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: http://software.uninett.no/radsecproxy/

View File

@ -0,0 +1,3 @@
bin/catgconf
sbin/radsecproxy
etc/radsecproxy.conf-example