diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-19 00:49:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-19 00:49:58 +0000 |
commit | 2c18b7f7fb2885d27960657c60906ef0bac0681e (patch) | |
tree | 91c24c33362baf968c4c08f3a7220157b57a374f /acct-user/spamd/spamd-0-r3.ebuild | |
parent | bc7e0dbdbd194a8c2e09f82e1a5a4ea5e1b556f4 (diff) |
gentoo auto-resync : 19:03:2024 - 00:49:58
Diffstat (limited to 'acct-user/spamd/spamd-0-r3.ebuild')
-rw-r--r-- | acct-user/spamd/spamd-0-r3.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/acct-user/spamd/spamd-0-r3.ebuild b/acct-user/spamd/spamd-0-r3.ebuild new file mode 100644 index 000000000000..ae49dd16b61f --- /dev/null +++ b/acct-user/spamd/spamd-0-r3.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +DESCRIPTION="User for the SpamAssassin daemon" + +ACCT_USER_ID=337 +ACCT_USER_GROUPS=( "${PN}" ) +# The spamd daemon runs as this user. Use a real home directory so +# that it can hold SA configuration. +# +# Since spamd's home contains user-modifiable config files, it's +# a violation of the Linux FHS for it to be here, but it's been +# decided it can't be in /home/. +# +# - https://github.com/gentoo/gentoo/pull/14055#issuecomment-582929503 +# - https://archives.gentoo.org/gentoo-dev/message/790294f7a46496aecd0056289c4b6d08 +# +ACCT_USER_HOME="/var/lib/spamd" +ACCT_USER_HOME_PERMS=0700 + +acct-user_add_deps |