Date: Tue, 28 Jan 2003 09:46:20 +0100 (CET) From: Erwin Lansing <erwin@lansing.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47582: New port: Sub::Uplevel - apparently run a function in a higher stack frame Message-ID: <200301280846.h0S8kKLC011814@lemur.droso.net>
next in thread | raw e-mail | index | archive | help
>Number: 47582 >Category: ports >Synopsis: New port: Sub::Uplevel - apparently run a function in a higher stack frame >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: Tue Jan 28 00:50:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Erwin Lansing >Release: FreeBSD 4.7-STABLE i386 >Organization: pil.dk >Environment: System: FreeBSD lemur.droso.net 4.7-STABLE FreeBSD 4.7-STABLE #13: Tue Jan 7 21:26:37 CET 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386 >Description: Like Tcl's uplevel() function, but not quite so dangerous. The idea is just to fool caller(). All the really naughty bits of Tcl's uplevel() are avoided. WWW: http://search.cpan.org/dist/Sub-Uplevel/ >How-To-Repeat: >Fix: --- p5-Sub-Uplevel.sh 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-Uplevel/ # p5-Sub-Uplevel/Makefile # p5-Sub-Uplevel/pkg-plist # p5-Sub-Uplevel/pkg-descr # p5-Sub-Uplevel/pkg-comment # p5-Sub-Uplevel/distinfo # echo c - p5-Sub-Uplevel/ mkdir -p p5-Sub-Uplevel/ > /dev/null 2>&1 echo x - p5-Sub-Uplevel/Makefile sed 's/^X//' >p5-Sub-Uplevel/Makefile << 'END-of-p5-Sub-Uplevel/Makefile' X# New ports collection makefile for: p5-Sub-Uplevel X# Date created: January 27th 2003 X# Whom: Erwin Lansing <erwin@lansing.dk> X# X# $FreeBSD$ X# X XPORTNAME= Sub-Uplevel XPORTVERSION= 0.06 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Sub XPKGNAMEPREFIX= p5- X XMAINTAINER= erwin@lansing.dk X XPERL_CONFIGURE= yes X XMAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} XMAN3= Sub::Uplevel.3 X X.include <bsd.port.pre.mk> X X## X## this port requires PERL 5.6.x or later X## X.if ${PERL_LEVEL} < 500600 XBROKEN= Port requires perl 5.6.x or later. Install lang/perl5 then try again X.endif X X.include <bsd.port.post.mk> END-of-p5-Sub-Uplevel/Makefile echo x - p5-Sub-Uplevel/pkg-plist sed 's/^X//' >p5-Sub-Uplevel/pkg-plist << 'END-of-p5-Sub-Uplevel/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/mach/auto/Sub/Uplevel/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Sub/Uplevel.pm X@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Sub/Uplevel X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Sub 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/mach/auto 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Sub 2>/dev/null || true END-of-p5-Sub-Uplevel/pkg-plist echo x - p5-Sub-Uplevel/pkg-descr sed 's/^X//' >p5-Sub-Uplevel/pkg-descr << 'END-of-p5-Sub-Uplevel/pkg-descr' XLike Tcl's uplevel() function, but not quite so Xdangerous. The idea is just to fool caller(). XAll the really naughty bits of Tcl's uplevel() are avoided. X XWWW: http://search.cpan.org/dist/Sub-Uplevel/ END-of-p5-Sub-Uplevel/pkg-descr echo x - p5-Sub-Uplevel/pkg-comment sed 's/^X//' >p5-Sub-Uplevel/pkg-comment << 'END-of-p5-Sub-Uplevel/pkg-comment' XSub::Uplevel - apparently run a function in a higher stack frame END-of-p5-Sub-Uplevel/pkg-comment echo x - p5-Sub-Uplevel/distinfo sed 's/^X//' >p5-Sub-Uplevel/distinfo << 'END-of-p5-Sub-Uplevel/distinfo' XMD5 (Sub-Uplevel-0.06.tar.gz) = 1436ca7aa406c1f8096ca6f56f0c69ed END-of-p5-Sub-Uplevel/distinfo exit --- p5-Sub-Uplevel.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301280846.h0S8kKLC011814>