aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-03-05 01:14:38 +0800
committermiwi <miwi@FreeBSD.org>2011-03-05 01:14:38 +0800
commit8af0fb057a335752e32d8dc0e040b97a09ad0b54 (patch)
treeac4287ffceb4b53ac932908a0bddf969eeeacf2b /security
parent8ee772ebd6f8613482e2750c8e5ea2e976da1aff (diff)
downloadfreebsd-ports-gnome-8af0fb057a335752e32d8dc0e040b97a09ad0b54.tar.gz
freebsd-ports-gnome-8af0fb057a335752e32d8dc0e040b97a09ad0b54.tar.zst
freebsd-ports-gnome-8af0fb057a335752e32d8dc0e040b97a09ad0b54.zip
The OpenVPN Radius Plugin provides RADIUS authentication
and accounting support for OpenVPN. WWW: http://www.nongnu.org/radiusplugin/index.html PR: ports/155259 Submitted by: Mikhail T. <m.tsatsenko at gmail.com>
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/openvpn-auth-radius/Makefile46
-rw-r--r--security/openvpn-auth-radius/distinfo2
-rw-r--r--security/openvpn-auth-radius/pkg-descr4
4 files changed, 53 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 8bd48a99370a..a946a099d87f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -352,6 +352,7 @@
SUBDIR += openvpn
SUBDIR += openvpn-admin
SUBDIR += openvpn-auth-ldap
+ SUBDIR += openvpn-auth-radius
SUBDIR += openvpn-beta
SUBDIR += openvpn-devel
SUBDIR += openvpn20
diff --git a/security/openvpn-auth-radius/Makefile b/security/openvpn-auth-radius/Makefile
new file mode 100644
index 000000000000..42c748bf6f51
--- /dev/null
+++ b/security/openvpn-auth-radius/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: security/openvpn-auth-radius
+# Date created: 2011-03-04
+# Whom: Mikhail T. <m.tsatsenko@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= openvpn-auth-radius
+PORTVERSION= 2.1
+CATEGORIES= security
+MASTER_SITES= http://www.nongnu.org/radiusplugin/ \
+ http://svn-cache.ipcopaddons.org/
+DISTNAME= radiusplugin_v${PORTVERSION}
+
+MAINTAINER= m.tsatsenko@gmail.com
+COMMENT= RADIUS authentication plugin for OpenVPN
+
+RUN_DEPENDS= openvpn:${PORTSDIR}/security/openvpn
+LIB_DEPENDS= gcrypt.17:${PORTSDIR}/security/libgcrypt
+
+LICENCE= GPLv2
+
+USE_GMAKE= yes
+MAKEFILE= Makefile.bsd
+WRKSRC= ${WRKDIR}/radiusplugin
+
+PORTDOCS= README
+PORTEXAMPLES= radiusplugin.cnf
+PLIST_FILES= lib/radiusplugin.so
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/radiusplugin.so ${LOCALBASE}/lib
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/radiusplugin.cnf ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/openvpn-auth-radius/distinfo b/security/openvpn-auth-radius/distinfo
new file mode 100644
index 000000000000..4c949bdadbf9
--- /dev/null
+++ b/security/openvpn-auth-radius/distinfo
@@ -0,0 +1,2 @@
+SHA256 (radiusplugin_v2.1.tar.gz) = d858e9c26a2f71390ca2c0229eb3205fbe407876a6efda3f30433d20044ace88
+SIZE (radiusplugin_v2.1.tar.gz) = 239270
diff --git a/security/openvpn-auth-radius/pkg-descr b/security/openvpn-auth-radius/pkg-descr
new file mode 100644
index 000000000000..a59118ec8b5a
--- /dev/null
+++ b/security/openvpn-auth-radius/pkg-descr
@@ -0,0 +1,4 @@
+The OpenVPN Radius Plugin provides RADIUS authentication
+and accounting support for OpenVPN.
+
+WWW: http://www.nongnu.org/radiusplugin/index.html