sysutils/p5-Sys-Hostname-Long 1.5_1 MidnightBSD
Try every conceivable way to get full hostname
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- sysutils, perl5
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 |
|---|---|---|
| MidnightBSD | 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 |
| DragonFly | 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:
mport install p5-Sys-Hostname-Long
From mports:
cd /usr/mports/sysutils/p5-Sys-Hostname-Long && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Sys-Hostname-Long>0:sysutils/p5-Sys-Hostname-Long
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- perl5 shebangfix
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_PERL%%/Sys/Hostname/Long.pm
- %%SITE_PERL%%/Sys/Hostname/testall.pl
- %%PERL5_MAN3%%/Sys::Hostname::Long.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Sys-Hostname-Long-1.5.tar.gz | 5474 | e9186df3706a877efd6149f2c711d6cf87dd6cf72f6ab935ba8121b225b265cb |
Master sites 1
- CPAN