summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Foti <foti.giuseppe@gmail.com>2023-07-23 16:25:47 +0200
committerSam James <sam@gentoo.org>2023-07-27 06:57:51 +0100
commitb5e432606ab2c34671869898043217e77a56d0f4 (patch)
treef01075f67a5fd2404963bb30fbf5533541e53dee /acct-user
parentacct-group/logcheck: add myself as a maintainer (diff)
downloadgentoo-b5e432606ab2c34671869898043217e77a56d0f4.tar.gz
gentoo-b5e432606ab2c34671869898043217e77a56d0f4.tar.bz2
gentoo-b5e432606ab2c34671869898043217e77a56d0f4.zip
acct-user/logcheck: adding systemd use flag; add myself as maintainer
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/logcheck/logcheck-0-r2.ebuild (renamed from acct-user/logcheck/logcheck-0-r1.ebuild)8
-rw-r--r--acct-user/logcheck/metadata.xml9
2 files changed, 16 insertions, 1 deletions
diff --git a/acct-user/logcheck/logcheck-0-r1.ebuild b/acct-user/logcheck/logcheck-0-r2.ebuild
index f2635a5ebd27..400eef262709 100644
--- a/acct-user/logcheck/logcheck-0-r1.ebuild
+++ b/acct-user/logcheck/logcheck-0-r2.ebuild
@@ -6,8 +6,16 @@ EAPI=7
inherit acct-user
DESCRIPTION="User for app-admin/logcheck"
+IUSE="systemd"
ACCT_USER_GROUPS=( "logcheck" )
ACCT_USER_ID="284"
acct-user_add_deps
+
+pkg_setup() {
+ # Allow the 'logcheck' user to view the systemd journal.
+ if use systemd; then
+ ACCT_USER_GROUPS+=( systemd-journal )
+ fi
+}
diff --git a/acct-user/logcheck/metadata.xml b/acct-user/logcheck/metadata.xml
index 115e9d64a669..7530d08266f4 100644
--- a/acct-user/logcheck/metadata.xml
+++ b/acct-user/logcheck/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>foti.giuseppe@gmail.com</email>
+ <name>Giuseppe Foti</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>