summaryrefslogtreecommitdiff
path: root/www/p5-PLP/files/extra-patch-mod_perl2.pm
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 05:52:02 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 05:52:02 +0000
commit934221cca7ea9d0a328d996e66f3c8179cf06eeb (patch)
treeab05df3301e64dd79f9e5d5558253430a8570d8c /www/p5-PLP/files/extra-patch-mod_perl2.pm
parentDepend on expired sql_gui port (diff)
Bye bye abandonwares (part 5)
2011-08-08 russian/messarge: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 russian/pgp.language: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 security/ifd-gempc410: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 security/libidea: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 security/rain: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 sysutils/Tee: Has expired: No more public distfile 2011-08-08 sysutils/curly: Has expired: No more public distfiles 2011-08-08 sysutils/i855vidctl10: Has expired: No more public distfiles 2011-08-08 sysutils/ltrace: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 sysutils/rsyslog3-snmp: Has expired: unsupported upstream 2011-08-08 sysutils/xapply: Has expired: No more public distfiles 2011-08-08 textproc/asm2html: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 textproc/diff-mode.el: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 vietnamese/gtk-im-vi: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 www/campsite: Has expired: Does not work 2011-08-08 www/p5-PLP: Has expired: No more upstream, looks like an abandonware 2011-08-08 www/wcol: Has expired: Looks like an abandonware, no more public distfiles 2011-08-08 x11-toolkits/sdl_gui: Has expired: Looks like an abandonware, no more public distfiles
Notes
Notes: svn path=/head/; revision=278686
Diffstat (limited to 'www/p5-PLP/files/extra-patch-mod_perl2.pm')
-rw-r--r--www/p5-PLP/files/extra-patch-mod_perl2.pm54
1 files changed, 0 insertions, 54 deletions
diff --git a/www/p5-PLP/files/extra-patch-mod_perl2.pm b/www/p5-PLP/files/extra-patch-mod_perl2.pm
deleted file mode 100644
index 79904663b9af..000000000000
--- a/www/p5-PLP/files/extra-patch-mod_perl2.pm
+++ /dev/null
@@ -1,54 +0,0 @@
---- PLP.pm.orig Wed Jun 22 04:02:50 2005
-+++ PLP.pm Wed Jun 22 04:02:52 2005
-@@ -131,7 +131,13 @@
-
- # This is the mod_perl handler.
- sub handler {
-- require Apache::Constants;
-+ if($ENV{'mod_perl2_compat'} eq 'on') {
-+ require Apache2::Const;
-+ import Apache2::Const -compile => qw(OK);
-+ }
-+ else {
-+ require Apache::Constants;
-+ }
- clean();
- if (my $ret = mod_perl_init($_[0])) {
- return $ret;
-@@ -139,7 +145,12 @@
- #S start($_[0]);
- start();
- no strict 'subs';
-- return Apache::Constants::OK();
-+ if($ENV{'mod_perl2_compat'} eq 'on') {
-+ return Apache2::Const::OK;
-+ }
-+ else {
-+ return Apache::Constants::OK();
-+ }
- }
-
- # mod_perl initializer: returns 0 on success, Apache error code on failure
-@@ -151,10 +162,20 @@
- $ENV{PLP_FILENAME} = my $filename = $r->filename;
-
- unless (-f $filename) {
-- return Apache::Constants::NOT_FOUND();
-+ if($ENV{'mod_perl2_compat'} eq 'on') {
-+ return Apache2::Const::NOT_FOUND;
-+ }
-+ else {
-+ return Apache::Constants::NOT_FOUND();
-+ }
- }
- unless (-r _) {
-- return Apache::Constants::FORBIDDEN();
-+ if($ENV{'mod_perl2_compat'} eq 'on') {
-+ return Apache2::Const::FORBIDDEN;
-+ }
-+ else {
-+ return Apache::Constants::FORBIDDEN();
-+ }
- }
-
- $ENV{PLP_NAME} = $r->uri;