pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cfssl: Install API and command documents



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sun Apr 25 11:58:40 2021 +0900
Changeset:	2dc2f74eb38ae720046b81a2a4d5bcfafe736859

Modified Files:
	cfssl/Makefile
	cfssl/PLIST

Log Message:
cfssl: Install API and command documents

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2dc2f74eb38ae720046b81a2a4d5bcfafe736859

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cfssl/Makefile |  6 ++++++
 cfssl/PLIST    | 20 ++++++++++++++++++++
 2 files changed, 26 insertions(+)

diffs:
diff --git a/cfssl/Makefile b/cfssl/Makefile
index ae54b03210..5aa2bc8b09 100644
--- a/cfssl/Makefile
+++ b/cfssl/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD$
 
 PKGNAME=	cfssl-1.5.0
+PKGREVISION=	1
 DISTNAME=	cfssl-${GITHUB_TAG}
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_GITHUB:=cloudflare/}
@@ -28,6 +29,7 @@ CHECK_RELRO_SKIP+=	bin/mkbundle
 CHECK_RELRO_SKIP+=	bin/multirootca
 
 INSTALLATION_DIRS+=	bin
+INSTALLATION_DIRS+=	share/doc/cfssl share/doc/cfssl/api share/doc/cfssl/cmd
 
 do-build:
 	${RUN}${_ULIMIT_CMD} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} install \
@@ -35,6 +37,10 @@ do-build:
 
 do-install:
 	${RUN} cd ${WRKDIR}/.gopath && [ ! -d bin ] || ${PAX} -rw bin ${DESTDIR}${PREFIX}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/cfssl
+	${INSTALL_DATA} ${WRKSRC}/doc/*.sample ${DESTDIR}${PREFIX}/share/doc/cfssl
+	${INSTALL_DATA} ${WRKSRC}/doc/api/*.txt ${DESTDIR}${PREFIX}/share/doc/cfssl/api
+	${INSTALL_DATA} ${WRKSRC}/doc/cmd/*.txt ${DESTDIR}${PREFIX}/share/doc/cfssl/cmd
 
 .include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/cfssl/PLIST b/cfssl/PLIST
index 002c5b79d7..05318fd9ff 100644
--- a/cfssl/PLIST
+++ b/cfssl/PLIST
@@ -7,3 +7,23 @@ bin/cfssl-scan
 bin/cfssljson
 bin/mkbundle
 bin/multirootca
+share/doc/cfssl/README.txt
+share/doc/cfssl/api/endpoint_authsign.txt
+share/doc/cfssl/api/endpoint_bundle.txt
+share/doc/cfssl/api/endpoint_certinfo.txt
+share/doc/cfssl/api/endpoint_crl.txt
+share/doc/cfssl/api/endpoint_info.txt
+share/doc/cfssl/api/endpoint_init_ca.txt
+share/doc/cfssl/api/endpoint_newcert.txt
+share/doc/cfssl/api/endpoint_newkey.txt
+share/doc/cfssl/api/endpoint_revoke.txt
+share/doc/cfssl/api/endpoint_scan.txt
+share/doc/cfssl/api/endpoint_scaninfo.txt
+share/doc/cfssl/api/endpoint_sign.txt
+share/doc/cfssl/api/intro.txt
+share/doc/cfssl/authentication.txt
+share/doc/cfssl/ca-bundle.crt.metadata.sample
+share/doc/cfssl/cmd/cfssl.txt
+share/doc/cfssl/cmd/multiroot.txt
+share/doc/cfssl/errorcode.txt
+share/doc/cfssl/transport.txt


Home | Main Index | Thread Index | Old Index