[SCM] Debian packaging of libwww-search-perl branch, master, updated. upstream/2.46-9-g01e94bf

Nicholas Bamber nicholas at periapt.co.uk
Tue Oct 25 20:59:34 UTC 2011


The following commit has been merged in the master branch:
commit 590e3efb8e92ccb0ea94a34e0d7862710b0e74ac
Merge: 226816ced30b8f1cef7e6f911db8210874483a21 f4728831a3d6a10facbd23f905a7942272fa9c55
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date:   Wed Oct 5 15:03:50 2011 +0100

    Imported Debian patch 2.50.80-1

diff --combined debian/README.source
index 0000000,0000000..0a25b52
new file mode 100644
--- /dev/null
+++ b/debian/README.source
@@@ -1,0 -1,0 +1,25 @@@
++For most purposes this package is a standard Debian Perl Group package.
++The aspect in which it is special is that some related modules are bundled
++together with the package. So long as you have the appropriate tar balls
++in the correct place you can build using dpkg-buildpackage or
++svn-buildpackage as you would normally.
++
++If you have a fresh checkout from the svn repository and you wish 
++to download all the tarballs to build under svn-buildpackage, then from the
++package root directory run:
++
++    ./debian/update.sh update
++
++To check for new updates drop the "update" argument. If you are building
++under dpkg-buildpackage you need to tell the script about the 
++alternative build directory so run
++
++    DESTDIR=.. ./debian/update.sh update
++
++There are a couple of important caveats about the update.sh script.
++First of all when used in update mode it will DELETE the existing tarballs.
++Secondly when you do update one of the components, the update.sh script 
++will need to be updated. These limitations arise because it is 
++a temporary work around until pkg-components (or even uscan) provides
++something more substantial.
++
diff --combined debian/changelog
index 7032652,0000000..853c624
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,181 -1,0 +1,177 @@@
- libwww-search-perl (2.50.80.debian.1) UNRELEASED; urgency=low
- 
-   TODO:
-   * fix copyright
-   * what is the best format?
- 
-   [ Ryan Niebur ]
-   * Update ryan52's email address
++libwww-search-perl (2.50.80-1) UNRELEASED; urgency=low
 +
 +  [ gregor herrmann ]
 +  * Remove Conflicts:/Replaces:/Provides: www-search.
 +
-   [ Nicholas Bamber ]
-   * Upped standards to 3.9.1 and added myself to Uploaders 
-   * Added debian/source/format
-   * tarballs/packages.cfg: Fixed watch expressions
-   * Upgrade WWW::Search and WWW::Search::Ebay to new upstream versions
- 
 +  [ Ansgar Burchardt ]
 +  * debian/control: Convert Vcs-* fields to Git.
 +
