r22230 - in /trunk/libcgi-pm-perl/debian: control libcgi-pm-perl.lintian-overrides patches/ patches/man-cgi-fast.patch patches/series rules

yvesago-guest at users.alioth.debian.org yvesago-guest at users.alioth.debian.org
Fri Jun 27 15:25:16 UTC 2008


Author: yvesago-guest
Date: Fri Jun 27 15:25:16 2008
New Revision: 22230

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22230
Log:
* patch man for CGI::Fast rather than lintian override
* quilt stuff in control and rules (README.source is missing !)
* remove t/start*.t in clean rules

Added:
    trunk/libcgi-pm-perl/debian/patches/
    trunk/libcgi-pm-perl/debian/patches/man-cgi-fast.patch
    trunk/libcgi-pm-perl/debian/patches/series
Modified:
    trunk/libcgi-pm-perl/debian/control
    trunk/libcgi-pm-perl/debian/libcgi-pm-perl.lintian-overrides
    trunk/libcgi-pm-perl/debian/rules

Modified: trunk/libcgi-pm-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-pm-perl/debian/control?rev=22230&op=diff
==============================================================================
--- trunk/libcgi-pm-perl/debian/control (original)
+++ trunk/libcgi-pm-perl/debian/control Fri Jun 27 15:25:16 2008
@@ -1,7 +1,7 @@
 Source: libcgi-pm-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.6.10-12)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: AGOSTINI Yves <agostini at univ-metz.fr>

Modified: trunk/libcgi-pm-perl/debian/libcgi-pm-perl.lintian-overrides
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-pm-perl/debian/libcgi-pm-perl.lintian-overrides?rev=22230&op=diff
==============================================================================
--- trunk/libcgi-pm-perl/debian/libcgi-pm-perl.lintian-overrides (original)
+++ trunk/libcgi-pm-perl/debian/libcgi-pm-perl.lintian-overrides Fri Jun 27 15:25:16 2008
@@ -1,5 +1,2 @@
 # that line contains an URL that cannot be broken
 libcgi-pm-perl: manpage-has-errors-from-man usr/share/man/man3/CGI::Cookie.3pm.gz 228: warning [p 2, 3.7i]: can't break line
-# that lines are examples of use with external fastcgi
-libcgi-pm-perl: FSSTND-dir-in-manual-page usr/share/man/man3/CGI::Fast.3pm.gz:224 /usr/etc/
-libcgi-pm-perl: FSSTND-dir-in-manual-page usr/share/man/man3/CGI::Fast.3pm.gz:242 /usr/etc/

Added: trunk/libcgi-pm-perl/debian/patches/man-cgi-fast.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-pm-perl/debian/patches/man-cgi-fast.patch?rev=22230&op=file
==============================================================================
--- trunk/libcgi-pm-perl/debian/patches/man-cgi-fast.patch (added)
+++ trunk/libcgi-pm-perl/debian/patches/man-cgi-fast.patch Fri Jun 27 15:25:16 2008
@@ -1,0 +1,40 @@
+Index: libcgi-pm-perl/CGI/Fast.pm
+===================================================================
+--- libcgi-pm-perl.orig/CGI/Fast.pm	2008-06-27 17:01:09.000000000 +0200
++++ libcgi-pm-perl/CGI/Fast.pm	2008-06-27 17:02:55.000000000 +0200
+@@ -106,7 +106,7 @@
+ 
+ A typical FastCGI script will look like this:
+ 
+-    #!/usr/local/bin/perl    # must be a FastCGI version of perl!
++    #!/usr/bin/perl    # must be a FastCGI version of perl!
+     use CGI::Fast;
+     &do_some_initialization();
+     while ($q = new CGI::Fast) {
+@@ -142,7 +142,7 @@
+ FastCGI scripts must end in the extension .fcgi.  For each script you
+ install, you must add something like the following to srm.conf:
+ 
+-    FastCgiServer /usr/etc/httpd/fcgi-bin/file_upload.fcgi -processes 2
++    FastCgiServer /usr/lib/cgi-bin/file_upload.fcgi -processes 2
+ 
+ This instructs Apache to launch two copies of file_upload.fcgi at 
+ startup time.
+@@ -160,7 +160,7 @@
+ webserver to connect to an external FastCGI server, you would add the following
+ to your srm.conf:
+ 
+-    FastCgiExternalServer /usr/etc/httpd/fcgi-bin/file_upload.fcgi -host sputnik:8888
++    FastCgiExternalServer /usr/lib/cgi-bin/file_upload.fcgi -host sputnik:8888
+ 
+ Two environment variables affect how the C<CGI::Fast> object is created,
+ allowing C<CGI::Fast> to be used as an external FastCGI server.  (See C<FCGI>
+@@ -181,7 +181,7 @@
+ 
+ For example:
+ 
+-    #!/usr/local/bin/perl    # must be a FastCGI version of perl!
++    #!/usr/bin/perl    # must be a FastCGI version of perl!
+     use CGI::Fast;
+     &do_some_initialization();
+     $ENV{FCGI_SOCKET_PATH} = "sputnik:8888";

Added: trunk/libcgi-pm-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-pm-perl/debian/patches/series?rev=22230&op=file
==============================================================================
--- trunk/libcgi-pm-perl/debian/patches/series (added)
+++ trunk/libcgi-pm-perl/debian/patches/series Fri Jun 27 15:25:16 2008
@@ -1,0 +1,1 @@
+man-cgi-fast.patch

Modified: trunk/libcgi-pm-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-pm-perl/debian/rules?rev=22230&op=diff
==============================================================================
--- trunk/libcgi-pm-perl/debian/rules (original)
+++ trunk/libcgi-pm-perl/debian/rules Fri Jun 27 15:25:16 2008
@@ -1,14 +1,16 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh build
+	touch $@
+
+clean: unpatch
 	# t/start_end_start.t, t/start_end_asterisk.t, t/start_end_end.t
 	# are generated on build by t/gen-tests/gen-start-end-tags.pl
-	rm t/start_end_*
-	touch $@
-
-clean:
+	[ ! -f t/start_end_start.t ] ||  rm t/start_end_*
 	dh $@
 
 install: install-stamp




More information about the Pkg-perl-cvs-commits mailing list