| 1 | Source: libsocket-getaddrinfo-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Ansgar Burchardt <[email protected]>, |
| 4 | gregor herrmann <[email protected]> |
| 5 | Section: perl |
| 6 | Testsuite: autopkgtest-pkg-perl |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13), |
| 9 | libmodule-build-perl, |
| 10 | perl |
| 11 | Build-Depends-Indep: libtest-exception-perl <!nocheck>, |
| 12 | libtest-pod-perl <!nocheck>, |
| 13 | libtest-warn-perl <!nocheck> |
| 14 | Standards-Version: 4.7.0 |
| 15 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsocket-getaddrinfo-perl |
| 16 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsocket-getaddrinfo-perl.git |
| 17 | Homepage: https://metacpan.org/release/Socket-GetAddrInfo |
| 18 | Rules-Requires-Root: no |
| 19 | |
| 20 | Package: libsocket-getaddrinfo-perl |
| 21 | Architecture: all |
| 22 | Depends: ${misc:Depends}, |
| 23 | ${perl:Depends}, |
| 24 | perl:any |
| 25 | Suggests: bind9-dnsutils |
| 26 | Description: module implementing getaddrinfo and getnameinfo |
| 27 | Socket::GetAddrInfo provides a Perl implementation of the getaddrinfo and |
| 28 | getnameinfo functions as described in RFC 2553. These functions are useful for |
| 29 | converting between a pair of host name/service name and socket addresses, or |
| 30 | vice versa. |
| 31 | . |
| 32 | This module uses underlying C code to do most of the work if possible, but can |
| 33 | also fall back on some mostly-compatible emulation code written in Perl. This |
| 34 | means that this module is a fairly portable implementation of these functions. |
| 35 | . |
| 36 | As of Perl version 5.14.0, Perl already supports `getaddrinfo' in core. On |
| 37 | such a system, this module simply uses the functions provided by `Socket', |
| 38 | and does not need to use its own compiled XS, or pure-perl legacy emulation. |
| 39 | . |
| 40 | As `Socket' in core now provides all the functions also provided by this |
| 41 | module, it is likely this may be the last released version of this module. |
| 42 | And code currently using this module would be advised to switch to using core |
| 43 | `Socket' instead. |