Add p5-Crypt-GCrypt 1.15, perl interface to the GNU Cryptographic
library. PR: ports/103767 Submitted by: TAKAHASHI Kaoru <kaoru at kaisei.org>
This commit is contained in:
parent
c69273cf1a
commit
281c4c0d24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174630
@ -347,6 +347,7 @@
|
||||
SUBDIR += p5-Crypt-Dining
|
||||
SUBDIR += p5-Crypt-ECB
|
||||
SUBDIR += p5-Crypt-Enigma
|
||||
SUBDIR += p5-Crypt-GCrypt
|
||||
SUBDIR += p5-Crypt-GOST
|
||||
SUBDIR += p5-Crypt-GOST_PP
|
||||
SUBDIR += p5-Crypt-GPG
|
||||
|
37
security/p5-Crypt-GCrypt/Makefile
Normal file
37
security/p5-Crypt-GCrypt/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: p5-Crypt-GCrypt
|
||||
# Date created: 2006-09-28
|
||||
# Whom: TAKAHASHI Kaoru <kaoru@kaisei.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Crypt-GCrypt
|
||||
PORTVERSION= 1.15
|
||||
CATEGORIES= security perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Crypt
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kaoru@kaisei.org
|
||||
COMMENT= Perl interface to the GNU Cryptographic library
|
||||
|
||||
LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= GCRYPTLIBPATH=${LOCALBASE}/lib \
|
||||
GCRYPTINCPATH=${LOCALBASE}/include
|
||||
USE_GCC= 3.2+
|
||||
|
||||
MAN3= Crypt::GCrypt.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
post-patch:
|
||||
${PERL} -pi -e 's/^our (\W\w+);/use vars q($$1);/o;' \
|
||||
-e 's/^our\s+(\W\w+)(?!;)/use vars q($$1); $$1/o;' \
|
||||
-e 'undef $$_ if /^\s*(no|use) warnings/o;' \
|
||||
${WRKSRC}/GCrypt.pm ${WRKSRC}/Makefile.PL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
security/p5-Crypt-GCrypt/distinfo
Normal file
3
security/p5-Crypt-GCrypt/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Crypt-GCrypt-1.15.tar.gz) = 9da32ac299ff3a2b3126158b55e02131
|
||||
SHA256 (Crypt-GCrypt-1.15.tar.gz) = 7f05cbc7e10c66c3075ea8cb79f4c038cf8f18fdcb192ac66305c07fa41dbcc6
|
||||
SIZE (Crypt-GCrypt-1.15.tar.gz) = 15667
|
3
security/p5-Crypt-GCrypt/pkg-descr
Normal file
3
security/p5-Crypt-GCrypt/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Crypt::GCrypt provides an object interface to the C libgcrypt library.
|
||||
It currently supports symmetric encryption/decryption, while asymmetric
|
||||
cryptography is being worked on.
|
8
security/p5-Crypt-GCrypt/pkg-plist
Normal file
8
security/p5-Crypt-GCrypt/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $FreeBSD$
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/GCrypt.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/GCrypt/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/GCrypt/GCrypt.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/GCrypt/GCrypt.so
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/GCrypt
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
|
Loading…
Reference in New Issue
Block a user