Commit Graph

232 Commits

Author SHA1 Message Date
Gunnar Beutner a3ec2fec46 Add libsystemd as a dependency for RPM builds 2018-01-22 08:30:06 +01:00
Gunnar Beutner 3e0c08eab0 Update spec file for new library names 2018-01-17 12:43:47 +01:00
Gunnar Beutner 497e3bd6fe icinga2: Release 2.8.1-1 2018-01-17 11:34:53 +01:00
Dirk Goetz 9ed1679085 Icinga 2: addresses some linting errors and adds configuration for validation
refs #6
2017-12-18 15:01:19 +01:00
Tim Hardeck 93269541a8 Require logrotate during build to allow su usage with newer versions
Following this commit
4970c459ee
logrotate needs to be available during build for the correct
configuration to be installed.
2017-12-13 13:08:27 +01:00
Markus Frosch 8b9bfe3a1b Merge branch 'rpm/snapshot' into rpm/release 2017-11-27 09:56:49 +01:00
Markus Frosch 95932e57f0 icinga2: Release 2.8.0-2
Builds needed for:
* SLES 12
* Fedora 27
2017-11-24 15:51:31 +01:00
Tim Hardeck 1e989a6dad Incorporate changes from openSUSE OBS
* Improve RPM groups
* Improve grammar in RPM subpackage descriptions
* Remove redundant %clean section from rpm spec
* Fix service.d dir which was not referenced by any package
* Use sle_version instead of deprecated leap_version
  see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#leap_version_macro_.28deprecated.29
* Also add systemd limits file to openSUSE Tumbleweed
* Documentation should not hard-require the program
  as it is technically "usable" without it.
2017-11-24 15:51:31 +01:00
Markus Frosch b94ddfeb68 icinga2: Refactor SELinux handling
Dropping policyhelp for Fedora 27, was only needed on Fedora < 20, and EL < 7

See https://fedoraproject.org/wiki/SELinux_Policy_Modules_Packaging_Draft
2017-11-24 15:51:31 +01:00
Markus Frosch be668b31f3 icinga2: Install systemd limits from icinga2 tarball 2017-11-24 15:51:31 +01:00
Markus Frosch 03b8ac4d15 icinga2: Install limits for systemd in %config(noreplace) mode
refs #61
2017-11-24 15:51:31 +01:00
Markus Frosch 45aedeec77 icinga2: Also raise systemd limits on SLES 12
refs #61
2017-11-24 15:51:31 +01:00
Markus Frosch df6c826d11 icinga2: Release 2.8.0-2
Builds needed for:
* SLES 12
* Fedora 27
2017-11-24 15:25:44 +01:00
Tim Hardeck 626655046e Incorporate changes from openSUSE OBS
* Improve RPM groups
* Improve grammar in RPM subpackage descriptions
* Remove redundant %clean section from rpm spec
* Fix service.d dir which was not referenced by any package
* Use sle_version instead of deprecated leap_version
  see https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#leap_version_macro_.28deprecated.29
* Also add systemd limits file to openSUSE Tumbleweed
* Documentation should not hard-require the program
  as it is technically "usable" without it.
2017-11-24 15:03:49 +01:00
Markus Frosch cf455b6cca icinga2: Refactor SELinux handling
Dropping policyhelp for Fedora 27, was only needed on Fedora < 20, and EL < 7

