diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/changelog liblog-dispatch-message-passing-perl-0.009/debian/changelog --- liblog-dispatch-message-passing-perl-0.009/debian/changelog 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/changelog 2018-09-21 07:24:27.000000000 +0000 @@ -1,3 +1,27 @@ +liblog-dispatch-message-passing-perl (0.009-4) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * debian/*: update URLs from {search,www}.cpan.org to MetaCPAN. + * debian/*: update GitHub URLs to use HTTPS. + + [ Damyan Ivanov ] + * add patch adapting to the changes in Log::Dispatch 2.68. + Fixes test failures and Closes: #908766 + * bump debhelper compatibility level to 11 + * convert packaging from cdbs to debhelper + * fix interpreter path in examples + * use https for all URLs in debian/copyright + * add myself to Uploaders + * use correct Homepage URL + * add Testsuite header + * declare conformance with Policy 4.2.1 + * add upstream metadata + + -- Damyan Ivanov Fri, 21 Sep 2018 07:24:27 +0000 + liblog-dispatch-message-passing-perl (0.009-3) unstable; urgency=medium * Team upload. diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/compat liblog-dispatch-message-passing-perl-0.009/debian/compat --- liblog-dispatch-message-passing-perl-0.009/debian/compat 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/compat 2018-09-21 06:39:38.000000000 +0000 @@ -1 +1 @@ -8 +11 diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/control liblog-dispatch-message-passing-perl-0.009/debian/control --- liblog-dispatch-message-passing-perl-0.009/debian/control 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/control 2018-09-21 06:49:13.000000000 +0000 @@ -1,28 +1,29 @@ Source: liblog-dispatch-message-passing-perl Section: perl Priority: optional -Build-Depends: cdbs, +Build-Depends: devscripts, perl, - debhelper, + debhelper (>= 11), dh-buildinfo, liblog-dispatch-perl, libmessage-passing-perl, libtest-simple-perl Maintainer: Debian Perl Group -Uploaders: Jonas Smedegaard -Standards-Version: 3.9.4 -Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/liblog-dispatch-message-passing-perl -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/liblog-dispatch-message-passing-perl.git -Homepage: http://search.cpan.org/dist/Message-Passing-AMQP/ +Uploaders: Jonas Smedegaard , + Damyan Ivanov +Standards-Version: 4.2.1 +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblog-dispatch-message-passing-perl.git +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblog-dispatch-message-passing-perl +Homepage: https://metacpan.org/release/Log-Dispatch-Message-Passing +Testsuite: autopkgtest-pkg-perl Package: liblog-dispatch-message-passing-perl Architecture: all -Depends: ${cdbs:Depends}, +Depends: liblog-dispatch-perl, + libmessage-passing-perl, ${misc:Depends}, ${perl:Depends} -Recommends: ${cdbs:Recommends} -Suggests: ${cdbs:Suggests} Description: log events to Message::Passing Log::Dispatch::Message::Passing provides a Log::Dispatch log output system that sends logged events to Message::Passing. diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/control.in liblog-dispatch-message-passing-perl-0.009/debian/control.in --- liblog-dispatch-message-passing-perl-0.009/debian/control.in 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/control.in 2018-09-21 05:44:24.000000000 +0000 @@ -7,7 +7,7 @@ Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/liblog-dispatch-message-passing-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/liblog-dispatch-message-passing-perl.git -Homepage: http://search.cpan.org/dist/Message-Passing-AMQP/ +Homepage: https://metacpan.org/release/Message-Passing-AMQP Package: liblog-dispatch-message-passing-perl Architecture: all diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/copyright liblog-dispatch-message-passing-perl-0.009/debian/copyright --- liblog-dispatch-message-passing-perl-0.009/debian/copyright 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/copyright 2018-09-21 07:08:12.000000000 +0000 @@ -1,8 +1,8 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Log::Dispatch::Message::Passing -Upstream-Contact: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Log-Dispatch-Message-Passing -Source: http://search.cpan.org/dist/Log-Dispatch-Message-Passing/ - git://github.com/suretec/Log-Dispatch-Message-Passing.git +Upstream-Contact: https://rt.cpan.org/NoAuth/Bugs.html?Dist=Log-Dispatch-Message-Passing +Source: https://metacpan.org/release/Log-Dispatch-Message-Passing + https://github.com/suretec/Log-Dispatch-Message-Passing.git Files: * Copyright: 2012, Suretec Systems Ltd. diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/liblog-dispatch-message-passing-perl.examples liblog-dispatch-message-passing-perl-0.009/debian/liblog-dispatch-message-passing-perl.examples --- liblog-dispatch-message-passing-perl-0.009/debian/liblog-dispatch-message-passing-perl.examples 1970-01-01 00:00:00.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/liblog-dispatch-message-passing-perl.examples 2018-09-21 06:47:22.000000000 +0000 @@ -0,0 +1 @@ +example/* diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/patches/logidispatch-2.68.patch liblog-dispatch-message-passing-perl-0.009/debian/patches/logidispatch-2.68.patch --- liblog-dispatch-message-passing-perl-0.009/debian/patches/logidispatch-2.68.patch 1970-01-01 00:00:00.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/patches/logidispatch-2.68.patch 2018-09-21 06:34:27.000000000 +0000 @@ -0,0 +1,17 @@ +Description: adapt to changes in Log::Dispatch 2.68 + The internals have changed and the name of the output is lo longer passed to + its logging methods, leading to failure in t/basic.t. +Author: Damyan Ivanov +Bug: https://rt.cpan.org/Ticket/Display.html?id=127156 +Bug-Debian: https://bugs.debian.org/908766 + +--- a/lib/Log/Dispatch/Message/Passing.pm ++++ b/lib/Log/Dispatch/Message/Passing.pm +@@ -27,6 +27,7 @@ sub new { + + sub log_message { + my ($self, %p) = @_; ++ $p{name} //= $self->{name}; + $self->{output}->consume({%p}); + } + diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/patches/series liblog-dispatch-message-passing-perl-0.009/debian/patches/series --- liblog-dispatch-message-passing-perl-0.009/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/patches/series 2018-09-21 06:32:29.000000000 +0000 @@ -0,0 +1 @@ +logidispatch-2.68.patch diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/rules liblog-dispatch-message-passing-perl-0.009/debian/rules --- liblog-dispatch-message-passing-perl-0.009/debian/rules 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/rules 2018-09-21 07:12:42.000000000 +0000 @@ -1,39 +1,15 @@ #!/usr/bin/make -f -# -*- mode: makefile; coding: utf-8 -*- -# Copyright 2013, Jonas Smedegaard -# Description: Main Debian packaging script for Log::Dispatch::Message::Passing -# -# 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 3, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -include /usr/share/cdbs/1/rules/upstream-tarball.mk -include /usr/share/cdbs/1/rules/utils.mk -include /usr/share/cdbs/1/class/perl-makemaker.mk -include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/dpkg/pkg-info.mk -pkg = $(DEB_SOURCE_PACKAGE) +EXAMPLES_DIR := debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples -DEB_UPSTREAM_PACKAGE = Log-Dispatch-Message-Passing -DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Log +%: + dh $@ --with=buildinfo -# Needed by upstream build process and (always) at runtime -perl-deps = log-dispatch message-passing -deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps)) +override_dh_auto_configure: + PERL5LIB=$(CURDIR) dh_auto_configure -# Needed by upstream testsuite -deps-test = libtest-simple-perl - -CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test) -CDBS_DEPENDS_$(pkg) = $(deps) - -DEB_INSTALL_EXAMPLES_$(pkg) = example/* +override_dh_installexamples: + dh_installexamples + sed -i -e '1 s|^#!.*\benv perl.*|#!/usr/bin/perl|' $(EXAMPLES_DIR)/* diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/upstream/metadata liblog-dispatch-message-passing-perl-0.009/debian/upstream/metadata --- liblog-dispatch-message-passing-perl-0.009/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/upstream/metadata 2018-09-21 07:19:14.000000000 +0000 @@ -0,0 +1,5 @@ +--- +Archive: CPAN +Contact: Tomas Doran (t0m) C<< >> +Name: Log-Dispatch-Message-Passing +Repository: https://github.com/suretec/Log-Dispatch-Message-Passing.git diff -Nru liblog-dispatch-message-passing-perl-0.009/debian/watch liblog-dispatch-message-passing-perl-0.009/debian/watch --- liblog-dispatch-message-passing-perl-0.009/debian/watch 2017-08-02 15:59:38.000000000 +0000 +++ liblog-dispatch-message-passing-perl-0.009/debian/watch 2018-09-21 05:44:24.000000000 +0000 @@ -1,3 +1,3 @@ # Run the "uscan" command to check for upstream updates and more. version=3 -http://search.cpan.org/dist/Log-Dispatch-Message-Passing/ .*/Log-Dispatch-Message-Passing-([\d.]+)\.tar\.gz +https://metacpan.org/release/Log-Dispatch-Message-Passing .*/Log-Dispatch-Message-Passing-([\d.]+)\.tar\.gz