160 Commits

Author SHA1 Message Date
kirby
94353612dd update to icinga-web-1.13.1
OK sthen@, maintainer
2015-11-03 09:49:38 +00:00
sthen
dfdf28f57a trimmed a bit too much in previous, reinstate SYSCONFDIR subst. 2015-10-21 19:10:34 +00:00
sthen
26d7d5ac1d clean up Makefile, install editor syntax files in the right place 2015-10-21 09:34:03 +00:00
sthen
ea11becfae Adjust the icinga2 port:
- Replace previous backout with fixes from Gunnar Beutner (upstream):

 . Make sure the timer thread is gone when calling fork()
 . Ensure that the main thread pool gets re-initialized properly after fork()

- Add a check so that 'make test' fails early with a useful error if the
libconfig package is installed; the objects in the build directory don't
have a finalized rpath and they are looking in /usr/local/lib before the
build directory, so the wrong libconfig so is picked up.

I think this port should now be in good shape, please let me know if you're
using it and run into problems with forking etc.
2015-10-21 09:03:22 +00:00
sthen
5fd6c0be1c rename the icinga2 database subpackages to icinga2-ido-XXsql, to match the
standard package names used on other OS.
2015-10-20 21:34:29 +00:00
sthen
1bffdd63b8 Adjust the pexp regex in the rc script, it needs a trailing .* to match
the process arguments when they're modified after a reload.
2015-10-20 20:59:40 +00:00
sthen
7cdc358e1e add ticket url to comment in patches. 2015-10-20 14:08:57 +00:00
sthen
e48b149f78 Update to icinga2-2.3.11 and unbreak by adding patches to revert oldish
upstream commit 86819f446e2 which broke daemon activation on OpenBSD.
Without this reversion ConfigItem::ActivateItems() doesn't get any
further after the call to DynamicObject::RestoreObjects().
2015-10-20 13:54:13 +00:00
sthen
6ec3f3a2dc tweak README 2015-10-06 21:53:05 +00:00
kirby
47db449307 fix rcctl syntax
ok sthen@, maintainer
2015-10-04 16:59:25 +00:00
sthen
0424123a65 remove @extraunexec that end up under /var/run as well, req'd by aja 2015-08-25 15:22:38 +00:00
sthen
f9f291622e - remove @samples that end up under /var/run, req'd by ajacoutot
- on the off-chance, try an update while there
2015-08-25 13:53:28 +00:00
sthen
77e1587c7b remove useless patch, the make target it's modifying isn't called 2015-07-17 22:44:28 +00:00
sthen
0b825b856b update to icinga 1.13.3 2015-07-15 20:10:58 +00:00
sthen
ce974b46cc use su -m instead of -s /bin/sh, suggested by millert
add some missing -c
2015-07-07 14:44:58 +00:00
sthen
d5ffe85b7d Remove use of sudo from pkg READMEs in a few ports as packages and their
instructions are meant to work on a fresh install.

- easy cases: replace some '$ sudo somecommand' with '# somecommand'
(while there I've swapped some "${RCDIR}/foo start" with "rcctl foo start").

- replace some 'sudo -u user somecommand foo bar' with
'su -s /bin/sh user "/path/to/somecommand foo bar"' and similar.
Not pretty with the -s, but many of the uids that need to run
these commands have /sbin/nologin as their usual shell.
2015-07-06 11:25:36 +00:00
sthen
368b70a24b Slightly better BROKEN marker for icinga2. Any clues very welcome...
ConfigItem::ActivateItems() calls DynamicObject::RestoreObjects().
DynamicObject::RestoreObjects() runs to the last line of the function,
however control is not returned to the following line in
ConfigItem::ActivateItems() (i.e. the calling function).
2015-07-02 20:16:54 +00:00
sthen
fe4485895b update to icinga2-2.3.5, still no closer to solving the problems though so
it remains marked BROKEN.
2015-06-30 09:19:48 +00:00
robert
9c1017ae2d bump revision due to the change of the default php version to 5.6
ok aja@
2015-06-05 06:00:20 +00:00
sthen
1a91fae5ba update to icinga2 2.3.4. mark BROKEN until I can get some handle on what's
going on with daemonization (not backgrounding when expected) and hangs seen
in some cases.
2015-05-12 09:37:03 +00:00
rpe
fd9f1d80cd Update net/icinga/web to version 1.12.0
OK sthen@
2015-04-05 12:15:08 +00:00
pascal
35957f111a Bumps for static PIE changes.
"just commit" naddy@
2015-04-03 15:12:28 +00:00
sthen
4b298c3efb update to icinga-1.13.0 2015-03-30 22:43:42 +00:00
rpe
249b5547a3 - Use rcctl(8) in commandline examples.
- Add a section how to setup icinga-cgi with httpd(8) and slowcgi(8).

OK sthen@
2015-02-07 22:39:04 +00:00
sthen
e9400759bc Update to icinga2-2.2.4. Change rc script to use "icinga2 daemon" and rc_bg to
force running in the background; it was previously using "icinga2 daemon -d",
but since 2.2.2 this has been hanging on OpenBSD.

Disable vfork as was done upstream on MacOS (to stop a hang there) in the
hope it may also stop a runtime hang seen occasionally here.

There are still some odd things going on and I don't think this is production-
ready on OpenBSD yet, so the warning in DESCR-main remains, but I think this
is not worse than 2.2.1.
2015-02-06 22:53:27 +00:00
sthen
58dfc8201e fix the remaining 63 time_t problems in Icinga idomod.c, and a typo in patch-cgi_cgiutils_c 2015-02-04 21:19:23 +00:00
landry
abf237485f Broken on hppa for missing atomic ops 2015-01-20 18:42:38 +00:00
sthen
e7040b37c6 more printf format string fixes for icinga (time_t issues on 32-bit arches)
the remaining 61 are all in idomod.c

presumably most/all of these also apply to nagios
2015-01-19 16:59:42 +00:00
sthen
2afac01634 Patch some of the format problems in icinga 1 due to 64-bit time_t,
as reported by otto@. Build with -wformat to make the other two hundred
and ten of them more obvious.

(icinga2 doesn't have these problems, but we are stuck with an older
version of icinga2 as current versions fail at runtime on OpenBSD,
and a number of these problems affect the icinga1 cgis which are still
useful with 2).
2015-01-16 18:07:53 +00:00
sthen
3d346c3a42 tweak DESCR, make it clear that this isn't considered entirely stable on OpenBSD 2015-01-04 21:47:14 +00:00
sthen
e8fbb5fe11 revert to icinga2 2.2.1, at least daemonizing fails on openbsd, possibly more. 2015-01-04 21:32:24 +00:00
sthen
da8b773213 update to icinga2-2.2.2, various bugfixes 2014-12-19 01:20:16 +00:00
sthen
4ce6614320 Remove some bogus information about web chroot setup that was modified from
the icinga1 readme, it can go back later when icinga web 2 is ready. Problems
spotted by florian@.

Mention that icinga2-migration is now a package.
2014-12-17 22:10:30 +00:00
sthen
41035205ca update to icinga 2.2.1 2014-12-01 23:45:58 +00:00
sthen
c0294e3dab +icinga2-migration 2014-11-29 12:21:06 +00:00
sthen
149258b623 import ports/net/icinga/icinga2-migration, ok benoit@ landry@
This standalone script allows you to migrate the basic Icinga 1.x object
configuration into native Icinga 2 configuration objects. This project
will be merged into the upstream CLI once there is a stable release.
Meanwhile it acts as standalone helper tool for migrating to Icinga 2.

You are highly advised to read the Icinga 2 Migration documentation
and understand the new dynamic configuration syntax. Check the manual
migration hints in the documentation (http://docs.icinga.org/icinga2/latest/).
2014-11-29 12:20:50 +00:00
sthen
d4b9694e05 remove WRKDIST=${WRKDIR}/${DISTNAME} lines, they are the default anyway 2014-11-23 20:28:01 +00:00
sthen
93c42c8b2d link icinga/core2 to the build 2014-11-22 00:14:21 +00:00
sthen
67271221d0 disable the icinga2 code which forces rlimit setting, it is responsible for
random crashes at startup (typically with no usable backtrace) on OpenBSD
2014-11-22 00:14:05 +00:00
sthen
7c563b96bb update to icinga2 2.2.0 2014-11-22 00:13:03 +00:00
sthen
cfed1c8a90 update to icinga 1.12.0 2014-11-21 14:06:26 +00:00
sthen
174f98ce56 bump REVISION for php version switch 2014-11-06 17:13:39 +00:00
sthen
425b416b73 update to icinga-web 1.11.2 2014-10-02 21:05:02 +00:00
brad
b94a402501 Switch from using MySQL to using MariaDB attempt #2. MariaDB is a drop-in replacement.
ok sthen@
2014-09-13 18:09:20 +00:00
sthen
752b328c24 update to icinga 1.11.7 2014-09-03 11:55:55 +00:00
sthen
4c297064e5 normalize patches, now that trees are unlocked 2014-08-14 09:00:06 +00:00
sthen
4c8fa9518b use the correct format string for time_t on i386, unbreaking logging there.
patch bodged into patch-configure for now, to be split out after full unlock.
2014-08-11 18:34:59 +00:00
jasper
4c746b924a don't hardcode path to mod_rewrite.so so that the default config
works with openbsd-httd-openbsd again.

ok sthen@ rpe@
2014-08-10 11:12:26 +00:00
ajacoutot
9d087a11f1 Tweak documentation according to recent rc changes.
ok jasper@
2014-07-22 10:55:40 +00:00
ajacoutot
9ecb6ea3d9 /etc/rc.d -> ${RCDIR}
(as pedantic and useless as /usr/local vs LOCALBASE|PREFIX but well...)

ok sthen@
2014-07-19 22:36:13 +00:00