--- libima-dbi-perl-0.35.orig/debian/compat +++ libima-dbi-perl-0.35/debian/compat @@ -0,0 +1 @@ +7 --- libima-dbi-perl-0.35.orig/debian/control +++ libima-dbi-perl-0.35/debian/control @@ -0,0 +1,38 @@ +Source: libima-dbi-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Bart Martens , + Krzysztof Krzyżaniak (eloy) +Build-Depends: cdbs, debhelper (>= 7) +Build-Depends-Indep: perl (>= 5.8.0), libdbix-contextualfetch-perl (>= 1.00), + libdbi-perl (>= 1.20), libclass-data-inheritable-perl (>= 0.02), + libtest-pod-perl, libtest-pod-coverage-perl +Standards-Version: 3.8.1 +Homepage: http://search.cpan.org/dist/Ima-DBI/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libima-dbi-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libima-dbi-perl/ + + +Package: libima-dbi-perl +Architecture: all +Conflicts: libclass-dbi-perl (<< 0.96) +Depends: ${perl:Depends}, ${misc:Depends}, + libdbix-contextualfetch-perl (>= 1.00), libdbi-perl (>= 1.20), + libclass-data-inheritable-perl (>= 0.02) +Description: Database connection caching and organization + Ima::DBI attempts to organize and facilitate caching and more + efficient use of database connections and statement handles. + . + One of the things that can be annoying about writing large programs + with DBI is making sure that you do not have duplicate database + handles open. There is also the issue of the somewhat wasteful nature + of the prepare/execute/finish route that users tend to go through. + . + The new DBI->connect_cached and DBI->prepare_cached help a lot, but + you still have to throw around global information about the data + source, username and password. + . + So, after a while the author grew a small library of DBI helper + routines and techniques. Ima::DBI is the culmination of all this, + put into a nice(?), clean(?) class to be inherited from. --- libima-dbi-perl-0.35.orig/debian/rules +++ libima-dbi-perl-0.35/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/perlmodule.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +install/libima-dbi-perl:: + -rmdir debian/libima-dbi-perl/usr/lib/perl5 + -rmdir debian/libima-dbi-perl/usr/lib --- libima-dbi-perl-0.35.orig/debian/changelog +++ libima-dbi-perl-0.35/debian/changelog @@ -0,0 +1,84 @@ +libima-dbi-perl (0.35-1) unstable; urgency=low + + * New upstream release + * Move to Debian Perl repository with permission from Bart Martens, change + headers in debian/control + * debian/control: update Standards-Version to 3.8.1, migrated to debhelper7 + * debian/watch: update to last schema + * debian/copyright: update to last schema + + -- Krzysztof Krzyżaniak (eloy) Wed, 15 Apr 2009 11:42:24 +0200 + +libima-dbi-perl (0.34-5) unstable; urgency=low + + * debian/control: Added Homepage field, and updated Standards-Version. + + -- Bart Martens Tue, 11 Dec 2007 20:30:06 +0100 + +libima-dbi-perl (0.34-3) unstable; urgency=low + + * debian/patches/01_still_Active.diff: Added. Closes: #399309. + + -- Bart Martens Wed, 22 Nov 2006 17:09:41 +0100 + +libima-dbi-perl (0.34-2) unstable; urgency=low + + * New maintainer, as agreed with Stephen. + * debian/*: Use cdbs. + * debian/control: Added libtest-pod-perl and libtest-pod-coverage-perl to + Build-Depends-Indep for "make test". + * debian/copyright: Updated. + * debian/watch: Updated to version 3. + + -- Bart Martens Fri, 17 Nov 2006 11:19:23 +0100 + +libima-dbi-perl (0.34-1) unstable; urgency=low + + * New upstream release + * Removed dependency (and build-dependency) on libclass-whitehole-perl + as it is no longer required by upstream. + * Switched to my debian.org email address. + + -- Stephen Quinney Wed, 14 Sep 2005 08:49:35 +0100 + +libima-dbi-perl (0.33-2) unstable; urgency=low + + * debian/watch - Updated URL to stop lookups randomly failing. + + -- Stephen Quinney Sat, 11 Jun 2005 12:36:20 +0100 + +libima-dbi-perl (0.33-1) unstable; urgency=low + + * New upstream release. + * Now depends on the new module DBIx::ContextualFetch which is a + sub-class of DBI. + * Changed section to perl. + * Tidied up debian/rules. + * Conflicts with versions of Class::DBI prior to 0.96 + + -- Stephen Quinney Thu, 6 May 2004 20:21:53 +0100 + +libima-dbi-perl (0.32-1) unstable; urgency=low + + * New upstream release - small bug fix. + + -- Stephen Quinney Sat, 6 Mar 2004 15:13:22 +0000 + +libima-dbi-perl (0.31-1) unstable; urgency=low + + * New upstream release + + -- Stephen Quinney Fri, 23 Jan 2004 10:20:06 +0000 + +libima-dbi-perl (0.29-1) unstable; urgency=low + + * New upstream release + + -- Stephen Quinney Fri, 4 Jul 2003 17:14:07 +0100 + +libima-dbi-perl (0.28-1) unstable; urgency=low + + * Initial Release. + + -- Stephen Quinney Wed, 5 Mar 2003 10:24:02 +0000 + --- libima-dbi-perl-0.35.orig/debian/watch +++ libima-dbi-perl-0.35/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://search.cpan.org/dist/Ima-DBI/ .*/Ima-DBI-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) + --- libima-dbi-perl-0.35.orig/debian/copyright +++ libima-dbi-perl-0.35/debian/copyright @@ -0,0 +1,31 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Author: Tony Bowden + Perrin Harkins + Michael G Schwern +Packaged-By: Stephen Quinney +Upstream-Name: Ima::DBI +Original-Source-Location: http://search.cpan.org/dist/Ima-DBI/ +Original-Source-Command: uscan --force-download +Original-Source-Depends: devscripts + +Files: * +Copyright: © 1998-2001 Michael G Schwern + © 2001-2005 Tony Bowden + © 2009 Perrin Harkins +License: GPL-1+ | Artistic + This program is free software, you can redistribute it and/or modify it under + the same terms as Perl itself. + +Files: debian/* +Copyright: + © 2003-2005 Stephen Quinney + © 2006-2007 Bart Martens + © 2009 Krzysztof Krzyzaniak (eloy) + + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. 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'. + --- libima-dbi-perl-0.35.orig/debian/patches/01_still_Active.diff +++ libima-dbi-perl-0.35/debian/patches/01_still_Active.diff @@ -0,0 +1,12 @@ +diff -ruN orig/libima-dbi-perl-0.34/lib/Ima/DBI.pm libima-dbi-perl-0.34/lib/Ima/DBI.pm +--- orig/libima-dbi-perl-0.34/lib/Ima/DBI.pm 2005-09-05 11:16:44.000000000 +0200 ++++ libima-dbi-perl-0.34/lib/Ima/DBI.pm 2006-11-19 07:20:12.000000000 +0100 +@@ -379,7 +379,7 @@ + # This is to do proper '%%' translation. + my $sql = $class->transform_sql($statement => @_); + return $cache +- ? $dbh->prepare_cached($sql) ++ ? $dbh->prepare_cached($sql,undef,1) + : $dbh->prepare($sql); + }; + }