sysutils/p5-Sys-Hostname-Long 1.5_1 DragonFly
Try every conceivable way to get full hostname
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, sysutils
- Package size
- 10.6 KiB, 21.6 KiB installed
Description
How to get the host full name in perl on multiple operating systems (OS X, Windows, Unix* etc)
Attempt via many methods to get the systems full name. The Sys::Hostname class is the best and standard way to get the system hostname. However it is missing the long hostname.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | sysutils/p5-Sys-Hostname-Long | 1.5_1 |
| FreeBSD | sysutils/p5-Sys-Hostname-Long | 1.5_1 |
| OpenBSD | net/p5-Sys-Hostname-Long | 1.5p0 |
| NetBSD | sysutils/p5-Sys-Hostname-Long | 1.5nb11 |
| MidnightBSD | sysutils/p5-Sys-Hostname-Long | 1.5_1 |
| HardenedBSD | sysutils/p5-Sys-Hostname-Long | 1.5_1 |
| GhostBSD | sysutils/p5-Sys-Hostname-Long | 1.5_1 |
Install
Binary package:
pkg install p5-Sys-Hostname-Long
From DPorts:
cd /usr/dports/sysutils/p5-Sys-Hostname-Long && make install clean