net/p5-IO-Socket-IP 0.44 MidnightBSD
Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
2ceeb2ab95- License
- artistic, gpl+
- Categories
- net, perl5
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | net/p5-IO-Socket-IP | 0.44 |
| FreeBSD | net/p5-IO-Socket-IP | 0.44 |
| DragonFly | net/p5-IO-Socket-IP | 0.43 |
| HardenedBSD | net/p5-IO-Socket-IP | 0.44 |
| GhostBSD | net/p5-IO-Socket-IP | 0.44 |
Install
Binary package:
mport install p5-IO-Socket-IP
From mports:
cd /usr/mports/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
Dependencies
As this port's Makefile names them.
Test 1
p5-Test-Pod>=1: devel/p5-Test-Pod
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 12
- %%SITE_PERL%%/IO/Socket/IP.pm
- %%PERL5_MAN3%%/IO::Socket::IP.3.gz
- @dirrmtry %%SITE_PERL%%/IO/Socket
- @dirrmtry %%SITE_PERL%%/IO
- @dirrmtry %%SITE_ARCH%%/auto/IO/Socket/IP
- @dirrmtry %%SITE_ARCH%%/auto/IO/Socket
- @dirrmtry %%SITE_ARCH%%/auto/IO
- @dirrmtry %%SITE_ARCH%%/auto
- @dirrmtry
- @dirrmtry
- @dirrmtry lib/perl5/site_perl
- @dirrmtry lib/perl5
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| IO-Socket-IP-0.44.tar.gz | 45679 | dc39242154baf276a9b4802a2a56b9e769a8ec67b4c2fb7e089b68e3666cf289 |
Master sites 1
- CPAN
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
2ceeb2ab95 |
Lucas Holt | net/p5-IO-Socket-IP: fix CPAN fetch path Use the PEVANS CPAN author directory for the 0.44 distfile.
AI-Assisted-by: Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |