From nobody Wed Dec 25 19:17:50 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 4YJM3M1XNTz5hmgM; Wed, 25 Dec 2024 19:17:51 +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 4YJM3M0vpXz443n; Wed, 25 Dec 2024 19:17:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735154271; 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=bXAY2d/Wm6iIlzY8rnw3IANvhgsZbGmVuefAbnTB79g=; b=b4F/gVBKVCkMVdaA3xgXfbd5X/8kTW0o8oENdqor743bFQcDTNbIBqzhDM3I4wJHHAOX6j iN61XYtabo0IXDURkaUi+1kXO8qH7JoBQlT4GjiCugLm546JNaYHo6HuwIY0uIXirrRBQS P56K/irqONcyC83tjpKCm7C2QO/gZxC5gI2eczm8OhX5Q8gYeRLcLMWurInQty3mZneBEC 6ntpbovYOXMURxOAt7kESaLHuK5iI8XulYTNc/qUajZ9rNzoZTAPVmiY7oRjvjy8b9NpJH JECeJH/z1lu0EcSWW6K5p2dKn1UOMZPmD1sbNGeglSj8uY2QWxXTZ8eC3Zx5oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735154271; 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=bXAY2d/Wm6iIlzY8rnw3IANvhgsZbGmVuefAbnTB79g=; b=T+lpMHvcwqD/6FwiUlyI531P6UdcS/9X4Q36Ze8zS7mt4FOOK/CecZHzRsoZkvqSFQukbZ iw39AVckup+/VIMyMInJRTozoQ/WGUH01DSEj/AFy4tMdZnJwGqTHAL6WBvbU+zQHqdWfy bBCXIVoaNLiqkWYRuAZN1AOhMLgIrbojlAowar2Qa+eNILwX8qDgrnkdxGcF9bW1hUumac eRVeJUtGvVZduLz/cdoJA9g9jtxb+hcgH45yb2zWvJk8EEmCeOB/xbOdCOYVoit92+YgjL 4FtaFGlpnHioIxKWntRsvZ6vJOFHVVn4oWGp7hRX8WBaUQfFgGb4mq5LeTFERA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735154271; a=rsa-sha256; cv=none; b=pkdfVwtMSZIC5UYNY4F/91C9LU6nig8Tbo5fLEc9t8EYGH/cnmtrF5qpa2rXmrrA6tDfvz jGzzIP4D1Vgy70XZuW9QJPDF5pzAMviXzz9rsqpACq3GAd3n1E+81KmCX3gwVkmlJt2J9r RZ5e58BRy4KB2viB3oyPJSBjK5Ko2CoM1DPt5iH2ZSZHMYjlZZQcPpFAuGNq01u56Ho1Ld sW9E4sMftv0UK0pUmStVDK+DNxUCQ/sVLJUlXpxvHu/2TQgRsR8IHJPQXv7cP3OkaPbXgd qpHsJWo49d9WLgdMPwiTPZHnSyefVVFIv74hA+/HeeKrr7Z584ZD1A8DcOqCAQ== 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 4YJM3M0W9GzL5Z; Wed, 25 Dec 2024 19:17:51 +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 4BPJHoZ2087665; Wed, 25 Dec 2024 19:17:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BPJHoL4087662; Wed, 25 Dec 2024 19:17:50 GMT (envelope-from git) Date: Wed, 25 Dec 2024 19:17:50 GMT Message-Id: <202412251917.4BPJHoL4087662@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: 65c406e188ef - main - security/p5-CPANSA-DB: Add p5-CPANSA-DB 20241208.003 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: 65c406e188ef5ddb9ea1d4b2f0b59287cf8e2051 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=65c406e188ef5ddb9ea1d4b2f0b59287cf8e2051 commit 65c406e188ef5ddb9ea1d4b2f0b59287cf8e2051 Author: Po-Chuan Hsieh AuthorDate: 2024-12-25 14:17:05 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-12-25 19:14:56 +0000 security/p5-CPANSA-DB: Add p5-CPANSA-DB 20241208.003 CPANSA::DB provides the CPAN Security Advisory data as a Perl data structure, mostly for CPAN::Audit. The db subroutine returns the CPAN Security Advisory (CPANSA) reports as a Perl data structure. However, anything can use this. Each release also comes with a .gpg file that has the signature for the file. If you cannot confirm that the module file has the right signature, it might have been corrupted or modified. This module is available outside of CPAN as a release on GitHub: https://github.com/briandfoy/cpan-security-advisory/releases. Each release on GitHub includes an attestation. There is also a JSON file that provides the same datastructure. --- security/Makefile | 1 + security/p5-CPANSA-DB/Makefile | 22 ++++++++++++++++++++++ security/p5-CPANSA-DB/distinfo | 3 +++ security/p5-CPANSA-DB/pkg-descr | 15 +++++++++++++++ security/p5-CPANSA-DB/pkg-plist | 8 ++++++++ 5 files changed, 49 insertions(+) diff --git a/security/Makefile b/security/Makefile index 003552fe61f0..65023d0113b4 100644 --- a/security/Makefile +++ b/security/Makefile @@ -525,6 +525,7 @@ SUBDIR += p5-Bytes-Random-Secure-Tiny SUBDIR += p5-CACertOrg-CA SUBDIR += p5-CPAN-Audit + SUBDIR += p5-CPANSA-DB SUBDIR += p5-CSP SUBDIR += p5-Cisco-Hash SUBDIR += p5-Crypt-Anubis diff --git a/security/p5-CPANSA-DB/Makefile b/security/p5-CPANSA-DB/Makefile new file mode 100644 index 000000000000..6eca75cdb244 --- /dev/null +++ b/security/p5-CPANSA-DB/Makefile @@ -0,0 +1,22 @@ +PORTNAME= CPANSA-DB +PORTVERSION= 20241208.003 +CATEGORIES= security perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:BDFOY +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= CPAN Security Advisory data as a Perl data structure, mostly for CPAN::Audit +WWW= https://metacpan.org/dist/CPANSA-DB + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-YAML-LibYAML>=0:textproc/p5-YAML-LibYAML + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/security/p5-CPANSA-DB/distinfo b/security/p5-CPANSA-DB/distinfo new file mode 100644 index 000000000000..dac6622b816d --- /dev/null +++ b/security/p5-CPANSA-DB/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1734888000 +SHA256 (CPANSA-DB-20241208.003.tar.gz) = 022f998af4674f3162a0d7c145c991e09b73c54ed190bc7e42c77cd700e5fc21 +SIZE (CPANSA-DB-20241208.003.tar.gz) = 1343243 diff --git a/security/p5-CPANSA-DB/pkg-descr b/security/p5-CPANSA-DB/pkg-descr new file mode 100644 index 000000000000..4c2dc79b0fdc --- /dev/null +++ b/security/p5-CPANSA-DB/pkg-descr @@ -0,0 +1,15 @@ +CPANSA::DB provides the CPAN Security Advisory data as a Perl data structure, +mostly for CPAN::Audit. + +The db subroutine returns the CPAN Security Advisory (CPANSA) reports as a Perl +data structure. However, anything can use this. + +Each release also comes with a .gpg file that has the signature for the file. If +you cannot confirm that the module file has the right signature, it might have +been corrupted or modified. + +This module is available outside of CPAN as a release on GitHub: +https://github.com/briandfoy/cpan-security-advisory/releases. Each release on +GitHub includes an attestation. + +There is also a JSON file that provides the same datastructure. diff --git a/security/p5-CPANSA-DB/pkg-plist b/security/p5-CPANSA-DB/pkg-plist new file mode 100644 index 000000000000..288fe1c72d1c --- /dev/null +++ b/security/p5-CPANSA-DB/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/CPAN/Audit/DB.pm +%%SITE_PERL%%/CPAN/Audit/DB.pm.gpg +%%SITE_PERL%%/CPAN/Audit/DB.pod +%%SITE_PERL%%/CPANSA/DB.pm +%%SITE_PERL%%/CPANSA/DB.pm.gpg +%%SITE_PERL%%/CPANSA/DB.pod +%%PERL5_MAN3%%/CPAN::Audit::DB.3.gz +%%PERL5_MAN3%%/CPANSA::DB.3.gz