From c6109401716d2a80c371e8e5d4f92e63849d1783 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 1 Jan 2001 08:28:28 +0000 Subject: Add p5-Apache-AuthCookie 2.011, a perl module to provide custom forms for reauthentication. --- www/p5-Apache-AuthCookie/Makefile | 29 +++++++++++++++++++++ www/p5-Apache-AuthCookie/distinfo | 1 + www/p5-Apache-AuthCookie/files/patch-Makefile.PL | 33 ++++++++++++++++++++++++ www/p5-Apache-AuthCookie/pkg-comment | 1 + www/p5-Apache-AuthCookie/pkg-descr | 7 +++++ www/p5-Apache-AuthCookie/pkg-plist | 4 +++ 6 files changed, 75 insertions(+) create mode 100644 www/p5-Apache-AuthCookie/Makefile create mode 100644 www/p5-Apache-AuthCookie/distinfo create mode 100644 www/p5-Apache-AuthCookie/files/patch-Makefile.PL create mode 100644 www/p5-Apache-AuthCookie/pkg-comment create mode 100644 www/p5-Apache-AuthCookie/pkg-descr create mode 100644 www/p5-Apache-AuthCookie/pkg-plist (limited to 'www/p5-Apache-AuthCookie') 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 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} = ); +@@ -32,7 +38,7 @@ + print "Port to run tests under [$default]: "; + chomp ($conf{port} = ); + $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 -- cgit