commit:     a519b8d13a814f2134c2cd202f0f3a9dac1935ac
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 26 02:55:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 02:55:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a519b8d1

mail-filter/postsrsd: give fallback location for sysusers.d

... otherwise the variable is blank w/o systemd installed.

Closes: https://bugs.gentoo.org/953772
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11.ebuild 
b/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
index 7e751da2513a..27ca75b3b8f0 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
@@ -36,6 +36,7 @@ src_configure() {
 
                -DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
                -DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
+               -DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
 
                -DINSTALL_SYSTEMD_SERVICE=ON
                # 
https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies

Reply via email to