2005-12-29 07:21:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2005/12/29 06:22:09 jlam Exp $
|
Initial import of "AiCA":
manage Certification Authority,PKI viewer/converter/verification
The AiCA is the CA (Certification Authority) Package.
This package contains several applications, such as:
* aica -- The CA program to issue, update, and revoke certificates.
And many other CA managements are available.
* certreq -- To generate a key pair and a CSR.
* certview -- The PKI file viewer for X.509 Certificate, CRL, PKCS#1, PKCS#7,
PKCS#8, PKCS#10, and PKCS#12. Both PEM and DER file format
is available to show.
* certconv -- The PKI file converter. Many PKI files can convert to the other
file format mutually.
* certvfy -- The certificate verifier. Full verification is possible.
2001-03-17 00:26:01 +01:00
|
|
|
#
|
|
|
|
|
2004-11-29 18:24:49 +01:00
|
|
|
DISTNAME= AiCA-0.81
|
Initial import of "AiCA":
manage Certification Authority,PKI viewer/converter/verification
The AiCA is the CA (Certification Authority) Package.
This package contains several applications, such as:
* aica -- The CA program to issue, update, and revoke certificates.
And many other CA managements are available.
* certreq -- To generate a key pair and a CSR.
* certview -- The PKI file viewer for X.509 Certificate, CRL, PKCS#1, PKCS#7,
PKCS#8, PKCS#10, and PKCS#12. Both PEM and DER file format
is available to show.
* certconv -- The PKI file converter. Many PKI files can convert to the other
file format mutually.
* certvfy -- The certificate verifier. Full verification is possible.
2001-03-17 00:26:01 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://mars.elcom.nitech.ac.jp/security/
|
|
|
|
|
2005-10-10 19:06:30 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
Initial import of "AiCA":
manage Certification Authority,PKI viewer/converter/verification
The AiCA is the CA (Certification Authority) Package.
This package contains several applications, such as:
* aica -- The CA program to issue, update, and revoke certificates.
And many other CA managements are available.
* certreq -- To generate a key pair and a CSR.
* certview -- The PKI file viewer for X.509 Certificate, CRL, PKCS#1, PKCS#7,
PKCS#8, PKCS#10, and PKCS#12. Both PEM and DER file format
is available to show.
* certconv -- The PKI file converter. Many PKI files can convert to the other
file format mutually.
* certvfy -- The certificate verifier. Full verification is possible.
2001-03-17 00:26:01 +01:00
|
|
|
HOMEPAGE= http://mars.elcom.nitech.ac.jp/security/
|
2004-11-29 18:24:49 +01:00
|
|
|
COMMENT= Manage Certification Authority and PKI utilities
|
Initial import of "AiCA":
manage Certification Authority,PKI viewer/converter/verification
The AiCA is the CA (Certification Authority) Package.
This package contains several applications, such as:
* aica -- The CA program to issue, update, and revoke certificates.
And many other CA managements are available.
* certreq -- To generate a key pair and a CSR.
* certview -- The PKI file viewer for X.509 Certificate, CRL, PKCS#1, PKCS#7,
PKCS#8, PKCS#10, and PKCS#12. Both PEM and DER file format
is available to show.
* certconv -- The PKI file converter. Many PKI files can convert to the other
file format mutually.
* certvfy -- The certificate verifier. Full verification is possible.
2001-03-17 00:26:01 +01:00
|
|
|
|
2004-11-29 18:24:49 +01:00
|
|
|
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/AiCA
|
Initial import of "AiCA":
manage Certification Authority,PKI viewer/converter/verification
The AiCA is the CA (Certification Authority) Package.
This package contains several applications, such as:
* aica -- The CA program to issue, update, and revoke certificates.
And many other CA managements are available.
* certreq -- To generate a key pair and a CSR.
* certview -- The PKI file viewer for X.509 Certificate, CRL, PKCS#1, PKCS#7,
PKCS#8, PKCS#10, and PKCS#12. Both PEM and DER file format
is available to show.
* certconv -- The PKI file converter. Many PKI files can convert to the other
file format mutually.
* certvfy -- The certificate verifier. Full verification is possible.
2001-03-17 00:26:01 +01:00
|
|
|
|
2004-11-30 06:58:04 +01:00
|
|
|
PKG_SYSCONFSUBDIR?= AiCA
|
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/aica.cnf ${PKG_SYSCONFDIR}/aica.cnf
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/store
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/AiCA
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/AiCA
|
|
|
|
COMMANDS= aica/aica bin/aistore bin/asn1view bin/certconv \
|
|
|
|
bin/certreq bin/certvfy bin/certview
|
|
|
|
LIBRARIES= libaica.a libaicrypto.a libaissl.a
|
|
|
|
DOCS= COPYRIGHT README README.j
|
|
|
|
EXAMPLES= lib/aica.cnf sample.csv
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin include lib
|
|
|
|
|
2004-11-30 06:58:04 +01:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC}; \
|
2004-12-17 16:37:01 +01:00
|
|
|
${ECHO} >> aicrypto/ecdsa/Makefile.in; \
|
2004-11-30 06:58:04 +01:00
|
|
|
${CP} README README.in; ${CP} README.j README.j.in
|
2004-11-29 18:24:49 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for f in ${LIBRARIES}
|
2005-10-07 14:36:19 +02:00
|
|
|
${INSTALL_LIB} ${WRKSRC}/lib/${f} ${PREFIX}/lib
|
2004-11-29 18:24:49 +01:00
|
|
|
.endfor
|
|
|
|
.for f in ${COMMANDS}
|
2005-10-07 14:36:19 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
2004-11-29 18:24:49 +01:00
|
|
|
.endfor
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/newca.sh ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/aicrypto/include/*.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/aiconfig.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/certs
|
|
|
|
${CP} ${WRKSRC}/certs/* ${PREFIX}/certs
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/templates
|
|
|
|
${CP} ${WRKSRC}/templates/* ${PREFIX}/templates
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
.for f in ${DOCS}
|
2005-10-07 14:36:19 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
|
2004-11-29 18:24:49 +01:00
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
.for f in ${EXAMPLES}
|
2005-10-07 14:36:19 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
|
2004-11-29 18:24:49 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
Initial import of "AiCA":
manage Certification Authority,PKI viewer/converter/verification
The AiCA is the CA (Certification Authority) Package.
This package contains several applications, such as:
* aica -- The CA program to issue, update, and revoke certificates.
And many other CA managements are available.
* certreq -- To generate a key pair and a CSR.
* certview -- The PKI file viewer for X.509 Certificate, CRL, PKCS#1, PKCS#7,
PKCS#8, PKCS#10, and PKCS#12. Both PEM and DER file format
is available to show.
* certconv -- The PKI file converter. Many PKI files can convert to the other
file format mutually.
* certvfy -- The certificate verifier. Full verification is possible.
2001-03-17 00:26:01 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|