diff options
-rw-r--r-- | debian/changelog | 23 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/config | 2 | ||||
-rw-r--r-- | debian/control | 16 | ||||
-rw-r--r-- | debian/copyright | 2 | ||||
-rw-r--r-- | debian/libapache-sessionx-perl.lintian-overrides | 4 | ||||
-rw-r--r-- | debian/postinst | 26 | ||||
-rwxr-xr-x | debian/rules | 2 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 | ||||
-rw-r--r-- | debian/watch | 6 |
11 files changed, 50 insertions, 37 deletions
diff --git a/debian/changelog b/debian/changelog index 59f8477..614a918 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,26 @@ +libapache-sessionx-perl (2.01-6) unstable; urgency=medium + + [ gregor herrmann ] + * debian/watch: use uscan version 4. + + [ Debian Janitor ] + * Bump debhelper from old 10 to 12. + * Set debhelper-compat version in Build-Depends. + * Remove obsolete fields Contact, Name from debian/upstream/metadata + (already present in machine-readable debian/copyright). + * Bump debhelper from old 12 to 13. + + [ gregor herrmann ] + * Remove file generated during build via debian/clean. + (Closes: #1046408) + * Refresh lintian overrides (syntax). + * Update years of packaging copyright. + * Declare compliance with Debian Policy 4.6.2. + * Annotate test-only build dependencies with <!nocheck>. + * debian/rules: use user:group for chown call. + + -- gregor herrmann <gregoa@debian.org> Mon, 04 Mar 2024 20:35:06 +0100 + libapache-sessionx-perl (2.01-5) unstable; urgency=low * Team upload. diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..6b11130 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +SessionX/Config.pm diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/config b/debian/config index 169693e..c373d90 100644 --- a/debian/config +++ b/debian/config @@ -44,8 +44,6 @@ sub AUTOLOAD { 1; - - package main; #use Debconf::Client::ConfModuleX qw(:all); diff --git a/debian/control b/debian/control index 8608028..cfb4fb6 100644 --- a/debian/control +++ b/debian/control @@ -5,11 +5,11 @@ Uploaders: Ansgar Burchardt <ansgar@debian.org>, Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 10), +Build-Depends: debhelper-compat (= 13), po-debconf -Build-Depends-Indep: perl, - libapache-session-perl -Standards-Version: 4.2.1 +Build-Depends-Indep: libapache-session-perl <!nocheck>, + perl +Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libapache-sessionx-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libapache-sessionx-perl.git Homepage: https://metacpan.org/release/Apache-SessionX @@ -17,11 +17,11 @@ Rules-Requires-Root: binary-targets Package: libapache-sessionx-perl Architecture: all -Depends: ${perl:Depends}, - ${misc:Depends}, +Depends: ${misc:Depends}, + ${perl:Depends}, libapache-session-perl -Suggests: libdbd-pg-perl, - libdbd-mysql-perl, +Suggests: libdbd-mysql-perl, + libdbd-pg-perl, libdbd-sybase-perl Description: extended persistence framework for session data Apache::SessionX extends Apache::Session. It was initially written to use diff --git a/debian/copyright b/debian/copyright index be58a44..94a8296 100644 --- a/debian/copyright +++ b/debian/copyright @@ -12,7 +12,7 @@ Files: debian/* Copyright: 2002, 2003, 2004, 2005, 2007, Angus Lees <gus@debian.org> 2006, 2007, 2008, Christian Perrier <bubulle@debian.org> 2010, Ansgar Burchardt <ansgar@debian.org> - 2011-2012, gregor herrmann <gregoa@debian.org> + 2011-2024, gregor herrmann <gregoa@debian.org> License: Artistic or GPL-1+ Files: debian/po/da.po diff --git a/debian/libapache-sessionx-perl.lintian-overrides b/debian/libapache-sessionx-perl.lintian-overrides index 7b0ba2d..c32a3ee 100644 --- a/debian/libapache-sessionx-perl.lintian-overrides +++ b/debian/libapache-sessionx-perl.lintian-overrides @@ -1,5 +1,5 @@ # These directories need to be writable by apache -libapache-sessionx-perl binary: non-standard-dir-perm var/lib/libapache-sessionx-perl/* +libapache-sessionx-perl binary: non-standard-dir-perm 0770 != 0755 [var/lib/libapache-sessionx-perl/*] # false positive if maintainer scripts are written in Perl -libapache-sessionx-perl binary: unused-debconf-template libapache-sessionx-perl/* +libapache-sessionx-perl binary: unused-debconf-template libapache-sessionx-perl/* [*:*] diff --git a/debian/postinst b/debian/postinst index 12814c9..0598b1d 100644 --- a/debian/postinst +++ b/debian/postinst @@ -44,8 +44,6 @@ sub AUTOLOAD { 1; - - package main; use IO::File; @@ -64,7 +62,7 @@ my $configfile = '/var/lib/libapache-sessionx-perl/Config.pm'; # from Apache::SessionX Makefile.PL: my %Store = ( - 'File' => + 'File' => { param => { @@ -75,7 +73,7 @@ my %Store = }, }, - 'FileFile' => + 'FileFile' => { param => { @@ -87,7 +85,7 @@ my %Store = }, }, - 'DB_File' => + 'DB_File' => { param => { @@ -98,7 +96,7 @@ my %Store = }, }, - 'Mysql' => + 'Mysql' => { param => { @@ -109,13 +107,13 @@ my %Store = 'UserName' => '?', 'Password' => '?', }, - 'require' => + 'require' => [ 'DBD::mysql', ], }, - 'MysqlMysql' => + 'MysqlMysql' => { param => { @@ -129,13 +127,13 @@ my %Store = 'LockUserName' => '?', 'LockPassword' => '?', }, - 'require' => + 'require' => [ 'DBD::mysql', ], }, - 'Oracle' => + 'Oracle' => { param => { @@ -146,7 +144,7 @@ my %Store = 'UserName' => '?', 'Password' => '?', }, - 'require' => + 'require' => [ 'DBD::Oracle', ], @@ -162,12 +160,12 @@ my %Store = 'UserName' => '?', 'Password' => '?', }, - 'require' => + 'require' => [ 'DBD::Sybase', ], }, - 'Postgres' => + 'Postgres' => { param => { @@ -178,7 +176,7 @@ my %Store = 'UserName' => '?', 'Password' => '?', }, - 'require' => + 'require' => [ 'DBD::Pg', ], diff --git a/debian/rules b/debian/rules index 55daa72..ad35b3b 100755 --- a/debian/rules +++ b/debian/rules @@ -23,6 +23,6 @@ override_dh_fixperms: dh_fixperms for d in File FileFile FileFile/locks DB_File; do \ - chown www-data.www-data $(TMP)/var/lib/libapache-sessionx-perl/$$d; \ + chown www-data:www-data $(TMP)/var/lib/libapache-sessionx-perl/$$d; \ chmod 0770 $(TMP)/var/lib/libapache-sessionx-perl/$$d; \ done diff --git a/debian/upstream/metadata b/debian/upstream/metadata deleted file mode 100644 index 622f3e4..0000000 --- a/debian/upstream/metadata +++ /dev/null @@ -1,4 +0,0 @@ ---- -Archive: CPAN -Contact: Gerald Richter <richter@dev.ecos.de> -Name: Apache-SessionX diff --git a/debian/watch b/debian/watch index fa706c9..965a04a 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,2 @@ -# format version number, currently 3; this line is compulsory! -version=3 -# URL to the package page followed by a regex to search -https://metacpan.org/release/Apache-SessionX .*/Apache-SessionX-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/Apache-SessionX .*/Apache-SessionX-v?@ANY_VERSION@@ARCHIVE_EXT@$ |