ports/63840: New port: sysutils/p5-Sys-Hostname-Long
Tim Bishop
tim at bishnet.net
Sat Mar 6 14:40:13 UTC 2004
>Number: 63840
>Category: ports
>Synopsis: New port: sysutils/p5-Sys-Hostname-Long
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 06 06:40:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Tim Bishop
>Release: FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #1: Thu Mar 4 00:16:43 GMT 2004 tdb at pendennis.ukc.ac.uk:/usr/obj/usr/src/sys/PENDENNIS i386
>Description:
New port for Sys::Hostname::Long.
"Try every conceivable way to get full hostname"
>How-To-Repeat:
>Fix:
Extract shar below.
--- p5-Sys-Hostname-Long-1.0.sh begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Sys-Hostname-Long
# p5-Sys-Hostname-Long/Makefile
# p5-Sys-Hostname-Long/distinfo
# p5-Sys-Hostname-Long/pkg-descr
# p5-Sys-Hostname-Long/pkg-plist
#
echo c - p5-Sys-Hostname-Long
mkdir -p p5-Sys-Hostname-Long > /dev/null 2>&1
echo x - p5-Sys-Hostname-Long/Makefile
sed 's/^X//' >p5-Sys-Hostname-Long/Makefile << 'END-of-p5-Sys-Hostname-Long/Makefile'
X# New ports collection makefile for: p5-Sys-Hostname-Long
X# Date created: March 6th, 2004
X# Whom: Tim Bishop <tim at bishnet.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Sys-Hostname-Long
XPORTVERSION= 1.0
XCATEGORIES= sysutils perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Sys
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= tim at bishnet.net
XCOMMENT= Try every conceivable way to get full hostname
X
XPERL_CONFIGURE= yes
X
XMAN3= Sys::Hostname::Long.3
X
X.include <bsd.port.mk>
END-of-p5-Sys-Hostname-Long/Makefile
echo x - p5-Sys-Hostname-Long/distinfo
sed 's/^X//' >p5-Sys-Hostname-Long/distinfo << 'END-of-p5-Sys-Hostname-Long/distinfo'
XMD5 (Sys-Hostname-Long-1.0.tar.gz) = 7d045eb6992aee27df12be696252a94e
XSIZE (Sys-Hostname-Long-1.0.tar.gz) = 2286
END-of-p5-Sys-Hostname-Long/distinfo
echo x - p5-Sys-Hostname-Long/pkg-descr
sed 's/^X//' >p5-Sys-Hostname-Long/pkg-descr << 'END-of-p5-Sys-Hostname-Long/pkg-descr'
XHow to get the host full name in perl on multiple operating systems
X(mac, windows, unix* etc)
X
XAttempt via many methods to get the systems full name. The Sys::Hostname
Xclass is the best and standard way to get the system hostname.
XHowever it is missing the long hostname.
X
XWWW: http://search.cpan.org/dist/Sys-Hostname-Long/
END-of-p5-Sys-Hostname-Long/pkg-descr
echo x - p5-Sys-Hostname-Long/pkg-plist
sed 's/^X//' >p5-Sys-Hostname-Long/pkg-plist << 'END-of-p5-Sys-Hostname-Long/pkg-plist'
X%%SITE_PERL%%/Sys/Hostname/Long.pm
X at dirrm %%SITE_PERL%%/Sys/Hostname
END-of-p5-Sys-Hostname-Long/pkg-plist
exit
--- p5-Sys-Hostname-Long-1.0.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list