pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
munge: Revert to using daemon user and patch Linux init script
Module Name: pkgsrc-wip
Committed By: Jason Bacon <jwbacon%tds.net@localhost>
Pushed By: outpaddling
Date: Tue Aug 16 12:34:26 2016 -0500
Changeset: 5ba797675edddd66a3cf7a6806bc84aeafd4c645
Modified Files:
munge/Makefile
Log Message:
munge: Revert to using daemon user and patch Linux init script
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5ba797675edddd66a3cf7a6806bc84aeafd4c645
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
munge/Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diffs:
diff --git a/munge/Makefile b/munge/Makefile
index 64932ef..df26182 100644
--- a/munge/Makefile
+++ b/munge/Makefile
@@ -18,14 +18,14 @@ INSTALLATION_DIRS+= lib/pkgconfig
OWN_DIRS= $(VARBASE)/lib/munge $(VARBASE)/log/munge $(VARBASE)/run/munge
-PKG_GROUPS= munge
-PKG_USERS= munge:munge
-
-PKG_GECOS.munge= SLURM user
-PKG_SHELL.munge= ${NOLOGIN}
-
RCD_SCRIPTS+= munge
+SUBST_CLASSES+= init
+SUBST_STAGE.init= post-build
+SUBST_FILES.init= ${WRKSRC}/src/etc/munge.init
+SUBST_SED.init= -e 's|USER="munge"|USER="daemon"|g'
+SUBST_SED.init+= -e 's|GROUP="munge"|GROUP="daemon"|g'
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index