From nobody Sun Nov 21 18:57:33 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1C6FC188EE12; Sun, 21 Nov 2021 18:57:34 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hy05V0HBMz4R7R; Sun, 21 Nov 2021 18:57:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DCF42142FE; Sun, 21 Nov 2021 18:57:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ALIvXe7028172; Sun, 21 Nov 2021 18:57:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ALIvXUs028171; Sun, 21 Nov 2021 18:57:33 GMT (envelope-from git) Date: Sun, 21 Nov 2021 18:57:33 GMT Message-Id: <202111211857.1ALIvXUs028171@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= Subject: git: 6990380dff84 - main - devel/p5-B-Debug: new port to walk Perl syntax tree, printing debug info about ops List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6990380dff840ba4ba9cefc5d5991c18b454d356 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=6990380dff840ba4ba9cefc5d5991c18b454d356 commit 6990380dff840ba4ba9cefc5d5991c18b454d356 Author: James E Keenan AuthorDate: 2021-11-21 18:14:43 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2021-11-21 18:56:09 +0000 devel/p5-B-Debug: new port to walk Perl syntax tree, printing debug info about ops As of perl-5.30, released in the spring of 2019, B-Debug is no longer shipped with the Perl 5 core distribution. So at the present time it's not available through FreeBSD ports. PR: 258350 Reported by: jkeenan@pobox.com --- devel/Makefile | 1 + devel/p5-B-Debug/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-B-Debug/distinfo | 3 +++ devel/p5-B-Debug/pkg-descr | 23 +++++++++++++++++++++++ devel/p5-B-Debug/pkg-plist | 2 ++ 5 files changed, 57 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b66e9e6db987..30ee6bcabf9c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1790,6 +1790,7 @@ SUBDIR += p5-B-C SUBDIR += p5-B-COW SUBDIR += p5-B-Compiling + SUBDIR += p5-B-Debug SUBDIR += p5-B-Deobfuscate SUBDIR += p5-B-Flags SUBDIR += p5-B-Generate diff --git a/devel/p5-B-Debug/Makefile b/devel/p5-B-Debug/Makefile new file mode 100644 index 000000000000..3d9538bd7eba --- /dev/null +++ b/devel/p5-B-Debug/Makefile @@ -0,0 +1,28 @@ +# Created by: James E Keenan + +PORTNAME= B-Debug +PORTVERSION= 1.26 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:RURBAN +PKGNAMEPREFIX= p5- + +MAINTAINER= jkeenan@cpan.org +COMMENT= Walk Perl syntax tree, printing debug info about ops + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= configure +NO_ARCH= yes + +PORTDOCS= Changes README + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/devel/p5-B-Debug/distinfo b/devel/p5-B-Debug/distinfo new file mode 100644 index 000000000000..4c6c3a3fe3f8 --- /dev/null +++ b/devel/p5-B-Debug/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1631042869 +SHA256 (B-Debug-1.26.tar.gz) = 8d6d3f5134f0ddd8dde68e6581f5b30b73b7db40fd28d076e4f6e5386f570d3a +SIZE (B-Debug-1.26.tar.gz) = 17725 diff --git a/devel/p5-B-Debug/pkg-descr b/devel/p5-B-Debug/pkg-descr new file mode 100644 index 000000000000..5f73533ce63f --- /dev/null +++ b/devel/p5-B-Debug/pkg-descr @@ -0,0 +1,23 @@ +Walk Perl syntax tree, printing debug info about ops + +Without actually executing a Perl 5 program, you can walk its optree: + + $ cat hello.pl + print "Hello world!\n"; + + $ perl -MO=Debug hello.pl + hello.pl syntax OK + LISTOP (0x55d1520414f8) + op_ppaddr 0x55d1520414f8 LISTOP [OP_LEAVE] + op_next 0x0 + op_sibling 0x0 + op_targ 1 + ... + OP (0x55d1520414c8) + op_ppaddr 0x55d1520414c8 OP [OP_ENTER] + op_next 0x55d152041538 COP [OP_NEXTSTATE] + op_sibling 0x55d152041538 COP [OP_NEXTSTATE] + op_targ 0 + ... + +WWW: https://metacpan.org/release/B-Debug diff --git a/devel/p5-B-Debug/pkg-plist b/devel/p5-B-Debug/pkg-plist new file mode 100644 index 000000000000..b9cf63482215 --- /dev/null +++ b/devel/p5-B-Debug/pkg-plist @@ -0,0 +1,2 @@ +%%PERL5_MAN3%%/B::Debug.3.gz +%%SITE_PERL%%/B/Debug.pm