BSD Ports

net/p5-IO-Socket-IP 0.44 FreeBSD

Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
net, perl5
Package size
28.1 KiB, 73.9 KiB installed

Description

IO::Socket::IP provides a protocol-independent way to use IPv4 and IPv6 sockets, as a drop-in replacement for IO::Socket::INET. Most constructor arguments and methods are provided in a backward-compatible way. For a list of known differences, see the IO::Socket::INET INCOMPATIBILITES section below.

It uses the getaddrinfo(3) function to convert hostnames and service names or port numbers into sets of possible addresses to connect to or listen on. This allows it to work for IPv6 where the system supports it, while still falling back to IPv4-only on systems which don't.

In the other systems

SystemPortVersion
FreeBSDnet/p5-IO-Socket-IP0.44
DragonFlynet/p5-IO-Socket-IP0.43
MidnightBSDnet/p5-IO-Socket-IP0.44

Install

Binary package:

pkg install p5-IO-Socket-IP

From the ports tree:

cd /usr/ports/net/p5-IO-Socket-IP/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-IO-Socket-IP>0:net/p5-IO-Socket-IP

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.440.440.410.430.44
FreeBSD:14:quarterly0.440.44n/a0.430.44
FreeBSD:15:latest0.440.44n/a0.430.43
FreeBSD:15:quarterly0.440.44n/an/an/a
FreeBSD:16:latest0.440.44n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/IO/Socket/IP.pm
  • %%PERL5_MAN3%%/IO::Socket::IP.3.gz
distinfo 1
FileSizeSHA256
IO-Socket-IP-0.44.tar.gz45679dc39242154baf276a9b4802a2a56b9e769a8ec67b4c2fb7e089b68e3666cf289
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.