Michael Friedrich
4b3afd52d4
Revert "Enforce /usr/lib as base for the cgi path on SUSE distributions"
...
This reverts commit 96e23aa1c7
.
fixes #6917
2014-08-22 15:41:44 +02:00
Gunnar Beutner
495bc5b733
Use the icingacmd group for /var/{cache,log,run}/icinga2
...
refs #6948
2014-08-19 14:05:02 +02:00
Gunnar Beutner
4f4ebbea92
Fix permissions in the spec file
...
fixes #6948
2014-08-19 10:18:23 +02:00
Gunnar Beutner
3da5568eb3
Install DB schema files using cmake
...
fixes #6881
2014-08-17 13:37:50 +02:00
Tim Hardeck
3d2d86d463
Add "Provides: monitoring_daemeon" on SUSE distributions
...
to allow Icinga2 being a replacement for compatible monitoring daemons
like Icinga 1 or Nagios.
This should make the installation of Icinga2 more user friendly on SUSE
distributions.
refs #6920
2014-08-17 12:47:49 +02:00
Tim Hardeck
9ff424233f
Recommend related packages on SUSE distributions
...
These packages are installed by default but they are not required so
there is no error if they are missing.
This should make the installation of Icinga2 more user friendly on SUSE
distributions.
refs #6920
2014-08-17 12:47:49 +02:00
Tim Hardeck
96e23aa1c7
Enforce /usr/lib as base for the cgi path on SUSE distributions
...
The cgi path on SUSE distributions is always located under
/usr/lib/icinga/cgi, even on x86_64 systems.
So the path in the icinga-classic-apache.conf needs to be adapted on
those distributions.
fixes #6917
2014-08-17 12:32:22 +02:00
Tim Hardeck
6d968769aa
Use _rundir macro for configuring the run directory
...
To allow using "/run" instead of "/var/run" the macro _rundir is used.
"/run" is required on newer distributions like openSUSE Factory.
On systems were _rundir is not defined "/var/run" is specified as the
default.
fixes #6915
2014-08-17 12:28:44 +02:00
Tim Hardeck
aef85d66be
Remove commented out lines from spec file
...
These lines result in warnings because the macros are not escaped in them.
refs #6919
2014-08-17 11:38:52 +02:00
Tim Hardeck
9726687539
Unify SUSE distribution checks in spec file
...
refs #6919
2014-08-17 11:38:48 +02:00
Gunnar Beutner
3cbebd985a
Add Python module for the icinga2.debug file
...
refs #6702
2014-08-16 20:22:43 +02:00
Michael Friedrich
10b681f4ea
Release version 2.0.2
2014-08-07 08:59:05 +02:00
Michael Friedrich
d2ddde3fec
Rename README to README.md
...
fixes #6688
2014-08-05 21:27:21 +02:00
Gunnar Beutner
7547e171a4
Remove RPM Requires for mysql
...
refs #5818
2014-07-30 15:26:41 +02:00
Gunnar Beutner
2f594f7674
Remove redundant RPM Requires
...
refs #5818
2014-07-30 14:17:22 +02:00
Tim Hardeck
8bbbab57ab
Use Github url as tarball source
...
This allows the automatic download of new versions.
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck
98aaff4e01
Prevent empty icinga2 package by adding COPYING
...
Empty packages are not allowed on SLES11 and also produce a warning in
newer openSUSE releases.
So we just work around the issue by adding the COPYING file.
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck
074521b69c
Use permission verfication scripts on SUSE distributions
...
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck
c8db76ad6e
Use root as default user and group to prevent issues
...
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck
f57884ee2a
Remove obsolete pgsqllib require on SUSE distributions
...
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck
1618e15757
Remove redundant mysql requirement
...
The mysql dependencies are recognized automatically during building.
refs #5818
2014-07-30 13:42:07 +02:00
Tim Hardeck
e7d3500ca7
Reduce redunancies in spec file
...
Remove redundant differences between SUSE and RHEL distributions.
refs #5818
2014-07-30 13:42:06 +02:00
Tim Hardeck
1fcf746108
Activate systemd on SUSE distributions
...
refs #5818
2014-07-30 13:42:01 +02:00
Tim Hardeck
5a98379eb8
Remove .gitignore files from package
...
This commit can be reversed as soon as there are upgrade files in the
schema upgrade directories.
refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck
0d72f54018
Description should be longer than the summary
...
This fixes a rpmlint warning.
refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck
24363e441c
Recommend logrotate in icinga2-common
...
Since we install a logrotate configuration file it does make sense to
at least recommend the installation of logrotate.
This addition is restricted to SUSE distributions since "Recommends"
is not supported elsewhere.
refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck
a090eb0ba3
Add log directory to icinga2-common
...
RPMLint complains if logrotate is used without including the log directory in the package.
refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck
c3a9251407
Logrotate.conf doesn't need execution rights
...
refs #5818
2014-07-30 13:02:10 +02:00
Tim Hardeck
0e4e237d28
Use modern GPL license tag
...
refs #5818
2014-07-30 13:02:10 +02:00
Gunnar Beutner
20c16a8e93
Rename ICINGA2_PLUGIN_PATH to ICINGA2_PLUGINDIR
...
refs #6548
2014-07-22 13:26:42 +02:00
Gunnar Beutner
e6dc8c21a1
Add cmake constant for PluginDir
...
fixes #6548
2014-07-16 09:03:51 +02:00
Gunnar Beutner
b80c3b2df4
Release version 2.0.1
2014-07-10 12:08:28 +02:00
Michael Friedrich
30384a4340
Release version 2.0.0.
...
refs #6305
2014-06-16 09:02:43 +02:00
Michael Friedrich
3d8d8dce52
install new man page properly
...
refs #4794
2014-06-15 20:23:03 +02:00
Gerd von Egidy
5b8b85d94f
Don't mark the systemd service file as executable.
...
Refs #4794
2014-06-15 20:08:05 +02:00
Gerd von Egidy
dd9b7bcd73
Move the sysdefines.conf file to /etc/sysconfig.
...
As /etc/sysconfig is distro specific, the filename used can be configured via the CMake parameter
ICINGA2_SYSCONFIGFILE
Refs #4794
2014-06-15 19:47:27 +02:00
Gerd von Egidy
83528f660f
Move decision about systemd/sysvinit to one location. Add files forgotten during merge.
...
Refs #4794
2014-06-15 17:25:27 +02:00
Sam Kottler
3d8bac59fe
Add missing endif
2014-06-15 17:01:57 +02:00
Sam Kottler
5f17507cd6
Start with sysvinit installation logic
2014-06-15 17:01:24 +02:00
Sam Kottler
6a52097255
Generate the service unit on Fedora and use the %systemd_post/_postun/_preun macros for service setup
...
Refs #4794
2014-06-15 16:56:22 +02:00
Sam Kottler
86a71aa0b3
Add systemd buildrequires and requires
2014-06-15 15:30:35 +02:00
Michael Friedrich
465697245a
Add man pages to packages
...
refs #6482
2014-06-13 21:38:59 +02:00
Michael Friedrich
a838dad659
RPMs: Do not install the agent parts
...
refs #6481
2014-06-13 19:55:59 +02:00
Tim Hardeck
74751a4e22
Fix logrotate should rotate log files as icinga user
...
fixes #6477
2014-06-13 09:47:26 +02:00
Michael Friedrich
64bdc7602a
Spec file fixes for opensuse, preun macro, conditionals.
...
Fixes #6446
2014-06-11 15:52:41 +02:00
Michael Friedrich
aed88c632c
spec: Fix rhel/suse conditiations with {pre,post}un.
...
Refs #6446
Refs #6374
2014-06-10 13:46:45 +02:00
Michael Friedrich
addad4ae9c
Bump version to 2.0.0-2.beta2.dev.
2014-06-06 11:14:38 +02:00
Michael Friedrich
b35a430f89
Release version 2.0.0-beta2
2014-06-06 10:53:43 +02:00
Carlos Cesario
1b45b814eb
Add icinga2 vim syntax file and installation documentation.
...
Fixes #3199
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-02 16:29:27 +02:00
Gunnar Beutner
bf44c45aaa
Bump version to 2.0.0-1.beta2.dev.
2014-05-27 12:11:52 +02:00