From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 23 05:40:13 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D34B316A4E0 for ; Sun, 23 Jul 2006 05:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4548643D4C for ; Sun, 23 Jul 2006 05:40:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6N5eDKN057019 for ; Sun, 23 Jul 2006 05:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6N5eDEg057016; Sun, 23 Jul 2006 05:40:13 GMT (envelope-from gnats) Resent-Date: Sun, 23 Jul 2006 05:40:13 GMT Resent-Message-Id: <200607230540.k6N5eDEg057016@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsung-Han Yeh Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55D3216A4E0 for ; Sun, 23 Jul 2006 05:34:37 +0000 (UTC) (envelope-from snowfly@AntiVirus.yuntech.edu.tw) Received: from AntiVirus.yuntech.edu.tw (AntiVirus.yuntech.edu.tw [140.125.251.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E104A43D45 for ; Sun, 23 Jul 2006 05:34:36 +0000 (GMT) (envelope-from snowfly@AntiVirus.yuntech.edu.tw) Received: from AntiVirus.yuntech.edu.tw (localhost.yuntech.edu.tw [127.0.0.1]) by AntiVirus.yuntech.edu.tw (8.13.4/8.13.4) with ESMTP id k6N5rSOa046344 for ; Sun, 23 Jul 2006 13:53:28 +0800 (CST) (envelope-from snowfly@AntiVirus.yuntech.edu.tw) Received: (from root@localhost) by AntiVirus.yuntech.edu.tw (8.13.4/8.13.1/Submit) id k6N5rRbC046343; Sun, 23 Jul 2006 13:53:27 +0800 (CST) (envelope-from snowfly) Message-Id: <200607230553.k6N5rRbC046343@AntiVirus.yuntech.edu.tw> Date: Sun, 23 Jul 2006 13:53:27 +0800 (CST) From: Tsung-Han Yeh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/100736: [NEW PORT] net/p5-Sys-Hostname-FQDN: Get the short or long hostname X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2006 05:40:13 -0000 >Number: 100736 >Category: ports >Synopsis: [NEW PORT] net/p5-Sys-Hostname-FQDN: Get the short or long hostname >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: Sun Jul 23 05:40:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tsung-Han Yeh >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD AntiVirus.yuntech.edu.tw 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Nov 27 22:46:26 CST 2005 >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. Author: Michael Robinton WWW: http://search.cpan.org/dist/Sys-Hostname-FQDN/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Sys-Hostname-FQDN-0.07.shar 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-FQDN # p5-Sys-Hostname-FQDN/pkg-descr # p5-Sys-Hostname-FQDN/Makefile # p5-Sys-Hostname-FQDN/pkg-plist # p5-Sys-Hostname-FQDN/distinfo # echo c - p5-Sys-Hostname-FQDN mkdir -p p5-Sys-Hostname-FQDN > /dev/null 2>&1 echo x - p5-Sys-Hostname-FQDN/pkg-descr sed 's/^X//' >p5-Sys-Hostname-FQDN/pkg-descr << 'END-of-p5-Sys-Hostname-FQDN/pkg-descr' XSys::Hostname::FQDN uses the host 'C' library Xto discover the (usually) short host name, Xthen uses (perl) gethostbyname to extract the real hostname. X XThe results from gethostbyname are exported as gethostinfo Xand asciihostinfo as a convenience since they are available. XSimilarly, the 'C' library functions inet_ntoa and inet_aton are exported. X XAuthor: Michael Robinton XWWW: http://search.cpan.org/dist/Sys-Hostname-FQDN/ END-of-p5-Sys-Hostname-FQDN/pkg-descr echo x - p5-Sys-Hostname-FQDN/Makefile sed 's/^X//' >p5-Sys-Hostname-FQDN/Makefile << 'END-of-p5-Sys-Hostname-FQDN/Makefile' X# New ports collection makefile for: p5-Sys-Hostname-FQDN X# Date created: 2006-07-23 X# Whom: Tsung-Han Yeh X# X# $FreeBSD$ X# X XPORTNAME= Sys-Hostname-FQDN XPORTVERSION= 0.07 XCATEGORIES= net perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Sys XPKGNAMEPREFIX= p5- X XMAINTAINER= snowfly@yuntech.edu.tw XCOMMENT= Get the short or long hostname X XPERL_CONFIGURE= yes X XMAN3= Sys::Hostname::FQDN.3 X X.include X X.if ${PERL_LEVEL} < 500600 XIGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again X.endif X X.if ${PERL_LEVEL} < 500601 XBUILD_DEPENDS= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields XRUN_DEPENDS= ${BUILD_DEPENDS} X.endif X X.include END-of-p5-Sys-Hostname-FQDN/Makefile echo x - p5-Sys-Hostname-FQDN/pkg-plist sed 's/^X//' >p5-Sys-Hostname-FQDN/pkg-plist << 'END-of-p5-Sys-Hostname-FQDN/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/Sys/Hostname/FQDN.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname/FQDN/.packlist X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname/FQDN/FQDN.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname/FQDN/FQDN.so X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname/FQDN X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Hostname X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Sys/Hostname X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Sys END-of-p5-Sys-Hostname-FQDN/pkg-plist echo x - p5-Sys-Hostname-FQDN/distinfo sed 's/^X//' >p5-Sys-Hostname-FQDN/distinfo << 'END-of-p5-Sys-Hostname-FQDN/distinfo' XMD5 (Sys-Hostname-FQDN-0.07.tar.gz) = ab6b00e3f0781b3e074daa53160d1815 XSHA256 (Sys-Hostname-FQDN-0.07.tar.gz) = 54752e9daeff5f583ed078483a2d51d5ab2934b9aba21b3f230129ff1c421621 XSIZE (Sys-Hostname-FQDN-0.07.tar.gz) = 12632 END-of-p5-Sys-Hostname-FQDN/distinfo exit --- p5-Sys-Hostname-FQDN-0.07.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: