Skip to content
Snippets Groups Projects
Commit a9bafc35 authored by gregor herrmann's avatar gregor herrmann
Browse files

Import Debian changes 0.5800-1

libdbd-csv-perl (0.5800-1) unstable; urgency=medium

  * Import upstream version 0.5800.
  * Update years of upstream and packaging copyright.

libdbd-csv-perl (0.5700-1) unstable; urgency=medium

  * Import upstream version 0.5700.
  * Update debian/upstream/metadata.

libdbd-csv-perl (0.5600-1) unstable; urgency=medium

  * Import upstream version 0.5600.
  * Drop 0001-f_dir-should-exist.patch, which was taken from upstream.
  * Declare compliance with Debian Policy 4.5.1.

libdbd-csv-perl (0.5500-3) unstable; urgency=medium

  * Add examples/ to debian/tests/pkg-perl/smoke-files.
    Needed by t/11_dsnlist.t.

libdbd-csv-perl (0.5500-2) unstable; urgency=high

  * Team upload.
  * Fix test failure with libdbi-perl 1.643-3 (Closes: #974134)

libdbd-csv-perl (0.5500-1) unstable; urgency=medium

  * Import upstream version 0.5500.
  * Update years of upstream and packaging copyright.
  * Drop unneeded version constraints from (build) dependencies.
  * Annotate test-only build dependencies with <!nocheck>.
  * Add debian/tests/pkg-perl/smoke-files.
    Some new test data files are outside of t/.

libdbd-csv-perl (0.5400-1) unstable; urgency=medium

  * Team upload

  [ Xavier Guimard ]
  * Email change: Xavier Guimard -> yadd@debian.org
  * Declare compliance with policy 4.2.1

  [ gregor herrmann ]
  * debian/watch: use uscan version 4.

  [ Debian Janitor ]
  * Bump debhelper from old 10 to 12.
  * Set debhelper-compat version in Build-Depends.
  * Set upstream metadata fields: Bug-Database, Bug-Submit.
  * Remove obsolete fields Contact, Name from debian/upstream/metadata
    (already present in machine-readable debian/copyright).

  [ Axel Beckert ]
  * Set "Rules-Requires-Root: no".
  * Bump debhelper compatibility level to 13.
  * Declare compliance with Debian Policy 4.5.0.
parents b2f483f6 304c4539
No related branches found
No related tags found
1 merge request!2Update from debian/bullseye for apertis/v2022dev2
Pipeline #515367 canceled
......@@ -21,6 +21,14 @@ is not perfect. You can find my preferences for these in
[.perltidy](https://github.com/Tux/Release-Checklist/blob/master/.perltidyrc) and
[.perlcritic](https://github.com/Tux/Release-Checklist/blob/master/.perlcriticrc).
# Mail
Please, please, please, do *NOT* use HTML mail.
[Plain text](https://useplaintext.email)
[without](http://www.goldmark.org/jeff/stupid-disclaimers/)
[disclaimers](https://www.economist.com/business/2011/04/07/spare-us-the-e-mail-yada-yada)
will do fine!
# Requirements
The minimum version required to use this module is stated in
......
0.58 - 2021-02-10, H.Merijn Brand
* It's 2021
* "class" is not a CSV attribute to pass on (issue#8)
0.57 - 2020-12-17, H.Merijn Brand
* META fixes
0.56 - 2020-12-05, H.Merijn Brand
* Fix Changes (add missing 0.54)
* Bugtrackter => github issues
* f_dir should exist (CVE fix in DBI-1.644 / DBD::File-0.45)
* TODO tests better skipped if failing
0.55 - 2020-07-27, H.Merijn Brand
* It's 2019
* Provide cpanfile
* Doc enhancements
* It's 2020
* Make csv_ & f_ aliasses more consistently available (issue #7)
0.54 - 2018-10-29, H.Merijn Brand
* Free unref scalar test fixed in Text::CSV_XS 1.35
0.53 - 2018-05-20, H.Merijn Brand
* No folder scanning during automated tests
* Fix col_names set to empty [] incorrectly skipping first row
......
......@@ -2,11 +2,14 @@ ChangeLog
MANIFEST
Makefile.PL
CONTRIBUTING.md
cpanfile
README
lib/Bundle/DBD/CSV.pm
lib/DBD/CSV.pm
lib/DBD/CSV/TypeInfo.pm
lib/DBD/CSV/GetInfo.pm
files/fruit.csv
files/tools.csv
t/10_base.t
t/11_dsnlist.t
t/20_createdrop.t
......@@ -28,6 +31,7 @@ t/70_csv.t
t/71_csv-ext.t
t/72_csv-schema.t
t/73_csv-case.t
t/74-class.t
t/80_rt.t
t/82_free_unref_scalar.t
t/85_error.t
......
{
"release_status" : "stable",
"provides" : {
"DBD::CSV" : {
"version" : "0.53",
"file" : "lib/DBD/CSV.pm"
}
"generated_by" : "Author",
"abstract" : "DBI driver for CSV files",
"resources" : {
"repository" : {
"type" : "git",
"web" : "https://github.com/perl5-dbi/DBD-CSV",
"url" : "https://github.com/perl5-dbi/DBD-CSV"
},
"bugtracker" : {
"web" : "https://github.com/perl5-dbi/DBD-CSV/issues"
},
"license" : [
"http://dev.perl.org/licenses/"
]
},
"author" : [
"Jochen Wiedmann",
"Jeff Zucker",
"H.Merijn Brand <h.m.brand@xs4all.nl>",
"Jens Rehsack <rehsack@cpan.org>"
],
"version" : "0.58",
"meta-spec" : {
"version" : 2,
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec"
},
"name" : "DBD-CSV",
"prereqs" : {
"test" : {
"recommends" : {
"Test::More" : "1.302183"
},
"requires" : {
"Encode" : "0",
"Cwd" : "0",
"Test::Harness" : "0",
"Cwd" : "0",
"Encode" : "0",
"charnames" : "0",
"Test::More" : "0.90"
},
"recommends" : {
"Test::More" : "1.302136"
}
},
"configure" : {
......@@ -26,53 +44,38 @@
"ExtUtils::MakeMaker" : "0"
}
},
"build" : {
"requires" : {
"Config" : "0"
}
},
"runtime" : {
"recommends" : {
"DBI" : "1.641",
"DBD::File" : "0.44",
"Text::CSV_XS" : "1.35",
"SQL::Statement" : "1.412"
},
"requires" : {
"Text::CSV_XS" : "1.01",
"perl" : "5.008001",
"DBI" : "1.628",
"SQL::Statement" : "1.405",
"DBD::File" : "0.42",
"Text::CSV_XS" : "1.01"
}
},
"build" : {
"requires" : {
"Config" : "0"
"DBI" : "1.628"
},
"recommends" : {
"SQL::Statement" : "1.414",
"Text::CSV_XS" : "1.45",
"DBD::File" : "0.44",
"DBI" : "1.643"
}
}
},
"version" : "0.53",
"meta-spec" : {
"version" : 2,
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec"
},
"generated_by" : "Author",
"resources" : {
"repository" : {
"web" : "https://github.com/perl5-dbi/DBD-CSV.git",
"url" : "https://github.com/perl5-dbi/DBD-CSV.git",
"type" : "git"
},
"license" : [
"http://dev.perl.org/licenses/"
]
},
"author" : [
"Jochen Wiedmann",
"Jeff Zucker",
"H.Merijn Brand <h.m.brand@xs4all.nl>",
"Jens Rehsack <rehsack@cpan.org>"
],
"dynamic_config" : 1,
"x_installdirs" : "site",
"abstract" : "DBI driver for CSV files",
"license" : [
"perl_5"
]
],
"name" : "DBD-CSV",
"x_installdirs" : "site",
"release_status" : "stable",
"dynamic_config" : 1,
"provides" : {
"DBD::CSV" : {
"version" : "0.58",
"file" : "lib/DBD/CSV.pm"
}
}
}
......@@ -20,13 +20,13 @@ name: DBD-CSV
provides:
DBD::CSV:
file: lib/DBD/CSV.pm
version: '0.53'
version: '0.58'
recommends:
DBD::File: '0.44'
DBI: '1.641'
SQL::Statement: '1.412'
Test::More: '1.302136'
Text::CSV_XS: '1.35'
DBI: '1.643'
SQL::Statement: '1.414'
Test::More: '1.302183'
Text::CSV_XS: '1.45'
requires:
Cwd: 0
DBD::File: '0.42'
......@@ -39,7 +39,8 @@ requires:
charnames: 0
perl: '5.008001'
resources:
bugtracker: https://github.com/perl5-dbi/DBD-CSV/issues
license: http://dev.perl.org/licenses/
repository: https://github.com/perl5-dbi/DBD-CSV.git
version: '0.53'
repository: https://github.com/perl5-dbi/DBD-CSV
version: '0.58'
x_installdirs: site
# -*- perl -*-
# Copyright (c) 2009-2018 H.Merijn Brand
# Copyright (c) 2009-2021 H.Merijn Brand
require 5.008001;
......@@ -161,5 +161,15 @@ sub postamble {
' -@cpants_lint.pl $(DISTVNAME).tgz',
' -@rm -f Debian_CPANTS.txt',
'',
'doc docs: doc/DBD-CSV.md doc/DBD-CSV.html doc/DBD-CSV.man',
' -@rm -f pod2html.tmp',
'doc/DBD-CSV.md: lib/DBD/CSV.pm',
' pod2markdown < $? > $@',
'doc/DBD-CSV.html: lib/DBD/CSV.pm',
' pod2html < $? 2>&1 | grep -v "^Cannot find" > $@',
'doc/DBD-CSV.3: lib/DBD/CSV.pm',
' pod2man < $? > $@',
'doc/DBD-CSV.man: doc/DBD-CSV.3',
' nroff -mandoc < $? > $@',
$min_vsn;
} # postamble
......@@ -9,7 +9,7 @@ Description
values).
Copying
Copyright (C) 2009-2018 by H.Merijn Brand
Copyright (C) 2009-2021 by H.Merijn Brand
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
......
cpanfile 0 → 100644
requires "DBD::File" => "0.42";
requires "DBI" => "1.628";
requires "SQL::Statement" => "1.405";
requires "Text::CSV_XS" => "1.01";
recommends "DBD::File" => "0.44";
recommends "DBI" => "1.643";
recommends "SQL::Statement" => "1.414";
recommends "Text::CSV_XS" => "1.45";
on "configure" => sub {
requires "DBI" => "1.628";
requires "ExtUtils::MakeMaker";
};
on "build" => sub {
requires "Config";
};
on "test" => sub {
requires "Cwd";
requires "Encode";
requires "Test::Harness";
requires "Test::More" => "0.90";
requires "charnames";
recommends "Test::More" => "1.302183";
};
libdbd-csv-perl (0.5300-1+deb10u1) buster; urgency=medium
libdbd-csv-perl (0.5800-1) unstable; urgency=medium
* Import upstream version 0.5800.
* Update years of upstream and packaging copyright.
-- gregor herrmann <gregoa@debian.org> Sat, 13 Feb 2021 18:28:15 +0100
libdbd-csv-perl (0.5700-1) unstable; urgency=medium
* Import upstream version 0.5700.
* Update debian/upstream/metadata.
-- gregor herrmann <gregoa@debian.org> Sat, 19 Dec 2020 18:11:36 +0100
libdbd-csv-perl (0.5600-1) unstable; urgency=medium
* Import upstream version 0.5600.
* Drop 0001-f_dir-should-exist.patch, which was taken from upstream.
* Declare compliance with Debian Policy 4.5.1.
-- gregor herrmann <gregoa@debian.org> Mon, 07 Dec 2020 02:12:05 +0100
libdbd-csv-perl (0.5500-3) unstable; urgency=medium
* Add examples/ to debian/tests/pkg-perl/smoke-files.
Needed by t/11_dsnlist.t.
-- gregor herrmann <gregoa@debian.org> Fri, 13 Nov 2020 14:44:11 +0100
libdbd-csv-perl (0.5500-2) unstable; urgency=high
* Team upload.
* Fix test failure with libdbi-perl 1.643-3 (Closes: #974134)
-- Dominic Hargreaves <dom@earth.li> Tue, 10 Nov 2020 14:22:54 +0000
libdbd-csv-perl (0.5500-1) unstable; urgency=medium
* Import upstream version 0.5500.
* Update years of upstream and packaging copyright.
* Drop unneeded version constraints from (build) dependencies.
* Annotate test-only build dependencies with <!nocheck>.
* Add debian/tests/pkg-perl/smoke-files.
Some new test data files are outside of t/.
-- gregor herrmann <gregoa@debian.org> Mon, 27 Jul 2020 21:14:14 +0200
libdbd-csv-perl (0.5400-1) unstable; urgency=medium
* Team upload
[ Xavier Guimard ]
* Email change: Xavier Guimard -> yadd@debian.org
* Declare compliance with policy 4.2.1
[ gregor herrmann ]
* debian/watch: use uscan version 4.
[ Debian Janitor ]
* Bump debhelper from old 10 to 12.
* Set debhelper-compat version in Build-Depends.
* Set upstream metadata fields: Bug-Database, Bug-Submit.
* Remove obsolete fields Contact, Name from debian/upstream/metadata
(already present in machine-readable debian/copyright).
[ Dominic Hargreaves ]
* Fix test failure with libdbi-perl 1.642-1+deb10u2 (Closes: #974134)
[ Axel Beckert ]
* Set "Rules-Requires-Root: no".
* Bump debhelper compatibility level to 13.
* Declare compliance with Debian Policy 4.5.0.
-- Salvatore Bonaccorso <carnil@debian.org> Thu, 14 Jan 2021 22:56:01 +0100
-- Axel Beckert <abe@debian.org> Tue, 21 Jul 2020 23:14:38 +0200
libdbd-csv-perl (0.5300-1) unstable; urgency=medium
......
10
......@@ -2,27 +2,28 @@ Source: libdbd-csv-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa@debian.org>,
Ansgar Burchardt <ansgar@debian.org>,
Xavier Guimard <x.guimard@free.fr>
Xavier Guimard <yadd@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: libdbi-perl (>= 1.628),
libsql-statement-perl (>= 1.405),
libtext-csv-xs-perl (>= 1.11),
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: libdbi-perl <!nocheck>,
libsql-statement-perl <!nocheck>,
libtext-csv-xs-perl <!nocheck>,
perl
Standards-Version: 4.1.4
Standards-Version: 4.5.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdbd-csv-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdbd-csv-perl.git
Homepage: https://metacpan.org/release/DBD-CSV
Rules-Requires-Root: no
Package: libdbd-csv-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
libdbi-perl (>= 1.628),
libsql-statement-perl (>= 1.405),
libtext-csv-xs-perl (>= 1.11)
libdbi-perl,
libsql-statement-perl,
libtext-csv-xs-perl
Suggests: libdbi-test-perl
Description: DBI driver for CSV files
DBD::CSV is a Perl DBI Driver for providing an SQL-based interface to records
......
......@@ -6,7 +6,7 @@ Source: https://metacpan.org/release/DBD-CSV
Files: *
Copyright: 1998-2004, Jochen Wiedmann <jwied@cpan.org>
2004-2009, Jeff Zucker <jeff@vpservices.com>
2009-2018, H.Merijn Brand <h.m.brand@xs4all.nl>
2009-2021, H.Merijn Brand <h.m.brand@xs4all.nl>
License: Artistic or GPL-1+
Files: debian/*
......@@ -16,11 +16,11 @@ Copyright: 1998, Craig Sanders <cas@taz.net.au>
2004, Christian Hammers <ch@debian.org>
2004, Frank Lichtenheld <djpig@debian.org>
2004-2005, Gunnar Wolf <gwolf@debian.org>
2006-2018, gregor herrmann <gregoa@debian.org>
2006-2021, gregor herrmann <gregoa@debian.org>
2009-2010, Jonathan Yu <jawnsy@cpan.org>
2010-2011, Ansgar Burchardt <ansgar@debian.org>
2010, Nicholas Bamber <nicholas@periapt.co.uk>
2012-2013, Xavier Guimard <x.guimard@free.fr>
2012-2013, Xavier Guimard <yadd@debian.org>
License: Artistic or GPL-1+
License: Artistic
......
From 88c3ca044a3881eab62d6d2d38490351fd421386 Mon Sep 17 00:00:00 2001
From: "H.Merijn Brand - Tux" <linux@tux.freedom.nl>
Date: Wed, 28 Oct 2020 15:56:53 +0100
Subject: [PATCH] f_dir should exist
From a CVE fix in DBI-1.644 / DBD::File-0.45
---
t/11_dsnlist.t | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/t/11_dsnlist.t b/t/11_dsnlist.t
index 8370976..3e97d45 100644
--- a/t/11_dsnlist.t
+++ b/t/11_dsnlist.t
@@ -24,9 +24,19 @@ ok (@dsn >= 2, "more than one");
ok ($dbh->disconnect, "disconnect");
# Try different DSN's
-foreach my $d (qw( . example lib t )) {
+foreach my $d (qw( . examples lib t )) {
ok (my $dns = Connect ("dbi:CSV:f_dir=$d"), "use $d as f_dir");
ok ($dbh->disconnect, "disconnect");
}
+if ($DBD::File::VERSION ge "0.45") {
+ my @err;
+ is (eval {
+ local $SIG{__WARN__} = sub { push @err => @_ };
+ local $SIG{__DIE__} = sub { push @err => @_ };
+ Connect ("dbi:CSV:f_dir=d/non/exist/here");
+ }, undef, "f_dir = nonexting dir");
+ like ("@err", qr{d/non/exist/here}, "Error caught");
+ }
+
done_testing ();
--
2.20.1
0001-f_dir-should-exist.patch
t/
files/
examples/
---
Archive: CPAN
Contact: H.Merijn Brand <h.m.brand@xs4all.nl>
Name: DBD-CSV
Bug-Database: https://github.com/perl5-dbi/DBD-CSV/issues
Bug-Submit: https://github.com/perl5-dbi/DBD-CSV/issues/new
Repository: https://github.com/perl5-dbi/DBD-CSV.git
Repository-Browse: https://github.com/perl5-dbi/DBD-CSV.git
Repository-Browse: https://github.com/perl5-dbi/DBD-CSV
version=3
version=4
opts="uversionmangle=s/\.\d\d\d$/$&0/;s/\.\d\d$/$&00/;s/\.\d$/$&000/" \
https://metacpan.org/release/DBD-CSV .*/DBD-CSV-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
https://metacpan.org/release/DBD-CSV .*/DBD-CSV-v?@ANY_VERSION@@ARCHIVE_EXT@$
c_fruit,fruit
1,Apple
2,Blueberry
3,Orange
4,Melon
c_tool;tool
1;Hammer
2;Screwdriver
3;Drill
4;Saw
5;Router
6;Hobbyknife
......@@ -5,7 +5,7 @@ package Bundle::DBD::CSV;
use strict;
use warnings;
our $VERSION = "1.14";
our $VERSION = "1.15";
1;
......@@ -21,15 +21,15 @@ Bundle::DBD::CSV - A bundle to install the DBD::CSV driver
=head1 CONTENTS
DBI 1.641
DBI 1.643
Text::CSV_XS 1.35
Text::CSV_XS 1.45
SQL::Statement 1.412
SQL::Statement 1.414
DBD::File 0.44
DBD::CSV 0.53
DBD::CSV 0.58
=head1 DESCRIPTION
......@@ -44,7 +44,7 @@ This module is currently maintained by
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2009-2018 by H.Merijn Brand
Copyright (C) 2009-2021 by H.Merijn Brand
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment