=== modified file 'Makefile' --- Makefile 2019-08-05 21:24:02 +0000 +++ Makefile 2019-08-18 00:23:21 +0000 @@ -89,6 +89,8 @@ --variable=systemdsystemunitdir) TMPFILES:=$(DESTDIR)$(shell $(PKG_CONFIG) systemd \ --variable=tmpfilesdir) +SYSUSERS:=$(DESTDIR)$(shell $(PKG_CONFIG) systemd \ + --variable=sysusersdir) GNUTLS_CFLAGS:=$(shell $(PKG_CONFIG) --cflags-only-I gnutls) GNUTLS_LIBS:=$(shell $(PKG_CONFIG) --libs gnutls) @@ -390,6 +392,11 @@ install --mode=u=rw,go=r tmpfiles.d-mandos.conf \ $(TMPFILES)/mandos.conf; \ fi + if [ "$(SYSUSERS)" != "$(DESTDIR)" \ + -a -d "$(SYSUSERS)" ]; then \ + install --mode=u=rw,go=r sysusers.d-mandos.conf \ + $(SYSUSERS)/mandos.conf; \ + fi install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \ mandos-ctl === modified file 'debian/mandos.dirs' --- debian/mandos.dirs 2016-03-19 12:10:15 +0000 +++ debian/mandos.dirs 2019-08-18 00:23:21 +0000 @@ -7,3 +7,4 @@ var/lib/mandos lib/systemd/system usr/lib/tmpfiles.d +usr/lib/sysusers.d === added file 'sysusers.d-mandos.conf' --- sysusers.d-mandos.conf 1970-01-01 00:00:00 +0000 +++ sysusers.d-mandos.conf 2019-08-18 00:23:21 +0000 @@ -0,0 +1,3 @@ +# This file will be installed as /usr/lib/sysusers.d/mandos.conf +# See sysusers.d(5) +u _mandos - "Mandos password system"