BSD Ports

sysutils/p5-Sys-Hostname-FQDN 0.11_1 FreeBSD

Get the short or long hostname

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART20
Categories
sysutils, perl5
Package size
12.4 KiB, 27.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

SystemPortVersion
FreeBSDsysutils/p5-Sys-Hostname-FQDN0.11_1
DragonFlysysutils/p5-Sys-Hostname-FQDN0.11_1
HardenedBSDsysutils/p5-Sys-Hostname-FQDN0.11_1
GhostBSDsysutils/p5-Sys-Hostname-FQDN0.11_1

Install

Binary package:

pkg install p5-Sys-Hostname-FQDN

From the ports tree:

cd /usr/ports/sysutils/p5-Sys-Hostname-FQDN/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Sys-Hostname-FQDN>0:sysutils/p5-Sys-Hostname-FQDN

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:latest0.11_10.11_10.11_10.11_10.11_1
FreeBSD:14:quarterly0.11_10.11_1n/a0.11_10.11_1
FreeBSD:15:latest0.11_10.11_1n/a0.11_10.11_1
FreeBSD:15:quarterly0.11_10.11_1n/an/an/a
FreeBSD:16:latest0.11_10.11_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

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Sys/Hostname/FQDN.pm
  • %%SITE_ARCH%%/auto/Sys/Hostname/FQDN/FQDN.so
  • %%PERL5_MAN3%%/Sys::Hostname::FQDN.3.gz
distinfo 1
FileSizeSHA256
Sys-Hostname-FQDN-0.11.tar.gz16109a29907eb91ad237891f3b4145bf976fc2cde11280b0ddbffca5996fbe2594050
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.