From: "Matt Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/icinga2/, net-analyzer/icinga2/files/
Date: Sun, 22 May 2016 22:59:14 +0000 (UTC) [thread overview]
Message-ID: <1463957928.065af99120b96dc970d0e0e8fce60fd239b9dd2e.prometheanfire@gentoo> (raw)
commit: 065af99120b96dc970d0e0e8fce60fd239b9dd2e
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 22:58:48 2016 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun May 22 22:58:48 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065af991
net-analyzer/icinga2: fix bug 583298 logrotate
Package-Manager: portage-2.2.28
net-analyzer/icinga2/files/logrotate.patch | 17 +++++++++++++++++
.../{icinga2-2.4.10.ebuild => icinga2-2.4.10-r1.ebuild} | 4 +++-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/icinga2/files/logrotate.patch b/net-analyzer/icinga2/files/logrotate.patch
new file mode 100644
index 0000000..93d493a
--- /dev/null
+++ b/net-analyzer/icinga2/files/logrotate.patch
@@ -0,0 +1,17 @@
+diff -ur icinga2-2.4.10/etc/logrotate.d/icinga2.cmake icinga2-2.4.10.new/etc/logrotate.d/icinga2.cmake
+--- icinga2-2.4.10/etc/logrotate.d/icinga2.cmake 2016-05-19 06:39:29.000000000 -0500
++++ icinga2-2.4.10.new/etc/logrotate.d/icinga2.cmake 2016-05-22 17:52:45.547568144 -0500
+@@ -1,4 +1,5 @@
+ @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/debug.log {
++ su icinga icingacmd
+ daily
+ rotate 7@LOGROTATE_USE_SU@
+ compress
+@@ -12,6 +13,7 @@
+ }
+
+ @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/error.log {
++ su icinga icingacmd
+ daily
+ rotate 90@LOGROTATE_USE_SU@
+ compress
diff --git a/net-analyzer/icinga2/icinga2-2.4.10.ebuild b/net-analyzer/icinga2/icinga2-2.4.10-r1.ebuild
similarity index 98%
rename from net-analyzer/icinga2/icinga2-2.4.10.ebuild
rename to net-analyzer/icinga2/icinga2-2.4.10-r1.ebuild
index 3f6634a..2944374 100644
--- a/net-analyzer/icinga2/icinga2-2.4.10.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.4.10-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit cmake-utils depend.apache eutils systemd toolchain-funcs user
DESCRIPTION="Distributed, general purpose, network monitoring engine"
@@ -38,6 +38,8 @@ RDEPEND="
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
+PATCHES=( "${FILESDIR}/logrotate.patch" )
+
want_apache2
pkg_setup() {
next reply other threads:[~2016-05-22 22:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-22 22:59 Matt Thode [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-31 16:55 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/icinga2/, net-analyzer/icinga2/files/ Matt Thode
2017-09-26 16:53 Matt Thode
2018-07-21 21:24 Matt Thode
2020-10-16 11:49 Louis Sautier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463957928.065af99120b96dc970d0e0e8fce60fd239b9dd2e.prometheanfire@gentoo \
--to=prometheanfire@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox