r6904 - in /trunk/libapache2-mod-perl2/debian: changelog patches/006_man_section_and_build_warnings

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Fri Aug 17 23:24:55 UTC 2007


Author: gwolf
Date: Fri Aug 17 23:24:55 2007
New Revision: 6904

URL: http://svn.debian.org/wsvn/?sc=1&rev=6904
Log:
Finally, found how to fix the incorrect manual section - together with
some warnings at build time.
The package is now linda- and lintian-clean, yay!

Added:
    trunk/libapache2-mod-perl2/debian/patches/006_man_section_and_build_warnings
Modified:
    trunk/libapache2-mod-perl2/debian/changelog

Modified: trunk/libapache2-mod-perl2/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libapache2-mod-perl2/debian/changelog?rev=6904&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/changelog (original)
+++ trunk/libapache2-mod-perl2/debian/changelog Fri Aug 17 23:24:55 2007
@@ -13,8 +13,10 @@
     insteaed of arch: any
   * Applied upstream patch fixing CVE-2007-1349 DoS caused by improperly
     quoted regex (Closes: #433549)
-
- -- Gunnar Wolf <gwolf at debian.org>  Fri, 17 Aug 2007 18:07:56 -0500
+  * Moved the generated manpages from section 3 to 3pm
+  * Finally, lintian- and linda-clean, yay! :D
+
+ -- Gunnar Wolf <gwolf at debian.org>  Fri, 17 Aug 2007 18:27:25 -0500
 
 libapache2-mod-perl2 (2.0.2-2.4) unstable; urgency=high
 

Added: trunk/libapache2-mod-perl2/debian/patches/006_man_section_and_build_warnings
URL: http://svn.debian.org/wsvn/trunk/libapache2-mod-perl2/debian/patches/006_man_section_and_build_warnings?rev=6904&op=file
==============================================================================
--- trunk/libapache2-mod-perl2/debian/patches/006_man_section_and_build_warnings (added)
+++ trunk/libapache2-mod-perl2/debian/patches/006_man_section_and_build_warnings Fri Aug 17 23:24:55 2007
@@ -1,0 +1,23 @@
+Index: lib/ModPerl/BuildMM.pm
+===================================================================
+--- lib/ModPerl/BuildMM.pm	(revision 6891)
++++ lib/ModPerl/BuildMM.pm	(working copy)
+@@ -193,6 +193,9 @@
+     # allow 'make -j'
+     require ExtUtils::MakeMaker;
+     my $mm_ver = $ExtUtils::MakeMaker::VERSION;
++    # Avoid warnings regarding "argument isn't numeric" when building
++    $mm_ver =~ s/^([\d\.]+).*/$1/;
++
+     my $pm_to_blib = ($mm_ver >= 6.22 && $mm_ver <= 6.25)
+         ? "pm_to_blib.ts"
+         : "pm_to_blib";
+@@ -261,7 +264,7 @@
+                 $man =~ s!/!::!g;
+ 
+                 push @target,
+-                    '$(NOECHO) $(POD2MAN_EXE) --section=3 ' .
++                    '$(NOECHO) $(POD2MAN_EXE) --section=3pm ' .
+                     "$podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)"
+             }
+         }




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