diff -Nru libnet-traceroute-pureperl-perl-0.10/debian/changelog libnet-traceroute-pureperl-perl-0.10/debian/changelog --- libnet-traceroute-pureperl-perl-0.10/debian/changelog 2022-06-30 23:23:07.000000000 +0000 +++ libnet-traceroute-pureperl-perl-0.10/debian/changelog 2022-07-03 18:54:07.000000000 +0000 @@ -1,3 +1,16 @@ +libnet-traceroute-pureperl-perl (0.10-4) unstable; urgency=medium + + * Add patch from upstream development release to rename a constant + which clashes with Socket.pm. + Thanks to autopkgtests. + * Declare compliance with Debian Policy 4.6.1. + * Set Rules-Requires-Root: no. + * Bump debhelper-compat to 13. + * Annotate test-only build dependencies with . + * Add /me to Uploaders. + + -- gregor herrmann Sun, 03 Jul 2022 20:54:07 +0200 + libnet-traceroute-pureperl-perl (0.10-3) unstable; urgency=medium [ Salvatore Bonaccorso ] diff -Nru libnet-traceroute-pureperl-perl-0.10/debian/control libnet-traceroute-pureperl-perl-0.10/debian/control --- libnet-traceroute-pureperl-perl-0.10/debian/control 2022-06-30 23:23:07.000000000 +0000 +++ libnet-traceroute-pureperl-perl-0.10/debian/control 2022-07-03 18:54:07.000000000 +0000 @@ -1,15 +1,17 @@ Source: libnet-traceroute-pureperl-perl Maintainer: Debian Perl Group +Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper-compat (= 12), - libnet-traceroute-perl, +Build-Depends: debhelper-compat (= 13), + libnet-traceroute-perl , perl -Standards-Version: 3.9.5 +Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libnet-traceroute-pureperl-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libnet-traceroute-pureperl-perl.git Homepage: https://metacpan.org/release/Net-Traceroute-PurePerl +Rules-Requires-Root: no Package: libnet-traceroute-pureperl-perl Architecture: all diff -Nru libnet-traceroute-pureperl-perl-0.10/debian/copyright libnet-traceroute-pureperl-perl-0.10/debian/copyright --- libnet-traceroute-pureperl-perl-0.10/debian/copyright 2022-06-30 23:23:07.000000000 +0000 +++ libnet-traceroute-pureperl-perl-0.10/debian/copyright 2022-07-03 18:54:07.000000000 +0000 @@ -10,6 +10,7 @@ Files: debian/* Copyright: 2012, Taku YASUI + 2012-2022, gregor herrmann License: Artistic or GPL-1+ License: Artistic diff -Nru libnet-traceroute-pureperl-perl-0.10/debian/patches/IP_TTL.patch libnet-traceroute-pureperl-perl-0.10/debian/patches/IP_TTL.patch --- libnet-traceroute-pureperl-perl-0.10/debian/patches/IP_TTL.patch 1970-01-01 00:00:00.000000000 +0000 +++ libnet-traceroute-pureperl-perl-0.10/debian/patches/IP_TTL.patch 2022-07-03 18:54:07.000000000 +0000 @@ -0,0 +1,25 @@ +Description: Renamed IP_TTL to SOCKOPT_IP_TTL to avoid conflict with Socket.pm +Origin: upstream release 0.10_04 +Author: John Kristoff +Last-Update: 2022-07-03 + +--- a/PurePerl.pm ++++ b/PurePerl.pm +@@ -18,7 +18,7 @@ + use constant IPPROTO_IP => 0; # from netinet/in.h + + # Windows winsock2 uses 4 for IP_TTL instead of 2 +-use constant IP_TTL => ($^O eq "MSWin32") ? 4 : 2; ++use constant SOCKOPT_IP_TTL => ($^O eq "MSWin32") ? 4 : 2; + + use constant IP_HEADERS => 20; # Length of IP headers + use constant ICMP_HEADERS => 8; # Length of ICMP headers +@@ -797,7 +797,7 @@ + $self->debug_print(2,"Connected to " . $self->host . "\n"); + } + +- setsockopt($self->{'_trace_socket'}, IPPROTO_IP, IP_TTL, pack('C',$hop)); ++ setsockopt($self->{'_trace_socket'}, IPPROTO_IP, SOCKOPT_IP_TTL, pack('C',$hop)); + $self->debug_print(2,"Set TTL to $hop\n"); + + if ($self->protocol eq 'udp') diff -Nru libnet-traceroute-pureperl-perl-0.10/debian/patches/series libnet-traceroute-pureperl-perl-0.10/debian/patches/series --- libnet-traceroute-pureperl-perl-0.10/debian/patches/series 2022-06-30 23:23:07.000000000 +0000 +++ libnet-traceroute-pureperl-perl-0.10/debian/patches/series 2022-07-03 18:54:07.000000000 +0000 @@ -1 +1,2 @@ spelling.patch +IP_TTL.patch