summaryrefslogtreecommitdiff
path: root/acct-user/apache
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
commitd4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch)
tree180032f5afeb689db6a270d612f3e3364ed8fd2b /acct-user/apache
parentc635a4b7ddb6105bfc6fef130b188a087726677b (diff)
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'acct-user/apache')
-rw-r--r--acct-user/apache/Manifest4
-rw-r--r--acct-user/apache/apache-0-r3.ebuild12
-rw-r--r--acct-user/apache/apache-0-r4.ebuild32
-rw-r--r--acct-user/apache/metadata.xml4
4 files changed, 38 insertions, 14 deletions
diff --git a/acct-user/apache/Manifest b/acct-user/apache/Manifest
index 4ed6a1e7e5a1..81ee320eb13e 100644
--- a/acct-user/apache/Manifest
+++ b/acct-user/apache/Manifest
@@ -1,2 +1,2 @@
-EBUILD apache-0-r3.ebuild 226 BLAKE2B 6ac2eab5f1cb2c83772d72c9feb4ba0a6894fa2c3a4e9198460e9a3fdbadac4fb8ab56c657ed0a7dd90232cd088316ab3c298142a1e9e0ef671941aa29dae376 SHA512 673894f8ca9dacabb7d6764a919e8c56279fabd9f19371b1f902a28addf708b06bca8039422f2c8feafb66dc9922bbaec0367eb452863dd9ee863cd2439a843b
-MISC metadata.xml 254 BLAKE2B 309bda95de24ec4bc4d565251f6b87ce5adc08e96bcd062c6b0cb77daf48729a08b84bbd9cf20f17e917bec6636c47c51a780dff452e45946df34088a7b80da0 SHA512 4c6b588732cb314b2a0c82d476516cb1c226f737a74934831232be6b9828e8c4636589beb8872c3df0931f6dbf37e78a47309376d3480dce7683d3ead5a63e61
+EBUILD apache-0-r4.ebuild 534 BLAKE2B 66ba47d2ac610de10dda96415fe68bf074674ecdf6c49067271930441326281f74ab85e57673fe03247f443112a07ef4d60610bfc1698ba71439997dafc15572 SHA512 e1de8704a6b31e922193acadfb2c38b1125233afa9b49bf5eb2b7f3ad388a0881005502096e133af87eac9fb9ff98a7394f8ea3be8a6b58171a1377f9dfe8f41
+MISC metadata.xml 450 BLAKE2B a7e5764860f35336ddde43542d3e1cd95419bfe4a67d898df473afa49805ef6e2bf3d5f7117b9561a1fdd2b5ffcb114c122a665e46ab1e38672d17379c774429 SHA512 3d486692e1a00ed87d18109a9d25a0816d70b05fdff480fe2c80d2e53f6578daa8c60a603edd06ca631355e8ce66fd9ef74912d52d2067a86c69030ce6c2737a
diff --git a/acct-user/apache/apache-0-r3.ebuild b/acct-user/apache/apache-0-r3.ebuild
deleted file mode 100644
index 1d0b8a4e54b9..000000000000
--- a/acct-user/apache/apache-0-r3.ebuild
+++ /dev/null
@@ -1,12 +0,0 @@
-# Copyright 2019-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit acct-user
-
-ACCT_USER_ID="81"
-ACCT_USER_GROUPS=( "apache" )
-ACCT_USER_HOME="/var/www"
-
-acct-user_add_deps
diff --git a/acct-user/apache/apache-0-r4.ebuild b/acct-user/apache/apache-0-r4.ebuild
new file mode 100644
index 000000000000..4d578ee26829
--- /dev/null
+++ b/acct-user/apache/apache-0-r4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-user
+
+ACCT_USER_ID="81"
+ACCT_USER_GROUPS=( "apache" )
+ACCT_USER_HOME="/var/www"
+
+IUSE="icingaweb2 mgraph"
+
+acct-user_add_deps
+
+RDEPEND+="
+ icingaweb2? (
+ acct-group/icingacmd
+ acct-group/icingaweb2
+ )
+ mgraph? (
+ acct-group/mgraph
+ )
+"
+
+pkg_setup() {
+ # www-apps/icingaweb2
+ use icingaweb2 && ACCT_USER_GROUPS+=( icingacmd icingaweb2 )
+
+ # net-mail/mailgraph
+ use mgraph && ACCT_USER_GROUPS+=( mgraph )
+}
diff --git a/acct-user/apache/metadata.xml b/acct-user/apache/metadata.xml
index bb8cff5eb952..0657bc8fff35 100644
--- a/acct-user/apache/metadata.xml
+++ b/acct-user/apache/metadata.xml
@@ -5,4 +5,8 @@
<email>apache-bugs@gentoo.org</email>
<name>Apache project</name>
</maintainer>
+ <use>
+ <flag name="icingaweb2">Prepare group membership for <pkg>www-apps/icingaweb2</pkg></flag>
+ <flag name="mgraph">Prepare group membership for <pkg>net-mail/mailgraph</pkg></flag>
+ </use>
</pkgmetadata>