summaryrefslogtreecommitdiff
path: root/security/CSP/Makefile
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-12-27 20:56:17 +0000
committercube <cube@pkgsrc.org>2005-12-27 20:56:17 +0000
commitc789667891c45607e60b91f55c8300cb9343201c (patch)
tree9f37a5736000147e6b8a693d0eb81ee49658c68a /security/CSP/Makefile
parent4594c921f3a0e1a570719f86dd933659ede0798f (diff)
downloadpkgsrc-c789667891c45607e60b91f55c8300cb9343201c.tar.gz
Initial import of CSP, version 0.32, into the NetBSD Packages Collection. If
you think you might have read the openssl man pages one time too much for your own sanity, you might like this package. Certificate Service Provider is a perl wrapper around openssl that allows you to run multiple simple certificate authorities (CAs). CSP is designed to be simple (almost to a fault) and is ideally suited to small PKIs (< 1000 entities) where security is paramount. CSP is meant to be run on isolated, offline computers while still allowing CRLs and certificate repositories to be easily published. The package includes a patch that lets the program run out-of-the-box, without setting up CSPHOME and OPENSSL in the environment. Defining them is of course still permitted.
Diffstat (limited to 'security/CSP/Makefile')
-rw-r--r--security/CSP/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/security/CSP/Makefile b/security/CSP/Makefile
new file mode 100644
index 00000000000..db3778aeccc
--- /dev/null
+++ b/security/CSP/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/27 20:56:17 cube Exp $
+#
+
+DISTNAME= CSP-0.32
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.su.se/pub/users/leifj/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CSPGUIDE}
+
+MAINTAINER= cube@cubidou.net
+HOMEPAGE= http://devel.it.su.se/pub/jsp/polopoly.jsp?d=1026&a=3290
+COMMENT= Simple PKI Toolkit
+
+DEPENDS+= p5-Date-Calc>=5.4:../../devel/p5-Date-Calc
+DEPENDS+= p5-IPC-Run>=0.79:../../devel/p5-IPC-Run
+DEPENDS+= p5-Term-Prompt>=1.03:../../devel/p5-Term-Prompt
+
+CSPGUIDE= cspguide.pdf
+SITES_${CSPGUIDE}= http://devel.it.su.se/content/1/c4/32/90/
+EXTRACT_ONLY= ${DISTFILES:N*.pdf}
+
+PERL5_PACKLIST= auto/CSP/.packlist
+
+CSPHOME= ${VARBASE}/csp
+OPENSSLBIN= ${BUILDLINK_PREFIX.openssl}/bin/openssl
+OWN_DIRS= ${CSPHOME}
+INSTALLATION_DIRS= share/doc/csp
+
+BUILD_DEFS+= CSPHOME
+
+SUBST_CLASSES+= csp
+SUBST_FILES.csp= csp
+SUBST_SED.csp= -e s,@@CSPHOME@@,${CSPHOME}, \
+ -e s,@@OPENSSL@@,${OPENSSLBIN},
+SUBST_STAGE.csp= post-patch
+
+post-install:
+ cd ${WRKSRC}/ca && ${FIND} . -type f | ${PAX} -rw ${CSPHOME}
+ ${INSTALL_DATA} ${DISTDIR}/${CSPGUIDE} ${PREFIX}/share/doc/csp
+
+.include "../../lang/perl5/module.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"