From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 14 16:00:34 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 4713216A4DF for ; Mon, 14 Aug 2006 16:00:34 +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 D08ED43D49 for ; Mon, 14 Aug 2006 16:00:32 +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 k7EG0WWU090958 for ; Mon, 14 Aug 2006 16:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7EG0WGT090953; Mon, 14 Aug 2006 16:00:32 GMT (envelope-from gnats) Resent-Date: Mon, 14 Aug 2006 16:00:32 GMT Resent-Message-Id: <200608141600.k7EG0WGT090953@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, "Timur I. Bakeyev" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58CF916A4E5 for ; Mon, 14 Aug 2006 15:52:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB29F43D5D for ; Mon, 14 Aug 2006 15:52:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7EFqdW2038361 for ; Mon, 14 Aug 2006 15:52:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7EFqd4l038359; Mon, 14 Aug 2006 15:52:39 GMT (envelope-from nobody) Message-Id: <200608141552.k7EFqd4l038359@www.freebsd.org> Date: Mon, 14 Aug 2006 15:52:39 GMT From: "Timur I. Bakeyev" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/102024: [UPDATE] misc/p5-I18N-Charset: Fix for the pkg-list, dependencies and code 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: Mon, 14 Aug 2006 16:00:34 -0000 >Number: 102024 >Category: ports >Synopsis: [UPDATE] misc/p5-I18N-Charset: Fix for the pkg-list, dependencies and code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 14 16:00:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Timur I. Bakeyev >Release: FreeBSD 5.4-RELEASE >Organization: >Environment: FreeBSD devil.blinck.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue Oct 18 10:05:03 CEST 2005 alexis@devil.blinck.com:/usr/src/sys/i386/compile/DEVIL i386 >Description: There are few minor problems with existing port: 1. Package list is wrong and 'make package' fails for the port 2. There is a build dependency on a IO::Capture::Stderr, which isn't listed in the port. 3. The way, how dos2unix conversion for the files is don is dangerous - running it twice eats legitimate characters from the end of the line. All that problems are minor, but better to be fixed. Sorry for sending shar instead of diff -u - my original version of the port had gone and it's not easy to restore in at the moment.... >How-To-Repeat: >Fix: # 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-I18N-Charset # p5-I18N-Charset/Makefile # p5-I18N-Charset/distinfo # p5-I18N-Charset/pkg-descr # p5-I18N-Charset/pkg-plist # echo c - p5-I18N-Charset mkdir -p p5-I18N-Charset > /dev/null 2>&1 echo x - p5-I18N-Charset/Makefile sed 's/^X//' >p5-I18N-Charset/Makefile << 'END-of-p5-I18N-Charset/Makefile' X# New ports collection makefile for: misc/p5-I18N-Charset X# Date created: 26 December 1999 X# Whom: Dmitry Sivachenko X# X# $FreeBSD: ports/misc/p5-I18N-Charset/Makefile,v 1.21 2006/08/04 08:34:16 erwin Exp $ X# X XPORTNAME= I18N-Charset XPORTVERSION= 1.37.9 XCATEGORIES= misc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= I18N XPKGNAMEPREFIX= p5- XDISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/} X XMAINTAINER= demon@FreeBSD.org XCOMMENT= Module which maps CharSet names to the names registered with IANA X XBUILD_DEPENDS= ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \ X ${SITE_PERL}/Unicode/MapUTF8.pm:${PORTSDIR}/converters/p5-Unicode-MapUTF8 \ X ${SITE_PERL}/App/Info/Lib/Iconv.pm:${PORTSDIR}/devel/p5-App-Info XRUN_DEPENDS= ${BUILD_DEPENDS} XBUILD_DEPENDS+= ${SITE_PERL}/IO/Capture/Stderr.pm:${PORTSDIR}/devel/p5-IO-Capture X XPERL_CONFIGURE= yes X XMAN3= I18N::Charset.3 X Xpost-patch: X @${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/lib/I18N/Charset.pm X @${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/lib/I18N/Charset/character-sets X X.include END-of-p5-I18N-Charset/Makefile echo x - p5-I18N-Charset/distinfo sed 's/^X//' >p5-I18N-Charset/distinfo << 'END-of-p5-I18N-Charset/distinfo' XMD5 (I18N-Charset-1.379.tar.gz) = eec7de0bf3eaa8cc6d7882b57091350d XSHA256 (I18N-Charset-1.379.tar.gz) = a684f8ebe04b77c0ecae4443bd11dd525a309911ed939fdf811b1f9633f8b144 XSIZE (I18N-Charset-1.379.tar.gz) = 45196 END-of-p5-I18N-Charset/distinfo echo x - p5-I18N-Charset/pkg-descr sed 's/^X//' >p5-I18N-Charset/pkg-descr << 'END-of-p5-I18N-Charset/pkg-descr' XThis distribution contains a module I18N::Charset which maps Character XSet names to the names officially registered with IANA. For example, X'Shift_JIS' is the official name of 'x-sjis'. X XIt also maps character set names to Unicode::Map8 conversion scheme Xnames (if Unicode::Map8 is installed). For example, the Unicode::Map8 Xscheme name for 'windows-1251' is 'cp1251'. X XWWW: http://search.cpan.org/dist/I18N-Charset/ X X--dima Xdima@Chg.RU END-of-p5-I18N-Charset/pkg-descr echo x - p5-I18N-Charset/pkg-plist sed 's/^X//' >p5-I18N-Charset/pkg-plist << 'END-of-p5-I18N-Charset/pkg-plist' X%%SITE_PERL%%/I18N/Charset.pm X%%SITE_PERL%%/I18N/Charset/character-sets X%%SITE_PERL%%/%%PERL_ARCH%%/auto/I18N/Charset/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/I18N/Charset X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/I18N X@dirrmtry %%SITE_PERL%%/I18N/Charset X@dirrmtry %%SITE_PERL%%/I18N END-of-p5-I18N-Charset/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: