pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
soju: Makefile: Install empty main.db for sojudb first run perms
Module Name: pkgsrc-wip
Committed By: Iris <iris000%duck.com@localhost>
Pushed By: iris
Date: Thu Aug 8 09:57:54 2024 +0000
Changeset: 5ee47e36f943134f50aefe245992f0a9f8e5ebea
Modified Files:
soju/Makefile
Log Message:
soju: Makefile: Install empty main.db for sojudb first run perms
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5ee47e36f943134f50aefe245992f0a9f8e5ebea
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
soju/Makefile | 3 +++
1 file changed, 3 insertions(+)
diffs:
diff --git a/soju/Makefile b/soju/Makefile
index 03377ecb7d..113146c503 100644
--- a/soju/Makefile
+++ b/soju/Makefile
@@ -36,6 +36,9 @@ OWN_DIRS_PERMS+= ${VARBASE}/run/soju ${SOJU_USER} ${SOJU_GROUP} 0700
PKG_SYSCONFSUBDIR= soju
CONF_FILES= ${PREFIX}/share/examples/soju/config \
${PKG_SYSCONFDIR}/config
+# Install an empty file so that running sojudb will leave the right perms
+CONF_FILES_PERMS= /dev/null ${VARBASE}/lib/soju/main.db \
+ ${SOJU_USER} ${SOJU_GROUP} 0644
RCD_SCRIPTS+= soju
Home |
Main Index |
Thread Index |
Old Index