aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-09-17 23:55:53 +0800
committerpav <pav@FreeBSD.org>2009-09-17 23:55:53 +0800
commit62e6dc9f45d50d1ea8710806609c716ba4875374 (patch)
tree8325923ae5905c65a620f84196b8c6f2317cd05f
parent2e1544fd38316bb7bc9331d4c37dc4f79af13ee3 (diff)
downloadfreebsd-ports-gnome-62e6dc9f45d50d1ea8710806609c716ba4875374.tar.gz
freebsd-ports-gnome-62e6dc9f45d50d1ea8710806609c716ba4875374.tar.zst
freebsd-ports-gnome-62e6dc9f45d50d1ea8710806609c716ba4875374.zip
Net::Radius::Server provides an extensible framework to create RADIUS
servers suitable for non-standard scenarios where authentication needs to consider multiple factors. The RADIUS responses may be created by arbitrarily complex rules that process the request packet as well as any external data accessible to Perl. WWW: http://search.cpan.org/dist/Net-Radius-Server/ PR: ports/138164 Submitted by: Gea-Suan Lin <gslin@gslin.org> Feature safe: yes
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Net-Radius-Server/Makefile45
-rw-r--r--security/p5-Net-Radius-Server/distinfo3
-rw-r--r--security/p5-Net-Radius-Server/pkg-descr7
-rw-r--r--security/p5-Net-Radius-Server/pkg-plist26
5 files changed, 82 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a608f68c5d4d..1132b39d1e8e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -513,6 +513,7 @@
SUBDIR += p5-Net-Daemon-SSL
SUBDIR += p5-Net-OpenID-JanRain
SUBDIR += p5-Net-OpenID-Server
+ SUBDIR += p5-Net-Radius-Server
SUBDIR += p5-Net-SAML
SUBDIR += p5-Net-SSLeay
SUBDIR += p5-Net-Server-Mail-ESMTP-AUTH
diff --git a/security/p5-Net-Radius-Server/Makefile b/security/p5-Net-Radius-Server/Makefile
new file mode 100644
index 000000000000..dc214d8e57db
--- /dev/null
+++ b/security/p5-Net-Radius-Server/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: p5-Net-Radius-Server
+# Date created: 2009-08-25
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Radius-Server
+PORTVERSION= 1.004
+CATEGORIES= security perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Framework for RADIUS Servers
+
+RUN_DEPENDS= p5-Authen-PAM>=0:${PORTSDIR}/security/p5-Authen-PAM \
+ p5-Class-Accessor>=0.27:${PORTSDIR}/devel/p5-Class-Accessor \
+ p5-IO-Prompt>=0:${PORTSDIR}/devel/p5-IO-Prompt \
+ p5-Net-Radius>=1.52:${PORTSDIR}/net/p5-Net-Radius \
+ p5-Net-Server>=0.94:${PORTSDIR}/net/p5-Net-Server \
+ p5-NetAddr-IP>=4:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
+ p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap
+
+PERL_CONFIGURE= yes
+
+MAN1= nrsd.1 \
+ pam-client.1 \
+ rad-client.1
+MAN3= Net::Radius::Server.3 \
+ Net::Radius::Server::Base.3 \
+ Net::Radius::Server::Dump.3 \
+ Net::Radius::Server::Match.3 \
+ Net::Radius::Server::Match::LDAP.3 \
+ Net::Radius::Server::Match::Simple.3 \
+ Net::Radius::Server::NS.3 \
+ Net::Radius::Server::PAM.3 \
+ Net::Radius::Server::Rule.3 \
+ Net::Radius::Server::Set.3 \
+ Net::Radius::Server::Set::Proxy.3 \
+ Net::Radius::Server::Set::Replace.3 \
+ Net::Radius::Server::Set::Simple.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Net-Radius-Server/distinfo b/security/p5-Net-Radius-Server/distinfo
new file mode 100644
index 000000000000..598fa5b323c6
--- /dev/null
+++ b/security/p5-Net-Radius-Server/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-Radius-Server-1.004.tar.gz) = 632feb1b814a69760536ca6b6611fdf4
+SHA256 (Net-Radius-Server-1.004.tar.gz) = b3bc2a0277df4c7e820c762fa1ecde339099da0d5983cd6c1b257cd9baf6ffa4
+SIZE (Net-Radius-Server-1.004.tar.gz) = 39869
diff --git a/security/p5-Net-Radius-Server/pkg-descr b/security/p5-Net-Radius-Server/pkg-descr
new file mode 100644
index 000000000000..01cffbe0318b
--- /dev/null
+++ b/security/p5-Net-Radius-Server/pkg-descr
@@ -0,0 +1,7 @@
+Net::Radius::Server provides an extensible framework to create RADIUS
+servers suitable for non-standard scenarios where authentication
+needs to consider multiple factors. The RADIUS responses may be
+created by arbitrarily complex rules that process the request packet
+as well as any external data accessible to Perl.
+
+WWW: http://search.cpan.org/dist/Net-Radius-Server/
diff --git a/security/p5-Net-Radius-Server/pkg-plist b/security/p5-Net-Radius-Server/pkg-plist
new file mode 100644
index 000000000000..42baa3b2da27
--- /dev/null
+++ b/security/p5-Net-Radius-Server/pkg-plist
@@ -0,0 +1,26 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Radius/Server/.packlist
+%%SITE_PERL%%/Net/Radius/Server.pm
+%%SITE_PERL%%/Net/Radius/Server/Base.pm
+%%SITE_PERL%%/Net/Radius/Server/Dump.pm
+%%SITE_PERL%%/Net/Radius/Server/Match.pm
+%%SITE_PERL%%/Net/Radius/Server/Match/LDAP.pm
+%%SITE_PERL%%/Net/Radius/Server/Match/Simple.pm
+%%SITE_PERL%%/Net/Radius/Server/NS.pm
+%%SITE_PERL%%/Net/Radius/Server/PAM.pm
+%%SITE_PERL%%/Net/Radius/Server/Rule.pm
+%%SITE_PERL%%/Net/Radius/Server/Set.pm
+%%SITE_PERL%%/Net/Radius/Server/Set/Proxy.pm
+%%SITE_PERL%%/Net/Radius/Server/Set/Replace.pm
+%%SITE_PERL%%/Net/Radius/Server/Set/Simple.pm
+bin/nrsd
+bin/pam-client
+bin/rad-client
+@dirrmtry %%SITE_PERL%%/Net/Radius/Server/Set
+@dirrmtry %%SITE_PERL%%/Net/Radius/Server/Match
+@dirrmtry %%SITE_PERL%%/Net/Radius/Server
+@dirrmtry %%SITE_PERL%%/Net/Radius
+@dirrmtry %%SITE_PERL%%/Net
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Radius/Server
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Radius
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net