See https://fedoraproject.org/wiki/SELinux_Policy_Modules_Packaging_Draft
2017-11-24 12:39:20 +01:00
Markus Frosch 81f6a59d28 icinga2: Install systemd limits from icinga2 tarball 2017-11-23 15:29:02 +01:00
Markus Frosch acd3092625 icinga2: Install limits for systemd in %config(noreplace) mode
refs #61
2017-11-23 15:29:00 +01:00
Markus Frosch ee1e486fa8 icinga2: Also raise systemd limits on SLES 12
refs #61
2017-11-23 15:28:48 +01:00
Jean Flach c3bda37cfe Merge branch 'rpm/snapshot' into rpm/release 2017-11-16 12:10:31 +01:00
Jean Flach af5af79d74 icinga2: Update to 2.8.0 2017-11-16 11:26:37 +01:00
Jean Flach 3e32155eba icinga2: Update to 2.8.0 2017-11-16 11:25:24 +01:00
Gunnar Beutner e433f8b864 icinga2: Update to 2.7.2 2017-11-09 13:05:13 +01:00
Gunnar Beutner 88196849d0 icinga2: Update to 2.7.2 2017-11-09 13:03:47 +01:00
Markus Frosch cbe63abc0a Merge branch 'rpm/release' into rpm/snapshot 2017-10-02 11:23:51 +02:00
Markus Frosch a28d586cce icinga2: Fix changelog date 2017-10-02 11:23:33 +02:00
Markus Frosch 612e0043a9 Merge branch 'rpm/release' into rpm/snapshot 2017-10-02 11:21:19 +02:00
Markus Frosch f9bcb0c21c icinga2: Release 2.7.1-2 2017-10-02 11:05:08 +02:00
Markus Frosch 3366a4cb04 icinga2: Fix systemd limit config location 2017-10-02 11:05:08 +02:00
Markus Frosch 03be271c68 icinga2: Fix systemd limit config location 2017-10-02 11:04:24 +02:00
Markus Frosch f0e2af1c62 Revert "Drop changelog entry for icinga2"
This reverts commit ae1762ee501224c5e76a88cf1a1da7a043a67c46.
2017-10-02 10:16:25 +02:00
Markus Frosch cb56f1a8a4 icinga2: Correct SUSE version detection 2017-10-02 10:15:41 +02:00
Markus Frosch 06d7f4dc6c icinga2: Correct SUSE version detection 2017-10-02 10:03:16 +02:00
Markus Frosch b0c01b2b3e icinga2: Remove repository.d paths
This will be removed with 2.8
2017-09-29 11:34:02 +02:00
Markus Frosch 82d917c90c icinga2: Use RPM source file for systemd limits.conf 2017-09-28 16:55:56 +02:00
Markus Frosch c5ef7098a3 icinga2: Add systemd limits.conf on systemd > 228
Also see:
* https://github.com/Icinga/icinga2/issues/5611
* https://github.com/Icinga/icinga2/pull/5612
2017-09-28 16:55:56 +02:00
Markus Frosch faffa773f6 icinga2: Use RPM source file for systemd limits.conf 2017-09-28 16:53:09 +02:00
Markus Frosch 02a4d65c7a icinga2: Remove classicui for 2.8 2017-09-28 16:49:47 +02:00
Markus Frosch 45a20b93cc icinga2: Add systemd limits.conf on systemd > 228
Also see:
* https://github.com/Icinga/icinga2/issues/5611
* https://github.com/Icinga/icinga2/pull/5612
2017-09-28 16:40:34 +02:00
Michael Friedrich 7f39bb5a16 Drop changelog entry for icinga2 2017-09-21 15:13:58 +02:00
Michael Friedrich eb16463614 Merge branch 'rpm/release' into rpm/snapshot 2017-09-21 15:12:52 +02:00
Michael Friedrich 6f7ef16c7d rpm: Release icinga2 2.7.1 2017-09-21 14:44:52 +02:00
Michael Friedrich 1031da05c3 Drop changelog entry for icinga2 2017-09-21 14:41:37 +02:00
Markus Frosch eef1b0195a icinga2: Add devtoolset-2-binutils BuildRequires 2017-09-04 14:08:31 +02:00
Markus Frosch f9ea45aef3 icinga2: Allow SLES 11.4 builds without monitoring-plugins 2017-08-28 10:08:49 +02:00
Tim Hardeck a57beb2557 Simplify vim-icinga2 package building on SUSE
Even on an old SLES11 SP4 vim seems to have the site
directory with a similar structure so we do not need
the complicated setup.
2017-08-25 14:53:10 +02:00
Tim Hardeck 49e0551eb3 Allow building of Icinga2 when nano is not available
SLE distributions and some architectures on SUSE do not
provide nano so building icinga2 would fail with nano as
BuildRequire.
2017-08-25 14:52:44 +02:00
Markus Frosch d576c26bad icinga2: Add diff tool for OpenSuSE Build Service 2017-08-25 13:08:46 +02:00
Tim Hardeck 57e4605875 icinga2: Add proper vim and nano dependencies
Otherwise building the package fails because installed directories are
not referenced by RPM.

Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
2017-08-25 13:08:41 +02:00
Tim Hardeck 624c2b15c0 icinga2: Add dependency to monitoring-plugins-common
Since we ship a plugin now and the directory needs to be managed. Otherwise
building the package fails because installed directories are not
referenced by RPM.

Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
2017-08-25 10:13:31 +02:00
Tim Hardeck 808b0e30a0 icinga2: Make sure `logger` is available on SUSE systems
It is required to log the deprecated warning of the classic ui package.

On pre systemd distributions `logger` is part of util-linux which should
always be installed I suppose, that's why I did not add an else clause.
2017-08-25 10:01:40 +02:00