aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-AuthCookie
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-01 16:28:28 +0800
committerwill <will@FreeBSD.org>2001-01-01 16:28:28 +0800
commitc6109401716d2a80c371e8e5d4f92e63849d1783 (patch)
treeedefd01fc0978b8c36df086e5d871c10bf5d2f10 /www/p5-Apache-AuthCookie
parent88476615f9cc89b4a84f02b52cdbfea76e132967 (diff)
downloadfreebsd-ports-gnome-c6109401716d2a80c371e8e5d4f92e63849d1783.tar.gz
freebsd-ports-gnome-c6109401716d2a80c371e8e5d4f92e63849d1783.tar.zst
freebsd-ports-gnome-c6109401716d2a80c371e8e5d4f92e63849d1783.zip
Add p5-Apache-AuthCookie 2.011, a perl module to provide custom forms for
reauthentication.
Diffstat (limited to 'www/p5-Apache-AuthCookie')
-rw-r--r--www/p5-Apache-AuthCookie/Makefile29
-rw-r--r--www/p5-Apache-AuthCookie/distinfo1
-rw-r--r--www/p5-Apache-AuthCookie/files/patch-Makefile.PL33
-rw-r--r--www/p5-Apache-AuthCookie/pkg-comment1
-rw-r--r--www/p5-Apache-AuthCookie/pkg-descr7
-rw-r--r--www/p5-Apache-AuthCookie/pkg-plist4
6 files changed, 75 insertions, 0 deletions
diff --git a/www/p5-Apache-AuthCookie/Makefile b/www/p5-Apache-AuthCookie/Makefile
new file mode 100644
index 000000000000..7ebdb66983f5
--- /dev/null
+++ b/www/p5-Apache-AuthCookie/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Apache-AuthCookie
+# Date created: Sun Dec 31 19:55:36 2000
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= Apache-AuthCookie
+PORTVERSION= 2.011
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Apache
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+CURUSER?= `whoami`
+CURGRP?= `groups | awk '{print $1}'`
+TESTPORT?= 8228
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+CONFIGURE_ENV+= APACHE="${PREFIX}/sbin/apache" \
+ TESTUSER="${CURUSER}" \
+ TESTGRP="${CURGRP}" \
+ TESTPORT="${TESTPORT}"
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/www/p5-Apache-AuthCookie/distinfo b/www/p5-Apache-AuthCookie/distinfo
new file mode 100644
index 000000000000..3786fec690c6
--- /dev/null
+++ b/www/p5-Apache-AuthCookie/distinfo
@@ -0,0 +1 @@
+MD5 (Apache-AuthCookie-2.011.tar.gz) = b4617ac3ed237e2ae5123e9c7756fc82
diff --git a/www/p5-Apache-AuthCookie/files/patch-Makefile.PL b/www/p5-Apache-AuthCookie/files/patch-Makefile.PL
new file mode 100644
index 000000000000..8bb7a67c0794
--- /dev/null
+++ b/www/p5-Apache-AuthCookie/files/patch-Makefile.PL
@@ -0,0 +1,33 @@
+--- Makefile.PL Sat Apr 15 10:15:32 2000
++++ Makefile.PL.new Mon Jan 1 02:51:49 2001
+@@ -4,14 +4,20 @@
+
+ my $default = $ENV{'APACHE'} || '/usr/lib/httpd/httpd';
+ $|=1;
++if ("" ne "") {
+ print("\nFor testing purposes, please give the full path to an httpd\n",
+ "with mod_perl and at least the following hooks enabled: PERL_AUTHEN,\n",
+ "PERL_AUTHZ, PERL_STACKED_HANDLERS, PERL_METHOD_HANDLERS.\n",
+ "The path defaults to \$ENV{APACHE}, if present.\n",
+ );
+-
++}
+ my %conf;
++$conf{httpd} = "/usr/local/sbin/apache"; $conf{httpd} = $ENV{'APACHE'} if ($ENV{'APACHE'} ne "");
++$conf{user} = "nobody"; $conf{user} = $ENV{'TESTUSER'} if ($ENV{'TESTUSER'} ne "");
++$conf{group} = "nobody"; $conf{group} = $ENV{'TESTGRP'} if ($ENV{'TESTGRP'} ne "");
++$conf{port} = 8228; $conf{port} = $ENV{'TESTPORT'} if ($ENV{'TESTPORT'} ne "");
+
++if ("" ne "") {
+ do {
+ print "\n [$default]: ";
+ chomp ($conf{httpd} = <STDIN>);
+@@ -32,7 +38,7 @@
+ print "Port to run tests under [$default]: ";
+ chomp ($conf{port} = <STDIN>);
+ $conf{port} ||= $default;
+-
++}
+
+ open LOC, ">t/httpd.loc" or die "can't write t/httpd.loc: $!";
+ print LOC map {"$_=$conf{$_}\n"} keys %conf;
diff --git a/www/p5-Apache-AuthCookie/pkg-comment b/www/p5-Apache-AuthCookie/pkg-comment
new file mode 100644
index 000000000000..cc43c2ea56d6
--- /dev/null
+++ b/www/p5-Apache-AuthCookie/pkg-comment
@@ -0,0 +1 @@
+A perl module to provide custom forms for reauthentication
diff --git a/www/p5-Apache-AuthCookie/pkg-descr b/www/p5-Apache-AuthCookie/pkg-descr
new file mode 100644
index 000000000000..2d602bcac243
--- /dev/null
+++ b/www/p5-Apache-AuthCookie/pkg-descr
@@ -0,0 +1,7 @@
+Apache::AuthCookie allows you to intercept a user's first
+unauthenticated access to a protected document. The user will be
+presented with a custom form where they can enter authentication
+credentials. The credentials are posted to the server where AuthCookie
+verifies them and returns a session key.
+
+--will
diff --git a/www/p5-Apache-AuthCookie/pkg-plist b/www/p5-Apache-AuthCookie/pkg-plist
new file mode 100644
index 000000000000..279d7f709202
--- /dev/null
+++ b/www/p5-Apache-AuthCookie/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/%%PERL_VERSION%%/man/man3/Apache::AuthCookie.3
+lib/perl5/site_perl/%%PERL_VER%%/Apache/AuthCookie.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/AuthCookie/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/AuthCookie