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
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
| DragonFly | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
| HardenedBSD | sysutils/p5-Sys-Hostname-FQDN | 0.11_1 |
| GhostBSD | sysutils/p5-Sys-Hostname-FQDN | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.11_1 | 0.11_1 | 0.11_1 | 0.11_1 | 0.11_1 |
| FreeBSD:14:quarterly | 0.11_1 | 0.11_1 | n/a | 0.11_1 | 0.11_1 |
| FreeBSD:15:latest | 0.11_1 | 0.11_1 | n/a | 0.11_1 | 0.11_1 |
| FreeBSD:15:quarterly | 0.11_1 | 0.11_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.11_1 | 0.11_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
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
| File | Size | SHA256 |
|---|---|---|
| Sys-Hostname-FQDN-0.11.tar.gz | 16109 | a29907eb91ad237891f3b4145bf976fc2cde11280b0ddbffca5996fbe2594050 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.