From gslin@host-1.pixnet.tw  Sun Nov 16 03:37:24 2008
Return-Path: <gslin@host-1.pixnet.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 012EE106568D
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gslin@gslin.org
Subject: [NEW PORT] devel/p5-Sub-Delete: Perl module enabling one to delete subroutines
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 16 03:40:01 UTC 2008
>Closed-Date:    Fri Nov 21 20:44:37 UTC 2008
>Last-Modified:  Fri Nov 21 20:50:05 UTC 2008
>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 <gslin@gslin.org>
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 <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Nov 16 10:22:59 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128899 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Nov 21 20:44:36 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128899 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/128899: commit references a PR
Date: Fri, 21 Nov 2008 20:44:57 +0000 (UTC)

 miwi        2008-11-21 20:44:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/p5-Sub-Delete  Makefile distinfo pkg-descr pkg-plist 
   Log:
   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/
   
   PR:             ports/128899
   Submitted by:   Gea-Suan Lin <gslin at gslin.org>
   
   Revision  Changes    Path
   1.3261    +1 -0      ports/devel/Makefile
   1.1       +24 -0     ports/devel/p5-Sub-Delete/Makefile (new)
   1.1       +3 -0      ports/devel/p5-Sub-Delete/distinfo (new)
   1.1       +11 -0     ports/devel/p5-Sub-Delete/pkg-descr (new)
   1.1       +6 -0      ports/devel/p5-Sub-Delete/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
