aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-Radius
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-09-21 02:28:18 +0800
committersheldonh <sheldonh@FreeBSD.org>1999-09-21 02:28:18 +0800
commit3b273f739e7f496827ed219ca910560ea08c4007 (patch)
tree0c9062f606128b38750e3e48bbbd6d2b16ca4a07 /www/p5-Apache-Radius
parent97c2f6f14c922463282448aa7f2ba742bd2c649c (diff)
downloadfreebsd-ports-gnome-3b273f739e7f496827ed219ca910560ea08c4007.tar.gz
freebsd-ports-gnome-3b273f739e7f496827ed219ca910560ea08c4007.tar.zst
freebsd-ports-gnome-3b273f739e7f496827ed219ca910560ea08c4007.zip
Import p5-Apache-Radius, a loadable mod_perl module which provides
RADIUS authentication capabilities to the Apache web server.
Diffstat (limited to 'www/p5-Apache-Radius')
-rw-r--r--www/p5-Apache-Radius/Makefile27
-rw-r--r--www/p5-Apache-Radius/distinfo1
-rw-r--r--www/p5-Apache-Radius/files/patch-aa11
-rw-r--r--www/p5-Apache-Radius/pkg-comment1
-rw-r--r--www/p5-Apache-Radius/pkg-descr2
-rw-r--r--www/p5-Apache-Radius/pkg-plist2
6 files changed, 44 insertions, 0 deletions
diff --git a/www/p5-Apache-Radius/Makefile b/www/p5-Apache-Radius/Makefile
new file mode 100644
index 000000000000..2d0d45c1c4b5
--- /dev/null
+++ b/www/p5-Apache-Radius/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-Apache-Radius
+# Version required: 0.3
+# Date created: Mon 20 Sep 19:46:21 SAST 1999
+# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= Apache-AuthenRadius-0.3
+PKGNAME= p5-Apache-Radius-0.3
+CATEGORIES= www security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Apache
+
+MAINTAINER= sheldonh@FreeBSD.org
+
+BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Authen/Radius.pm:${PORTSDIR}/security/p5-Authen-Radius
+
+USE_PERL5= YES
+
+MAN3= Apache::AuthenRadius.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/www/p5-Apache-Radius/distinfo b/www/p5-Apache-Radius/distinfo
new file mode 100644
index 000000000000..61d082ecf0b5
--- /dev/null
+++ b/www/p5-Apache-Radius/distinfo
@@ -0,0 +1 @@
+MD5 (Apache-AuthenRadius-0.3.tar.gz) = 82f377e0051fd846564f3b3be2e1191f
diff --git a/www/p5-Apache-Radius/files/patch-aa b/www/p5-Apache-Radius/files/patch-aa
new file mode 100644
index 000000000000..307c4fd128ba
--- /dev/null
+++ b/www/p5-Apache-Radius/files/patch-aa
@@ -0,0 +1,11 @@
+--- AuthenRadius.pm.orig Sun Aug 1 00:14:23 1999
++++ AuthenRadius.pm Mon Sep 20 20:05:38 1999
+@@ -37,7 +37,7 @@
+ my $timeout = $r->dir_config("Auth_Radius_timeout") || 5;
+
+ # Sanity for usernames and passwords.
+- if (length $user > 64 or $user =~ /[^A-Za-z0-9]/) {
++ if (length $user > 64 or $user =~ /[^A-Za-z0-9@._-]/) {
+ $r->log_reason("Apache::AuthenRadius username too long or"
+ ."contains illegal characters", $r->uri);
+ $r->note_basic_auth_failure;
diff --git a/www/p5-Apache-Radius/pkg-comment b/www/p5-Apache-Radius/pkg-comment
new file mode 100644
index 000000000000..c9129ebecf8e
--- /dev/null
+++ b/www/p5-Apache-Radius/pkg-comment
@@ -0,0 +1 @@
+A perl5 module for providing RADIUS authentication in Apache+mod_perl
diff --git a/www/p5-Apache-Radius/pkg-descr b/www/p5-Apache-Radius/pkg-descr
new file mode 100644
index 000000000000..73d83df48af1
--- /dev/null
+++ b/www/p5-Apache-Radius/pkg-descr
@@ -0,0 +1,2 @@
+Apache::AuthenRadius is a loadable perl5 module which provides
+RADIUS authentication to a mod_perl-enabled Apache web server.
diff --git a/www/p5-Apache-Radius/pkg-plist b/www/p5-Apache-Radius/pkg-plist
new file mode 100644
index 000000000000..e7236a0ae889
--- /dev/null
+++ b/www/p5-Apache-Radius/pkg-plist
@@ -0,0 +1,2 @@
+lib/perl5/site_perl/%%PERL_VER%%/Apache/AuthenRadius.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/AuthenRadius/.packlist