summaryrefslogtreecommitdiff
path: root/www/p5-CGI-SpeedyCGI
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-03-01 01:32:56 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-03-01 01:32:56 +0000
commitb5dddf1b61b15048210d422a8abd6fec731b6464 (patch)
tree3b8ff344e169e2f29aa97bb925cd0bd7d1cd8e81 /www/p5-CGI-SpeedyCGI
parentAdd a patch which fix build error on 4-STABLE with Winbind. (diff)
Update port www/p5-CGI-SpeedyCGI to version 2.21
disable installing mod_speedycgi. PR: 46723 Submitted by: Lars Thegler <lars@thegler.dk> Reviewed by: petef, tobez
Notes
Notes: svn path=/head/; revision=76679
Diffstat (limited to 'www/p5-CGI-SpeedyCGI')
-rw-r--r--www/p5-CGI-SpeedyCGI/Makefile2
-rw-r--r--www/p5-CGI-SpeedyCGI/distinfo2
-rw-r--r--www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL65
3 files changed, 67 insertions, 2 deletions
diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile
index df931d18c9e0..ec24ff8d62dc 100644
--- a/www/p5-CGI-SpeedyCGI/Makefile
+++ b/www/p5-CGI-SpeedyCGI/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= CGI-SpeedyCGI
-PORTVERSION= 2.11
+PORTVERSION= 2.21
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
diff --git a/www/p5-CGI-SpeedyCGI/distinfo b/www/p5-CGI-SpeedyCGI/distinfo
index a05554f7316b..ec387e95b11b 100644
--- a/www/p5-CGI-SpeedyCGI/distinfo
+++ b/www/p5-CGI-SpeedyCGI/distinfo
@@ -1 +1 @@
-MD5 (CGI-SpeedyCGI-2.11.tar.gz) = fce7ed7417d8d4166f5e7b54bfbcac13
+MD5 (CGI-SpeedyCGI-2.21.tar.gz) = ff43eaa899c5ff38f208ed692ab12bb4
diff --git a/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL b/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
new file mode 100644
index 000000000000..6e9b42eee860
--- /dev/null
+++ b/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL
@@ -0,0 +1,65 @@
+--- Makefile.PL.orig Sat Mar 1 09:16:07 2003
++++ Makefile.PL Sat Mar 1 09:17:19 2003
+@@ -6,26 +6,26 @@
+ import SpeedyMake qw(%write_makefile_common);
+ }
+
+-print <<END;
+-
+-Optional mod_speedycgi support.
+-
+-Mod_speedycgi increases performance under Apache by avoiding the fork/exec
+-overhead associated with each request under normal SpeedyCGI. However, it
+-requires a working copy of "apxs" in your path, Apache with mod_so
+-support, and additional Apache configuration.
+-
+-END
+-print "Compile mod_speedycgi (default no)? ";
++#print <<END;
++#
++#Optional mod_speedycgi support.
++#
++#Mod_speedycgi increases performance under Apache by avoiding the fork/exec
++#overhead associated with each request under normal SpeedyCGI. However, it
++#requires a working copy of "apxs" in your path, Apache with mod_so
++#support, and additional Apache configuration.
++#
++#END
++#print "Compile mod_speedycgi (default no)? ";
+
+ my @dirs = qw(src speedy_backend speedy);
+ my $macro = $write_makefile_common{macro};
+-if (<STDIN> =~ /y/i) {
+- die "ERROR: Could not find a working copy of 'apxs' in your path.\n"
+- unless $macro->{APACHE_APXS_WORKS};
+- print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
+- push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
+-}
++#if (<STDIN> =~ /y/i) {
++# die "ERROR: Could not find a working copy of 'apxs' in your path.\n"
++# unless $macro->{APACHE_APXS_WORKS};
++# print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
++# push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
++#}
+
+ WriteMakefile(
+ NAME => 'CGI::SpeedyCGI',
+@@ -47,12 +47,12 @@
+ sub postamble {
+ my $extra = SpeedyMake->optdefs_cmds('src');
+ my $test_install_extra;
+- if (my $mod_dir = $macro->{MOD_SPEEDYCGI_DIR}) {
+- $extra .=
+- "\ninstall ::\n\tcd $mod_dir && \$(MAKE) install\n";
+- $test_install_extra =
+- "\t\@cd $mod_dir && \$(MAKE) test_install \$(PASTHRU)\n";
+- }
++# if (my $mod_dir = $macro->{MOD_SPEEDYCGI_DIR}) {
++# $extra .=
++# "\ninstall ::\n\tcd $mod_dir && \$(MAKE) install\n";
++# $test_install_extra =
++# "\t\@cd $mod_dir && \$(MAKE) test_install \$(PASTHRU)\n";
++# }
+
+ '
+ test_install: