munge: Limit logrotate and systemd to Linux, test on NetBSD

This commit is contained in:
Jason Bacon 2020-12-23 09:09:56 -06:00
parent 4ce55511f0
commit 9500d9b310
1 changed files with 4 additions and 0 deletions

View File

@ -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"