freebsd-ports/sysutils/p5-Sys-Hostname-FQDN/pkg-descr
Andrej Zverev 9e0ade65f2 - add stage support
Approved by:	portmgr (blanket infrastructure)
2014-01-06 09:24:24 +00:00

9 lines
403 B
Text

Sys::Hostname::FQDN uses the host 'C' library
to discover the (usually) short host name,
then uses (perl) gethostbyname to extract the real hostname.
The results from gethostbyname are exported as gethostinfo
and asciihostinfo as a convenience since they are available.
Similarly, the 'C' library functions inet_ntoa and inet_aton are exported.
WWW: http://search.cpan.org/dist/Sys-Hostname-FQDN/