summaryrefslogtreecommitdiff
path: root/www/p5-Apache-AuthCookie
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-09-02 06:19:57 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-09-02 06:19:57 +0000
commitc5aad18587a6352cf8b43b2a520a5f1a874659ae (patch)
tree0b7b65fd8af5680ae411a9ba0bcf583b977db04f /www/p5-Apache-AuthCookie
parent- Update to 0.07 (diff)
Update to 3.05
Build with mode_perl2 PR: ports/63856 Submitted by: Alex Varju <varju (at) webct.com>
Notes
Notes: svn path=/head/; revision=117895
Diffstat (limited to 'www/p5-Apache-AuthCookie')
-rw-r--r--www/p5-Apache-AuthCookie/Makefile13
-rw-r--r--www/p5-Apache-AuthCookie/distinfo4
-rw-r--r--www/p5-Apache-AuthCookie/files/patch-t::lib::Apache::test.pm10
3 files changed, 11 insertions, 16 deletions
diff --git a/www/p5-Apache-AuthCookie/Makefile b/www/p5-Apache-AuthCookie/Makefile
index 567ef1d352c7..171ae8d2d202 100644
--- a/www/p5-Apache-AuthCookie/Makefile
+++ b/www/p5-Apache-AuthCookie/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Apache-AuthCookie
-PORTVERSION= 3.04
+PORTVERSION= 3.05
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
@@ -15,9 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A perl module to provide custom forms for reauthentication
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
- ${APXS}:${PORTSDIR}/${APACHE_PORT}
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT}
+.if defined(WITH_MODPERL2)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2
+.else
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+.endif
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test
CURUSER?= `whoami`
CURGRP?= `groups | ${AWK} '{print $$1}'`
diff --git a/www/p5-Apache-AuthCookie/distinfo b/www/p5-Apache-AuthCookie/distinfo
index f85de76d6731..218c9bce06a3 100644
--- a/www/p5-Apache-AuthCookie/distinfo
+++ b/www/p5-Apache-AuthCookie/distinfo
@@ -1,2 +1,2 @@
-MD5 (Apache-AuthCookie-3.04.tar.gz) = 7bf9d7b7cc74f22d48c4f598adcd3bfb
-SIZE (Apache-AuthCookie-3.04.tar.gz) = 29851
+MD5 (Apache-AuthCookie-3.05.tar.gz) = 4288575a1eedb52b2fb774324cd63ec8
+SIZE (Apache-AuthCookie-3.05.tar.gz) = 31025
diff --git a/www/p5-Apache-AuthCookie/files/patch-t::lib::Apache::test.pm b/www/p5-Apache-AuthCookie/files/patch-t::lib::Apache::test.pm
index 72a281022116..e69de29bb2d1 100644
--- a/www/p5-Apache-AuthCookie/files/patch-t::lib::Apache::test.pm
+++ b/www/p5-Apache-AuthCookie/files/patch-t::lib::Apache::test.pm
@@ -1,10 +0,0 @@
---- t/lib/Apache/test.pm.orig Sun Mar 25 20:35:03 2001
-+++ t/lib/Apache/test.pm Fri Jun 6 05:14:49 2003
-@@ -102,6 +102,7 @@
-
- sub get_test_params {
- my $pkg = shift;
-+return;
-
- print("\nFor testing purposes, please give the full path to an httpd\n",
- "with mod_perl enabled. The path defaults to \$ENV{APACHE}, if present.");