Skip to content

Commit

Permalink
security/p5-CPAN-Audit: new port had been added (+)
Browse files Browse the repository at this point in the history
Perl module to audit CPAN distributions for known vulnerabilities.

Requested by:	someone on t.me/freebsd_ru
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Dec 25, 2023
1 parent c1a7fa9 commit 7d282e1
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Expand Up @@ -497,6 +497,7 @@
SUBDIR += p5-Bytes-Random-Secure
SUBDIR += p5-Bytes-Random-Secure-Tiny
SUBDIR += p5-CACertOrg-CA
SUBDIR += p5-CPAN-Audit
SUBDIR += p5-CSP
SUBDIR += p5-Cisco-Hash
SUBDIR += p5-Crypt-Anubis
Expand Down
26 changes: 26 additions & 0 deletions security/p5-CPAN-Audit/Makefile
@@ -0,0 +1,26 @@
PORTNAME= CPAN-Audit
PORTVERSION= 20231129.001
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

MAINTAINER= perl@FreeBSD.org
COMMENT= Audit CPAN distributions for known vulnerabilities
WWW= https://metacpan.org/dist/CPAN-Audit

LICENSE= ART10 GPLv1+
LICENSE_COMB= dual

RUN_DEPENDS= p5-CPAN-DistnameInfo>=0:devel/p5-CPAN-DistnameInfo \
p5-IO-Interactive>=0:devel/p5-IO-Interactive \
p5-JSON>=0:converters/p5-JSON \
p5-Module-CPANfile>=0:devel/p5-Module-CPANfile \
p5-Module-Extract-VERSION>=0:devel/p5-Module-Extract-VERSION
TEST_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny

USES= perl5
USE_PERL5= configure

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions security/p5-CPAN-Audit/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1701288997
SHA256 (CPAN-Audit-20231129.001.tar.gz) = 4fd698f50185c7b61d1f799d887a0d5a3e726347cdbdc69d2bfc58346b224864
SIZE (CPAN-Audit-20231129.001.tar.gz) = 697118
2 changes: 2 additions & 0 deletions security/p5-CPAN-Audit/pkg-descr
@@ -0,0 +1,2 @@
CPAN::Audit is a module and a database at the same time. It is used by
the cpan-audit(1) command-line application to query for vulnerabilities.
17 changes: 17 additions & 0 deletions security/p5-CPAN-Audit/pkg-plist
@@ -0,0 +1,17 @@
bin/cpan-audit
%%SITE_PERL%%/CPAN/Audit.pm
%%SITE_PERL%%/CPAN/Audit/DB.pm
%%SITE_PERL%%/CPAN/Audit/DB.pm.gpg
%%SITE_PERL%%/CPAN/Audit/Discover.pm
%%SITE_PERL%%/CPAN/Audit/Discover/Cpanfile.pm
%%SITE_PERL%%/CPAN/Audit/Discover/CpanfileSnapshot.pm
%%SITE_PERL%%/CPAN/Audit/Filter.pm
%%SITE_PERL%%/CPAN/Audit/FreshnessCheck.pm
%%SITE_PERL%%/CPAN/Audit/Installed.pm
%%SITE_PERL%%/CPAN/Audit/Query.pm
%%SITE_PERL%%/CPAN/Audit/Version.pm
%%PERL5_MAN1%%/cpan-audit.1.gz
%%PERL5_MAN3%%/CPAN::Audit.3.gz
%%PERL5_MAN3%%/CPAN::Audit::Filter.3.gz
%%PERL5_MAN3%%/CPAN::Audit::FreshnessCheck.3.gz
%%PERL5_MAN3%%/CPAN::Audit::Query.3.gz

0 comments on commit 7d282e1

Please sign in to comment.