* [gentoo-commits] repo/gentoo:master commit in: acct-user/logcheck/
@ 2023-07-27 5:58 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-07-27 5:58 UTC (permalink / raw
To: gentoo-commits
commit: b5e432606ab2c34671869898043217e77a56d0f4
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sun Jul 23 14:25:47 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 05:57:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e43260
acct-user/logcheck: adding systemd use flag; add myself as maintainer
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../logcheck/{logcheck-0-r1.ebuild => logcheck-0-r2.ebuild} | 8 ++++++++
acct-user/logcheck/metadata.xml | 9 ++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/acct-user/logcheck/logcheck-0-r1.ebuild b/acct-user/logcheck/logcheck-0-r2.ebuild
similarity index 61%
rename from acct-user/logcheck/logcheck-0-r1.ebuild
rename to 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>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: acct-user/logcheck/
@ 2023-07-28 6:58 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2023-07-28 6:58 UTC (permalink / raw
To: gentoo-commits
commit: 93d4e99f7d305e1d785610b2efe87f21fbe78392
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 06:58:07 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 06:58:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d4e99f
acct-user/logcheck: update EAPI 7 -> 8
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
acct-user/logcheck/logcheck-0-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acct-user/logcheck/logcheck-0-r3.ebuild b/acct-user/logcheck/logcheck-0-r3.ebuild
index 8dfba8cb9150..17b949d61f95 100644
--- a/acct-user/logcheck/logcheck-0-r3.ebuild
+++ b/acct-user/logcheck/logcheck-0-r3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit acct-user
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: acct-user/logcheck/
@ 2023-07-28 6:58 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2023-07-28 6:58 UTC (permalink / raw
To: gentoo-commits
commit: c134ecafbe4136f0001688da91c7b0aeda3706bd
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 06:56:46 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 06:58:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c134ecaf
acct-user/logcheck: add missing conditional RDEPEND on acct-group/systemd-journal
Thanks to Guiseppe Foti for reporting this.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Reported-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
acct-user/logcheck/{logcheck-0-r2.ebuild => logcheck-0-r3.ebuild} | 2 ++
1 file changed, 2 insertions(+)
diff --git a/acct-user/logcheck/logcheck-0-r2.ebuild b/acct-user/logcheck/logcheck-0-r3.ebuild
similarity index 88%
rename from acct-user/logcheck/logcheck-0-r2.ebuild
rename to acct-user/logcheck/logcheck-0-r3.ebuild
index 400eef262709..8dfba8cb9150 100644
--- a/acct-user/logcheck/logcheck-0-r2.ebuild
+++ b/acct-user/logcheck/logcheck-0-r3.ebuild
@@ -11,6 +11,8 @@ IUSE="systemd"
ACCT_USER_GROUPS=( "logcheck" )
ACCT_USER_ID="284"
+RDEPEND="systemd? ( acct-group/systemd-journal )"
+
acct-user_add_deps
pkg_setup() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-28 6:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28 6:58 [gentoo-commits] repo/gentoo:master commit in: acct-user/logcheck/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2023-07-28 6:58 Florian Schmaus
2023-07-27 5:58 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox