diff options
author | Will Andrews <will@FreeBSD.org> | 2001-01-01 08:28:28 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-01-01 08:28:28 +0000 |
commit | da414b19266a37478874f76e4e2c0e474af70169 (patch) | |
tree | c52343d56926aed592f3ce395cd6481f22a92be1 /www | |
parent | b82d76b58c65a467468485555a79e10868008a2b (diff) | |
download | ports-da414b19266a37478874f76e4e2c0e474af70169.tar.gz ports-da414b19266a37478874f76e4e2c0e474af70169.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Apache-AuthCookie/Makefile | 29 | ||||
-rw-r--r-- | www/p5-Apache-AuthCookie/distinfo | 1 | ||||
-rw-r--r-- | www/p5-Apache-AuthCookie/files/patch-Makefile.PL | 33 | ||||
-rw-r--r-- | www/p5-Apache-AuthCookie/pkg-comment | 1 | ||||
-rw-r--r-- | www/p5-Apache-AuthCookie/pkg-descr | 7 | ||||
-rw-r--r-- | www/p5-Apache-AuthCookie/pkg-plist | 4 |
7 files changed, 76 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 6bc0cb1566fb..19163b4cb790 100644 --- a/www/Makefile +++ b/www/Makefile @@ -131,6 +131,7 @@ SUBDIR += oops SUBDIR += p5-Apache SUBDIR += p5-Apache-ASP + SUBDIR += p5-Apache-AuthCookie SUBDIR += p5-Apache-DBI SUBDIR += p5-Apache-Peek SUBDIR += p5-Apache-Radius 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 |