diff -Nru libclass-dbi-perl-3.0.17/debian/changelog libclass-dbi-perl-3.0.17/debian/changelog --- libclass-dbi-perl-3.0.17/debian/changelog 2020-12-28 12:42:00.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/changelog 2022-03-28 15:55:35.000000000 +0000 @@ -1,3 +1,54 @@ +libclass-dbi-perl (3.0.17-5) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * debian/control: update {versioned,alternative} (build) dependencies. + + [ Salvatore Bonaccorso ] + * Change Vcs-Git to canonical URI (git://anonscm.debian.org) + * Change search.cpan.org based URIs to metacpan.org based URIs + + [ Axel Beckert ] + * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- + copyright" + + [ gregor herrmann ] + * Strip trailing slash from metacpan URLs. + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * debian/*: update URLs from {search,www}.cpan.org to MetaCPAN. + + [ Laurent Baillet ] + * fix lintian file-contains-trailing-whitespace warning + + [ gregor herrmann ] + * debian/watch: use uscan version 4. + + [ Debian Janitor ] + * Set Testsuite header for perl package. + * Bump debhelper from old 12 to 13. + + [ gregor herrmann ] + * Add patch to fix "Can't get last insert id" error on inserting row. + Thanks to Matt Zagrabelny for the bug report. (Closes: #1008553) + * debian/copyright: update license blurbs. + * Declare compliance with Debian Policy 4.6.0. + * Set Rules-Requires-Root: no. + * Annotate test-only build dependencies with . + + -- gregor herrmann Mon, 28 Mar 2022 17:55:35 +0200 + libclass-dbi-perl (3.0.17-4.1) unstable; urgency=medium * Non maintainer upload by the Reproducible Builds team. @@ -188,4 +239,3 @@ * Initial Release, closes: #183966. -- Stephen Quinney Wed, 9 Jul 2003 09:55:33 +0100 - diff -Nru libclass-dbi-perl-3.0.17/debian/compat libclass-dbi-perl-3.0.17/debian/compat --- libclass-dbi-perl-3.0.17/debian/compat 2011-08-01 14:56:35.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -7 diff -Nru libclass-dbi-perl-3.0.17/debian/control libclass-dbi-perl-3.0.17/debian/control --- libclass-dbi-perl-3.0.17/debian/control 2011-08-10 10:04:24.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/control 2022-03-28 15:55:35.000000000 +0000 @@ -1,29 +1,43 @@ Source: libclass-dbi-perl -Section: perl -Priority: optional Maintainer: Debian Perl Group Uploaders: Ansgar Burchardt -Build-Depends: debhelper (>= 7) -Build-Depends-Indep: perl (>= 5.8.2-2), libclass-accessor-perl (>= 0.18), - libclass-data-inheritable-perl (>= 0.02), libima-dbi-perl (>= 0.33), - libclass-trigger-perl (>= 0.07), libuniversal-moniker-perl (>= 0.06), - libdbd-sqlite3-perl (>= 1.13-1.1), libdate-simple-perl, - libclone-perl, libtime-piece-mysql-perl, - libdatetime-format-mysql-perl, libtest-pod-perl -Standards-Version: 3.9.2 -Vcs-Git: git://git.debian.org/pkg-perl/packages/libclass-dbi-perl.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libclass-dbi-perl.git -Homepage: http://search.cpan.org/~tmtm/Class-DBI/ +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 13) +Build-Depends-Indep: libclass-accessor-perl , + libclass-data-inheritable-perl , + libclass-trigger-perl , + libclone-perl , + libdate-simple-perl , + libdatetime-format-mysql-perl , + libdbd-sqlite3-perl , + libima-dbi-perl , + libtest-pod-perl , + libtime-piece-mysql-perl , + libuniversal-moniker-perl , + perl +Standards-Version: 4.6.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-dbi-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-dbi-perl.git +Homepage: https://metacpan.org/release/Class-DBI +Rules-Requires-Root: no Package: libclass-dbi-perl Architecture: all -Depends: libclass-accessor-perl (>= 0.18), - libclass-data-inheritable-perl (>= 0.02), libima-dbi-perl (>= 0.33), - libclass-trigger-perl (>= 0.07), libuniversal-moniker-perl (>= 0.06), - libclone-perl, ${misc:Depends}, ${perl:Depends} +Depends: ${misc:Depends}, + ${perl:Depends}, + libclass-accessor-perl, + libclass-data-inheritable-perl, + libclass-trigger-perl, + libclone-perl, + libima-dbi-perl, + libuniversal-moniker-perl Recommends: libclass-dbi-abstractsearch-perl -Suggests: libclass-dbi-pg-perl, libclass-dbi-mysql-perl, - libclass-dbi-sqlite-perl, libclass-dbi-loader-perl +Suggests: libclass-dbi-loader-perl, + libclass-dbi-mysql-perl, + libclass-dbi-pg-perl, + libclass-dbi-sqlite-perl Description: convenient abstraction layer to a database Class::DBI not only provides a simple database to object mapping layer, but can be used to implement several higher order database diff -Nru libclass-dbi-perl-3.0.17/debian/copyright libclass-dbi-perl-3.0.17/debian/copyright --- libclass-dbi-perl-3.0.17/debian/copyright 2011-08-01 14:56:35.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/copyright 2022-03-28 15:55:35.000000000 +0000 @@ -1,33 +1,33 @@ -Format-Specification: - http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 -Upstream-Maintainer: Tony Bowden -Upstream-Source: http://search.cpan.org/dist/Class-DBI/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Class-DBI +Upstream-Contact: Tony Bowden +Source: https://metacpan.org/release/Class-DBI Files: * -Copyright: +Copyright: © 1999-2001, Michael G Schwern © 2001-2006, Tony Bowden -License-Alias: Perl -License: Artistic | GPL-1+ +License: Artistic or GPL-1+ Files: debian/* Copyright: © 2003-2006, Stephen Quinney © 2006-2009, Bart Martens © 2009, Ansgar Burchardt -License: Artistic | GPL-1+ +License: Artistic or 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' + 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 GNU/Linux systems, the complete text of the GNU General - Public License can be found in `/usr/share/common-licenses/GPL' + 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 -Nru libclass-dbi-perl-3.0.17/debian/patches/auto-gitignore libclass-dbi-perl-3.0.17/debian/patches/auto-gitignore --- libclass-dbi-perl-3.0.17/debian/patches/auto-gitignore 1970-01-01 00:00:00.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/patches/auto-gitignore 2022-03-28 15:55:35.000000000 +0000 @@ -0,0 +1,15 @@ +Subject: Update .gitignore from Debian packaging branch + +The Debian packaging git branch contains these updates to the upstream +.gitignore file(s). This patch is autogenerated, to provide these +updates to users of the official Debian archive view of the package. + +[dgit (9.15) update-gitignore] +--- +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..26a7c92 +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1 @@ ++/.pc/ diff -Nru libclass-dbi-perl-3.0.17/debian/patches/mysql_insertid.patch libclass-dbi-perl-3.0.17/debian/patches/mysql_insertid.patch --- libclass-dbi-perl-3.0.17/debian/patches/mysql_insertid.patch 1970-01-01 00:00:00.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/patches/mysql_insertid.patch 2022-03-28 15:55:35.000000000 +0000 @@ -0,0 +1,35 @@ +Description: Fix "Can't get last insert id" error on inserting row (MySQL 5.7) +Origin: https://raw.githubusercontent.com/cvicente/Netdot/master/patches/ubuntu-1604/DBI.pm.patch +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=118491 +Bug-Debian: https://bugs.debian.org/1008553 +Author: Carlos Vicente +Reviewed-by: gregor herrmann +Last-Update: 2022-03-28 + +--- a/lib/Class/DBI.pm ++++ b/lib/Class/DBI.pm +@@ -597,6 +597,7 @@ + + sub _auto_increment_value { + my $self = shift; ++ my $sth = shift; + my $dbh = $self->db_Main; + + # Try to do this in a standard method. Fall back to MySQL/SQLite +@@ -607,6 +608,7 @@ + my $id = $dbh->last_insert_id(undef, undef, $self->table, undef) # std + || $dbh->{mysql_insertid} # mysql + || eval { $dbh->func('last_insert_rowid') } ++ || $sth->{'mysql_insertid'} # Added for MySQL 5.7 + or $self->_croak("Can't get last insert id"); + return $id; + } +@@ -623,7 +625,7 @@ + $self->_bind_param($sth, \@columns); + $sth->execute(values %$data); + my @primary_columns = $self->primary_columns; +- $data->{ $primary_columns[0] } = $self->_auto_increment_value ++ $data->{ $primary_columns[0] } = $self->_auto_increment_value($sth) + if @primary_columns == 1 + && !defined $data->{ $primary_columns[0] }; + }; diff -Nru libclass-dbi-perl-3.0.17/debian/patches/pod-spelling.patch libclass-dbi-perl-3.0.17/debian/patches/pod-spelling.patch --- libclass-dbi-perl-3.0.17/debian/patches/pod-spelling.patch 2011-08-10 10:04:24.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/patches/pod-spelling.patch 2022-03-28 15:55:35.000000000 +0000 @@ -1,6 +1,9 @@ Description: fix a tiny typo in POD +Bug: https://rt.cpan.org/Ticket/Display.html?id=78161 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=78161 Author: Damyan Ivanov -Forwarded: no +Reviewed-by: gregor herrmann +Last-Update: 2012-07-02 --- a/lib/Class/DBI/Search/Basic.pm +++ b/lib/Class/DBI/Search/Basic.pm diff -Nru libclass-dbi-perl-3.0.17/debian/patches/series libclass-dbi-perl-3.0.17/debian/patches/series --- libclass-dbi-perl-3.0.17/debian/patches/series 2011-08-10 10:04:24.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/patches/series 2022-03-28 15:55:35.000000000 +0000 @@ -1 +1,3 @@ pod-spelling.patch +mysql_insertid.patch +auto-gitignore diff -Nru libclass-dbi-perl-3.0.17/debian/watch libclass-dbi-perl-3.0.17/debian/watch --- libclass-dbi-perl-3.0.17/debian/watch 2011-08-01 14:56:35.000000000 +0000 +++ libclass-dbi-perl-3.0.17/debian/watch 2022-03-28 15:55:35.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -http://search.cpan.org/dist/Class-DBI/ .*/Class-DBI-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) +version=4 +https://metacpan.org/release/Class-DBI .*/Class-DBI-v?@ANY_VERSION@@ARCHIVE_EXT@$