Bug 100736 - [NEW PORT] net/p5-Sys-Hostname-FQDN: Get the short or long hostname
Summary: [NEW PORT] net/p5-Sys-Hostname-FQDN: Get the short or long hostname
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 06:40 UTC by Tsung-Han Yeh
Modified: 2006-07-28 08:19 UTC (History)
0 users

See Also:


Attachments
p5-Sys-Hostname-FQDN-0.07.shar (3.05 KB, text/plain)
2006-07-23 06:40 UTC, Tsung-Han Yeh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tsung-Han Yeh 2006-07-23 06:40:12 UTC
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.

Author:	Michael Robinton <michael@bizsystems.com>
WWW:	http://search.cpan.org/dist/Sys-Hostname-FQDN/

Generated with FreeBSD Port Tools 0.77
Comment 1 Rong-En Fan freebsd_committer freebsd_triage 2006-07-24 13:29:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2006-07-28 08:19:04 UTC
State Changed
From-To: open->closed

New port added. Thanks!