diff options
author | leeym <leeym@FreeBSD.org> | 2003-03-01 09:32:56 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-03-01 09:32:56 +0800 |
commit | 819a89df882f146d75db6c12b0d2bf01e539ea4e (patch) | |
tree | 67de6888f3de665da17d6312654fdfbfa05c1141 | |
parent | 301f51df03d9f0961bcc1217bbae062f16dfdb35 (diff) | |
download | freebsd-ports-gnome-819a89df882f146d75db6c12b0d2bf01e539ea4e.tar.gz freebsd-ports-gnome-819a89df882f146d75db6c12b0d2bf01e539ea4e.tar.zst freebsd-ports-gnome-819a89df882f146d75db6c12b0d2bf01e539ea4e.zip |
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
-rw-r--r-- | www/p5-CGI-SpeedyCGI/Makefile | 2 | ||||
-rw-r--r-- | www/p5-CGI-SpeedyCGI/distinfo | 2 | ||||
-rw-r--r-- | www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL | 65 |
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: |