Add p5-Sys-Hostname-Long 1.0, try every conceivable way to get full
hostname. PR: ports/63840 Submitted by: Tim Bishop <tim@bishnet.net>
This commit is contained in:
parent
8dfbb5be58
commit
52ab51d487
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105190
5 changed files with 35 additions and 0 deletions
|
@ -244,6 +244,7 @@
|
|||
SUBDIR += p5-Schedule-Match
|
||||
SUBDIR += p5-Stat-lsMode
|
||||
SUBDIR += p5-Sys-CpuLoad
|
||||
SUBDIR += p5-Sys-Hostname-Long
|
||||
SUBDIR += p5-SyslogScan
|
||||
SUBDIR += p5-Tie-Syslog
|
||||
SUBDIR += p5-UPS-Nut
|
||||
|
|
22
sysutils/p5-Sys-Hostname-Long/Makefile
Normal file
22
sysutils/p5-Sys-Hostname-Long/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
# New ports collection makefile for: p5-Sys-Hostname-Long
|
||||
# Date created: March 6th, 2004
|
||||
# Whom: Tim Bishop <tim@bishnet.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Sys-Hostname-Long
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= sysutils perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Sys
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= tim@bishnet.net
|
||||
COMMENT= Try every conceivable way to get full hostname
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Sys::Hostname::Long.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/p5-Sys-Hostname-Long/distinfo
Normal file
2
sysutils/p5-Sys-Hostname-Long/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (Sys-Hostname-Long-1.0.tar.gz) = 7d045eb6992aee27df12be696252a94e
|
||||
SIZE (Sys-Hostname-Long-1.0.tar.gz) = 2286
|
8
sysutils/p5-Sys-Hostname-Long/pkg-descr
Normal file
8
sysutils/p5-Sys-Hostname-Long/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
How to get the host full name in perl on multiple operating systems
|
||||
(mac, 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.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Sys-Hostname-Long/
|
2
sysutils/p5-Sys-Hostname-Long/pkg-plist
Normal file
2
sysutils/p5-Sys-Hostname-Long/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
%%SITE_PERL%%/Sys/Hostname/Long.pm
|
||||
@dirrm %%SITE_PERL%%/Sys/Hostname
|
Loading…
Reference in a new issue