--- libwww-mechanize-perl-1.34.orig/debian/control +++ libwww-mechanize-perl-1.34/debian/control @@ -0,0 +1,22 @@ +Source: libwww-mechanize-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , + Jaldhar H. Vyas , Rene Mayorga +Build-Depends: debhelper (>= 6), quilt +Build-Depends-Indep: perl (>=5.6.0), libwww-perl (>= 5.68), + libhtml-parser-perl, liburi-perl, libtest-pod-perl, libio-socket-ssl-perl, + netbase, libtest-exception-perl, libtest-warn-perl +Standards-Version: 3.7.3 +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/wsvn/pkg-perl/trunk/libwww-mechanize-perl/ + +Package: libwww-mechanize-perl +Architecture: all +Recommends: libio-socket-ssl-perl +Depends: ${perl:Depends}, ${misc:Depends}, libwww-perl (>= 5.68), libhtml-parser-perl, liburi-perl +Description: Automate interaction with websites + Perl module to assist in interaction with websites. Handles link scrubbing + and form processing. --- libwww-mechanize-perl-1.34.orig/debian/patches/no_internet.patch +++ libwww-mechanize-perl-1.34/debian/patches/no_internet.patch @@ -0,0 +1,31 @@ +Index: libwww-mechanize-perl/t/live/computers4sure.t +=================================================================== +--- libwww-mechanize-perl.orig/t/live/computers4sure.t 2007-12-01 18:12:17.000000000 -0600 ++++ libwww-mechanize-perl/t/live/computers4sure.t 2007-12-01 18:16:55.000000000 -0600 +@@ -3,6 +3,10 @@ + use warnings; + use strict; + ++if ($ENV{NOINTERNET} ) { ++ use Test::More skip_all => "We don't have internet here"; ++} ++ + use Test::More skip_all => 'Still need to get the error-handling on here working'; + use Test::More tests => 9; + +Index: libwww-mechanize-perl/t/live/wikipedia.t +=================================================================== +--- libwww-mechanize-perl.orig/t/live/wikipedia.t 2007-12-01 18:12:17.000000000 -0600 ++++ libwww-mechanize-perl/t/live/wikipedia.t 2007-12-01 18:17:12.000000000 -0600 +@@ -3,6 +3,11 @@ + 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); + --- libwww-mechanize-perl-1.34.orig/debian/patches/series +++ libwww-mechanize-perl-1.34/debian/patches/series @@ -0,0 +1,2 @@ +no_internet.patch +adding_pod_see_also.patch --- libwww-mechanize-perl-1.34.orig/debian/patches/adding_pod_see_also.patch +++ libwww-mechanize-perl-1.34/debian/patches/adding_pod_see_also.patch @@ -0,0 +1,56 @@ +Index: libwww-mechanize-perl/bin/mech-dump +=================================================================== +--- libwww-mechanize-perl.orig/bin/mech-dump 2007-12-09 16:18:52.000000000 -0600 ++++ libwww-mechanize-perl/bin/mech-dump 2007-12-09 16:19:40.000000000 -0600 +@@ -114,3 +114,7 @@ + $mech->dump_forms( undef, $absolute ); + return; + } ++ ++=head1 SEE ALSO ++ ++L +Index: libwww-mechanize-perl/lib/WWW/Mechanize/Cookbook.pod +=================================================================== +--- libwww-mechanize-perl.orig/lib/WWW/Mechanize/Cookbook.pod 2007-12-09 16:16:57.000000000 -0600 ++++ libwww-mechanize-perl/lib/WWW/Mechanize/Cookbook.pod 2007-12-09 16:17:41.000000000 -0600 +@@ -72,6 +72,10 @@ + Use Abe Timmerman's L + L + ++=head1 SEE ALSO ++ ++L ++ + =head1 AUTHORS + + Copyright 2005 Andy Lester C<< >> +Index: libwww-mechanize-perl/lib/WWW/Mechanize/Image.pm +=================================================================== +--- libwww-mechanize-perl.orig/lib/WWW/Mechanize/Image.pm 2007-12-09 16:17:55.000000000 -0600 ++++ libwww-mechanize-perl/lib/WWW/Mechanize/Image.pm 2007-12-09 16:18:39.000000000 -0600 +@@ -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 +Index: libwww-mechanize-perl/lib/WWW/Mechanize/Link.pm +=================================================================== +--- libwww-mechanize-perl.orig/lib/WWW/Mechanize/Link.pm 2007-12-09 16:15:58.000000000 -0600 ++++ libwww-mechanize-perl/lib/WWW/Mechanize/Link.pm 2007-12-09 16:16:32.000000000 -0600 +@@ -111,6 +111,9 @@ + + return $self->URI->abs; + } ++=head1 SEE ALSO ++ ++L + + =head1 COPYRIGHT + --- libwww-mechanize-perl-1.34.orig/debian/rules +++ libwww-mechanize-perl-1.34/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +#export DH_COMPAT=4 + +include /usr/share/quilt/quilt.make + + +PERL=/usr/bin/perl +PACKAGE=$(shell dh_listpackages) + +PKGROOT=$(CURDIR)/debian/$(PACKAGE)/usr +ETCROOT=$(PKGROOT)/share/$(PACKAGE) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + # Add here commands to compile the package. + $(PERL) Makefile.PL verbose INSTALLDIRS=vendor --local --mech-dump + $(MAKE) + NOINTERNET=1 $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr + install -d $(ETCROOT) + install -m 644 $(CURDIR)/etc/* $(ETCROOT) + [ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 + touch $@ + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changes + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libwww-mechanize-perl-1.34.orig/debian/watch +++ libwww-mechanize-perl-1.34/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/WWW-Mechanize/ .*/WWW-Mechanize-([[:digit:]].*)\.tar\.gz --- libwww-mechanize-perl-1.34.orig/debian/copyright +++ libwww-mechanize-perl-1.34/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Jay Bonci on +Sat, 3 May 2003 02:58:24 -0400. + +It was downloaded from http://search.cpan.org/author/PETDANCE/WWW-Mechanize-0.40 + +Upstream Author: Andy Lester + +Copyright: + Copyright (c) 2005-2007 Andy Lester. All rights reserved. + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + +t/local/LocalServer.pm: + + Copyright (C) 2003 Max Maischein Max Maischein, + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + +"Perl licese" is: + + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL' and the Artistic +Licence in `/usr/share/common-licenses/Artistic'. + +The Debian packaging is (C) 2003, Jay Bonci and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- libwww-mechanize-perl-1.34.orig/debian/compat +++ libwww-mechanize-perl-1.34/debian/compat @@ -0,0 +1 @@ +6 --- libwww-mechanize-perl-1.34.orig/debian/changelog +++ libwww-mechanize-perl-1.34/debian/changelog @@ -0,0 +1,170 @@ +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