[libsocket-getaddrinfo-perl] 01/05: Convert package to arch:all.

gregor herrmann gregoa at debian.org
Thu Dec 31 00:03:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libsocket-getaddrinfo-perl.

commit 2d3fb0f86aa537e8108d5ceefec4d5d74f1dbf5e
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Dec 31 00:55:16 2015 +0100

    Convert package to arch:all.
    
    On perl >= 5.13.9, where the Socket module also provides the same functions,
    this module neither needs nor builds the XS version.
    
    Closes: #809394
---
 debian/control | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index c42ad2e..c70cdbb 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: libsocket-getaddrinfo-perl
 Section: perl
 Priority: optional
 Build-Depends:
- debhelper (>= 9.20120312),
- libextutils-cchecker-perl (>= 0.06),
+ debhelper (>= 9),
  libmodule-build-perl,
+ perl (>= 5.13.9)
+Build-Depends-Indep:
  libtest-exception-perl,
  libtest-pod-perl,
  libtest-warn-perl,
- perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders:
  Jonathan Yu <jawnsy at cpan.org>,
@@ -22,8 +22,8 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libsocket-getaddr
 Testsuite: autopkgtest-pkg-perl
 
 Package: libsocket-getaddrinfo-perl
-Architecture: any
-Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}, perl (>= 5.13.9)
 Suggests: dnsutils
 Description: module implementing getaddrinfo and getnameinfo
  Socket::GetAddrInfo provides a Perl implementation of the getaddrinfo and
@@ -34,3 +34,12 @@ Description: module implementing getaddrinfo and getnameinfo
  This module uses underlying C code to do most of the work if possible, but can
  also fall back on some mostly-compatible emulation code written in Perl. This
  means that this module is a fairly portable implementation of these functions.
+ .
+ As of Perl version 5.14.0, Perl already supports `getaddrinfo' in core. On
+ such a system, this module simply uses the functions provided by `Socket',
+ and does not need to use its own compiled XS, or pure-perl legacy emulation.
+ .
+ As `Socket' in core now provides all the functions also provided by this
+ module, it is likely this may be the last released version of this module.
+ And code currently using this module would be advised to switch to using core
+ `Socket' instead.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsocket-getaddrinfo-perl.git



More information about the Pkg-perl-cvs-commits mailing list