pkgsrc-WIP-changes archive

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

Add pki scripts to taskd examples folder



Module Name:	pkgsrc-wip
Committed By:	Thomas Merkel <tm%core.io@localhost>
Pushed By:	drscream
Date:		Tue Aug 22 15:48:07 2017 +0200
Changeset:	f7b1ee00ab19f036fbb09f82013372eb0c454ef7

Modified Files:
	taskserver/Makefile
	taskserver/PLIST

Log Message:
Add pki scripts to taskd examples folder

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

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

diffstat:
 taskserver/Makefile | 13 ++++++++++++-
 taskserver/PLIST    |  7 +++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

diffs:
diff --git a/taskserver/Makefile b/taskserver/Makefile
index 696787e60f..a7ab2d5c61 100644
--- a/taskserver/Makefile
+++ b/taskserver/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	taskd-1.1.0
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://taskwarrior.org/download/
 
@@ -33,6 +33,12 @@ FILES_SUBST+=	TASKD_USER=${TASKD_USER} TASKD_GROUP=${TASKD_GROUP} \
 		TASKD_DATA=${TASKD_DATA}
 MESSAGE_SUBST+=	TASKD_DATA=${TASKD_DATA}
 
+EGDIR=	${PREFIX}/share/examples/taskd
+EGFILES+=	pki/README pki/generate pki/generate.ca \
+		pki/generate.client pki/generate.crl \
+		pki/generate.server pki/vars
+INSTALLATION_DIRS+=	${EGDIR}/pki
+
 BUILD_DEFS+=	TASKD_USER TASKD_GROUP TASKD_DATA VARBASE
 
 REPLACE_SH=	src/taskdctl
@@ -40,6 +46,11 @@ REPLACE_SH=	src/taskdctl
 MAKE_DIRS=+	${TASKD_DATA}
 OWN_DIRS_PERMS+=	${TASKD_DATA} ${TASKD_USER} ${TASKD_GROUP} 0750
 
+post-install:
+.for file in ${EGFILES}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${EGDIR}/${file}
+.endfor
+
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/taskserver/PLIST b/taskserver/PLIST
index aa145a76e4..cfda7c418b 100644
--- a/taskserver/PLIST
+++ b/taskserver/PLIST
@@ -9,3 +9,10 @@ share/doc/taskd/COPYING
 share/doc/taskd/ChangeLog
 share/doc/taskd/INSTALL
 share/doc/taskd/NEWS
+share/examples/taskd/pki/README
+share/examples/taskd/pki/generate
+share/examples/taskd/pki/generate.ca
+share/examples/taskd/pki/generate.client
+share/examples/taskd/pki/generate.crl
+share/examples/taskd/pki/generate.server
+share/examples/taskd/pki/vars


Home | Main Index | Thread Index | Old Index