commit:     475a0b267898fbfe225bd246e8642f2e19f6963b
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  4 16:53:40 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Mar  4 17:11:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475a0b26

net-analyzer/icinga2: 2.11.3 bump

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 net-analyzer/icinga2/Manifest                       |  1 +
 .../{icinga2-9999.ebuild => icinga2-2.11.3.ebuild}  | 21 ++++++++++-----------
 net-analyzer/icinga2/icinga2-9999.ebuild            | 14 +++++++-------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/net-analyzer/icinga2/Manifest b/net-analyzer/icinga2/Manifest
index 7b7205bdb68..9de32456b1a 100644
--- a/net-analyzer/icinga2/Manifest
+++ b/net-analyzer/icinga2/Manifest
@@ -1,3 +1,4 @@
 DIST icinga2-2.10.5.tar.gz 5141193 BLAKE2B 
7262e9f0ccb2180faba51b2e04b58964fe6c72782ab61488925c0f6528a80fc1f58afab5f3858f6f696fdca7c8d5546beb8fd374f7f72e452ffd7cd1f1e3ff4a
 SHA512 
c43443d0bbb4ec997d3c5405ef3019ae3b09131bcce2e9d7c7b0e187768335a2f1347fdd382655f12a28b3a29ec8bf644c1b610ea5157f3ee40ae5e0e9253d38
 DIST icinga2-2.10.6.tar.gz 5148999 BLAKE2B 
a155ccb381947854dfd9115575680b7101dc8d01708c76c719d4e6306c5acdf0bf3394128a8937f7d8e03d97c18442ee1b576af28f98fb11e42055b8b4498cce
 SHA512 
ab1440fdbb36217c5e50d8a254d0f1294e412325038fcc02496c606558ab33f4fafda93b1f439ab6e51e956aff6daddee005282b6d529c7e9d9d781af120834d
 DIST icinga2-2.11.2.tar.gz 7476465 BLAKE2B 
b3c1ebd220dc21feffa998311d743b004c83e897fee758b1398897b5ec5772b7e27840ebe925cbfff89df333c25b366ca15c16fcedddb596fdd1e1236540fa16
 SHA512 
88bed284aae0196b964a9998c638066f54788474f91d9e21b0f262bf889b17d46ab0c143f9dc4bb976bfcc5785a1f0521c0bf16fa7e54a7af22fd1baae1a231d
+DIST icinga2-2.11.3.tar.gz 7475785 BLAKE2B 
baabe8c90170a7b2ddb3ae7e95ef3cd042e64f68dbfdb50f5a981bc63ae5aa1e8ec4082729456d1b3fc02c0c74a98e15383cc56e56c53a2ab6181db94125365c
 SHA512 
616e938fabaa6565fb9ac4824649c09801dd53b3517c0a9b5b62307293bc838377c18818cc13dd40e240902f02455c421d433b6ee54671403598c5b7aeb78ea1

diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild 
b/net-analyzer/icinga2/icinga2-2.11.3.ebuild
similarity index 92%
copy from net-analyzer/icinga2/icinga2-9999.ebuild
copy to net-analyzer/icinga2/icinga2-2.11.3.ebuild
index 92b7c65b3f1..42ebd83d611 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.11.3.ebuild
@@ -3,11 +3,11 @@
 
 EAPI=6
 if [[ ${PV} != 9999 ]]; then
-       inherit cmake-utils depend.apache eutils systemd toolchain-funcs user 
wxwidgets
+       inherit cmake-utils depend.apache eutils systemd toolchain-funcs 
wxwidgets
        SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+       KEYWORDS="~amd64 ~arm64 ~x86"
 else
-       inherit cmake-utils depend.apache eutils git-r3 systemd toolchain-funcs 
user wxwidgets
+       inherit cmake-utils depend.apache eutils git-r3 systemd toolchain-funcs 
wxwidgets
        EGIT_REPO_URI="https://github.com/Icinga/icinga2.git";
        EGIT_BRANCH="master"
 fi
@@ -23,7 +23,7 @@ WX_GTK_VER="3.0"
 CDEPEND="
        !libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:0= )
-       >=dev-libs/boost-1.66:=[context]
+       >=dev-libs/boost-1.66.0:=[context]
        console? ( dev-libs/libedit )
        mariadb? ( dev-db/mariadb-connector-c:= )
        mysql? ( dev-db/mysql-connector-c:= )
@@ -41,7 +41,11 @@ RDEPEND="
                net-analyzer/monitoring-plugins
                net-analyzer/nagios-plugins
        ) )
-       mail? ( virtual/mailx )"
+       mail? ( virtual/mailx )
+       acct-user/icinga
+       acct-group/icinga
+       acct-group/icingacmd
+       acct-group/nagios"
 
 REQUIRED_USE="!minimal? ( || ( mariadb mysql postgres ) )"
 
@@ -49,10 +53,6 @@ want_apache2
 
 pkg_setup() {
        depend.apache_pkg_setup
-       enewgroup icinga
-       enewgroup icingacmd
-       enewgroup nagios  # for plugins
-       enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
 }
 
 src_configure() {
@@ -68,7 +68,6 @@ src_configure() {
                -DICINGA2_USER=icinga
                -DICINGA2_GROUP=icingacmd
                -DICINGA2_COMMAND_GROUP=icingacmd
-               -DICINGA2_RUNDIR=/run
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
                -DUSE_SYSTEMD=$(usex systemd ON OFF)
                -DLOGROTATE_HAS_SU=ON
@@ -134,7 +133,7 @@ src_install() {
        keepdir /var/lib/icinga2/api/log
        keepdir /var/spool/icinga2/perfdata
 
-       rm -r "${D}/run" || die "failed to remove /run"
+       rm -r "${D}/var/run" || die "failed to remove /var/run"
        rm -r "${D}/var/cache" || die "failed to remove /var/cache"
 
        fowners root:icinga /etc/icinga2

diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild 
b/net-analyzer/icinga2/icinga2-9999.ebuild
index 92b7c65b3f1..7243f8baa7c 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-9999.ebuild
@@ -3,11 +3,11 @@
 
 EAPI=6
 if [[ ${PV} != 9999 ]]; then
-       inherit cmake-utils depend.apache eutils systemd toolchain-funcs user 
wxwidgets
+       inherit cmake-utils depend.apache eutils systemd toolchain-funcs 
wxwidgets
        SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 else
-       inherit cmake-utils depend.apache eutils git-r3 systemd toolchain-funcs 
user wxwidgets
+       inherit cmake-utils depend.apache eutils git-r3 systemd toolchain-funcs 
wxwidgets
        EGIT_REPO_URI="https://github.com/Icinga/icinga2.git";
        EGIT_BRANCH="master"
 fi
@@ -41,7 +41,11 @@ RDEPEND="
                net-analyzer/monitoring-plugins
                net-analyzer/nagios-plugins
        ) )
-       mail? ( virtual/mailx )"
+       mail? ( virtual/mailx )
+       acct-user/icinga
+       acct-group/icinga
+       acct-group/icingacmd
+       acct-group/nagios"
 
 REQUIRED_USE="!minimal? ( || ( mariadb mysql postgres ) )"
 
@@ -49,10 +53,6 @@ want_apache2
 
 pkg_setup() {
        depend.apache_pkg_setup
-       enewgroup icinga
-       enewgroup icingacmd
-       enewgroup nagios  # for plugins
-       enewuser icinga -1 -1 /var/lib/icinga2 "icinga,icingacmd,nagios"
 }
 
 src_configure() {

Reply via email to