--- libwww-mechanize-perl-1.54.orig/debian/control +++ libwww-mechanize-perl-1.54/debian/control @@ -0,0 +1,30 @@ +Source: libwww-mechanize-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , + Jaldhar H. Vyas , Rene Mayorga , + Kees Cook , gregor herrmann +Build-Depends: debhelper (>= 7), quilt +Build-Depends-Indep: perl (>=5.8.0), libwww-perl (>= 5.819), + libhtml-parser-perl, liburi-perl (>= 1.36), libtest-pod-perl, libio-socket-ssl-perl, + netbase, libtest-exception-perl, libtest-warn-perl (>= 0.11), libtest-taint-perl, + libhttp-response-encoding-perl, libhttp-server-simple-perl, libtest-pod-coverage-perl +Standards-Version: 3.8.1 +Homepage: http://search.cpan.org/dist/WWW-Mechanize/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-mechanize-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libwww-mechanize-perl/ + +Package: libwww-mechanize-perl +Architecture: all +Recommends: libio-socket-ssl-perl +Depends: perl (>= 5.8.0), ${perl:Depends}, ${misc:Depends}, libwww-perl (>= 5.819), libhtml-parser-perl, + liburi-perl (>= 1.36), libhttp-response-encoding-perl, + libhttp-server-simple-perl +Description: module to automate interaction with websites + WWW::Mechanize, or Mech for short, helps you automate interaction with + a website. It supports performing a sequence of page fetches including + following links and submitting forms. Each fetched page is parsed and + its links and forms are extracted. A link or a form can be selected, form + fields can be filled and the next page can be fetched. Mech also stores + a history of the URLs you've visited, which can be queried and revisited. --- libwww-mechanize-perl-1.54.orig/debian/copyright +++ libwww-mechanize-perl-1.54/debian/copyright @@ -0,0 +1,37 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Andy Lester . +Upstream-Source: http://search.cpan.org/dist/WWW-Mechanize +Upstream-Name: WWWW-Mechanize + +Files: * +Copyright: 2004-2008 Andy Lester. All rights reserved. +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: t/local/LocalServer.pm +Copyright: 2003 Max Maischein +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: + 2003-2007 Jay Bonci + 2007-2008 Rene Mayorga + 2008 Kees Cook + 2007-2009 gregor herrmann +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in /usr/share/common-licenses/Artistic + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libwww-mechanize-perl-1.54.orig/debian/watch +++ libwww-mechanize-perl-1.54/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/WWW-Mechanize/ .*/WWW-Mechanize-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libwww-mechanize-perl-1.54.orig/debian/compat +++ libwww-mechanize-perl-1.54/debian/compat @@ -0,0 +1 @@ +7 --- libwww-mechanize-perl-1.54.orig/debian/README.source +++ libwww-mechanize-perl-1.54/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libwww-mechanize-perl-1.54.orig/debian/changelog +++ libwww-mechanize-perl-1.54/debian/changelog @@ -0,0 +1,243 @@ +libwww-mechanize-perl (1.54-2) unstable; urgency=low + + * Shorten the list of environment variables we unset in debian/rules + (closes: #521990). Thanks to Daniel Schepler for the bug report. + * Set Standards-Version to 3.8.1 (no changes). + * Add /me to Uploaders. + * debian/control: make short description a noun phrase. + + -- gregor herrmann Wed, 01 Apr 2009 18:05:25 +0200 + +libwww-mechanize-perl (1.54-1) unstable; urgency=low + + [ Rene Mayorga ] + * New upstream release + * debian/patches/no_internet.patch; refreshed + + remove t/live/computers4sure.t changes + * debian/control; + + Expand long description based on POD + * debian/copyright + + correct Upstream-Name field + + explicit copyright holders from debian/changelog + + [ gregor herrmann ] + * debian/watch: extended regexp for matching upstream releases. + * debian/rules: unset http_proxy and friends for running the test suite, + otherwise t/cookies.t fails if the variables are set in the environment. + + -- Rene Mayorga Fri, 16 Jan 2009 17:18:32 -0600 + +libwww-mechanize-perl (1.52-2) unstable; urgency=low + + * no_internet.patch: add encoding test to skip-list. + + -- Kees Cook Thu, 18 Dec 2008 10:23:13 -0800 + +libwww-mechanize-perl (1.52-1) unstable; urgency=low + + [ Rene Mayorga ] + * New upstream release (Closes: #507729) + * debian/control + + set debhelper and compat version to 7 + + set standards-version to 3.8.0 + + add libtest-taint-perl to B-D-I + * debian/rules + + refresh using dh-make-perl template + + re-add NOINTERNET var before test + + www-mechanize logo no longer installed in usr/share + * debian/patches - refresh patches + * debian/copyright - convert to the (new)format + + [ gregor herrmann ] + * debian/control: Changed: Switched Vcs-Browser field to ViewSVN + (source stanza). + * New upstream release. + * Add (build) dependency on libhttp-response-encoding-perl and + libhttp-server-simple-perl. + * Bump versioned dependencies on libwww-perl, liburi-perl and + libtest-warn-perl. + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + + [ Damyan Ivanov ] + * update years of copyright + * bump perl dependency to 5.8.0 + + [ Kees Cook ] + * debian/patches/*: add short headers to describe changes. + * debian/control: + - add libtest-pod-coverage-perl to B-D-I for more tests. + - add myself to Uploaders. + + -- Kees Cook Thu, 04 Dec 2008 00:29:22 -0800 + +libwww-mechanize-perl (1.34-2) unstable; urgency=low + + [ gregor herrmann ] + * debian/rules: delete /usr/lib/perl5 only if it exists. + + [ Rene Mayorga ] + * Make package ready for perl 5.10 update + * debian/control + + Set compat level to 6 + + Wrap uploaders field + * debian/rules + + use dh_listpackage instead of a hardcode package name + + -- Rene Mayorga Thu, 21 Feb 2008 23:07:47 -0600 + +libwww-mechanize-perl (1.34-1) unstable; urgency=low + + [ Gregor Herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). + * Set Maintainer to Debian Perl Group. + * Use dist-based URL in debian/watch. + + [ Rene Mayorga ] + * New upstream release + * debian/control + + Set Standard-Version to 3.7.3 (no changes) + + Add ${misc:Depends} to Depends + + Added Build-Depends-Indep, and move perl modules to there + + Add quilt as a Build-Dep + * debian/copyright + + Add info from other part of the code + + Refresh the Copyright years + + Add a copyright stanza for the Perl Packaging. + * debian/rules + + clean debian rules + + touching build-stamp and install-stamp + + use "distclean" instead of "clean" + + remove unused dh_calls + + some minor and cosmetical changes + + Add quilt + * Add debian patches and add no_internet.patch + this patch allow to disable t/live/ tests wich depends on internet + access. - Closes: #432485 FTBFS bug + * move patch for adding "SEE ALSO" to the pods to be manage with quilt + + -- Rene Mayorga Mon, 10 Dec 2007 23:57:05 -0600 + +libwww-mechanize-perl (1.30-2) unstable; urgency=low + + * Remove extra debugging file from diff. Dumb mistake on my part. No other changes + + -- Jay Bonci Fri, 29 Jun 2007 09:53:40 -0400 + +libwww-mechanize-perl (1.30-1) unstable; urgency=low + + * New upstream release (Closes: #401342) + * Added SEE ALSO sections to some of the manpages (Closes: #406562) + * Changed the rules file to not ignore clean errors except in ! -f Makefile + + -- Jay Bonci Fri, 29 Jun 2007 09:25:09 -0400 + +libwww-mechanize-perl (1.20-1) unstable; urgency=low + + * New upstream release + + -- Jay Bonci Mon, 4 Dec 2006 00:15:38 -0500 + +libwww-mechanize-perl (1.18-1) unstable; urgency=low + + * New upstream release (Closes: #367252) + * Bumped policy-version to 3.7.2.0 + * Changed debhelper to be Build-Depends instead of Build-Depends Indep + + -- Jay Bonci Sun, 4 Jun 2006 18:24:05 -0400 + +libwww-mechanize-perl (1.12-2) unstable; urgency=low + + * Add versioned depends on libwww-perl (Closes: #303831) + + -- Jay Bonci Mon, 11 Apr 2005 14:53:14 -0400 + +libwww-mechanize-perl (1.12-1) unstable; urgency=low + + * New upstream release + + -- Jay Bonci Thu, 17 Mar 2005 01:12:13 -0500 + +libwww-mechanize-perl (1.10-1) unstable; urgency=low + + * New upstream version + + -- Jay Bonci Thu, 10 Feb 2005 15:38:08 -0500 + +libwww-mechanize-perl (1.08-1) unstable; urgency=low + + * New upstream version + + -- Jay Bonci Tue, 28 Dec 2004 21:36:58 -0500 + +libwww-mechanize-perl (1.04-1) unstable; urgency=low + + * New upstream version + + -- Jay Bonci Mon, 11 Oct 2004 03:34:22 -0400 + +libwww-mechanize-perl (1.02-3) unstable; urgency=low + + * Fixed debian/watch file so uscan will actually work + + -- Jay Bonci Thu, 9 Sep 2004 03:52:02 -0400 + +libwww-mechanize-perl (1.02-2) unstable; urgency=low + + * Accepting NMU. (closes: #258187) + - Many thanks to Kenneth Pronovici for helping out. + + -- Jay Bonci Wed, 11 Aug 2004 01:03:10 -0400 + +libwww-mechanize-perl (1.02-1.1) unstable; urgency=low + + * NMU to fix release-critical FTBFS bug (closes: #258187). + - Apply patch from Jakob Lell + - Changed expected mech-dump output in t/mech-dump.t + + -- Kenneth J. Pronovici Fri, 6 Aug 2004 14:16:44 -0500 + +libwww-mechanize-perl (1.02-1) unstable; urgency=low + + * New upstream version (Closes: #247034) + * Clean lintian warning for possibly-conflicting debhelper versions + + -- Jay Bonci Tue, 4 May 2004 04:35:56 -0400 + +libwww-mechanize-perl (0.72-1) unstable; urgency=low + + * New upstream version + + -- Jay Bonci Tue, 10 Feb 2004 15:48:57 -0500 + +libwww-mechanize-perl (0.70-1) unstable; urgency=low + + * New upstream version + * Diff'ed the makefile to force vendor install + + -- Jay Bonci Fri, 2 Jan 2004 16:21:55 -0500 + +libwww-mechanize-perl (0.66-1) unstable; urgency=low + + * New upstream version + * Adds build-dependancy on libtest-warn-perl, as it is now in the archive + + -- Jay Bonci Mon, 17 Nov 2003 15:28:42 -0500 + +libwww-mechanize-perl (0.63-1) unstable; urgency=low + + * New upstream version + * Adds a Build-Dependancy on netbase (Closes: #216124) + - Should fix the FTBTS problem + - Thanks to Daniel Schepler for the report + * Adds a Build-Dependancy on libtest-exception-perl + * Changed the Makefile.PL around a bit to not include web tests or the referer test. Both don't work under autobuilders. + + -- Jay Bonci Tue, 21 Oct 2003 01:13:05 -0400 + +libwww-mechanize-perl (0.60-1) unstable; urgency=low + + * Initial Release (Closes: #191404) + + -- Jay Bonci Wed, 24 Sep 2003 15:47:55 -0400 --- libwww-mechanize-perl-1.54.orig/debian/rules +++ libwww-mechanize-perl-1.54/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build --before test + http_proxy= HTTP_PROXY= NOINTERNET=1 $(MAKE) test + dh build --after test + touch $@ + +clean: unpatch + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libwww-mechanize-perl-1.54.orig/debian/patches/adding_pod_see_also.patch +++ libwww-mechanize-perl-1.54/debian/patches/adding_pod_see_also.patch @@ -0,0 +1,49 @@ +Add manpage "SEE ALSO" sections for better documentation. +--- libwww-mechanize-perl.orig/bin/mech-dump ++++ libwww-mechanize-perl/bin/mech-dump +@@ -114,3 +114,7 @@ + $mech->dump_forms( undef, $absolute ); + return; + } ++ ++=head1 SEE ALSO ++ ++L +--- libwww-mechanize-perl.orig/lib/WWW/Mechanize/Cookbook.pod ++++ libwww-mechanize-perl/lib/WWW/Mechanize/Cookbook.pod +@@ -72,6 +72,10 @@ + Use Abe Timmerman's L + L + ++=head1 SEE ALSO ++ ++L ++ + =head1 AUTHORS + + Copyright 2005 Andy Lester C<< >> +--- libwww-mechanize-perl.orig/lib/WWW/Mechanize/Image.pm ++++ libwww-mechanize-perl/lib/WWW/Mechanize/Image.pm +@@ -116,6 +116,10 @@ + return $self->URI->abs; + } + ++=head1 SEE ALSO ++ ++L ++ + =head1 COPYRIGHT + + Copyright (c) 2004 Andy Lester. All rights reserved. This program is +--- libwww-mechanize-perl.orig/lib/WWW/Mechanize/Link.pm ++++ libwww-mechanize-perl/lib/WWW/Mechanize/Link.pm +@@ -111,6 +111,9 @@ + + return $self->URI->abs; + } ++=head1 SEE ALSO ++ ++L + + =head1 COPYRIGHT + --- libwww-mechanize-perl-1.54.orig/debian/patches/no_internet.patch +++ libwww-mechanize-perl-1.54/debian/patches/no_internet.patch @@ -0,0 +1,31 @@ +Create a way to disable tests that require Internet connectivity. +Index: libwww-mechanize-perl-1.52/t/live/wikipedia.t +=================================================================== +--- libwww-mechanize-perl-1.52.orig/t/live/wikipedia.t 2007-10-25 09:34:52.000000000 -0700 ++++ libwww-mechanize-perl-1.52/t/live/wikipedia.t 2008-12-18 10:15:46.000000000 -0800 +@@ -3,6 +3,10 @@ + use warnings; + use strict; + ++if ($ENV{NOINTERNET} ) { ++ use Test::More skip_all => "We don't have internet here"; ++} ++ + use constant LANGUAGES => qw( en it ja es nl pl ); + use Test::More tests => 3 + (2 * scalar LANGUAGES); + +Index: libwww-mechanize-perl-1.52/t/live/encoding.t +=================================================================== +--- libwww-mechanize-perl-1.52.orig/t/live/encoding.t 2008-12-18 10:20:40.000000000 -0800 ++++ libwww-mechanize-perl-1.52/t/live/encoding.t 2008-12-18 10:20:58.000000000 -0800 +@@ -3,6 +3,10 @@ + use strict; + use warnings; + ++if ($ENV{NOINTERNET} ) { ++ use Test::More skip_all => "We don't have internet here" ; ++} ++ + use constant PAIRS => { + 'http://delicious.com/' + => 'utf-8', --- libwww-mechanize-perl-1.54.orig/debian/patches/series +++ libwww-mechanize-perl-1.54/debian/patches/series @@ -0,0 +1,2 @@ +no_internet.patch +adding_pod_see_also.patch