debian/0000775000000000000000000000000014177741450007202 5ustar debian/changelog0000644000000000000000000002133114177741450011052 0ustar libsocket6-perl (0.29-1build4) jammy; urgency=medium * No-change rebuild for the perl update. -- Matthias Klose Sun, 06 Feb 2022 13:46:32 +0100 libsocket6-perl (0.29-1build3) impish; urgency=medium * No-change rebuild to build packages with zstd compression. -- Matthias Klose Thu, 07 Oct 2021 12:18:20 +0200 libsocket6-perl (0.29-1build2) hirsute; urgency=medium * No-change rebuild for the perl update. -- Matthias Klose Mon, 09 Nov 2020 12:45:24 +0100 libsocket6-perl (0.29-1build1) focal; urgency=medium * No-change rebuild for the perl update. -- Matthias Klose Fri, 18 Oct 2019 19:35:00 +0000 libsocket6-perl (0.29-1) unstable; urgency=medium * Import upstream version 0.29. * Fix Contact in debian/upstream/metadata. * Update years of upstream copyright. * Drop debian/libsocket6-perl.examples which installed two diffs. * Refresh ipv6_constants.patch (offset). * Declare compliance with Debian Policy 4.2.1. * Remove trailing whitespace from debian/*. * Add autom4te.cache/ to debian/clean. -- gregor herrmann Sun, 21 Oct 2018 21:24:29 +0200 libsocket6-perl (0.28-1) unstable; urgency=medium [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. [ Florian Schlichting ] * Import upstream version 0.28 [ Alex Muntada ] * Remove inactive pkg-perl members from Uploaders. [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * Add /me to Uploaders. * Declare compliance with Debian Policy 4.1.5. * Bump debhelper compatibility level to 10. -- gregor herrmann Mon, 30 Jul 2018 16:40:11 +0200 libsocket6-perl (0.27-1) unstable; urgency=medium * Team upload [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * Simplify BTS URL. [ Florian Schlichting ] * Add debian/upstream/metadata * Import upstream version 0.27 * Update years of upstream copyright * Refresh ipv6_constants.patch (offset) * Declare compliance with Debian Policy 3.9.8 * Enable all hardening flags * Mark package autopkgtest-able -- Florian Schlichting Sun, 01 May 2016 23:36:56 +0200 libsocket6-perl (0.25-1) unstable; urgency=low * Imported Upstream version 0.25 * New maintainer (Closes: #738885) * Bump standards version to 3.9.5 (no changes) * [11eaa0be] debian/control + Add homepage field * Install socket6(3) manpage (Closes: #694083) * [8ee3ba01] Import patch to add missing IPv6 constants (Closes: #569981 LP: #522191) Thanks to David Madore for the patch * [c5f9120a] Update debian/watch * [71f53f90] debian/control + Add VCS fields * [24b9fbe0] debian/copyright + Convert to machine readable format * [a2d90858] Use https://metacpan.org/release/Socket6 in d/control, d/copyright, d/watch * [1a66281f] Remove obsolete postinst script * [748e7406] Correct licence name to BSD-3-Clause * [c0eeedec] Complete copyrights for Upstream sources * [f01ff881] Move debian/* copyright to end and complete all copyright holders * [e4c2b323] Reduce debian/rules to minimal format * [ef54d313] Add debian/clean * [60cc876d] Add debian/libsocket6-perl.examples * [362ba811] debian/control + Modify build-depends + Remove perl-base from Depends + Modify description to include the module name * [a8b2cf87] Remove unneeded README.Debian * [b527fae1] Remove override and add build-system to debian/rules -- Daniel Lintott Sun, 16 Feb 2014 12:07:30 +0000 libsocket6-perl (0.23+ds-0+nmu1) unstable; urgency=low [ Cyril Brulebois ] * Non-maintainer upload. * Switch to upstream tarball, using “ds” for “debian source” as a suffix since dak wouldn't appreciate different tarballs having the same name. * Add watch file. * Drop dbs from build-depends, and kill some dbs bits in debian/rules, adjusting clean accordingly (closes: #576062). [ Robert Luberda ] * Prepare this NMU based on Cyril's version from #576062 in order to get rid of dbs build-dependency. Upload it to DELAYED/10. * Switch to the 3.0 (quilt) source format. * Switch to debhelper v9 and its tiny rules format. * Bump Standards-Version to 3.9.4. -- Robert Luberda Sun, 22 Sep 2013 12:57:43 +0200 libsocket6-perl (0.23-1) unstable; urgency=low * New upstream release. (closes: #531009) - Fix "libsocket6-perl AF_INET6 and PF_INET6 check failed" (Closes: #505431) * Standards-Version: 3.8.3.0. * debian/preinst,postrm: removed because this file does not make sense. -- Masahito Omote Sat, 23 Jan 2010 02:32:12 +0000 libsocket6-perl (0.20-1) unstable; urgency=low * New upstream release. (closes: Bug#480464) * Standards-Version: 3.7.3.0. * debian/compat: set 7 and Build-Depends: debhelper (>=7). -- Masahito Omote Mon, 12 May 2008 00:20:05 +0900 libsocket6-perl (0.19-1) unstable; urgency=low * New upstream release. (closes: Bug#357169) * Standards-Version: 3.6.2.2 -- Masahito Omote Fri, 17 Mar 2006 10:34:11 +0900 libsocket6-perl (0.17-1) unstable; urgency=low * New upstream release. (closes: Bug#284823) * Standards-Version: 3.6.1.1 -- Masahito Omote Sun, 12 Dec 2004 12:54:45 +0900 libsocket6-perl (0.11.99-1) unstable; urgency=low * Rafael's getipnodeby{name|addr} support version. Because I cannot judge he decide to fork of Socket6 in CPAN, so I decide to version to 0.11.99. New libio-socket-inet6-perl needs Rafael's Socket6. (closes: Bug#204389) * Drop my INET6.pm. These are inherited to libio-socket-inet6-perl. * Build-Depends: dbs. * Standards-Version: 3.6.0 -- Masahito Omote Sun, 10 Aug 2003 21:13:28 +0900 libsocket6-perl (0.11-6) unstable; urgency=low * Move INET6.pm to examples for transition. I prepare to ITP libio-socket-inet6-perl by Rafael Martinez as soon as possible after entering in CPAN. (See http://www.ee.ethz.ch/~slist/mrtg-developers/msg00172.html and http://www.ee.ethz.ch/~slist/mrtg-developers/msg00174.html for more details) If you want to use INET6.pm please copy it by yourself. * Bump Standards-Version to 3.5.10.0. * Move section from interpreters to perl. -- Masahito Omote Wed, 28 May 2003 23:21:02 +0900 libsocket6-perl (0.11-5) unstable; urgency=low * Fix address separation bug in INET6.pm. (closes: Bug#180450) * Update Standards-Version to 3.5.8.0. -- Masahito Omote Mon, 17 Feb 2003 16:20:11 +0900 libsocket6-perl (0.11-4) unstable; urgency=low * Sync with NMU. Rebuild on perl 5.8.0. (closes: Bug#158665) * Change Build-Depends to perl 5.8.0. * update Standards-Version to 3.5.7.0. -- Masahito Omote Wed, 25 Sep 2002 08:39:57 +0900 libsocket6-perl (0.11-3.1) unstable; urgency=low * NMU for perl 5.8. * Bump perl build-dependency to >= 5.8.0-7 (closes: #158665). -- Colin Watson Fri, 30 Aug 2002 23:56:11 +0100 libsocket6-perl (0.11-3) unstable; urgency=high * INET.pm: fix typo. (closes: Bug#148078) * INET.pm: move to /usr/share/perl5/IO/Socket/INET6.pm (closes: Bug#148340) * Change maintainer's mail address. -- Masahito Omote Tue, 28 May 2002 10:10:47 +0900 libsocket6-perl (0.11-2) unstable; urgency=low * Used dbs_make. * debian/rules: change dbs style. * INET.pm(IO::Socket::INET): add support for Socket6.pm, this is based on KAME Project's Socket.pm(IO::Socket::INET). I adopted this code to perl 5.6.1 but this poring may makes some serious problems. If some problems are occurred, please send BTS. (thanks to paulvt@debian.org) * debian/copyright: add INET.pm license, upstream URI. * debian/control: add Depends perl-base. -- Masahito Omote Fri, 24 May 2002 21:19:06 +0900 libsocket6-perl (0.11-1) unstable; urgency=medium * New upstream release which fixes buffer overflow problem in getnameinfo.c. (closes: Bug#118772) * debian/rules: make simple, and remove obsolete targets. * debian/changelog: remove emacs options. -- Masahito Omote Sun, 18 Nov 2001 00:48:22 +0900 libsocket6-perl (0.10-2) unstable; urgency=low * debian/control: Revised in Description. (closes: Bug#109359) * debian/control: Delete usage in extended description, see README. -- Masahito Omote Thu, 23 Aug 2001 14:22:49 +0900 libsocket6-perl (0.10-1) unstable; urgency=low * Initial Release. -- Masahito Omote Thu, 8 Jul 2001 13:56:00 +0900 debian/clean0000664000000000000000000000011113363151155010171 0ustar config.h config.log config.pl config.status gailookup.pl autom4te.cache/ debian/compat0000664000000000000000000000000313363151155010372 0ustar 10 debian/control0000664000000000000000000000154213363151155010600 0ustar Source: libsocket6-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 10), perl Standards-Version: 4.2.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsocket6-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsocket6-perl.git Homepage: https://metacpan.org/release/Socket6 Package: libsocket6-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: Perl extensions for IPv6 The Socket6 module supports getaddrinfo() and getnameinfo() to intend to enable protocol independent programming. If your environment supports IPv6, IPv6 related defines such as AF_INET6 are included. debian/copyright0000664000000000000000000000633713363151155011137 0ustar Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Socket6 Upstream-Contact: Hajimu UMEMOTO Source: https://metacpan.org/release/Socket6 Files: * Copyright: 1995-1999 WIDE Project 2000-2018 Hajimu UMEMOTO License: BSD-3-Clause Comment: Socket6.pm and Socket6.xs are based on perl5.005_55-v6-19990721 written by KAME Project Files: gai.h getaddrinfo.c getnameinfo.c Copyright: 1995-1999 WIDE Project 2000-2016 Hajimu UMEMOTO License: BSD-3-Clause Comment: gai.h, getaddrinfo.c and getnameinfo.c are based on ssh-1.2.27-IPv6-1.5 written by KIKUCHI Takahiro . Files: inet_ntop.c inet_pton.c Copyright: Copyright (C) 1996-2001 Internet Software Consortium License: ISC Files: debian/* Copyright: 2001-2010 Masahito Omote 2013 Cyril Brulebois , Robert Luberda 2014 Daniel Lintott 2016-2018 gregor herrmann License: BSD-3-Clause License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/patches/0000775000000000000000000000000013363151155010622 5ustar debian/patches/ipv6_constants.patch0000664000000000000000000000661413363151155014632 0ustar Description: IPv6 Constants missing from Socket6 The SOL_IPV6(=IPPROTO_IPV6)-level constants for setsockopt which are documented in ipv6(7) under Linux, many of which are common to other operating systems, are not defined by the Socket6 module, as they probably should. Origin: Vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=54629 Bug-Debian: https://bugs.debian.org/569981 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libsocket6-perl/+bug/522191 Author: David Madore Last-Update: 2018-10-21 --- --- a/Socket6.pm +++ b/Socket6.pm @@ -260,6 +260,25 @@ IPV6_AUTH_NETWORK_LEVEL IPV6_ESP_NETWORK_LEVEL IPV6_ESP_TRANS_LEVEL + IPV6_ADDRFORM + IPV6_ADD_MEMBERSHIP + IPV6_DROP_MEMBERSHIP + IPV6_MTU + IPV6_MTU_DISCOVER + IPV6_MULTICAST_HOPS + IPV6_MULTICAST_IF + IPV6_MULTICAST_LOOP + IPV6_PKTINFO + IPV6_RTHDR + IPV6_AUTHHDR + IPV6_DSTOPS + IPV6_HOPOPTS + IPV6_FLOWINFO + IPV6_HOPLIMIT + IPV6_RECVERR + IPV6_ROUTER_ALERT + IPV6_UNICAST_HOPS + IPV6_V6ONLY NI_NOFQDN NI_NUMERICHOST NI_NAMEREQD --- a/Socket6.xs +++ b/Socket6.xs @@ -373,6 +373,114 @@ #else goto not_there; #endif + if (strEQ(name, "IPV6_ADDRFORM")) +#ifdef IPV6_ADDRFORM + return IPV6_ADDRFORM; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_DROP_MEMBERSHIP")) +#ifdef IPV6_DROP_MEMBERSHIP + return IPV6_DROP_MEMBERSHIP; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_MTU")) +#ifdef IPV6_MTU + return IPV6_MTU; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_MTU_DISCOVER")) +#ifdef IPV6_MTU_DISCOVER + return IPV6_MTU_DISCOVER; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_MULTICAST_HOPS")) +#ifdef IPV6_MULTICAST_HOPS + return IPV6_MULTICAST_HOPS; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_MULTICAST_IF")) +#ifdef IPV6_MULTICAST_IF + return IPV6_MULTICAST_IF; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_MULTICAST_LOOP")) +#ifdef IPV6_MULTICAST_LOOP + return IPV6_MULTICAST_LOOP; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_PKTINFO")) +#ifdef IPV6_PKTINFO + return IPV6_PKTINFO; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_RTHDR")) +#ifdef IPV6_RTHDR + return IPV6_RTHDR; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_AUTHHDR")) +#ifdef IPV6_AUTHHDR + return IPV6_AUTHHDR; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_DSTOPS")) +#ifdef IPV6_DSTOPS + return IPV6_DSTOPS; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_HOPOPTS")) +#ifdef IPV6_HOPOPTS + return IPV6_HOPOPTS; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_FLOWINFO")) +#ifdef IPV6_FLOWINFO + return IPV6_FLOWINFO; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_HOPLIMIT")) +#ifdef IPV6_HOPLIMIT + return IPV6_HOPLIMIT; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_RECVERR")) +#ifdef IPV6_RECVERR + return IPV6_RECVERR; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_ROUTER_ALERT")) +#ifdef IPV6_ROUTER_ALERT + return IPV6_ROUTER_ALERT; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_UNICAST_HOPS")) +#ifdef IPV6_UNICAST_HOPS + return IPV6_UNICAST_HOPS; +#else + goto not_there; +#endif + if (strEQ(name, "IPV6_V6ONLY")) +#ifdef IPV6_V6ONLY + return IPV6_V6ONLY; +#else + goto not_there; +#endif break; case 'N': if (strEQ(name, "NI_NOFQDN")) debian/patches/series0000664000000000000000000000002513363151155012034 0ustar ipv6_constants.patch debian/rules0000775000000000000000000000015413363151155010253 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --buildsystem=perl_makemaker debian/source/0000775000000000000000000000000013363151155010473 5ustar debian/source/format0000664000000000000000000000001413363151155011701 0ustar 3.0 (quilt) debian/source/options0000664000000000000000000000005013363151155012104 0ustar diff-ignore tar-ignore compression=gzip debian/upstream/0000775000000000000000000000000013363151155011033 5ustar debian/upstream/metadata0000664000000000000000000000011313363151155012531 0ustar --- Archive: CPAN Contact: Hajimu UMEMOTO Name: Socket6 debian/watch0000664000000000000000000000022313363151155010221 0ustar version=3 opts=dversionmangle=s/\+ds$// \ https://metacpan.org/release/Socket6 \ .*/Socket6-(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)