sysutils/p5-Sys-Hostname-Long 1.5_1 FreeBSD
Try every conceivable way to get full hostname
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- sysutils, perl5
- Package size
- 11.2 KiB, 21.3 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 |
|---|---|---|
| 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 |
| 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 the ports tree:
cd /usr/ports/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
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.5_1 | 1.5_1 | 1.5_1 | 1.5_1 | 1.5_1 |
| FreeBSD:14:quarterly | 1.5_1 | 1.5_1 | n/a | 1.5_1 | 1.5_1 |
| FreeBSD:15:latest | 1.5_1 | 1.5_1 | n/a | 1.5_1 | 1.5_1 |
| FreeBSD:15:quarterly | 1.5_1 | 1.5_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.5_1 | 1.5_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 67
- astro/p5-Astro-ADS
- devel/p5-Dist-Zilla
- devel/p5-File-Tail-Scribe
- devel/p5-Log-Any-Adapter-Dispatch
- devel/p5-Log-Any-App
- devel/p5-Log-Dispatch
- devel/p5-Log-Dispatch-Array
- devel/p5-Log-Dispatch-ArrayWithLimits
- devel/p5-Log-Dispatch-Colorful
- devel/p5-Log-Dispatch-Config
- devel/p5-Log-Dispatch-Configurator-Any
- devel/p5-Log-Dispatch-Configurator-YAML
- devel/p5-Log-Dispatch-DBI
- devel/p5-Log-Dispatch-Dir
- devel/p5-Log-Dispatch-Email-EmailSend
- devel/p5-Log-Dispatch-File-Rolling
- devel/p5-Log-Dispatch-File-Stamped
- devel/p5-Log-Dispatch-FileRotate
- devel/p5-Log-Dispatch-FileShared
- devel/p5-Log-Dispatch-FileWriteRotate
- devel/p5-Log-Dispatch-Perl
- devel/p5-Log-Dispatch-Screen-Color
- devel/p5-Log-Dispatch-Scribe
- devel/p5-Log-Dispatchouli
- devel/p5-Luka
- devel/p5-MooseX-Role-Loggable
- devel/p5-POE-Component-Logger
- devel/p5-SPOPS
- devel/p5-Test-DependentModules
- dns/p5-Zonemaster-Backend
- mail/mailscanner
- mail/p5-Mail-Milter-Authentication
- mail/p5-Mail-Sendmail
- mail/p5-Test-Email
- mail/postfix-policyd-spf-perl
- net-mgmt/netleak
- net/p5-Net-Appliance-Session
- net/p5-Net-CLI-Interact
- net/p5-Net-Delicious
- net/pwhois
- print/html2ps
- sysutils/lmon
- sysutils/p5-Tail-Stat
- www/ikiwiki
- www/otrs
- www/p5-Amon2-Plugin-LogDispatch
- www/p5-CGI-Application-Plugin-LogDispatch
- www/p5-Catalyst-Plugin-Log-Dispatch
- www/p5-Gungho
- www/p5-GunghoX-FollowLinks
- www/p5-MojoX-Log-Dispatch-Simple
- www/p5-Net-Flickr-API
- www/p5-Net-Flickr-Backup
- www/p5-Net-Flickr-RDF
- www/p5-RT-Extension-CommandByMail
- www/p5-RT-Extension-Gravatar
- www/p5-RT-Extension-LDAPImport
- www/p5-RT-Extension-MandatoryOnTransition
- www/p5-RT-Extension-RepeatTicket
- www/p5-RT-Extension-RepeatTicket2
- www/p5-RTx-Calendar
- www/p5-W3C-LogValidator
- www/p5-Zonemaster-GUI
- www/rt44
- www/rt50
- www/rt60
- www/weblint++
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
Commit history 0
No commits in the history this site was built from.