194 Commits

Author SHA1 Message Date
sthen
159bc07282 update to icingaweb2-module-director-1.1.0 2016-06-30 15:39:33 +00:00
sthen
494725ff11 update to icinga2-web 2.3.4 2016-06-23 13:32:28 +00:00
sthen
c118a98dba add director module (config management/deployment) for icinga-web2 2016-06-22 21:49:53 +00:00
sthen
a58c7c12f3 update to icinga2 2.4.10 2016-06-22 21:42:49 +00:00
sthen
745674edac symlink icingacli from /var/www/icinga2-web/bin to /usr/local/bin 2016-06-22 21:33:55 +00:00
sthen
be8db63d30 drop icinga2-migration, it's not maintained upstream any more, only provides
a skeleton conversion rather than something ready-to-run, and it's less work
to write a new config using the full scope of the config language than to fix
up a migrated one.
2016-06-22 21:02:13 +00:00
sthen
c4ca389471 update to icinga2-2.4.9 2016-05-20 08:13:41 +00:00
sthen
7937a8fc9d adjust icinga-web notes following apache1 removal 2016-04-29 09:39:53 +00:00
sthen
75a3559dca update to icinga-web2-2.3.2 2016-04-29 09:14:46 +00:00
sthen
678be09a53 update to icinga2-2.4.7 2016-04-21 21:19:17 +00:00
sthen
dc4b70f5e1 update to Icinga Web 2 2.3.1 2016-04-18 09:48:09 +00:00
naddy
42bc647e80 remove SHARED_ONLY from ports that only use modules that neither set nor
read this variable
2016-03-18 23:12:15 +00:00
sthen
11de25c84d update to icinga2-2.4.4 2016-03-16 12:52:22 +00:00
sthen
9b2cce877e update to icinga-web2 2.2.0 2016-03-06 14:44:46 +00:00
kirby
85af251e65 - add extensions for upcoming pnp4nagios port
- add some @extraunexec markers
input and ok sthen@
2016-02-28 12:02:16 +00:00
sthen
e7aadf1f08 update to icinga2-2.4.3 2016-02-25 09:29:49 +00:00
jsg
49d112f9f8 Don't attempt to build on arm. sync atomic builtins required. 2016-02-25 02:19:14 +00:00
sthen
20ea4b5a91 mark BROKEN-powerpc to avoid wasting build time; linker issues.
`.gnu.linkonce.t._ZN6icinga5ValueC1EPNS_6ObjectE' referenced in section `.gnu.linkonce.r._ZN6icinga5ValueC1EPNS_6ObjectE' of lib/base/CMakeFiles/base.dir/boolean-script.cpp.o: defined in discarded section `.gnu.linkonce.t._ZN6icinga5ValueC1EPNS_6ObjectE' of lib/base/CMakeFiles/base.dir/boolean-script.cpp.o
2016-02-08 19:07:43 +00:00
sthen
5ea74bd974 Remove patches from the icingaweb2 package that were hacking around the
mismatch between chrooted and non-chrooted paths (there are both CLI
scripts and a web app; both need to refer to the same paths and as well
as being complicated, the patches weren't quite working correctly,
as noticed by sebastia@).

Now you must setup a symlink "/var/www/var/www -> .." instead as
described in the new version of the pkg-readme, allowing icingaweb2 to
always use /var/www paths whether inside or outside the jail.

Note: Existing users of this package will need to create that symlink too.
2016-02-02 01:29:05 +00:00
sebastia
c24906a93d Update to 2.1.2
OK sthen@ (MAINTAINER)
2016-01-31 09:29:03 +00:00
sthen
30fcd8ef59 previous commit log should have read 'update to icinga-web2-2.1.1'
(and zap unnecessary comment)
2016-01-03 18:22:23 +00:00
sthen
5501566987 update to icinga-web2-2.1.0 2016-01-03 18:20:48 +00:00
ajacoutot
98bca201ef @sample /var/www/conf/modules.sample/
ok sthen@
2015-12-30 10:01:25 +00:00
sthen
882e8a956d fix package name for icinga-web2 in README; pointed out by rpe@ 2015-12-24 12:57:17 +00:00
sthen
430fbf9e04 mark as broken on sparc64, toolchain issues (errors out with gcc 4.2,
hangs with gcc 4.9).
2015-12-08 13:49:36 +00:00
sthen
a08b89d7f9 In the normal icinga2 build, disable tests from building (I previously had a
check for "make test"); in some occasions if devel/libconfig is installed at
build time it can cause the wrong libconfig to be picked up, resulting in
build failures. Add a pseudo-flavour to enable them if needed.

(I didn't run into this myself but, as found by ajacoutot@, in some builds
CMake decides to list -L/usr/local/lib before -L${WRKBUILD}/Bin/Release).
2015-11-30 13:11:08 +00:00
sthen
95794b7e49 update to icinga2-2.4.1 2015-11-26 18:03:02 +00:00
sthen
412cc39bb3 remove build dep on ports flex 2015-11-19 20:17:15 +00:00
sthen
4b4439bc96 Icinga Web 2 v2.1.0 2015-11-16 20:30:34 +00:00
sthen
7bd6d99f2d update to Icinga 2 v2.4.0, featuring a new RESTful API using basic auth
or client certificates for:

- filters, types, permissions
- query/create/modify/delete config objects at runtime
- status queries for global stats
- actions (e.g. acknowledge all service problems)
- event streams
2015-11-16 20:29:55 +00:00
sthen
66f82dd6f8 also set group ownership on icinga2 cmd dir 2015-11-16 12:51:42 +00:00
sthen
76fa493e77 allows chroot()ed web interfaces to find the command socket.
- patch constants.conf to use /var/www/var/run/icinga2 as default RunDir
- modify startup script to create above RunDir and symlink into /var/run/icinga2
2015-11-16 12:19:12 +00:00
sthen
44de8756a5 try building icinga2 with ports gcc (4.9) on sparc64, it fails with system gcc
{standard input}:38466: Error: Illegal operands: %lo requires arguments in ()
c++: Internal error: Illegal instruction (program cc1plus)
2015-11-14 22:56:24 +00:00
sthen
bc79fa9427 Add upstream patches for Icinga2 so that opening a fifo doesn't block
open()s in other threads, fixing an issue where the daemon doesn't start
correctly when the command listener is enabled.

Many thanks to dnsmichi and gunnarbeutner from Icinga for tracking this
down and fixing it.
2015-11-09 22:36:38 +00:00
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