Date: Mon, 13 Oct 2003 09:34:19 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@tiger2.net Subject: ports/57925: Update ports: www/p5-CGI-SpeedyCGI Message-ID: <20031013013419.C772B1557E@mail.dragon2.net> Resent-Message-ID: <200310130140.h9D1eG2A066236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57925 >Category: ports >Synopsis: Update ports: www/p5-CGI-SpeedyCGI >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Oct 12 18:40:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386 >Description: - Update www/p5-CGI-SpeedyCGI to 2.22 >How-To-Repeat: >Fix: diff -ruN /usr/ports/www/p5-CGI-SpeedyCGI/Makefile ./p5-CGI-SpeedyCGI/Makefile --- /usr/ports/www/p5-CGI-SpeedyCGI/Makefile Tue Sep 9 21:01:48 2003 +++ ./p5-CGI-SpeedyCGI/Makefile Sun Oct 12 23:00:22 2003 @@ -6,8 +6,8 @@ # PORTNAME= CGI-SpeedyCGI -PORTVERSION= 2.21 -PORTREVISION= 3 +PORTVERSION= 2.22 +PORTREVISION= 0 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= CGI diff -ruN /usr/ports/www/p5-CGI-SpeedyCGI/distinfo ./p5-CGI-SpeedyCGI/distinfo --- /usr/ports/www/p5-CGI-SpeedyCGI/distinfo Sat Mar 1 09:32:56 2003 +++ ./p5-CGI-SpeedyCGI/distinfo Sun Oct 12 23:01:45 2003 @@ -1 +1 @@ -MD5 (CGI-SpeedyCGI-2.21.tar.gz) = ff43eaa899c5ff38f208ed692ab12bb4 +MD5 (CGI-SpeedyCGI-2.22.tar.gz) = 2f80df78874e3efa80f180923c4967a1 diff -ruN /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL ./p5-CGI-SpeedyCGI/files/patch-Makefile.PL --- /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-Makefile.PL Sat Mar 1 09:32:56 2003 +++ ./p5-CGI-SpeedyCGI/files/patch-Makefile.PL Mon Oct 13 09:23:58 2003 @@ -1,6 +1,6 @@ ---- Makefile.PL.orig Sat Mar 1 09:16:07 2003 -+++ Makefile.PL Sat Mar 1 09:17:19 2003 -@@ -6,26 +6,26 @@ +--- Makefile.PL.orig Sun Oct 5 14:40:46 2003 ++++ Makefile.PL Mon Oct 13 09:23:45 2003 +@@ -6,28 +6,28 @@ import SpeedyMake qw(%write_makefile_common); } @@ -29,37 +29,21 @@ my @dirs = qw(src speedy_backend speedy); my $macro = $write_makefile_common{macro}; + my $apache_module = 0; -if (<STDIN> =~ /y/i) { -- die "ERROR: Could not find a working copy of 'apxs' in your path.\n" +- die "ERROR: Command 'apxs -q CC' failed.\n" - unless $macro->{APACHE_APXS_WORKS}; - print "Compiling for Apache version $macro->{APACHE_VERSION}\n"; - push(@dirs, $macro->{MOD_SPEEDYCGI_DIR}); +- $apache_module = 1; -} +#if (<STDIN> =~ /y/i) { -+# die "ERROR: Could not find a working copy of 'apxs' in your path.\n" ++# die "ERROR: Command 'apxs -q CC' failed.\n" +# unless $macro->{APACHE_APXS_WORKS}; +# print "Compiling for Apache version $macro->{APACHE_VERSION}\n"; +# push(@dirs, $macro->{MOD_SPEEDYCGI_DIR}); ++# $apache_module = 1; +#} 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: diff -ruN /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-speedy_opt.c ./p5-CGI-SpeedyCGI/files/patch-speedy_opt.c --- /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-speedy_opt.c Wed May 21 18:43:18 2003 +++ ./p5-CGI-SpeedyCGI/files/patch-speedy_opt.c Thu Jan 1 08:00:00 1970 @@ -1,20 +0,0 @@ ---- src/speedy_opt.c Mon Sep 30 07:19:54 2002 -+++ /tmp/speedy_opt.c Tue May 20 11:11:28 2003 -@@ -165,6 +165,8 @@ static void cmdline_split( - ++p; - if (*p) - strlist_append(doing_speedy_opts ? speedy_opts : perl_args, *p); -+ else -+ break; - } - - if (*p) { -@@ -422,7 +424,7 @@ const char * const *speedy_opt_script_ar - } - - SPEEDY_INLINE const char *speedy_opt_script_fname(void) { -- return exec_argv.ptrs[script_argv_loc]; -+ return exec_argv.len > script_argv_loc ? exec_argv.ptrs[script_argv_loc] : NULL; - } - - #ifdef SPEEDY_BACKEND diff -ruN /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl ./p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl --- /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl Fri Apr 11 10:17:22 2003 +++ ./p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl Mon Oct 13 09:30:22 2003 @@ -1,6 +1,6 @@ ---- src/SpeedyMake.pl.orig Sun Mar 30 08:17:01 2003 -+++ src/SpeedyMake.pl Sun Mar 30 08:18:59 2003 -@@ -214,6 +214,7 @@ +--- src/SpeedyMake.pl.orig Sun Oct 12 08:45:06 2003 ++++ src/SpeedyMake.pl Mon Oct 13 09:29:39 2003 +@@ -223,6 +223,7 @@ join(' ', "-DSPEEDY_PROGNAME=\\\"" . $class->my_name_full . "\\\"", "-DSPEEDY_VERSION=\\\"\$(VERSION)\\\"", >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031013013419.C772B1557E>