r11086 - in /trunk/libwww-perl: Makefile.PL bin/lwp-request debian/changelog debian/patches/lwp-request_use_base_when_dumping_links.patch debian/patches/series debian/rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Mon Dec 10 15:02:06 UTC 2007


Author: tincho-guest
Date: Mon Dec 10 15:02:06 2007
New Revision: 11086

URL: http://svn.debian.org/wsvn/?sc=1&rev=11086
Log:
* debian/patches/documentation_fixes.patch: Patch to:
  - bin/lwp-request: mention GET, POST and HEAD in the POD, fixed the
    discrepancies between the synopsis, the POD description and the cmdline
    help (-C and -P options, plus short options summary), also added some
    standard markup in POD synopsis (Closes: #396968, #408426, #354905)
  - libwww-perl/lib/HTTP/Cookies.pm: updated Netscape cookies spec's URL
    (Closes: #422732).
* debian/patches/lwp-request_use_base_when_dumping_links.patch: Moved
  changes made in the diff.gz to a quilt patch. This patch makes lwp-request
  honour the -b option when dumping links (#294595).
* Removed change made to Makefile.PL in the diff.gz as it is not necessary
  to allow MakeMaker to create the GET, HEAD and POST copies (we make
  links). Removed relevant parts of debian/rules, too.

Added:
    trunk/libwww-perl/debian/patches/lwp-request_use_base_when_dumping_links.patch
Modified:
    trunk/libwww-perl/Makefile.PL
    trunk/libwww-perl/bin/lwp-request
    trunk/libwww-perl/debian/changelog
    trunk/libwww-perl/debian/patches/series
    trunk/libwww-perl/debian/rules

Modified: trunk/libwww-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/Makefile.PL?rev=11086&op=diff
==============================================================================
--- trunk/libwww-perl/Makefile.PL (original)
+++ trunk/libwww-perl/Makefile.PL Mon Dec 10 15:02:06 2007
@@ -129,7 +129,6 @@
     my @tmp;
     for my $alias (@request_aliases) {
 	my $default = "n";
-	my $default = "y";
 	if (prompt("Do you want to install the $alias alias?", $default) =~ /^y/) {
 	    push(@tmp, $alias);
 	}

Modified: trunk/libwww-perl/bin/lwp-request
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/bin/lwp-request?rev=11086&op=diff
==============================================================================
--- trunk/libwww-perl/bin/lwp-request (original)
+++ trunk/libwww-perl/bin/lwp-request Mon Dec 10 15:02:06 2007
@@ -473,7 +473,6 @@
 		};
 		$options{'o'} eq 'links' && do {
 		    my $base = $response->base;
-		    $base = $options{'b'} if $options{'b'};
 		    for ( @{ $html->extract_links } ) {
 			my($link, $elem) = @$_;
 			my $tag = uc $elem->tag;

Modified: trunk/libwww-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/debian/changelog?rev=11086&op=diff
==============================================================================
--- trunk/libwww-perl/debian/changelog (original)
+++ trunk/libwww-perl/debian/changelog Mon Dec 10 15:02:06 2007
@@ -1,10 +1,6 @@
 libwww-perl (5.808-1) UNRELEASED; urgency=low
 
-    TODO: put changes to Makefile.PL and lwp-request into a patch (sent
-          upstream)
     TODO: send documentation_fixes.patch upstream (and note that in the patch)
-    TODO: describe *what* is changed with documentation_fixes.patch in
-          debian/changelog
 
   * New upstream release. Closes: #386565 (and probably many more).
   * debian/control:
@@ -16,11 +12,21 @@
   * debian/compat: to version 5.
   * debian/copyright: converted to UTF-8, updated and converted to new format.
   * debian/rules: revamped with current group practices. Added quilt support.
-  * debian/patches/documentation_fixes.patch: Patch to lwp-request
-    documentation (Closes: #396968, #408426, #354905) and HTTP::Cookies man
-    page (Closes: #422732).
-
- -- Martín Ferrari <martin.ferrari at gmail.com>  Sun, 09 Dec 2007 18:08:30 -0300
+  * debian/patches/documentation_fixes.patch: Patch to:
+    - bin/lwp-request: mention GET, POST and HEAD in the POD, fixed the
+      discrepancies between the synopsis, the POD description and the cmdline
+      help (-C and -P options, plus short options summary), also added some
+      standard markup in POD synopsis (Closes: #396968, #408426, #354905)
+    - libwww-perl/lib/HTTP/Cookies.pm: updated Netscape cookies spec's URL
+      (Closes: #422732).
+  * debian/patches/lwp-request_use_base_when_dumping_links.patch: Moved
+    changes made in the diff.gz to a quilt patch. This patch makes lwp-request
+    honour the -b option when dumping links (#294595).
+  * Removed change made to Makefile.PL in the diff.gz as it is not necessary
+    to allow MakeMaker to create the GET, HEAD and POST copies (we make
+    links). Removed relevant parts of debian/rules, too.
+
+ -- Martín Ferrari <martin.ferrari at gmail.com>  Mon, 10 Dec 2007 12:00:38 -0300
 
 libwww-perl (5.805-2) UNRELEASED; urgency=low
 

Added: trunk/libwww-perl/debian/patches/lwp-request_use_base_when_dumping_links.patch
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/debian/patches/lwp-request_use_base_when_dumping_links.patch?rev=11086&op=file
==============================================================================
--- trunk/libwww-perl/debian/patches/lwp-request_use_base_when_dumping_links.patch (added)
+++ trunk/libwww-perl/debian/patches/lwp-request_use_base_when_dumping_links.patch Mon Dec 10 15:02:06 2007
@@ -1,0 +1,12 @@
+Index: libwww-perl/bin/lwp-request
+===================================================================
+--- libwww-perl.orig/bin/lwp-request
++++ libwww-perl/bin/lwp-request
+@@ -473,6 +473,7 @@ while ($url = shift) {
+ 		};
+ 		$options{'o'} eq 'links' && do {
+ 		    my $base = $response->base;
++		    $base = $options{'b'} if $options{'b'};
+ 		    for ( @{ $html->extract_links } ) {
+ 			my($link, $elem) = @$_;
+ 			my $tag = uc $elem->tag;

Modified: trunk/libwww-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/debian/patches/series?rev=11086&op=diff
==============================================================================
--- trunk/libwww-perl/debian/patches/series (original)
+++ trunk/libwww-perl/debian/patches/series Mon Dec 10 15:02:06 2007
@@ -1,1 +1,2 @@
+lwp-request_use_base_when_dumping_links.patch
 documentation_fixes.patch

Modified: trunk/libwww-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/debian/rules?rev=11086&op=diff
==============================================================================
--- trunk/libwww-perl/debian/rules (original)
+++ trunk/libwww-perl/debian/rules Mon Dec 10 15:02:06 2007
@@ -75,13 +75,6 @@
 	dh_testdir
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
-	rm -f $(TMP)/usr/bin/GET \
-		$(TMP)/usr/bin/POST \
-		$(TMP)/usr/bin/HEAD
-
-	rm -f $(TMP)/usr/share/man/man1/GET.1p \
-	    $(TMP)/usr/share/man/man1/HEAD.1p \
-	    $(TMP)/usr/share/man/man1/POST.1p
 	touch install-stamp
 
 .PHONY: arrange binary binary-arch binary-indep build clean install




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