aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-11-16 01:06:25 +0800
committerskv <skv@FreeBSD.org>2003-11-16 01:06:25 +0800
commit6c7137a9e8f2a0371c0607394ea5c813bfde1e1d (patch)
tree99ee3b4b012f2846de007a86b94f3e88ff8ad39d /security
parent0824ac245aff1613db2d24921893c67d119db610 (diff)
downloadfreebsd-ports-gnome-6c7137a9e8f2a0371c0607394ea5c813bfde1e1d.tar.gz
freebsd-ports-gnome-6c7137a9e8f2a0371c0607394ea5c813bfde1e1d.tar.zst
freebsd-ports-gnome-6c7137a9e8f2a0371c0607394ea5c813bfde1e1d.zip
Add p5-OpenCA-REQ 0.9.52,
perl extension to easily manage Cert REQUESTs.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-OpenCA-REQ/Makefile34
-rw-r--r--security/p5-OpenCA-REQ/distinfo1
-rw-r--r--security/p5-OpenCA-REQ/pkg-descr6
-rw-r--r--security/p5-OpenCA-REQ/pkg-plist5
5 files changed, 47 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 0d5b50cb4015..bb23f3deeb2a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -271,6 +271,7 @@
SUBDIR += p5-Nmap-Scanner
SUBDIR += p5-OpenCA-CRR
SUBDIR += p5-OpenCA-PKCS7
+ SUBDIR += p5-OpenCA-REQ
SUBDIR += p5-PGP
SUBDIR += p5-PGP-Sign
SUBDIR += p5-SHA
diff --git a/security/p5-OpenCA-REQ/Makefile b/security/p5-OpenCA-REQ/Makefile
new file mode 100644
index 000000000000..62e7574322d8
--- /dev/null
+++ b/security/p5-OpenCA-REQ/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: OpenCA-REQ
+# Date created: 02 June 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= OpenCA-REQ
+PORTVERSION= 0.9.52
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= OpenCA
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Perl extension to easily manage Cert REQUESTs
+
+BUILD_DEPENDS= ${SITE_PERL}/X500/DN.pm:${PORTSDIR}/net/p5-X500-DN
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= OpenCA::REQ.3
+
+.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
+ @${MV} ${WRKSRC}/prova.pl ${WRKSRC}/prova.pl.sample
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-OpenCA-REQ/distinfo b/security/p5-OpenCA-REQ/distinfo
new file mode 100644
index 000000000000..db3c12c2c2b9
--- /dev/null
+++ b/security/p5-OpenCA-REQ/distinfo
@@ -0,0 +1 @@
+MD5 (OpenCA-REQ-0.9.52.tar.gz) = 048f30201f20a5f722e7f7d0e80918a9
diff --git a/security/p5-OpenCA-REQ/pkg-descr b/security/p5-OpenCA-REQ/pkg-descr
new file mode 100644
index 000000000000..221d9a9d12b5
--- /dev/null
+++ b/security/p5-OpenCA-REQ/pkg-descr
@@ -0,0 +1,6 @@
+This module is intended for easily manage Cert REQUESTs.
+
+WWW: http://search.cpan.org/dist/OpenCA-REQ/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/security/p5-OpenCA-REQ/pkg-plist b/security/p5-OpenCA-REQ/pkg-plist
new file mode 100644
index 000000000000..002de9fc3097
--- /dev/null
+++ b/security/p5-OpenCA-REQ/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenCA/REQ/.packlist
+%%SITE_PERL%%/OpenCA/REQ.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenCA/REQ
+@unexec rmdir %D/%%SITE_PERL%%/OpenCA 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenCA 2>/dev/null || true