Commit Graph

232 Commits

Author SHA1 Message Date
Gunnar Beutner f438316d58 Release version 2.3.3 2015-03-26 09:52:52 +01:00
Gunnar Beutner 37736caa5c Implement support for libedit
fixes #8776
2015-03-17 15:05:47 +01:00
Gunnar Beutner 3400800aef Release version 2.3.2 2015-03-12 16:00:14 +01:00
Gunnar Beutner 01ece9ae23 Release version 2.3.1 2015-03-12 13:26:51 +01:00
Gunnar Beutner 6176d3bc8c Release version 2.3.0 2015-03-09 12:53:15 +01:00
Gunnar Beutner 6495e85760 Enable unity builds by default 2015-03-01 01:28:17 +01:00
Gunnar Beutner a6f29e0f64 Change file type for ido-*.conf to config in the RPM spec file
fixes #8397
2015-02-25 09:30:51 +01:00
Gunnar Beutner 4452711b1d Release version 2.2.4 2015-02-05 10:54:46 +01:00
Gunnar Beutner 090aae0630 Use the %build_icinga_org RPM macro for package dependencies which are specific to build.icinga.org
fixes #8128
2015-02-05 10:16:05 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Tobias von der Krone 1fd2f09bae Use https://www.icinga.org as Icinga website url
For consistency use https://www.icinga.org for Icinga website url (beside
Copyright information) in all files

fixes 8222
2015-01-15 09:24:36 +01:00
Gunnar Beutner a20d168340 Remove libreadline support
fixes #8168
2015-01-13 14:45:38 +01:00
Gunnar Beutner 98989719ee Move the ido-{my,pg}sql.conf config files into the icinga2-ido-{my,pg}sql packages
fixes #7925
2015-01-12 14:54:14 +01:00
Michael Friedrich 2280e20995 Update documentation for v2.2.3 2015-01-09 14:58:33 +01:00
Gunnar Beutner c433284d27 Improve error reporting
fixes #8136
refs #6070
2014-12-20 15:29:04 +01:00
Tim Hardeck 6206f78ef0 Exclude prepare-dirs from bin package
Prepare-dirs on i586 platforms end up in the same directory as the
other lib files so it would get automatically included in the bin
package. To prevent this only "*.so*" files are included in the bin
package from this directory.

fixes #8126

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-12-19 13:10:09 +01:00
Gunnar Beutner 09e4641947 Update RPM spec file to use the boost153 package on RHEL 5 and SLES 11 SP3 2014-12-17 18:49:24 +01:00
Gunnar Beutner c90c8919ca Fix the dependency nightmare that is libreadline
refs #8091
2014-12-17 10:24:13 +01:00
Gunnar Beutner 3436dbc697 Fix incorrect package name for SLES/openSUSE
refs #8091
2014-12-17 09:30:54 +01:00
Gunnar Beutner d82defe6a9 Add readline support for the "repl" command
fixes #8091
2014-12-16 13:26:26 +01:00
Gunnar Beutner afe4919169 Update the documentation and RPM spec file for 2.2.2 2014-12-16 11:33:14 +01:00
Gunnar Beutner bd7b2f30ef Validate configuration files during reload
fixes #7045
2014-12-11 09:27:31 +01:00
Michael Friedrich 8b8bed6744 spec: Fix icinga2-ido-* description 2014-12-09 17:17:53 +01:00
Gunnar Beutner e583eced58 Use the boost packages from packages.icinga.org 2014-12-05 14:21:27 +01:00
Tim Hardeck 6c1ec9e8c0 Move set_permission statement from common to bin
/var/run/icinga2/cmd was moved from common to bin in Icinga 2.2.0 but
the set_permission statement wasn't moved to bin.

fixes #7914
2014-12-02 08:33:14 +01:00
Tim Hardeck 198417043b Add missing /usr/lib/icinga2 directory to rpm spec
Make sure that the _libexec directory is part of the rpm package
"common".

refs #7913
2014-12-01 19:54:41 +01:00
Tim Hardeck 2615425449 Use _libexecdir instead of static path
Instead of the static file path /usr/lib/icinga2/ the macro _libexecdir
is used, which is defined at the beginning.

refs #7913
2014-12-01 19:53:11 +01:00
Gunnar Beutner 63df189ffe Update documentation for 2.2.1
fixes #7903
2014-12-01 13:24:06 +01:00
Tim Hardeck 3c84824883 Run systemd macros in the correct rpm scripts
The systemd Icinga service was moved from the package bin to common in
2.2.0 but most rpm scripts like postun, preun and so on weren't adapted
accordingly.

