Date: Fri, 26 Jun 2026 20:49:26 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c1c6c59ad89a - main - security/p5-Crypt-SysRandom-XS: Add p5-Crypt-SysRandom-XS 0.011 Message-ID: <6a3ee5d6.1c7d2.431fe73@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c1c6c59ad89a5851f9d954440c3d20e69222d05b commit c1c6c59ad89a5851f9d954440c3d20e69222d05b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-06-26 20:42:57 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-06-26 20:42:57 +0000 security/p5-Crypt-SysRandom-XS: Add p5-Crypt-SysRandom-XS 0.011 Crypt::SysRandom::XS uses whatever C interface is available to procure cryptographically random data from the system. --- security/Makefile | 1 + security/p5-Crypt-SysRandom-XS/Makefile | 25 +++++++++++++++++++++++++ security/p5-Crypt-SysRandom-XS/distinfo | 3 +++ security/p5-Crypt-SysRandom-XS/pkg-descr | 2 ++ security/p5-Crypt-SysRandom-XS/pkg-plist | 3 +++ 5 files changed, 34 insertions(+) diff --git a/security/Makefile b/security/Makefile index 85bdca4d8ce5..5c058418f577 100644 --- a/security/Makefile +++ b/security/Makefile @@ -640,6 +640,7 @@ SUBDIR += p5-Crypt-Sodium SUBDIR += p5-Crypt-Solitaire SUBDIR += p5-Crypt-SysRandom + SUBDIR += p5-Crypt-SysRandom-XS SUBDIR += p5-Crypt-TEA SUBDIR += p5-Crypt-T_e_a SUBDIR += p5-Crypt-Tea_JS diff --git a/security/p5-Crypt-SysRandom-XS/Makefile b/security/p5-Crypt-SysRandom-XS/Makefile new file mode 100644 index 000000000000..1da6f3f0f296 --- /dev/null +++ b/security/p5-Crypt-SysRandom-XS/Makefile @@ -0,0 +1,25 @@ +PORTNAME= Crypt-SysRandom-XS +PORTVERSION= 0.011 +CATEGORIES= security perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:LEONT +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Perl interface to system randomness, XS version +WWW= https://metacpan.org/dist/Crypt-SysRandom-XS + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= distbuild + +post-configure: + @${REINPLACE_CMD} -e 's|-Wl|&,-L${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE,-lperl|' ${WRKSRC}/_build/graph + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/SysRandom/XS/XS.so + +.include <bsd.port.mk> diff --git a/security/p5-Crypt-SysRandom-XS/distinfo b/security/p5-Crypt-SysRandom-XS/distinfo new file mode 100644 index 000000000000..b46f0f0586ca --- /dev/null +++ b/security/p5-Crypt-SysRandom-XS/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1780751890 +SHA256 (Crypt-SysRandom-XS-0.011.tar.gz) = 80e566e3e45aeba2ad05086b3dac18a52f35dde0dc9cfc8da1827e1d17ee2297 +SIZE (Crypt-SysRandom-XS-0.011.tar.gz) = 14843 diff --git a/security/p5-Crypt-SysRandom-XS/pkg-descr b/security/p5-Crypt-SysRandom-XS/pkg-descr new file mode 100644 index 000000000000..e2e74c4e9600 --- /dev/null +++ b/security/p5-Crypt-SysRandom-XS/pkg-descr @@ -0,0 +1,2 @@ +Crypt::SysRandom::XS uses whatever C interface is available to procure +cryptographically random data from the system. diff --git a/security/p5-Crypt-SysRandom-XS/pkg-plist b/security/p5-Crypt-SysRandom-XS/pkg-plist new file mode 100644 index 000000000000..4df7df428885 --- /dev/null +++ b/security/p5-Crypt-SysRandom-XS/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Crypt/SysRandom/XS.pm +%%SITE_ARCH%%/auto/Crypt/SysRandom/XS/XS.so +%%PERL5_MAN3%%/Crypt::SysRandom::XS.3.gzhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3ee5d6.1c7d2.431fe73>
