BSD Ports

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

SystemPortVersion
FreeBSDsysutils/p5-Sys-Hostname-Long1.5_1
OpenBSDnet/p5-Sys-Hostname-Long1.5p0
NetBSDsysutils/p5-Sys-Hostname-Long1.5nb11
DragonFlysysutils/p5-Sys-Hostname-Long1.5_1
MidnightBSDsysutils/p5-Sys-Hostname-Long1.5_1
HardenedBSDsysutils/p5-Sys-Hostname-Long1.5_1
GhostBSDsysutils/p5-Sys-Hostname-Long1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5_11.5_11.5_11.5_11.5_1
FreeBSD:14:quarterly1.5_11.5_1n/a1.5_11.5_1
FreeBSD:15:latest1.5_11.5_1n/a1.5_11.5_1
FreeBSD:15:quarterly1.5_11.5_1n/an/an/a
FreeBSD:16:latest1.5_11.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
Sys-Hostname-Long-1.5.tar.gz5474e9186df3706a877efd6149f2c711d6cf87dd6cf72f6ab935ba8121b225b265cb
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.