pkgsrc-WIP-changes archive

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

jicofo: install the reference configuration file



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Tue Jan 3 09:23:34 2023 +0100
Changeset:	8c734d41395f413f2aedc8dbdb04f62ebe8e5390

Modified Files:
	jicofo/Makefile
	jicofo/PLIST

Log Message:
jicofo: install the reference configuration file

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

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

diffstat:
 jicofo/Makefile | 5 +++++
 jicofo/PLIST    | 1 +
 2 files changed, 6 insertions(+)

diffs:
diff --git a/jicofo/Makefile b/jicofo/Makefile
index e808aa0816..7bb124ef72 100644
--- a/jicofo/Makefile
+++ b/jicofo/Makefile
@@ -32,6 +32,8 @@ REPLACE_BASH+=	resources/jicofo.sh
 
 EGDIR=			share/examples/jicofo
 PKG_SYSCONFSUBDIR=	jitsi/jicofo
+CONF_FILES+=		${EGDIR}/jicofo.conf \
+			${PKG_SYSCONFDIR}/jicofo.conf
 CONF_FILES+=		${EGDIR}/logging.properties \
 			${PKG_SYSCONFDIR}/logging.properties
 
@@ -50,6 +52,7 @@ MAKE_JOBS_SAFE=		no
 INSTALLATION_DIRS+=	bin
 INSTALLATION_DIRS+=	${EGDIR} share/jicofo
 
+.PHONY: create-deps-file
 create-deps-file: build
 	#XXX disable offline mode for maven before using this rule
 	cd ${WRKSRC} && ${MVN} validate
@@ -71,6 +74,8 @@ do-install:
 		${DESTDIR}${PREFIX}/share/jicofo
 	${LN} -sf ../share/jicofo/jicofo.sh \
 		${DESTDIR}${PREFIX}/bin/jicofo
+	${INSTALL_DATA} ${WRKSRC}/jicofo-selector/src/main/resources/reference.conf \
+		${DESTDIR}${PREFIX}/${EGDIR}/jicofo.conf
 	${INSTALL_DATA} ${WRKSRC}/lib/logging.properties \
 		${DESTDIR}${PREFIX}/${EGDIR}/logging.properties
 	${INSTALL_SCRIPT} ${WRKSRC}/resources/collect-dump-logs.sh \
diff --git a/jicofo/PLIST b/jicofo/PLIST
index 27b55d5c63..db38f59196 100644
--- a/jicofo/PLIST
+++ b/jicofo/PLIST
@@ -1,5 +1,6 @@
 @comment $NetBSD$
 bin/jicofo
+share/examples/jicofo/jicofo.conf
 share/examples/jicofo/logging.properties
 share/jicofo/collect-dump-logs.sh
 share/jicofo/jicofo.bat


Home | Main Index | Thread Index | Old Index