pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
munge: Limit logrotate and systemd to Linux, test on NetBSD
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Wed Dec 23 09:09:56 2020 -0600
Changeset: 9500d9b310528da523bea53bf4dbed83028c8cbe
Modified Files:
munge/Makefile
Log Message:
munge: Limit logrotate and systemd to Linux, test on NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9500d9b310528da523bea53bf4dbed83028c8cbe
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
munge/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diffs:
diff --git a/munge/Makefile b/munge/Makefile
index c0e9c5ecf7..bdf5fc4c60 100644
--- a/munge/Makefile
+++ b/munge/Makefile
@@ -38,6 +38,9 @@ SUBST_FILES.systemd= src/etc/munge.systemd.service.in
SUBST_SED.systemd= -e 's|User=munge|User=daemon|g'
SUBST_SED.systemd+= -e 's|Group=munge|Group=daemon|g'
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == Linux
EGDIR= ${PREFIX}/share/examples/munge
PKG_SYSCONFSUBDIR= sysconfig
CONF_FILES= ${EGDIR}/systemd.sysconfig ${PKG_SYSCONFDIR}/munge
@@ -50,6 +53,7 @@ post-install:
${DESTDIR}${PREFIX}/share/examples/munge/logrotate.conf
${MV} ${DESTDIR}${PREFIX}/etc/sysconfig/munge \
${DESTDIR}${PREFIX}/share/examples/munge/systemd.sysconfig
+.endif
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index