From owner-svn-ports-all@freebsd.org Sun Mar 1 06:27:40 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C3ED827F8FE; Sun, 1 Mar 2020 06:27:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48VYGz51TWz41Mq; Sun, 1 Mar 2020 06:27:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C2A8273F7; Sun, 1 Mar 2020 06:27:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0216Rd0L075628; Sun, 1 Mar 2020 06:27:39 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0216RcUP075624; Sun, 1 Mar 2020 06:27:38 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202003010627.0216RcUP075624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 1 Mar 2020 06:27:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527492 - in head/devel: . p5-Long-Jump X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . p5-Long-Jump X-SVN-Commit-Revision: 527492 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2020 06:27:40 -0000 Author: sunpoet Date: Sun Mar 1 06:27:37 2020 New Revision: 527492 URL: https://svnweb.freebsd.org/changeset/ports/527492 Log: Add p5-Long-Jump 0.000001 Long::Jump essentially provides a multi-level return. You can mark a spot with setjump() and then unwind the stack back to that point from any nested stack frame by name using longjump(). You can also provide a list of return values. This is not quite a match for C's long jump, but it is "close enough". It is safer than C's jump in that it only lets you escape frames by going up the stack, you cannot jump in other ways. WWW: https://metacpan.org/release/Long-Jump Added: head/devel/p5-Long-Jump/ head/devel/p5-Long-Jump/Makefile (contents, props changed) head/devel/p5-Long-Jump/distinfo (contents, props changed) head/devel/p5-Long-Jump/pkg-descr (contents, props changed) head/devel/p5-Long-Jump/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Mar 1 05:34:26 2020 (r527491) +++ head/devel/Makefile Sun Mar 1 06:27:37 2020 (r527492) @@ -2658,6 +2658,7 @@ SUBDIR += p5-Log-TraceMessages SUBDIR += p5-Log-ger SUBDIR += p5-Logfile-Rotate + SUBDIR += p5-Long-Jump SUBDIR += p5-Luka SUBDIR += p5-Lvalue SUBDIR += p5-MCE Added: head/devel/p5-Long-Jump/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Long-Jump/Makefile Sun Mar 1 06:27:37 2020 (r527492) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Long-Jump +PORTVERSION= 0.000001 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:EXODIST +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Mechanism for returning to a specific point from a deeply nested stack + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test2-Suite>=0.000126:devel/p5-Test2-Suite + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include Added: head/devel/p5-Long-Jump/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Long-Jump/distinfo Sun Mar 1 06:27:37 2020 (r527492) @@ -0,0 +1,3 @@ +TIMESTAMP = 1582975657 +SHA256 (Long-Jump-0.000001.tar.gz) = d5d6456d86992b559d8f66fc90960f919292cd3803c13403faac575762c77af4 +SIZE (Long-Jump-0.000001.tar.gz) = 12123 Added: head/devel/p5-Long-Jump/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Long-Jump/pkg-descr Sun Mar 1 06:27:37 2020 (r527492) @@ -0,0 +1,9 @@ +Long::Jump essentially provides a multi-level return. You can mark a spot with +setjump() and then unwind the stack back to that point from any nested stack +frame by name using longjump(). You can also provide a list of return values. + +This is not quite a match for C's long jump, but it is "close enough". It is +safer than C's jump in that it only lets you escape frames by going up the +stack, you cannot jump in other ways. + +WWW: https://metacpan.org/release/Long-Jump Added: head/devel/p5-Long-Jump/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Long-Jump/pkg-plist Sun Mar 1 06:27:37 2020 (r527492) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Long/Jump.pm +%%PERL5_MAN3%%/Long::Jump.3.gz