fixes #7738
2014-11-27 15:22:52 +01:00
Gunnar Beutner 7ee0eef562 Move the icinga2-prepare-dirs script to /usr/lib
fixes #7786
2014-11-27 14:47:51 +01:00
Gunnar Beutner 3cfe877feb Remove the BuildRequires for yajl-devel (on RHEL 6) because their package is broken
refs #7463
2014-11-27 09:53:37 +01:00
Gunnar Beutner 16b044bda4 Add build dependency for yajl in the spec file
fixes #7463
2014-11-26 16:40:05 +01:00
Tim Hardeck ee89f54679 Remove icinga-prepare-dirs from icinga-bin package
`icinga-prepare-dirs` was part of the package common and bin. Since it
was added with 2.2.0 to common with a man page I would expect this to be
the right place so I removed it from bin.

fixes #7740

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-20 21:03:56 +01:00
Gunnar Beutner c0639c5bca Release version 2.2.0 2014-11-17 10:52:21 +01:00
Gunnar Beutner fb4f919aee Build fix for RHEL 5 2014-11-17 10:23:11 +01:00
Gunnar Beutner db1cd8dc38 Fix CFLAGS/CXXFLAGS in the RPM spec file
fixes #7678
2014-11-14 10:30:14 +01:00
Gunnar Beutner 287bde6689 Turn on verbose builds for the RPM 2014-11-14 06:37:30 +01:00
Gunnar Beutner 5e1099394a Remove the migrate-hosts script
fixes #7398
2014-11-13 11:15:55 +01:00
Gunnar Beutner 187d443447 Implement support for thin mutexes
refs #7622
2014-11-09 16:54:33 +01:00
Michael Friedrich 3f91e5358c Revamp sample configuration: add NodeName host, move services into apply rules schema
fixes #7594
2014-11-07 04:13:45 +01:00
Michael Friedrich 11058664bc Fix enabling features in RPMs
fixes #7510
2014-10-30 14:41:06 +01:00
Gunnar Beutner 319b9b256a Move the config files to icinga2-common
refs #7471
2014-10-29 13:03:28 +01:00
Gunnar Beutner a86ceb6045 Fix build on RHEL 6.6
fixes #7485
2014-10-29 12:29:11 +01:00
Gunnar Beutner f477115398 Move migrate-hosts into the icinga2-common RPM package
fixes #7471
2014-10-28 14:24:36 +01:00
Gunnar Beutner 876099fa0a Migrate config files from conf.d/hosts to repository.d/hosts
fixes #7398
2014-10-28 13:16:48 +01:00
Michael Friedrich fec8e92221 Cli: Make sure to create & include 'repository.d'
refs #7255
2014-10-27 19:19:45 +01:00
Gunnar Beutner 35a1930629 Create repository.d directory 2014-10-24 14:24:59 +02:00
Gunnar Beutner 41266aab2f Remove obsolete scripts
refs #7248
2014-10-24 12:19:36 +02:00
Gunnar Beutner 6e17eadf8f Remove {DAEMON,ICINGA2}_USER and {DAEMON,ICINGA2}_GROUP variables
refs #7370
2014-10-20 21:41:04 +02:00
Gunnar Beutner 5abc3cfe55 Remove icinga2-build-ca, icinga2-build-key and icinga2-sign-key
refs #7244
2014-10-16 13:29:18 +02:00
Gunnar Beutner 425dbba35b Remove icinga2-list-objects
refs #7251
2014-10-15 15:06:52 +02:00
Michael Friedrich 445376833c spec: add missing init.conf 2014-10-14 20:45:53 +02:00
Michael Friedrich 648f47f931 Fix package builds after removal of icinga2-{en,dis}able-feature scripts
refs #7250
2014-10-14 20:25:53 +02:00
Gunnar Beutner d7d6d6096f Remove icinga2-enable-feature and icinga2-disable-feature
refs #7250
2014-10-14 18:35:52 +02:00
Gunnar Beutner a4081f1445 Implement support for CLI commands
fixes #7246
2014-10-08 15:33:10 +02:00
Gunnar Beutner 24f17c0fc6 Add the agent scripts to cmake
refs #7243
2014-09-17 11:29:58 +02:00
Gunnar Beutner b5faacc1d0 Release version 2.1.1 2014-09-16 12:29:22 +02:00
Tim Hardeck e00e56ecfe Increase python-icinga2 description
fixes #7030
2014-09-02 13:58:09 +02:00
Gunnar Beutner 43dd0fe942 Enable unity build for RPM/Debian packages
fixes #7041
2014-08-31 11:02:45 +02:00
Gunnar Beutner 1c92712146 Fix rpmlint errors
fixes #7038
2014-08-31 10:30:44 +02:00
Gunnar Beutner 6e40ce3d91 Release version 2.1.0 2014-08-29 12:44:01 +02:00
Gunnar Beutner 2dee79fc4b Fix Requires in the spec file
fixes #7016
2014-08-27 13:50:09 +02:00
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