summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-03-04 17:14:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-03-04 17:14:38 +0000
commitc1a2070df6007cf1f92e9d81f09ba3c8e58cba60 (patch)
tree9047b1cb92beb5de2e0c56dd9a212d31594d7a93 /security
parent- Install the manpage regardless of NOPORTDOCS (diff)
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>
Notes
Notes: svn path=/head/; revision=270311
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