Commit Graph

29 Commits

Author SHA1 Message Date
Markus Frosch 6b8d079fd2 Debian: Use user/group config also for /run handling in init script.
Also added DAEMON_CMDGROUP var.

Fixes #5309
2013-12-11 18:33:44 +01:00
Markus Frosch 0975d24a94 Debian: Added spool directory and set correct permissions.
Fixes #5293
2013-12-11 18:33:44 +01:00
Markus Frosch f2909b80fd Debian: Added foreground init helper to debug Icinga 2.
Refs #5305
2013-12-11 16:07:46 +01:00
Markus Frosch 6200c8164c Debian: Cleaned up indention in init script.
Refs #5305

Conflicts:
	debian/icinga2-common.icinga2.init
2013-12-11 15:34:29 +01:00
Markus Frosch 16e1da530f Debian: Added checkconfig helper to initscript.
And simplified check handling over all functions.

Refs #5305
2013-12-11 15:33:47 +01:00
Markus Frosch 4c8f1f3d9d Debian: Added DAEMON_(USER|GROUP) to init/default for config checking.
Config should be checked with the actual uid/gid Icinga 2 will run under.

Also moved "-d" to the actual start-stop-daemon call.

Fixes #5299
2013-12-11 15:31:54 +01:00
Markus Frosch 2ca8be6ecd Debian: only update icinga-version.h.fallback when in a GIT repo.
This avoids the version coming out as GIT-UNKNOWN after chroot builds.

Fixes #5294
2013-12-11 13:23:29 +01:00
Markus Frosch 9bee1aaef6 Debian: Make sure to enable default features due when updating.
The last fix for that missed handling upgrading between versions, so we now
enable features when upgrading from before 0.0.5+icingasnap201312070000.

This enabling will include any release package previously installed.

Fixes #5102
2013-12-06 20:04:07 +01:00
Markus Frosch 751f3ad19b Debian: Made creation of icinga-version.h.fallback safer.
We now use a custom CMakeLists.txt to just create this file without checking
dependencies or doing other stuff.

Idea is to avoid breaking on systems that only create source packages for
chroot builds.

Refs #5261
2013-12-04 20:40:10 +01:00
Markus Frosch 2b7e8ed7ab Debian: Fixed config check and changed DAEMON_ARGS in init script.
Check now actually works, command was incorrect and not properly blocking the
actual action on fail.

Also the config file is now in DAEMON_CONFIG variable.

Fixes #5086
2013-12-04 19:50:10 +01:00
Markus Frosch 1399ac6047 Debian: Made handling of features-enabled respecting disabled features.
The default features now only get enabled on fresh installs. This has been
changed for icinga2-common and icinga2-classicui.

Fixes #5102
2013-12-04 19:06:43 +01:00
Markus Frosch 29115f4fd3 Debian: doing cmake before clean to include icinga-version.h.
Fixes #5233
2013-11-27 14:55:14 +01:00
Gunnar Beutner 05a4c090c2 Make sure that the icinga2-classicui package enables the command pipe.
Fixes #5070
2013-11-17 20:10:12 +01:00
Gunnar Beutner 7ae3a47f0e Remove unused dependencies.
Refs #4975
2013-11-09 09:25:52 +01:00
Gunnar Beutner a28dcb02fc Update minimum cmake version.
Refs #4988
2013-11-09 08:10:43 +01:00
Markus Frosch 941224cb68 Updated Debian packaging for 0.0.4
refs #4988
refs #4975
2013-11-08 14:14:57 +01:00
Markus Frosch a73f98414a Modified Debian packaging for development builds
refs #4988
2013-11-08 14:14:55 +01:00
Markus Frosch c930215d3f Imported current Debian packaging (for 0.0.3)
refs #4988
2013-11-08 14:14:55 +01:00
Gunnar Beutner 257c9a8aef Removed Debian package files. 2012-09-21 14:13:13 +02:00
Gunnar Beutner 867eae7838 Removed git-buildpackage config and instead added code to invoke autogensh in debian/rules 2012-09-21 14:03:43 +02:00
Gunnar Beutner 6a15e69e88 Updated git-buildpackage options to not run ./configure twice. 2012-09-20 11:10:11 +02:00
Gunnar Beutner ac6c9ab7c2 Removed git-buildpackage note. Added gbp.conf file. 2012-09-20 10:39:55 +02:00
Gunnar Beutner 699b66b913 Added boost to Debian deps. 2012-09-14 11:11:05 +02:00
Gunnar Beutner ef9e5ec585 Clean up .gitignore files. 2012-09-14 11:03:21 +02:00
Gunnar Beutner 35479407a9 Updated Debian copyright file. 2012-06-20 08:11:44 +02:00
Gunnar Beutner ab3b134552 Fixed Debian lintian warnings. 2012-05-11 13:54:37 +02:00
Gunnar Beutner f6dff42434 Fixed FSF address. 2012-05-11 13:33:57 +02:00
Gunnar Beutner 3214c29363 Added copyright headers.
Updated Debian build files.
2012-05-10 12:06:41 +02:00
Gunnar Beutner 3f9330c743 Added Debian package files. 2012-05-10 11:04:15 +02:00