From nobody Thu Sep 05 06:19:19 2024 X-Original-To: dev-commits-ports-main@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 4Wzq2H5jPqz5VH7H; Thu, 05 Sep 2024 06:19:19 +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 4Wzq2H4JgBz40WD; Thu, 5 Sep 2024 06:19:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517159; 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=BeUD+H9INHedakY7Jl/iD9cDteWIqXnJ7JM7FeAJbnE=; b=v3ipwqFvF4XLDj7W1fZf68J3AzDD3oV/WWZfrJrt4KoJ3Ay4qcJ94gPhoBvvRXsPmR89Ov EyXWewKI4N4F7rOhgjWBK+xs8FNxiqVCfPsWiBjY7dvi8m4409DuXmQGsy2OMF4Yk06wDE gxm5MiQwRdRM2d+bHmFZEs1xcw/94sssAAmx2EEuQ0oexA9wP7oj3/luBNHtkv2dDCSAar 0Kv4Fulsf9KKsgNPHdthnHpBiD0i3+xcoG1842+N4NZgVjkLZC+tRrgFOTb0TNrxwzQXPi reoeo9wdhXc/NFTrFfwxPgqYEp40F8wiqQ3FDJeSA5ercmeuRokeUvHbB2g+cw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725517159; a=rsa-sha256; cv=none; b=JMhl1TXa/+r8bEbcJBdL0s5ProibeEPHPXn5PpPpXuKHzGPblJjtOLpNQPuf0mHklj52mM ivI9DgvZm45eBVdy5SUNaDGI5sVj+ZBcSjqRlMCaFiTdr+BpmPDGEw0oscW8/3qdO4Df7J pR280so6wlhW1j53Bcf8ZBWlBqnLjW9JvsbrBZlweod/G+aqWe1BCvqvopnIIkluLDMBh2 WlDR9TE9ziqFGWcAuBOuyminHG/axKymhDkT4rPK1bAOZWaIYRj1SUPQ2paQUT0bFOVQZv sNk34bkKOTH5TrhmgEGQHTS+U5b+ovhrC6pouA8y+yhxD+Mnxoew6R14HOA6CA== 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=1725517159; 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=BeUD+H9INHedakY7Jl/iD9cDteWIqXnJ7JM7FeAJbnE=; b=HAl2kCmBEjCKxj5CIVZW48KYXHT5z2hoVjkcqmevLLFfTqspkXZG+JULU8/CcTQDkGLgQt yl8KCpA3pqXxvolZrdK5fLaQDNEsc2u3eUmgBpVTy2OpM9g2Ho2mF6hM2zXEV3boKU02KJ aqDvQqRrLsNr+XxF5qLyI5v1NO1OqiuqlO2LgOxW3gPJDw5pPv9IH/9zzK280jg7XzXc7u 5e5NQJfrGAFw7Wu0eQQQb9/DoAn+oMyfvc+s/uRbzXlikcjekcQYkPQIA6pvIUeYPFTton /0AYq1yeMhlXf6cfmGR79kJCBl5ooWHE3bjF1e7bV83udyGaeXlxrFITT8s+2w== 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 4Wzq2H3mYZzwxp; Thu, 5 Sep 2024 06:19:19 +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 4856JJOR091221; Thu, 5 Sep 2024 06:19:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4856JJVU091218; Thu, 5 Sep 2024 06:19:19 GMT (envelope-from git) Date: Thu, 5 Sep 2024 06:19:19 GMT Message-Id: <202409050619.4856JJVU091218@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: b5580f211c8f - main - devel/p5-IPC-System-Options: Add p5-IPC-System-Options 0.341 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: b5580f211c8fa03aa008d7153b9ccb44b63d4384 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5580f211c8fa03aa008d7153b9ccb44b63d4384 commit b5580f211c8fa03aa008d7153b9ccb44b63d4384 Author: Po-Chuan Hsieh AuthorDate: 2024-09-05 05:13:46 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-05 06:11:16 +0000 devel/p5-IPC-System-Options: Add p5-IPC-System-Options 0.341 IPC::System::Options provides replacement (wrapper) for Perl's system(), readpipe() (qx//, a.k.a. the backtick operator), as well as IPC::Run's start() and run(). The wrappers give you options like forcing/avoiding use of shell (like what IPC::System::Simple offers you), logging the arguments and/or output (using Log::ger), temporarily setting environment variables, temporarily setting working directory, dying on non-zero exit code, capturing (or tee-ing) output (stdout/stderr) (using Capture::Tiny), and a few others. They are meant as a convenience so you can just call system() (or the other wrapper target) instead of doing some additional setup and cleanup yourself. --- devel/Makefile | 1 + devel/p5-IPC-System-Options/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-IPC-System-Options/distinfo | 3 +++ devel/p5-IPC-System-Options/pkg-descr | 9 +++++++++ devel/p5-IPC-System-Options/pkg-plist | 2 ++ 5 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e0db5a09b286..bb846bc6e6aa 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2793,6 +2793,7 @@ SUBDIR += p5-IPC-SharedCache SUBDIR += p5-IPC-ShellCmd SUBDIR += p5-IPC-Signal + SUBDIR += p5-IPC-System-Options SUBDIR += p5-IPC-System-Simple SUBDIR += p5-IRI SUBDIR += p5-Import-Base diff --git a/devel/p5-IPC-System-Options/Makefile b/devel/p5-IPC-System-Options/Makefile new file mode 100644 index 000000000000..1bd237dc33f2 --- /dev/null +++ b/devel/p5-IPC-System-Options/Makefile @@ -0,0 +1,28 @@ +PORTNAME= IPC-System-Options +PORTVERSION= 0.341 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Perl system(), readpipe()/qx, IPC::Run's run(), start() (with more options) +WWW= https://metacpan.org/dist/IPC-System-Options + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ + p5-IPC-Run>=0:devel/p5-IPC-Run \ + p5-Log-ger>=0.018:devel/p5-Log-ger \ + p5-Proc-ChildError>=0:devel/p5-Proc-ChildError \ + p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote +TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-IPC-System-Options/distinfo b/devel/p5-IPC-System-Options/distinfo new file mode 100644 index 000000000000..8dae5c1d3359 --- /dev/null +++ b/devel/p5-IPC-System-Options/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084458 +SHA256 (IPC-System-Options-0.341.tar.gz) = cb3349a3424d744d7171e9a0f9a48681898af7ab714f875fffecd5914e2b8522 +SIZE (IPC-System-Options-0.341.tar.gz) = 25187 diff --git a/devel/p5-IPC-System-Options/pkg-descr b/devel/p5-IPC-System-Options/pkg-descr new file mode 100644 index 000000000000..b9820ab1b1d5 --- /dev/null +++ b/devel/p5-IPC-System-Options/pkg-descr @@ -0,0 +1,9 @@ +IPC::System::Options provides replacement (wrapper) for Perl's system(), +readpipe() (qx//, a.k.a. the backtick operator), as well as IPC::Run's start() +and run(). The wrappers give you options like forcing/avoiding use of shell +(like what IPC::System::Simple offers you), logging the arguments and/or output +(using Log::ger), temporarily setting environment variables, temporarily setting +working directory, dying on non-zero exit code, capturing (or tee-ing) output +(stdout/stderr) (using Capture::Tiny), and a few others. They are meant as a +convenience so you can just call system() (or the other wrapper target) instead +of doing some additional setup and cleanup yourself. diff --git a/devel/p5-IPC-System-Options/pkg-plist b/devel/p5-IPC-System-Options/pkg-plist new file mode 100644 index 000000000000..6a08d0f3b1d9 --- /dev/null +++ b/devel/p5-IPC-System-Options/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/IPC/System/Options.pm +%%PERL5_MAN3%%/IPC::System::Options.3.gz