SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,41 @@
COMMENT = module signature file manipulation
DISTNAME = Module-Signature-0.88
CATEGORIES = security
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# CC0 1.0 Universal License, Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
BUILD_DEPENDS = security/gnupg
RUN_DEPENDS = textproc/p5-Text-Diff \
security/gnupg
TEST_DEPENDS = devel/p5-IPC-Run
CONFIGURE_STYLE = modinst
PKG_ARCH = *
# Enable signature check by the module itself during make regress.
# Thus the regression test only works on an unpatched port as it
# verifies the signatures of the files in wrkdist directory. The
# public keys for that are added to the key ring during make configure.
# This does not provide additional security as the keys are shipped
# together with the source. It just ensures that the port works fine.
GNUPGHOME = ${WRKDIR}/gnupg
CONFIGURE_ENV = GNUPGHOME=${GNUPGHOME}
MAKE_ENV = GNUPGHOME=${GNUPGHOME} TEST_SIGNATURE=1
pre-configure:
mkdir -p -m 0700 -- ${GNUPGHOME}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/p5-Module-Signature
.for f in *.pub
${INSTALL_DATA} ${WRKDIST}/${f} ${PREFIX}/share/p5-Module-Signature
.endfor
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Module-Signature-0.88.tar.gz) = d3yhdaU32ePjUGaMD3KXKLLbpWdVfdn+rxpq8s/zJpI=
SIZE (Module-Signature-0.88.tar.gz) = 98697

View file

@ -0,0 +1,7 @@
Module::Signature adds cryptographic authentications to CPAN
distributions, via the special SIGNATURE file.
You should add the module signature keys to your public keyring:
gpg --import ${PREFIX}/share/p5-Module-Signature/*.pub
Use cpansign -v to verify a module's signature before you build it.

View file

@ -0,0 +1,10 @@
bin/cpansign
${P5SITE}/Module/
${P5SITE}/Module/Signature.pm
@man man/man1/cpansign.1
@man man/man3p/Module::Signature.3p
share/p5-Module-Signature/
share/p5-Module-Signature/ANDK2020.pub
share/p5-Module-Signature/AUDREYT2018.pub
share/p5-Module-Signature/NIKLASHOLM2018.pub
share/p5-Module-Signature/PAUSE2022.pub