From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 11 10:20:06 2005 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 26A4B16A41F for ; Sun, 11 Dec 2005 10:20:06 +0000 (GMT) (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 CA51543D58 for ; Sun, 11 Dec 2005 10:20:03 +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 jBBAK3np063796 for ; Sun, 11 Dec 2005 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBBAK31S063795; Sun, 11 Dec 2005 10:20:03 GMT (envelope-from gnats) Resent-Date: Sun, 11 Dec 2005 10:20:03 GMT Resent-Message-Id: <200512111020.jBBAK31S063795@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, parv@pair.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0387616A41F for ; Sun, 11 Dec 2005 10:12:25 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2104D43D62 for ; Sun, 11 Dec 2005 10:12:23 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([68.67.248.52]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051211101223.FWBO28251.mta13.adelphia.net@default.chvlva.adelphia.net> for ; Sun, 11 Dec 2005 05:12:23 -0500 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id B400DB540; Sun, 11 Dec 2005 05:12:20 -0500 (EST) Message-Id: <20051211101220.B400DB540@default.chvlva.adelphia.net> Date: Sun, 11 Dec 2005 05:12:20 -0500 (EST) From: parv@pair.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/90229: New port: devel/p5-Data-Swap - Swap types & contents of two variables 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, 11 Dec 2005 10:20:06 -0000 >Number: 90229 >Category: ports >Synopsis: New port: devel/p5-Data-Swap - Swap types & contents of two variables >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 11 10:20:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Parv >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD holestein.holy.cow 5.4-STABLE FreeBSD 5.4-STABLE #10: Sun Nov 27 21:50:44 EST 2005 root@holestein.holy.cow:/work/obj/misc/src-5/sys/BOVINE-T42 i386 >Description: Data::Swap (XS) Perl module allows to swap the contents of two referenced variables, even if they have different types. The main application is to change the base type of an object after it has been created. This port is needed by yet to be added databases/p5-DBIx-Simple port; coming up in next PR. >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-Data-Swap # p5-Data-Swap/pkg-descr # p5-Data-Swap/Makefile # p5-Data-Swap/pkg-plist # p5-Data-Swap/distinfo # echo c - p5-Data-Swap mkdir -p p5-Data-Swap > /dev/null 2>&1 echo x - p5-Data-Swap/pkg-descr sed 's/^X//' >p5-Data-Swap/pkg-descr << 'END-of-p5-Data-Swap/pkg-descr' XParaphrased from the Data:Swap's documentation ... X XData::Swap (XS) module allows to swap the contents of two referenced Xvariables, even if they have different types. The main application is Xto change the base type of an object after it has been created, for Xexample for dynamic loading of data structures: X X swap $self, bless $replacement, $newclass; X XWWW: http://search.cpan.org/dist/Data-Swap/ END-of-p5-Data-Swap/pkg-descr echo x - p5-Data-Swap/Makefile sed 's/^X//' >p5-Data-Swap/Makefile << 'END-of-p5-Data-Swap/Makefile' X# New ports collection makefile for: Data::Swap X# Date created: 10 December 2005 X# Whom: Parv X# X# $FreeBSD$ X# X XPORTNAME= Data-Swap XPORTVERSION= 0.05 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Data XPKGNAMEPREFIX= p5- X XMAINTAINER= parv@pair.com XCOMMENT= XS module to swap the contents and types of referenced variables X XPERL_CONFIGURE= yes X XMAN3= Data::Swap.3 X X.include X X.if ${PERL_LEVEL} < 500600 XIGNORE= need at least Perl 5.6; install lang/perl or lang/perl5.8 X.endif X X.include END-of-p5-Data-Swap/Makefile echo x - p5-Data-Swap/pkg-plist sed 's/^X//' >p5-Data-Swap/pkg-plist << 'END-of-p5-Data-Swap/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/Data/Swap.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Swap/.packlist X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Swap/Swap.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Swap/Swap.so X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Swap || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Data || true END-of-p5-Data-Swap/pkg-plist echo x - p5-Data-Swap/distinfo sed 's/^X//' >p5-Data-Swap/distinfo << 'END-of-p5-Data-Swap/distinfo' XMD5 (Data-Swap-0.05.tar.gz) = 899eb6d7ae9290a1deab514ea7db8ee7 XSHA256 (Data-Swap-0.05.tar.gz) = a2aa48f3f7b13e8a881cef0ff953083e49bcce00ea3b04381d1b022f14993b8e XSIZE (Data-Swap-0.05.tar.gz) = 26172 END-of-p5-Data-Swap/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: