aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-11-15 17:04:43 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-11-15 17:04:43 +0000
commit2ba67fee1421afa34611023c84c702df53cac8a9 (patch)
treeeab85bbf766290ff5e701f28e2e6036b1883c41d /security
parent98d7918807e47a088113368fba2a6ad2c1a2b096 (diff)
downloadports-2ba67fee1421afa34611023c84c702df53cac8a9.tar.gz
ports-2ba67fee1421afa34611023c84c702df53cac8a9.zip
Add p5-OpenCA-PKCS7 0.9.13, perl extension for basic handling PKCS.
Notes
Notes: svn path=/head/; revision=94024
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-OpenCA-PKCS7/Makefile31
-rw-r--r--security/p5-OpenCA-PKCS7/distinfo1
-rw-r--r--security/p5-OpenCA-PKCS7/pkg-descr12
-rw-r--r--security/p5-OpenCA-PKCS7/pkg-plist5
5 files changed, 50 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 50bab2f75bb6..0d5b50cb4015 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -270,6 +270,7 @@
SUBDIR += p5-Net-SSLeay
SUBDIR += p5-Nmap-Scanner
SUBDIR += p5-OpenCA-CRR
+ SUBDIR += p5-OpenCA-PKCS7
SUBDIR += p5-PGP
SUBDIR += p5-PGP-Sign
SUBDIR += p5-SHA
diff --git a/security/p5-OpenCA-PKCS7/Makefile b/security/p5-OpenCA-PKCS7/Makefile
new file mode 100644
index 000000000000..28da4ce974de
--- /dev/null
+++ b/security/p5-OpenCA-PKCS7/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: OpenCA-PKCS7
+# Date created: 02 June 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= OpenCA-PKCS7
+PORTVERSION= 0.9.13
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= OpenCA
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Perl extension for basic handling PKCS#7 Signatures
+
+BUILD_DEPENDS= ${SITE_PERL}/X500/DN.pm:${PORTSDIR}/net/p5-X500-DN
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${PERL_LEVEL} < 500600
+ @${PERL} -pi -e 's!^our \((.*?)(?=\);)!join("","use vars qw(",split(/,/,$$1))!e' \
+ ${WRKSRC}/*.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-OpenCA-PKCS7/distinfo b/security/p5-OpenCA-PKCS7/distinfo
new file mode 100644
index 000000000000..55bee8d58daf
--- /dev/null
+++ b/security/p5-OpenCA-PKCS7/distinfo
@@ -0,0 +1 @@
+MD5 (OpenCA-PKCS7-0.9.13.tar.gz) = c7734d84c8af4e3c1a12d309746ecdf5
diff --git a/security/p5-OpenCA-PKCS7/pkg-descr b/security/p5-OpenCA-PKCS7/pkg-descr
new file mode 100644
index 000000000000..625ae3a04771
--- /dev/null
+++ b/security/p5-OpenCA-PKCS7/pkg-descr
@@ -0,0 +1,12 @@
+This module contains all functions needed for handling PKCS#7
+signatures. It requires some parameters to be passed such as a
+reference to a OpenCA::OpenSSL instance.
+
+This module provides an interface to PKCS#7 structures, no specific
+crypto functions are performed (see the OpenCA::OpenSSL module for
+this).
+
+WWW: http://search.cpan.org/dist/OpenCA-PKCS7/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/security/p5-OpenCA-PKCS7/pkg-plist b/security/p5-OpenCA-PKCS7/pkg-plist
new file mode 100644
index 000000000000..9917283de371
--- /dev/null
+++ b/security/p5-OpenCA-PKCS7/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenCA/PKCS7/.packlist
+%%SITE_PERL%%/OpenCA/PKCS7.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenCA/PKCS7
+@unexec rmdir %D/%%SITE_PERL%%/OpenCA 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenCA 2>/dev/null || true