-  -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 07 Sep 2010 18:18:23 +0100
++  [ Nicholas Bamber ]
++  * Added myself to Uploaders
++  * Converting to use pkg-components
++  * Updating debhelper and compat to 8
++  * Raised standards version to 3.9.2
++  * Email change: Ryan Niebur -> ryan at debian.org
++  * Updated debian/copyright and debian/rules
++  * Updated Ebay and Pagesjanunes components
++
++ -- Nicholas Bamber <nicholas at periapt.co.uk>  Wed, 05 Oct 2011 15:03:50 +0100
 +
 +libwww-search-perl (2.50.70.debian.2) unstable; urgency=low
 +
 +  [ Ryan Niebur ]
 +  * updated WWW-Search-News
 +  * updated copyright
 +  * remove lintian override, no longer the latest
 +  * fix to the test system
 +  * DEB_BUILD_OPTIONS is space separated, not comma separated. fix make-
 +    modules.sh. thanks to Peter Pentchev for tell me.
 +  * update WWW-Search-Ebay to 3.011
 +
 +  [ Nathan Handler ]
 +  * debian/watch: Update to ignore development releases.
 +
 + -- Ryan Niebur <ryanryan52 at gmail.com>  Sat, 06 Jun 2009 14:38:50 -0700
 +
 +libwww-search-perl (2.50.70.debian.1) unstable; urgency=low
 +
 +  * Take over for the Debian Perl Group; Closes: #519344 -- RFA
 +  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
 +    field (source stanza); ${misc:Depends} to Depends: field. Changed:
 +    Maintainer set to Debian Perl Group <pkg-perl-
 +    maintainers at lists.alioth.debian.org> (was: Scott M. Dier
 +    <sdier at debian.org>); Scott M. Dier <sdier at debian.org> moved to
 +    Uploaders.
 +  * Add debian/watch.
 +  * remove WWW-Search-Google and WWW-Search-HotBot, which are
 +    broken/gone
 +  * redo stuff based on libcatalyst-modules-perl
 +  * change Uploaders to me
 +  * update WWW-Search, WWW-Search-AltaVista, WWW-Search-Ebay, WWW-
 +    Search-Lycos, WWW-Search-News, WWW-Search-Pagesjaunes, and WWW-
 +    Search-Yahoo
 +  * debhelper 7 (Closes: #395716)
 +  * Debian Policy 3.8.1
 +  * update dependencies
 +  * update section and priority
 +  * fix short description
 +  * fix lintian warnings
 +  * updated copyright
 +
 + -- Ryan Niebur <ryanryan52 at gmail.com>  Sat, 02 May 2009 14:14:23 -0700
 +
 +libwww-search-perl (2.46-1) unstable; urgency=low
 +
 +  * WWW::Search::Altavista upgraded to version 2.13.
 +  * WWW::Search::Ebay upgraded to version 2.18.
 +  * WWW::Search::Google upgraded to version 0.21.
 +  * WWW::Search::Hotbot upgraded to version 2.29.
 +  * WWW::Search::Lycos upgraded to version 2.21.
 +  * WWW::Search::News upgraded to version 1.05.
 +  * Removed WWW::Search::Excite, no longer maintained.
 +  * Removed WWW::Search::Opendirectory, no longer maintained.
 +  * Removed WWW::Search::YahooNews, doesn't work at the moment.
 +  * Removed WWW::Search::Backends, README says they aren't maintained.
 +  * Added WWW::Search::Firstgov.
 +  * Added WWW::Search::Googlism.
 +  * Added WWW::Search::Jobserve.
 +  * Added WWW::Search::Pagesjaunes.
 +
 + -- Scott M. Dier <sdier at debian.org>  Mon, 12 Jan 2004 22:29:50 -0600
 +
 +libwww-search-perl (2.37-1) unstable; urgency=low
 +
 +  * Discontinued WWW-Search-Jobs support, I suggest looking into
 +    libwww-search-scraper-perl which seems to keep better support for these
 +    engines at the moment.  (This one also depended on Scraper)
 +    Don Armstrong had packaged this, but theres a missing dependency in
 +    Debian right now.
 +  * Thanks a *ton* to Don Armstrong for giving me a big update package.
 +
 + -- Scott M. Dier <sdier at debian.org>  Sun,  3 Nov 2002 18:22:22 -0600
 +
 +libwww-search-perl (2.37-0.1) unstable; urgency=low
 +
 +  * New upstream release (closes: #159494)
 +  * Added new SOAP based WWW::Search::Google to recitfy problems the
 +    blootbots apt and apt2 were having in #debian on FN. [This breaks
 +    older usage of WWW::Search::Google unless you have a API key. Use
 +    WWW::Search::Scrapper::Google instead if this is a problem.]
 +
 + -- Don Armstrong <don at donarmstrong.com>  Sun,  3 Nov 2002 16:46:51 -0500
 +
 +libwww-search-perl (2.24-3) unstable; urgency=low
 +
 +  * Adopted (didn't notice it was in WNPP cause it wasn't owned by qa@
 +    Closes: #107971
 +
 + -- Scott M. Dier <sdier at debian.org>  Sat, 24 Nov 2001 15:42:24 -0600
 +
 +libwww-search-perl (2.24-2) unstable; urgency=low
 +
 +  * Non-maintainer release.  Willing to adopt.
 +  * Added lots of copyright info that I forgot about.
 +
 + -- Scott M. Dier <sdier at debian.org>  Sat, 24 Nov 2001 15:20:04 -0600
 +
 +libwww-search-perl (2.24-1) unstable; urgency=low
 +
 +  * Non-maintainer release.
 +  * New upstream version. Closes: #88039
 +
 + -- Scott M. Dier <sdier at debian.org>  Fri,  9 Nov 2001 21:22:52 -0600
 +
 +libwww-search-perl (2.07-1) unstable; urgency=low
 +
 +  * New upstream version.
 +  * Assimilate Richard's patch (closes: bug#52873)
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Mon, 20 Dec 1999 11:44:20 -0500
 +
 +libwww-search-perl (2.05-1.1) unstable; urgency=low
 +
 +  * Non-maintainer release.
 +  * Fix "Binaries are missing" bug by adding INSTALLBIN and INSTALLSCRIPT
 +    to the list of paths to set.  (closes #52873)
 +
 + -- Richard Braakman <dark at xs4all.nl>  Sun, 19 Dec 1999 21:44:44 +0100
 +
 +libwww-search-perl (2.05-1) unstable; urgency=low
 +
 +  * New upstream version.
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Tue, 19 Oct 1999 13:25:33 -0400
 +
 +libwww-search-perl (2.04-1) unstable; urgency=low
 +
 +  * New upstream version.
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Sat,  2 Oct 1999 16:22:46 -0400
 +
 +libwww-search-perl (2.03-1) unstable; urgency=low
 +
 +  * New upstream version.
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Mon,  6 Sep 1999 16:04:33 -0400
 +
 +libwww-search-perl (2.02-2) unstable; urgency=low
 +
 +  * Conflicts and replaces against www-search added (closes: bug#41963, bug#42042)
 +  * Make it arch: all, rather than any (closes: bug#42072)
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Wed, 28 Jul 1999 11:07:02 -0400
 +
 +libwww-search-perl (2.02-1) unstable; urgency=low
 +
 +  * New upstream version.
 +  * Renamed to follow module naming convention.
 +  * Modified for new perl packages. (closes: bug#41506)
 +  * Modified to use debhelper.
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Fri, 23 Jul 1999 11:47:49 -0400
 +
 +www-search (1.007-1) unstable; urgency=low
 +
 +  * Initial Release.
 +
 + -- Michael Alan Dorman <mdorman at debian.org>  Thu, 26 Dec 1996 15:23:28 -0500
diff --combined debian/clean
index 0000000,0000000..8326e23
new file mode 100644
--- /dev/null
+++ b/debian/clean
@@@ -1,0 -1,0 +1,2 @@@
++t/cookies.txt
++debian/libwww-search-perl.copyright
diff --combined debian/compat
index 7f8f011,0000000..45a4fb7
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 7
++8
diff --combined debian/components/altavista/control
index 0000000,0000000..a12122a
new file mode 100644
--- /dev/null
+++ b/debian/components/altavista/control
@@@ -1,0 -1,0 +1,6 @@@
++Source: altavista
++Build-Depends: debhelper (>= 8)
++
++Package: altavista
++Depends: libdate-manip-perl, libhtml-parser-perl
++Description: AltaVista backend for WWW::Search
diff --combined debian/components/altavista/copyright
index 0000000,0000000..13ece5b
new file mode 100644
--- /dev/null
+++ b/debian/components/altavista/copyright
@@@ -1,0 -1,0 +1,22 @@@
++Files: altavista/*
++Copyright: 1996-1998, University of Southern California
++License:  USC
++
++Files: altavista/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: altavista/lib/WWW/Search/AltaVista/AdvancedWeb.pm
++Copyright:
++ 1999, Jim Smyser & USC/ISI
++ 1996, University of Southern California.
++License: USC
++
++Files: altavista/lib/WWW/Search/AltaVista/NL.pm
++Copyright:
++ 2001, Different Soft
++ 1996-1998 University of Southern California.
++License: USC
++
diff --combined debian/components/altavista/version
index 0000000,0000000..a171938
new file mode 100644
--- /dev/null
+++ b/debian/components/altavista/version
@@@ -1,0 -1,0 +1,1 @@@
++2.154
diff --combined debian/components/altavista/watch
index 0000000,0000000..ac7733f
new file mode 100644
--- /dev/null
+++ b/debian/components/altavista/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-AltaVista/  .+/WWW-Search-AltaVista-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/copyright.in
index 0000000,0000000..4eda584
new file mode 100644
--- /dev/null
+++ b/debian/components/copyright.in
@@@ -1,0 -1,0 +1,54 @@@
++Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
++Maintainer: Martin Thurn <mthurn at cpan.org>
++Source: http://search.cpan.org/dist/WWW-Search/
++Name: WWW-Search
++
++Files: *
++Copyright: 1996-1997, University of Southern California
++License: USC
++
++Files: inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: debian/*
++Copyright:
++ 1996, 1999, Michael Alan Dorman <mdorman at debian.org>
++ 1999, Richard Braakman <dark at xs4all.nl>
++ 2001, 2002, 2004, Scott M. Dier <sdier at debian.org>
++ 2002, Don Armstrong <don at donarmstrong.com>
++ 2009, Ryan Niebur <ryan at debian.org>
++ 2011, Nicholas Bamber <nicholas at periapt.co.uk>
++License: Artistic or GPL-1+
++
++License: USC
++ Redistribution and use in source and binary forms are permitted
++ provided that the above copyright notice and this paragraph are
++ duplicated in all such forms and that any documentation, advertising
++ materials, and other materials related to such distribution and use
++ acknowledge that the software was developed by the University of
++ Southern California, Information Sciences Institute.  The name of the
++ University may not be used to endorse or promote products derived from
++ this software without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
++
++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 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 systems, the complete text of version 1 of the GNU General
++ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --combined debian/components/ebay/control
index 0000000,0000000..af7c10b
new file mode 100644
--- /dev/null
+++ b/debian/components/ebay/control
@@@ -1,0 -1,0 +1,7 @@@
++Source: ebay
++Build-Depends: debhelper (>= 8), libbit-vector-perl, libdate-manip-perl,
++ libio-capture-perl
++
++Package: ebay
++Depends: libdate-manip-perl, libhtml-tree-perl, libwww-perl
++Description: Ebay backend for WWW::Search
diff --combined debian/components/ebay/copyright
index 0000000,0000000..9d3caa0
new file mode 100644
--- /dev/null
+++ b/debian/components/ebay/copyright
@@@ -1,0 -1,0 +1,10 @@@
++Files: ebay/*
++Copyright: 1998-2009, Martin 'Kingpin' Thurn
++License: Artistic or GPL-1+
++
++Files: ebay/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
diff --combined debian/components/ebay/version
index 0000000,0000000..87ffd15
new file mode 100644
--- /dev/null
+++ b/debian/components/ebay/version
@@@ -1,0 -1,0 +1,1 @@@
++3.021
diff --combined debian/components/ebay/watch
index 0000000,0000000..07476a1
new file mode 100644
--- /dev/null
+++ b/debian/components/ebay/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-Ebay/  .+/WWW-Search-Ebay-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/firstgov/control
index 0000000,0000000..44a4a85
new file mode 100644
--- /dev/null
+++ b/debian/components/firstgov/control
@@@ -1,0 -1,0 +1,5 @@@
++Source: firstgov
++Build-Depends: debhelper (>= 8)
++
++Package: firstgov
++Description: FirstGov backend for WWW::Search
diff --combined debian/components/firstgov/copyright
index 0000000,0000000..0401072
new file mode 100644
--- /dev/null
+++ b/debian/components/firstgov/copyright
@@@ -1,0 -1,0 +1,3 @@@
++Files: jobserve/*
++Copyright: Dennis Sutch, <dsutch at doc.gov>
++License: Artistic or GPL-1+
diff --combined debian/components/firstgov/version
index 0000000,0000000..63738cc
new file mode 100644
--- /dev/null
+++ b/debian/components/firstgov/version
@@@ -1,0 -1,0 +1,1 @@@
++1.14
diff --combined debian/components/firstgov/watch
index 0000000,0000000..13878df
new file mode 100644
--- /dev/null
+++ b/debian/components/firstgov/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-FirstGov/  .+/WWW-Search-FirstGov-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/googlism/control
index 0000000,0000000..b88a9c8
new file mode 100644
--- /dev/null
+++ b/debian/components/googlism/control
@@@ -1,0 -1,0 +1,5 @@@
++Source: googlism
++Build-Depends: debhelper (>= 8)
++
++Package: googlism
++Description: Googlism backend for WWW::Search
diff --combined debian/components/googlism/copyright
index 0000000,0000000..314d962
new file mode 100644
--- /dev/null
+++ b/debian/components/googlism/copyright
@@@ -1,0 -1,0 +1,3 @@@
++Files: googlism/*
++Copyright: 2002, xern <xern at cpan.org>
++License: Artistic
diff --combined debian/components/googlism/version
index 0000000,0000000..7dec35f
new file mode 100644
--- /dev/null
+++ b/debian/components/googlism/version
@@@ -1,0 -1,0 +1,1 @@@
++0.02
diff --combined debian/components/googlism/watch
index 0000000,0000000..373e0c3
new file mode 100644
--- /dev/null
+++ b/debian/components/googlism/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-Googlism/  .+/WWW-Search-Googlism-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/jobserve/control
index 0000000,0000000..bd1e9ab
new file mode 100644
--- /dev/null
+++ b/debian/components/jobserve/control
@@@ -1,0 -1,0 +1,5 @@@
++Source: jobserve
++Build-Depends: debhelper (>= 8)
++
++Package: jobserve
++Description: Jonserve backend for WWW::Search
diff --combined debian/components/jobserve/copyright
index 0000000,0000000..22736a8
new file mode 100644
--- /dev/null
+++ b/debian/components/jobserve/copyright
@@@ -1,0 -1,0 +1,3 @@@
++Files: jobserve/*
++Copyright: 2003, Andy Pritchard
++License: Artistic or GPL-1+
diff --combined debian/components/jobserve/install
index 0000000,0000000..205ac10
new file mode 100755
--- /dev/null
+++ b/debian/components/jobserve/install
@@@ -1,0 -1,0 +1,45 @@@
++#!/bin/sh
++
++TDIR=COMPONENTS/${DH_COMPONENT}
++DESTDIR=debian/
++
++if [ -z ${PACKAGE} ]
++then
++    echo PACKAGE not set
++    exit 1
++fi
++PERL=$(which perl)
++PERL="${PERL} -I../../debian/${PACKAGE}/usr/share/perl5"
++
++if [ -z ${DH_COMPONENT} ]
++then
++    echo DH_COMPONENT not set
++    exit 1
++fi
++
++if [ ! -d ${TDIR} ]
++then
++    echo ${TDIR} not a directory
++    exit 1
++fi
++
++if dh_auto_install -D ${TDIR}
++then
++    EXIT_STATUS=0
++else
++    EXIT_STATUS=1
++fi
++
++if [ -e ${DH_COMPONENT}/ChangeLog ]
++then
++  if dh_install ${TDIR}/ChangeLog usr/share/doc/${PACKAGE}/${DH_COMPONENT}
++  then
++      EXIT_STATUS=0
++  else
++      EXIT_STATUS=1
++  fi
++fi
++
++exit $EXIT_STATUS
++
++
diff --combined debian/components/jobserve/version
index 0000000,0000000..1010473
new file mode 100644
--- /dev/null
+++ b/debian/components/jobserve/version
@@@ -1,0 -1,0 +1,1 @@@
++1.02
diff --combined debian/components/jobserve/watch
index 0000000,0000000..b4616d2
new file mode 100644
--- /dev/null
+++ b/debian/components/jobserve/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-Jobserve/  .+/WWW-Search-Jobserve-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/lycos/control
index 0000000,0000000..f1a1b8f
new file mode 100644
--- /dev/null
+++ b/debian/components/lycos/control
@@@ -1,0 -1,0 +1,6 @@@
++Source: lycos
++Build-Depends: debhelper (>= 8)
++
++Package: lycos
++Depends: libhtml-tree-perl
++Description: Lycos backend for WWW::Search
diff --combined debian/components/lycos/copyright
index 0000000,0000000..ffac528
new file mode 100644
--- /dev/null
+++ b/debian/components/lycos/copyright
@@@ -1,0 -1,0 +1,9 @@@
++Files: lycos/*
++Copyright: 1996-1998, USC/ISI
++License: Artistic or GPL-1+
++
++Files: lycos/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
diff --combined debian/components/lycos/install
index 0000000,0000000..205ac10
new file mode 100755
--- /dev/null
+++ b/debian/components/lycos/install
@@@ -1,0 -1,0 +1,45 @@@
++#!/bin/sh
++
++TDIR=COMPONENTS/${DH_COMPONENT}
++DESTDIR=debian/
++
++if [ -z ${PACKAGE} ]
++then
++    echo PACKAGE not set
++    exit 1
++fi
++PERL=$(which perl)
++PERL="${PERL} -I../../debian/${PACKAGE}/usr/share/perl5"
++
++if [ -z ${DH_COMPONENT} ]
++then
++    echo DH_COMPONENT not set
++    exit 1
++fi
++
++if [ ! -d ${TDIR} ]
++then
++    echo ${TDIR} not a directory
++    exit 1
++fi
++
++if dh_auto_install -D ${TDIR}
++then
++    EXIT_STATUS=0
++else
++    EXIT_STATUS=1
++fi
++
++if [ -e ${DH_COMPONENT}/ChangeLog ]
++then
++  if dh_install ${TDIR}/ChangeLog usr/share/doc/${PACKAGE}/${DH_COMPONENT}
++  then
++      EXIT_STATUS=0
++  else
++      EXIT_STATUS=1
++  fi
++fi
++
++exit $EXIT_STATUS
++
++
diff --combined debian/components/lycos/version
index 0000000,0000000..f9b537f
new file mode 100644
--- /dev/null
+++ b/debian/components/lycos/version
@@@ -1,0 -1,0 +1,1 @@@
++2.223
diff --combined debian/components/lycos/watch
index 0000000,0000000..db8f576
new file mode 100644
--- /dev/null
+++ b/debian/components/lycos/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-Lycos/  .+/WWW-Search-Lycos-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/news/control
index 0000000,0000000..53c1285
new file mode 100644
--- /dev/null
+++ b/debian/components/news/control
@@@ -1,0 -1,0 +1,6 @@@
++Source: news
++Build-Depends: debhelper (>= 8), libbit-vector-perl
++
++Package: news
++Depends: liburi-perl
++Description: News backend for WWW::Search
diff --combined debian/components/news/copyright
index 0000000,0000000..217c808
new file mode 100644
--- /dev/null
+++ b/debian/components/news/copyright
@@@ -1,0 -1,0 +1,9 @@@
++Files: news/*
++Copyright: 1998-2009, Martin 'Kingpin' Thurn
++License: Artistic or GPL-1+
++
++Files: news/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
diff --combined debian/components/news/version
index 0000000,0000000..8e09c1d
new file mode 100644
--- /dev/null
+++ b/debian/components/news/version
@@@ -1,0 -1,0 +1,1 @@@
++1.079
diff --combined debian/components/news/watch
index 0000000,0000000..ae6c725
new file mode 100644
--- /dev/null
+++ b/debian/components/news/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-News/  .+/WWW-Search-News-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/pagesjaunes/control
index 0000000,0000000..c701c75
new file mode 100644
--- /dev/null
+++ b/debian/components/pagesjaunes/control
@@@ -1,0 -1,0 +1,6 @@@
++Source: pagejaunes
++Build-Depends: debhelper (>= 8)
++
++Package: pagejaunes
++Depends: libhtml-parser-perl, libwww-perl, libhtml-form-perl
++Description: PagesJaunes backend for WWW::Search
diff --combined debian/components/pagesjaunes/copyright
index 0000000,0000000..36ad995
new file mode 100644
--- /dev/null
+++ b/debian/components/pagesjaunes/copyright
@@@ -1,0 -1,0 +1,3 @@@
++Files: pagesjeunes/*
++Copyright: 2002, Briac Pilpré
++License: Artistic or GPL-1+
diff --combined debian/components/pagesjaunes/version
index 0000000,0000000..f304084
new file mode 100644
--- /dev/null
+++ b/debian/components/pagesjaunes/version
@@@ -1,0 -1,0 +1,1 @@@
++0.13
diff --combined debian/components/pagesjaunes/watch
index 0000000,0000000..3c56718
new file mode 100644
--- /dev/null
+++ b/debian/components/pagesjaunes/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-Pagesjaunes/  .+/WWW-Search-Pagesjaunes-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/components/test
index 0000000,0000000..2d01c81
new file mode 100755
--- /dev/null
+++ b/debian/components/test
@@@ -1,0 -1,0 +1,38 @@@
++#!/bin/sh
++
++TDIR=COMPONENTS/${DH_COMPONENT}
++export PERL5LIB=../../debian/${PACKAGE}/usr/share/perl5
++if [ -z ${PACKAGE} ]
++then
++    echo PACKAGE not set
++    exit 1
++fi
++
++if [ -z ${DH_COMPONENT} ]
++then
++    echo DH_COMPONENT not set
++    exit 1
++fi
++
++if [ ! -d ${TDIR} ]
++then
++    echo ${TDIR} not a directory
++    exit 1
++fi
++
++if [ -z ${TEST_NETWORK} ]
++then
++    echo "no network; not testing"
++    exit 0
++fi
++
++if dh_auto_test -D ${TDIR}
++then
++    EXIT_STATUS=0
++else
++    EXIT_STATUS=1
++fi
++
++exit $EXIT_STATUS
++
++
diff --combined debian/components/yahoo/control
index 0000000,0000000..02182d0
new file mode 100644
--- /dev/null
+++ b/debian/components/yahoo/control
@@@ -1,0 -1,0 +1,6 @@@
++Source: yahoo
++Build-Depends: debhelper (>= 8), libi18n-charset-perl
++
++Package: yahoo
++Depends: libdate-manip-perl, libhtml-tree-perl, liburi-perl
++Description: Yahoo backend for WWW::Search
diff --combined debian/components/yahoo/copyright
index 0000000,0000000..9b62c6b
new file mode 100644
--- /dev/null
+++ b/debian/components/yahoo/copyright
@@@ -1,0 -1,0 +1,9 @@@
++Files: yahoo/*
++Copyright: 1998-2009, Martin 'Kingpin' Thurn
++License: Artistic or GPL-1+
++
++Files: yahoo/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
diff --combined debian/components/yahoo/version
index 0000000,0000000..9dcae3d
new file mode 100644
--- /dev/null
+++ b/debian/components/yahoo/version
@@@ -1,0 -1,0 +1,1 @@@
++2.415
diff --combined debian/components/yahoo/watch
index 0000000,0000000..20ebb45
new file mode 100644
--- /dev/null
+++ b/debian/components/yahoo/watch
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++	http://search.cpan.org/dist/WWW-Search-Yahoo/  .+/WWW-Search-Yahoo-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
diff --combined debian/control
index 5747358,0000000..8f0332b
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,18 -1,0 +1,26 @@@
 +Source: libwww-search-perl
 +Section: perl
 +Priority: optional
 +Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
- Uploaders: Ryan Niebur <ryan at debian.org>, Nicholas Bamber <nicholas at periapt.co.uk>
- Build-Depends: debhelper (>= 7.2)
- Standards-Version: 3.9.1
++Uploaders: Ryan Niebur <ryan at debian.org>,
++ Nicholas Bamber <nicholas at periapt.co.uk>
++Build-Depends: debhelper (>= 8), pkg-components (>= 0.3), libdate-manip-perl,
++ libfile-slurp-perl, libhtml-parser-perl, libhtml-tree-perl, libwww-perl,
++ liburi-perl, libuser-perl, libbit-vector-perl, libtest-pod-perl,
++ libtest-pod-coverage-perl, libio-capture-perl, libtest-file-perl
 +Vcs-Git: git://git.debian.org/pkg-perl/packages/libwww-search-perl.git
 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libwww-search-perl.git
- X-Test-Requires: I18N::Charset, IO::Capture, Test::Pod, Test::Pod::Coverage, Test::File, Bit::Vector
++Standards-Version: 3.9.2
++Homepage: http://search.cpan.org/dist/WWW-Search
 +
 +Package: libwww-search-perl
 +Architecture: all
- Depends: ${misc:Depends}, ${perl:Depends}, libbit-vector-perl, libdate-manip-perl, libfile-slurp-perl, libwww-perl, libhtml-parser-perl, liburi-perl, libuser-perl
++Depends: ${misc:Depends}, ${perl:Depends}, libdate-manip-perl,
++ libfile-slurp-perl, libwww-perl, libhtml-parser-perl, liburi-perl,
++ libuser-perl, libhtml-tree-perl, ${altavista:Depends}, ${lycos:Depends},
++ ${news:Depends}, ${yahoo:Depends}, ${ebay:Depends}, ${pagesjaunes:Depends}
++Recommends: libemail-send-perl, libemail-mime-perl, 
 +Description: Perl modules which provide an API to WWW search engines
 + WWW::Search is a collection of Perl modules which provide an API to
 + various WWW search engines.  The list changes too frequently to keep
 + up to date.
diff --combined debian/copyright
index 0013b8d,0000000..42a9087
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,121 -1,0 +1,128 @@@
- This package was debianized by Michael Alan Dorman mdorman at debian.org on
- Thu, 26 Dec 1996 15:23:28 -0500.
- 
- Major updates and adopton by Scott Dier sdier at debian.org on Fri,  9 Nov
- 2001 21:22:52 -0600
- 
- It is now maintained inside the Debian Perl Group.
- 
- All of the included WWW::Search modules can be found on http://www.cpan.org/
- 
- ====================================================================================================
- Perl is distributed under licenses:
- 
-         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.
- ====================================================================================================
- 
- 
- ====================================================================================================
- in all dists, ./inc/*
- ====================================================================================================
- Copyright 2008-2009 Adam Kennedy
- 
- This program is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search, WWW-Search-AltaVista
- ====================================================================================================
- Copyright (c) 1996 University of Southern California.
- All rights reserved.
- 
- Redistribution and use in source and binary forms are permitted
- provided that the above copyright notice and this paragraph are
- duplicated in all such forms and that any documentation, advertising
- materials, and other materials related to such distribution and use
- acknowledge that the software was developed by the University of
- Southern California, Information Sciences Institute.  The name of the
- University may not be used to endorse or promote products derived from
- this software without specific prior written permission.
- 
- THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-FirstGov
- ====================================================================================================
- Copyright 2001-2003 Dennis Sutch - <dsutch at doc.gov>
- 
- THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-Jobserve
- ====================================================================================================
- Copyright (C) 2003 Andy Pritchard
- 
- This library is free software; you can redistribute it and/or modify
- it under the same terms as Perl itself.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-News
- ====================================================================================================
- Copyright (C) 1998-2009 Martin 'Kingpin' Thurn
- 
- This software is released under the same license as Perl itself.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-Yahoo, WWW-Search-Ebay
- ====================================================================================================
- Copyright (C) 1998-2009 Martin 'Kingpin' Thurn
- 
- This software is released under the same license as Perl itself.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-Googlism
- ====================================================================================================
- Copyright (C) 2002 xern <xern at cpan.org>, released under The Artistic License
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-Lycos
- ====================================================================================================
- Copyright (C) 1996-1998 by USC/ISI
- 
- THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- ====================================================================================================
- 
- 
- ====================================================================================================
- WWW-Search-Pagesjaunes
- ====================================================================================================
- WWW::Search::Pagesjaunes is Copyright (C) 2002, Briac Pilpré
- 
- This module is free software; you can redistribute it or modify it under
- the same terms as Perl itself.
- ====================================================================================================
++Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
++Maintainer: Martin Thurn <mthurn at cpan.org>
++Source: http://search.cpan.org/dist/WWW-Search/
++Name: WWW-Search
++
++Files: *
++Copyright: 1996-1997, University of Southern California
++License: USC
++
++Files: inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: debian/*
++Copyright: 
++ 1996, 1999, Michael Alan Dorman <mdorman at debian.org>
++ 1999, Richard Braakman <dark at xs4all.nl>
++ 2001, 2002, 2004, Scott M. Dier <sdier at debian.org>
++ 2002, Don Armstrong <don at donarmstrong.com>
++ 2009, Ryan Niebur <ryan at debian.org>
++ 2011, Nicholas Bamber <nicholas at periapt.co.uk>
++License: Artistic or GPL-1+
++
++Files: jobserve/*
++Copyright: 2003, Andy Pritchard
++License: Artistic or GPL-1+
++
++Files: googlism/*
++Copyright: 2002, xern <xern at cpan.org>
++License: Artistic
++
++Files: pagesjeunes/*
++Copyright: 2002, Briac Pilpré
++License: Artistic or GPL-1+
++
++Files: ebay/*
++Copyright: 1998-2009, Martin 'Kingpin' Thurn
++License: Artistic or GPL-1+
++
++Files: ebay/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: altavista/*
++Copyright: 1996-1998, University of Southern California
++License: USC
++
++Files: altavista/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: altavista/lib/WWW/Search/AltaVista/AdvancedWeb.pm
++Copyright: 
++ 1999, Jim Smyser & USC/ISI
++ 1996, University of Southern California.
++License: USC
++
++Files: altavista/lib/WWW/Search/AltaVista/NL.pm
++Copyright: 
++ 2001, Different Soft
++ 1996-1998 University of Southern California.
++License: USC
++
++Files: lycos/*
++Copyright: 1996-1998, USC/ISI
++License: Artistic or GPL-1+
++
++Files: lycos/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: news/*
++Copyright: 1998-2009, Martin 'Kingpin' Thurn
++License: Artistic or GPL-1+
++
++Files: news/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++Files: yahoo/*
++Copyright: 1998-2009, Martin 'Kingpin' Thurn
++License: Artistic or GPL-1+
++
++Files: yahoo/inc/Module/*
++Copyright: 2002-2011, Adam Kennedy <adamk at cpan.org>
++ 2002-2011, Audrey Tang <autrijus at autrijus.org>
++ 2002-2011, Brian Ingerson <ingy at cpan.org>
++License: Artistic or GPL-1+
++
++License: USC
++ Redistribution and use in source and binary forms are permitted
++ provided that the above copyright notice and this paragraph are
++ duplicated in all such forms and that any documentation, advertising
++ materials, and other materials related to such distribution and use
++ acknowledge that the software was developed by the University of
++ Southern California, Information Sciences Institute.  The name of the
++ University may not be used to endorse or promote products derived from
++ this software without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
++ WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
++ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
++
++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 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 systems, the complete text of version 1 of the GNU General
++ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --combined debian/patches/all_from.patch
index 0000000,0000000..c244745
new file mode 100644
--- /dev/null
+++ b/debian/patches/all_from.patch
@@@ -1,0 -1,0 +1,27 @@@
++Author: Nicholas Bamber <nicholas at periapt.co.uk>
++Subject: Makefile.PL was looking for version in AltaVista
++ Turned off recursion
++Forwarded: not-needed
++Last-Updated: 2011-10-25
++--- a/Makefile.PL
+++++ b/Makefile.PL
++@@ -3,10 +3,10 @@
++ 
++ use inc::Module::Install;
++ 
++-# all_from('lib/WWW/Search.pm');
++ version(2.508);
++ perl_version(5.005);
++ license('perl');
+++all_from('lib/WWW/Search.pm');
++ 
++ install_script('Programs/AutoSearch');
++ install_script('Programs/WebSearch');
++@@ -97,6 +97,7 @@
++     } # if
++   postamble $ret;
++ 
+++makemaker_args(NORECURS=>1);
++ WriteAll;
++ 
++ __END__
diff --combined debian/patches/man.patch
index 0000000,0000000..f8a043b
new file mode 100644
--- /dev/null
+++ b/debian/patches/man.patch
@@@ -1,0 -1,0 +1,20 @@@
++Author: Nicholas Bamber <nicholas at periapt.co.uk>
++Subject: have removed .pl from script name
++Last-Updated: 2011-10-12
++Forwarded: not-needed
++--- a/googlism/bin/googlism.pl
+++++ b/googlism/bin/googlism.pl
++@@ -6,11 +6,11 @@
++ 
++ =head1 NAME
++ 
++-googlism.pl - Search Googlism.com
+++googlism - Search Googlism.com
++ 
++ =head1 SYNOPSIS
++ 
++-B<googlism.pl> query [ type ]
+++B<googlism> query [ type ]
++ 
++ =head1 DESCRIPTION
++ 
diff --combined debian/patches/pagesjeunes.patch
index 0000000,0000000..5bcba40
new file mode 100644
--- /dev/null
+++ b/debian/patches/pagesjeunes.patch
@@@ -1,0 -1,0 +1,28 @@@
++Author: Nicholas Bamber <nicholas at periapt.co.uk>
++Subject: Do not prompt for network access
++Last-Update: 2011-10-11
++Forwarded: no
++--- a/pagesjaunes/t/02search.t
+++++ b/pagesjaunes/t/02search.t
++@@ -1,11 +1,19 @@
++-use Test;
++-BEGIN { plan tests => 5 }
+++use Test::More;
+++#BEGIN { plan tests => 5 }
++ use WWW::Search::Pagesjaunes;
++ 
++ my $pj = WWW::Search::Pagesjaunes->new();
++ 
++ $pj->{ua}->agent("test".time);
++ 
+++if ($ENV{TEST_NETWORK}) {
+++    plan tests => 5;
+++}
+++else {
+++    plan skip_all => "no network";
+++}
+++
+++
++ $pj->find( nom => "palais de l'elysée", localite => "paris");
++ my $r = $pj->results;
++ 
diff --combined debian/patches/pod.patch
index 0000000,0000000..d0ec724
new file mode 100644
--- /dev/null
+++ b/debian/patches/pod.patch
@@@ -1,0 -1,0 +1,31 @@@
++Author: Nicholas Bamber <nicholas at periapt.co.uk>
++Subject: pod errors
++Last-Updated: 20111011
++Forwarded: no
++--- a/jobserve/lib/WWW/Search/Jobserve.pm
+++++ b/jobserve/lib/WWW/Search/Jobserve.pm
++@@ -233,8 +233,6 @@
++ 
++ =head1 OPTIONS
++ 
++-=over
++-
++ Parameters Available: 
++ 
++ F<job_category>
++@@ -243,6 +241,8 @@
++ F<job_order>
++ F<jobserve_site>
++ 
+++=over
+++
++ =item Job Category
++ 
++ Job Categories must be specified by setting C<job_category> 
++@@ -349,4 +349,4 @@
++ 
++ =cut
++ 
++-#####################################################################
++\ No newline at end of file
+++#####################################################################
diff --combined debian/patches/series
index 0000000,0000000..6f19448
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,4 @@@
++pagesjeunes.patch
++pod.patch
++man.patch
++all_from.patch
diff --combined debian/rules
index 8c0c286,0000000..36a41d6
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,35 -1,0 +1,22 @@@
 +#!/usr/bin/make -f
 +
- DESTDIR=$(CURDIR)/debian/$(shell dh_listpackages)
++PKG:=$(shell dh_listpackages)
++TMP:=$(CURDIR)/debian/$(PKG)
 +
 +%:
- 	dh $@
- 
- override_dh_auto_configure:
- 	DESTDIR=$(DESTDIR) debian/make-module.sh unpack
- 	DESTDIR=$(DESTDIR) debian/make-module.sh configure
- 
- override_dh_auto_build:
- 	DESTDIR=$(DESTDIR) debian/make-module.sh build
++	dh $@ --with components
 +
 +override_dh_auto_install:
- 	DESTDIR=$(DESTDIR) debian/make-module.sh install
- 	sed -i '1 s/local\///' $(DESTDIR)/usr/share/perl5/WWW/Search/Simple.pm $(DESTDIR)/usr/share/perl5/WWW/Search/Null.pm
- 	mv $(DESTDIR)/usr/bin/googlism.pl $(DESTDIR)/usr/bin/googlism
- 	sed -i '/POD ERRORS/,$$ d' $(DESTDIR)/usr/share/man/man3/WWW::Search::Jobserve.3pm
- 	mv $(DESTDIR)/usr/share/man/man1/googlism.pl.1p $(DESTDIR)/usr/share/man/man1/googlism.1p
- 	sed -i 's/googlism.pl/googlism/' $(DESTDIR)/usr/share/man/man1/googlism.1p
- 	DESTDIR=$(DESTDIR) debian/make-module.sh test
++	dh_auto_install
++	sed -i -e'1s/#!\/usr\/local\/bin\/perl/#/' $(TMP)/usr/share/perl5/WWW/Search/*.pm
 +
- override_dh_auto_test:
- 	@echo "testing happens later, after install"
++override_dh_pysupport:
 +
- build:
- 	DESTDIR=$(DESTDIR) debian/make-module.sh check
- 	dh $@
++override_dh_auto_test:
++	PERL5LIB=blib/lib PATH=blib/script:${PATH} dh_auto_test
 +
- clean:
- 	dh $@
- 	rm -fr build-area
++override_dh_components:
++	dh_components
++	mv $(TMP)/usr/bin/googlism.pl $(TMP)/usr/bin/googlism
++	mv $(TMP)/usr/share/man/man1/googlism.pl.1p $(TMP)/usr/share/man/man1/googlism.1p
 +
- .PHONY: clean build override_dh_auto_build override_dh_auto_test override_dh_auto_configure override_dh_auto_install
diff --combined debian/source/format
index 89ae9db,0000000..163aaf8
mode 100644,000000..100644
--- a/debian/source/format
+++ b/debian/source/format
@@@ -1,1 -1,0 +1,1 @@@
- 3.0 (native)
++3.0 (quilt)
diff --combined debian/source/lintian-overrides
index 0000000,0000000..5a73d52
new file mode 100644
--- /dev/null
+++ b/debian/source/lintian-overrides
@@@ -1,0 -1,0 +1,3 @@@
++# Debian Perl Group policy is that the copyright format be kept at
++# this version until the standard is finalized.
++libwww-search-perl source: out-of-date-copyright-format-uri http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
diff --combined debian/update.sh
index 0000000,0000000..e3520e8
new file mode 100755
--- /dev/null
+++ b/debian/update.sh
@@@ -1,0 -1,0 +1,72 @@@
++#!/bin/sh
++
++set -e
++
++DESTDIR=${DESTDIR:-..}
++MODULE=WWW-Search
++PACKAGE=libwww-search-perl
++VERSION=2.50.80
++EBAY_VERS=`cat debian/components/ebay/version`
++ALTAVISTA_VERS=`cat debian/components/altavista/version`
++FIRSTGOV_VERS=`cat debian/components/firstgov/version`
++GOOGLISM_VERS=`cat debian/components/googlism/version`
++JOBSERVE_VERS=`cat debian/components/jobserve/version`
++LYCOS_VERS=`cat debian/components/lycos/version`
++NEWS_VERS=`cat debian/components/news/version`
++PAGESJAUNES_VERS=`cat debian/components/pagesjaunes/version`
++YAHOO_VERS=`cat debian/components/yahoo/version`
++FD=--force-download
++NS=--no-symlink
++RE=--rename
++DD="--destdir ${DESTDIR}"
++RS=--report-status
++DC=-"-watch debian/components"
++US=--upstream-version
++
++if [ $1 ]
++then
++    echo update;
++    rm -f ${DESTDIR}/${MODULE}*.tar.gz
++    uscan ${FD} ${RE} ${DD} && true;
++    uscan ${DC}/ebay/watch ${FD} ${NS} ${DD} ${US} ${EBAY_VERS} && true;
++    uscan ${DC}/altavista/watch ${FD} ${NS} ${DD} ${US} ${ALTAVISTA_VERS} && true;
++    uscan ${DC}/firstgov/watch ${FD} ${NS} ${DD} ${US} ${FIRSTGOV_VERS} && true;
++    uscan ${DC}/googlism/watch ${FD} ${NS} ${DD} ${US} ${GOOGLISM_VERS} && true;
++    uscan ${DC}/jobserve/watch ${FD} ${NS} ${DD} ${US} ${JOBSERVE_VERS} && true;
++    uscan ${DC}/lycos/watch ${FD} ${NS} ${DD} ${US} ${LYCOS_VERS} && true;
++    uscan ${DC}/news/watch ${FD} ${NS} ${DD} ${US} ${NEWS_VERS} && true;
++    uscan ${DC}/pagesjaunes/watch ${FD} ${NS} ${DD} ${US} ${PAGESJAUNES_VERS} && true;
++    uscan ${DC}/yahoo/watch ${FD} ${NS} ${DD} ${US} ${YAHOO_VERS} && true;
++    cd ${DESTDIR}
++    EBAY=`ls ${MODULE}-Ebay*.tar.gz`
++    mv ${EBAY} ${PACKAGE}_${VERSION}.orig-ebay.tar.gz
++    ALTAVISTA=`ls ${MODULE}-AltaVista*.tar.gz`
++    mv ${ALTAVISTA} ${PACKAGE}_${VERSION}.orig-altavista.tar.gz
++    FIRSTGOV=`ls ${MODULE}-FirstGov*.tar.gz`
++    mv ${FIRSTGOV} ${PACKAGE}_${VERSION}.orig-firstgov.tar.gz
++    PAGESJAUNES=`ls ${MODULE}-Pagesjaunes*.tar.gz`
++    mv ${PAGESJAUNES} ${PACKAGE}_${VERSION}.orig-pagesjaunes.tar.gz
++    NEWS=`ls ${MODULE}-News*.tar.gz`
++    mv ${NEWS} ${PACKAGE}_${VERSION}.orig-news.tar.gz
++    LYCOS=`ls ${MODULE}-Lycos*.tar.gz`
++    mv ${LYCOS} ${PACKAGE}_${VERSION}.orig-lycos.tar.gz
++    JOBSERVE=`ls ${MODULE}-Jobserve*.tar.gz`
++    mv ${JOBSERVE} ${PACKAGE}_${VERSION}.orig-jobserve.tar.gz
++    YAHOO=`ls ${MODULE}-Yahoo*.tar.gz`
++    mv ${YAHOO} ${PACKAGE}_${VERSION}.orig-yahoo.tar.gz
++    GOOGLISM=`ls ${MODULE}-Googlism*.tar.gz`
++    mv ${GOOGLISM} ${PACKAGE}_${VERSION}.orig-googlism.tar.gz
++    cd -
++else
++    echo report;
++    uscan ${RS} && true;
++    uscan ${DC}/ebay/watch ${RS} ${DD} ${US} ${EBAY_VERS} && true;
++    uscan ${DC}/altavista/watch ${RS} ${DD} ${US} ${ALTAVISTA_VERS} && true;
++    uscan ${DC}/firstgov/watch ${RS} ${DD} ${US} ${FIRSTGOV_VERS} && true;
++    uscan ${DC}/googlism/watch ${RS} ${DD} ${US} ${GOOGLISM_VERS} && true;
++    uscan ${DC}/jobserve/watch ${RS} ${DD} ${US} ${JOBSERVE_VERS} && true;
++    uscan ${DC}/lycos/watch ${RS} ${DD} ${US} ${LYCOS_VERS} && true;
++    uscan ${DC}/news/watch ${RS} ${DD} ${US} ${NEWS_VERS} && true;
++    uscan ${DC}/pagesjaunes/watch ${RS} ${DD} ${US} ${PAGESJAUNES_VERS} && true;
++    uscan ${DC}/yahoo/watch ${RS} ${DD} ${US} ${YAHOO_VERS} && true;
++fi
diff --combined debian/watch
index 889e2ed,0000000..5a857d5
mode 100644,000000..100644
--- a/debian/watch
+++ b/debian/watch
@@@ -1,5 -1,0 +1,5 @@@
 +version=3
 +# this catches only the "primary" module of this package
 +# deal with 3/4-digit upstream versions
- opts="uversionmangle=s/(\.\d\d)(\d)$/${1}.${2}0/;s/(\.\d\d)(\d\d)$/${1}.${2}/,dversionmangle=s/\.debian\.\d+$//" \
++opts="uversionmangle=s/(\.\d\d)(\d)$/${1}.${2}0/;s/(\.\d\d)(\d\d)$/${1}.${2}/" \
 +	http://search.cpan.org/dist/WWW-Search/  .+/WWW-Search-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Debian packaging of libwww-search-perl



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