From nobody Thu Sep 05 06:19:26 2024 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 4Wzq2Q4zlbz5VH5C; Thu, 05 Sep 2024 06:19:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wzq2Q314zz40Y6; Thu, 5 Sep 2024 06:19:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VpxOVNc2IEINDZrBKqJ0+Mcr3qf6wZLQGGI7aCQuFPg=; b=BPxKmbzMoMotQ055DORWAK3nQDPnD47zHIHnzLNo+rXWj+l16hE3SGslQ8KKC3TBxX+2hY QuX2LiKTexIFcSVka4cfit6PdWozmOAlTtPr/j89oicrTJlFq3y1JvPor7veXwMOachyc5 DSGLhDM5AnKBktkussvUubA2HsGTcNiiLPnq9M8YRXBR9bCyfJJoCnQFsAWHcynjcm4lYh gPvmRhPp84FCXviP6V0cQWomBoqpCZJRlwhyeCGtPey7if5OLeYa/R1nAUNyS2NDXeYBde xuPXzBv+wHCWmBddBud94Wt5ww2RZvitKj+RCza1YAlrbhYyvpb13jV4bJ1x9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725517166; a=rsa-sha256; cv=none; b=vSnM7Dbr7bqSaJzCOhj2d4dgX+J3+bY4SjA8LlWxruyEG2QifsAOm4OPE4L9hvRZwMKGmM WmRXQskyZlgiLnXh3zjLNp35NI+oR1hFt5RXTUEsmvdT4weBxoc6dNzkOgeby6whi5oPhB o9LEPOXZHBbJwOdBqUZ2C+z3Pt0xQKok+uNzRGqI1lfZClhDT/e8j4WpeT32xHarkufp4G QzOUp8xtiogdQrhqThyUuqIvhe7fvVIEMolIcABFgUWrC3R2XpxpUbst3+KqwI4Lrc4SVU 3IXgrd1cgYNR7V3TvrsVz/9GIH98ygrgcfW33CUO45VivuSwda/8UguOOwp1uQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VpxOVNc2IEINDZrBKqJ0+Mcr3qf6wZLQGGI7aCQuFPg=; b=yEHRDt6kdTrOlNiF6YDI9p9Fx0z61Tv1/MA91XMweauRtYuegOXx2+Mp/016Y+I4ZBsNC5 EWC0gctTsN/Lrz3OFKg7OabDoq6x55Wace1ZA3sfQzAzp4Qjxw24w7GVR38W2+nLSoQNup iOmeFavSUyCt3aAt7ZMu2KhB8dgUlvAsl7MaDzqO0xP/8PC84MFOusdSttCPWmq/Faf+LP ykpXxBJzvKT/Vx5nCTaGP87ZQ9Ou2o00CeVu7alOu1Tx4iFY7PHcMfC+ThM6LWWJ4cACjn iIcuzEVO0mu72Lp/ZECSL4BEUWBvtR8JvmDcHujTEDs4DXQXJUHFbwOjSPFyNQ== 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 4Wzq2Q2cVMzxCs; Thu, 5 Sep 2024 06:19:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4856JQ0m091462; Thu, 5 Sep 2024 06:19:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4856JQwZ091459; Thu, 5 Sep 2024 06:19:26 GMT (envelope-from git) Date: Thu, 5 Sep 2024 06:19:26 GMT Message-Id: <202409050619.4856JQwZ091459@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7fd42539c8bf - main - devel/p5-lib-filter: Add p5-lib-filter 0.281 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7fd42539c8bffb80ba0081aaf41567f20ff61abe Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7fd42539c8bffb80ba0081aaf41567f20ff61abe commit 7fd42539c8bffb80ba0081aaf41567f20ff61abe Author: Po-Chuan Hsieh AuthorDate: 2024-09-05 05:13:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-05 06:11:18 +0000 devel/p5-lib-filter: Add p5-lib-filter 0.281 lib::filter lets you allow/disallow loading modules using some rules. It works by installing a coderef in @INC (and additionally by pruning some entries in @INC). The main use-case for this pragma is for testing. --- devel/Makefile | 1 + devel/p5-lib-filter/Makefile | 24 ++++++++++++++++++++++++ devel/p5-lib-filter/distinfo | 3 +++ devel/p5-lib-filter/pkg-descr | 3 +++ devel/p5-lib-filter/pkg-plist | 8 ++++++++ 5 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 898b634a9e59..548054a60e1c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3935,6 +3935,7 @@ SUBDIR += p5-latest SUBDIR += p5-lexical-underscore SUBDIR += p5-lib-abs + SUBDIR += p5-lib-filter SUBDIR += p5-libalarm SUBDIR += p5-libxml-enno SUBDIR += p5-local-lib diff --git a/devel/p5-lib-filter/Makefile b/devel/p5-lib-filter/Makefile new file mode 100644 index 000000000000..87662684fede --- /dev/null +++ b/devel/p5-lib-filter/Makefile @@ -0,0 +1,24 @@ +PORTNAME= lib-filter +PORTVERSION= 0.28.1 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- +DISTNAME= lib-filter-${PORTVERSION:R}${PORTVERSION:E} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Allow/disallow loading modules +WWW= https://metacpan.org/dist/lib-filter + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Module-Path-More>=0.32:devel/p5-Module-Path-More \ + p5-Test-Needs>=0:devel/p5-Test-Needs + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-lib-filter/distinfo b/devel/p5-lib-filter/distinfo new file mode 100644 index 000000000000..22ed074e0caf --- /dev/null +++ b/devel/p5-lib-filter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084470 +SHA256 (lib-filter-0.281.tar.gz) = 8f26354c5b264be383dabe47f99203230a941950f43fc86cfbcb0f3c62466f4c +SIZE (lib-filter-0.281.tar.gz) = 23434 diff --git a/devel/p5-lib-filter/pkg-descr b/devel/p5-lib-filter/pkg-descr new file mode 100644 index 000000000000..90a6c1250e9e --- /dev/null +++ b/devel/p5-lib-filter/pkg-descr @@ -0,0 +1,3 @@ +lib::filter lets you allow/disallow loading modules using some rules. It works +by installing a coderef in @INC (and additionally by pruning some entries in +@INC). The main use-case for this pragma is for testing. diff --git a/devel/p5-lib-filter/pkg-plist b/devel/p5-lib-filter/pkg-plist new file mode 100644 index 000000000000..a213868d7010 --- /dev/null +++ b/devel/p5-lib-filter/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/lib/allow.pm +%%SITE_PERL%%/lib/coreplus.pm +%%SITE_PERL%%/lib/disallow.pm +%%SITE_PERL%%/lib/filter.pm +%%PERL5_MAN3%%/lib::allow.3.gz +%%PERL5_MAN3%%/lib::coreplus.3.gz +%%PERL5_MAN3%%/lib::disallow.3.gz +%%PERL5_MAN3%%/lib::filter.3.gz