sysutils/p5-Sys-Hostname-FQDN 0.11_1 DragonFly
Get the short or long hostname
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART20
- Categories
- perl5, sysutils
- Package size
- 10.9 KiB, 24.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
| FreeBSD | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
| HardenedBSD | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
| GhostBSD | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
Install
Binary package:
pkg install p5-Sys-Hostname-FQDN
From DPorts:
cd /usr/dports/sysutils/p5-Sys-Hostname-FQDN && make install clean
Dependencies
Run dependencies 1
No port depends on this one.