From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 16 03:40:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906F4106568C for ; Sun, 16 Nov 2008 03:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 695EE8FC0A for ; Sun, 16 Nov 2008 03:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAG3e2iK087435 for ; Sun, 16 Nov 2008 03:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAG3e2xw087434; Sun, 16 Nov 2008 03:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 16 Nov 2008 03:40:02 GMT Resent-Message-Id: <200811160340.mAG3e2xw087434@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, Gea-Suan Lin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 012EE106568D for ; Sun, 16 Nov 2008 03:37:24 +0000 (UTC) (envelope-from gslin@host-1.pixnet.tw) Received: from host-1.pixnet.tw (60-199-248-144.static.tfn.net.tw [60.199.248.144]) by mx1.freebsd.org (Postfix) with ESMTP id A1FA28FC13 for ; Sun, 16 Nov 2008 03:37:23 +0000 (UTC) (envelope-from gslin@host-1.pixnet.tw) Received: from host-1.pixnet.tw (gslin@localhost [127.0.0.1]) by host-1.pixnet.tw (8.14.2/8.14.2) with ESMTP id mAG3bKDN062108; Sun, 16 Nov 2008 11:37:20 +0800 (CST) (envelope-from gslin@host-1.pixnet.tw) Received: (from gslin@localhost) by host-1.pixnet.tw (8.14.2/8.14.2/Submit) id mAG3bJvT062107; Sun, 16 Nov 2008 11:37:19 +0800 (CST) (envelope-from gslin) Message-Id: <200811160337.mAG3bJvT062107@host-1.pixnet.tw> Date: Sun, 16 Nov 2008 11:37:19 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/128899: [NEW PORT] devel/p5-Sub-Delete: Perl module enabling one to delete subroutines 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, 16 Nov 2008 03:40:02 -0000 >Number: 128899 >Category: ports >Synopsis: [NEW PORT] devel/p5-Sub-Delete: Perl module enabling one to delete subroutines >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 Nov 16 03:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 7.0-STABLE amd64 >Organization: >Environment: System: FreeBSD host-1.pixnet.tw 7.0-STABLE FreeBSD 7.0-STABLE #1: Wed Jul 16 13:00:27 CST 2008 >Description: This module provides one function, delete_sub, that deletes the subroutine whose name is passed to it. (To load the module without importing the function, write use Sub::Delete();.) This does more than simply undefine the subroutine in the manner of undef &foo, which leaves a stub that can trigger AUTOLOAD (and, consequently, won't work for deleting methods). The subroutine is completely obliterated from the symbol table (though there may be references to it elsewhere, including in compiled code). WWW: http://search.cpan.org/dist/Sub-Delete/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Sub-Delete-0.02.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-Sub-Delete # p5-Sub-Delete/pkg-descr # p5-Sub-Delete/Makefile # p5-Sub-Delete/pkg-plist # p5-Sub-Delete/distinfo # echo c - p5-Sub-Delete mkdir -p p5-Sub-Delete > /dev/null 2>&1 echo x - p5-Sub-Delete/pkg-descr sed 's/^X//' >p5-Sub-Delete/pkg-descr << 'ffd98efa5f376764705109f31c068c55' XThis module provides one function, delete_sub, that deletes the Xsubroutine whose name is passed to it. (To load the module without Ximporting the function, write use Sub::Delete();.) X XThis does more than simply undefine the subroutine in the manner of Xundef &foo, which leaves a stub that can trigger AUTOLOAD (and, Xconsequently, won't work for deleting methods). The subroutine is Xcompletely obliterated from the symbol table (though there may be Xreferences to it elsewhere, including in compiled code). X XWWW: http://search.cpan.org/dist/Sub-Delete/ ffd98efa5f376764705109f31c068c55 echo x - p5-Sub-Delete/Makefile sed 's/^X//' >p5-Sub-Delete/Makefile << '70166a395a6bccfcbf19e07ecb3aa666' X# New ports collection makefile for: p5-Sub-Delete X# Date created: 2008-11-16 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= Sub-Delete XPORTVERSION= 0.02 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= Sub XPKGNAMEPREFIX= p5- X XMAINTAINER= gslin@gslin.org XCOMMENT= Perl module enabling one to delete subroutines X XPERL_CONFIGURE= yes XUSE_PERL5= 5.8.3+ X XMAN3= Sub::Delete.3 X X.include X.include 70166a395a6bccfcbf19e07ecb3aa666 echo x - p5-Sub-Delete/pkg-plist sed 's/^X//' >p5-Sub-Delete/pkg-plist << '693c7a2dcf2d5774ebcde17c757e9f50' X@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Delete/.packlist X%%SITE_PERL%%/Sub/Delete.pm X@dirrmtry %%SITE_PERL%%/Sub X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Delete X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub 693c7a2dcf2d5774ebcde17c757e9f50 echo x - p5-Sub-Delete/distinfo sed 's/^X//' >p5-Sub-Delete/distinfo << '02815d35909e0b6363a3216c812379d8' XMD5 (Sub-Delete-0.02.tar.gz) = 54f2015f0add6cd5f0dbe64ea7056150 XSHA256 (Sub-Delete-0.02.tar.gz) = 3274e766a91873dbcdee5144beb2181df7d9bba9d0b6ab9758b98704bd4e2c07 XSIZE (Sub-Delete-0.02.tar.gz) = 3213 02815d35909e0b6363a3216c812379d8 exit --- p5-Sub-Delete-0.02.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: