diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-18 17:06:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-18 17:06:00 +0000 |
commit | 3e5d0e2935c9718cff16c34da545f76017ac3307 (patch) | |
tree | d8e4d01838ff5c831bd958d7048ef3a8b4511f68 /security/pyca/Makefile | |
parent | a96d235882d28746b15acc34c5b6eb66ad4b9be5 (diff) | |
download | pkgsrc-3e5d0e2935c9718cff16c34da545f76017ac3307.tar.gz |
Initial import of of security/pyca.
pyCA tries to make it easier for people to set up and run a organizational
certificate authority which fulfills the need for a fairly secure
certification processing. The package also tries to reduce administrative
tasks and user's frustration by providing a comfortable web interface to
users contacting the certificate authority.
Diffstat (limited to 'security/pyca/Makefile')
-rw-r--r-- | security/pyca/Makefile | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/security/pyca/Makefile b/security/pyca/Makefile new file mode 100644 index 00000000000..724ba6da2ea --- /dev/null +++ b/security/pyca/Makefile @@ -0,0 +1,69 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/18 17:06:00 jlam Exp $ + +# Date-based distfile name for pre-releases leading to 0.6.6. +DISTNAME= pyca-20020902 +PKGNAME= ${DISTNAME:S/pyca-/pyca-0.6.5./} +CATEGORIES= security +MASTER_SITES= http://www.pyca.de/download/ + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.pyca.de/ +COMMENT= administration tools for X.509/PKIX CA + +USE_BUILDLINK2= # defined +NO_CONFIGURE= # defined +NO_BUILD= # defined + +.include "../../mk/bsd.prefs.mk" + +PKG_SYSCONFVAR= openssl +PKG_SYSCONFSUBDIR= openssl + +.if ${OPSYS} == "NetBSD" +PKG_SYSCONFDIR.openssl?= /etc/openssl +.endif + +PYTHON_PATCH_SCRIPTS= bin/*.py cgi-bin/*.py sbin/*.py +PYTHON_PATCH_SCRIPT_SED= \ + -e "s|/usr/local/pyca/pylib|${PREFIX}/lib/pyca|g" \ + -e "s|/etc/openssl/openssl.cnf|${PKG_SYSCONFDIR}/openssl.cnf|g" \ + -e "s|/home/.*/openssl.cnf|${PKG_SYSCONFDIR}/openssl.cnf|g" \ + -e "s|/home/.*/pylib|${PREFIX}/lib/pyca|g" + +do-install: + cd ${WRKSRC}; for file in bin/*.py; do \ + ${INSTALL_SCRIPT} $${file} ${PREFIX}/bin; \ + done + cd ${WRKSRC}; for file in cgi-bin/*.py; do \ + ${INSTALL_SCRIPT} $${file} ${PREFIX}/libexec/cgi-bin; \ + done + cd ${WRKSRC}; for file in sbin/*.py; do \ + ${INSTALL_SCRIPT} $${file} ${PREFIX}/sbin; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/lib/pyca + cd ${WRKSRC}; for file in pylib/*.py; do \ + ${INSTALL_DATA} $${file} ${PREFIX}/lib/pyca; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/lib/pyca/openssl + cd ${WRKSRC}; for file in pylib/openssl/*.py; do \ + ${INSTALL_DATA} $${file} ${PREFIX}/lib/pyca/openssl; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pyca + cd ${WRKSRC}; for file in conf/*.cnf; do \ + ${INSTALL_DATA} $${file} ${PREFIX}/share/examples/pyca; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/pyca + cd ${WRKSRC}; for file in htdocs/*.html; do \ + ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/html/pyca; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/pyca/help + cd ${WRKSRC}; for file in htdocs/help/*; do \ + ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/html/pyca/help; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/pyca/ssi + cd ${WRKSRC}; for file in htdocs/ssi/*.html; do \ + ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/html/pyca/ssi; \ + done + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" |