Commit Graph

151 Commits

Author SHA1 Message Date
Gunnar Beutner 5f4a9c9655 Use gcc-ar and gcc-ranlib when building with -flto 2018-01-17 14:26:37 +01:00
Gunnar Beutner 2a9dceb367 Use CMake object libraries for our libs 2018-01-17 04:28:21 +01:00
Gunnar Beutner 0354f34e5a Remove libdemo and libhello 2018-01-11 13:29:11 +01:00
Gunnar Beutner 2f953d6204 Implement shim for libmysqlclient and libpq 2018-01-02 23:29:48 +01:00
Gunnar Beutner 90496b5456 Build libraries as static libraries 2018-01-02 23:29:48 +01:00
Michael Friedrich 025abc3357
Merge pull request #5931 from Icinga/feature/linker-flags
Improve detection for linker flags
2018-01-02 14:03:08 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Gunnar Beutner 32e178bb5f Improve detection for linker flags 2018-01-02 08:58:05 +01:00
Jean Flach 73185971ab
Merge pull request #5855 from Icinga/fix/vs2017
Fix build problems with Visual Studio 2017
2017-12-14 13:15:24 +01:00
Gunnar Beutner ff0b6ba630 Fix build problems with Visual Studio 2017 2017-12-14 08:55:36 +01:00
Gunnar Beutner b12968881d Implement AppLocal deployment support for UCRT 2017-12-14 08:53:44 +01:00
Gunnar Beutner 6f8b62333f Use real UUIDs for Utility::NewUniqueID 2017-11-07 13:53:04 +01:00
Michael Friedrich 2d3149157f Fix clang compiler detection on Fedora and macOS
fixes #5257
2017-09-27 20:04:43 +02:00
mcktr 4dcf0f322a Renamed ChangeLog to CHANGELOG.md in CMakeList.txt 2017-06-20 19:44:42 +02:00
Michael Friedrich 6397fedc3d Remove experimental redis feature before 2.7 release 2017-06-20 11:52:24 +02:00
Alexander A. Klimov 7054f4664e CMake: require a GCC version according to INSTALL.md 2017-05-12 16:23:27 +02:00
Jean Flach 18005e2c13 Make last commit actually work...
refs #4822
2017-04-06 13:35:15 +02:00
Jean Flach c86094c826 Fix openssl1.1 for x64 builds
refs #4822
2017-04-06 13:03:55 +02:00
Jean Flach 966c2a4602 Fix CMake handling of openssl 1.1.0
fixes #5141
2017-04-05 17:51:20 +02:00
Gunnar Beutner 31650b0beb Add RedisWriter class
refs #4991
2017-02-09 16:40:11 +01:00
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich c81b4a82dd Upgrade NSClient++ to 0.5.0 stable
This involves required changes in the nscp-local ITL CheckCommand
definitions. Upgrading NSClient++ therefore requires updating
the Icinga 2 Windows client as well.

fixes #12733
2016-09-21 15:28:20 +02:00
Gunnar Beutner e298191c2e Improve support for building the chocolatey package
fixes #12603
2016-08-31 14:55:20 +02:00
Gunnar Beutner ad0e4f4489 Fix RPATH for the unit test binaries
fixes #8806
2016-08-28 17:19:20 +02:00
Gunnar Beutner 4d503a3abb Clean up detection of the -flto flag
refs #12564
2016-08-27 21:42:05 +02:00
Gunnar Beutner 0d3563ddaa Add -flto to compiler flags
fixes #12564
2016-08-27 16:07:37 +02:00
Gunnar Beutner b5b09216c6 Use lambda functions for INITIALIZE_ONCE
fixes #12562
2016-08-27 09:48:36 +02:00
Gunnar Beutner 03b593fa67 Fix support for building with ccache
refs #12537
2016-08-27 08:01:13 +02:00
Gunnar Beutner 60e86e02ff Improve error message for old versions of GCC
refs #12537
2016-08-27 07:45:37 +02:00
Gunnar Beutner 30762e5330 Set versions for all internal libraries
fixes #12552
2016-08-25 17:56:18 +02:00
Gunnar Beutner bdaf02295f Update cmake config to require a compiler that supports C++11
fixes #12537
2016-08-25 06:32:45 +02:00
Gunnar Beutner 376e83bd06 Add -fvisibility=hidden to the default compiler flags
fixes #12536
2016-08-25 05:05:51 +02:00
Louis Sautier e725e6719c Detect logrotate not installed in /usr/sbin
Gentoo started installing the logrotate binary to bin, see
gentoo/gentoo@bc23def39c
and https://bugs.gentoo.org/show_bug.cgi?id=588156
There might be other systems doing that, which makes it a good idea
to stop hardcoding the path.

fixes #12535

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-24 21:10:03 +02:00
Gunnar Beutner 72faf42f1a Build fix for Ubuntu precise
refs #12389
2016-08-10 08:22:17 +02:00
Gunnar Beutner e8ae1dc4a6 Include compiler name/version and build host name in --version
fixes #12389
2016-08-10 08:09:44 +02:00
Gunnar Beutner 5c04331de3 Fix include for icinga2.wixpatch (again)
refs #11449
2016-04-14 14:58:13 +02:00
Gunnar Beutner bff4a139bd Remove cmake_policy call
refs #11449
2016-04-14 14:14:57 +02:00
Gunnar Beutner 936bd4aa0d Fix support for building debug MSI packages
refs #11449
2016-04-14 14:08:18 +02:00
Gunnar Beutner 63a7453e10 Make sure NSIS-based installations are uninstalled before we copy the new
files

refs #11449
2016-04-14 12:16:45 +02:00
Gunnar Beutner d4f4d57699 Add new images for the Windows installer
refs #11449
2016-04-11 18:02:56 +02:00
Gunnar Beutner 782fce79a4 Remove support for NSIS
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner 14db2f04a8 Add missing pre and post installation commands
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner 6bf3225e84 Implement support for running custom install/uninstall actions
refs #11449
2016-03-31 14:53:54 +02:00
Gunnar Beutner c5b7f9000d Add preliminary support for 64-bit packages
refs #11449
2016-03-30 11:47:39 +02:00
Gunnar Beutner eb7887dad0 Update NSClient++ to version 0.4.4.19
fixes #11473
fixes #11474
2016-03-30 09:47:45 +02:00
Louis Sautier 4970c459ee Re-add the 'su' directive to logrotate if supported
- try to detect a recent logrotate version which supports the 'su'
directive (added in 3.8.0, see
5be96cf182 (diff-e4eb329834da3d36278b1b7d943b3bc9R6))
- if logrotate can't be found, assume an old version is used
- allow the parameter to be forced by the user

fixes #9249

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2016-03-29 14:59:06 +02:00
Gunnar Beutner 02ed66847c Add /bigobj compiler option for Windows
refs #11462
2016-03-29 08:45:46 +02:00
Gunnar Beutner 9e9298f4fa Add -pthread to build flags
refs #10963
2016-02-16 13:08:21 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Gunnar Beutner 82961d8977 Build fix for Windows
fixes #10824
2016-01-11 14:28:58 +01:00