63 Commits

Author SHA1 Message Date
espie
93aef53599 and of course some would conflict... finish PKGSTEM changes manually 2018-09-04 12:53:16 +00:00
sthen
7e02a6b211 Add an end-of-life warning - security updates for icinga 1.x stop during
the lifetime of OpenBSD 6.4.

For more information about rewriting config to migrate to icinga 2.x, see
https://www.icinga.com/docs/icinga2/latest/doc/23-migrating-from-icinga-1x/
2018-08-28 21:08:23 +00:00
sthen
3168d3eb55 Adjust icinga1's DESCR-main, making it clear that it's the legacy version and
pointing new users in the direction of icinga2.
2018-03-11 12:32:32 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
6324dd7ae2 update to icinga 1.14.0
security fixes (also affecting nagios; icinga 1.x is the old nagios-derived
branch, whereas 2.x is all new) -

* Bug #13709: CVE-2016-9566: Root priviledge escalation during log file opening
* Bug #10453: Icinga Classic-UI 1.13.3 and older are vulnerable to XSS - CVE-2015-8010

notable changes -

* Classic UI: Remove attribute based authorization (cgiauth.cfg is not parsed
any more)
* IDO: Remove deprecated config options
2017-02-07 21:40:06 +00:00
sthen
7937a8fc9d adjust icinga-web notes following apache1 removal 2016-04-29 09:39:53 +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
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
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
cfed1c8a90 update to icinga 1.12.0 2014-11-21 14:06:26 +00:00
sthen
752b328c24 update to icinga 1.11.7 2014-09-03 11:55:55 +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
sthen
19ca9bed1a don't use "echo 'pkg_scripts="${pkg_scripts} icinga' >> /etc/rc.conf.local"
examples

chase monitoring-plugins change (missed commit yesterday)
2014-07-12 11:22:10 +00:00
ajacoutot
5ecbbd0b5d rc.conf.local is always under /etc. 2014-07-10 12:58:31 +00:00
sthen
53ab17501c update to icinga 1.11.5
* classic-ui: fix status.cgi gets stuck in loop when sorting on "All Unhandled Problems" #5886 - RB
* classic ui: Only show command expander if backend is Icinga 1.x (incompatible with Icinga 2) #6408 - MF
* classic ui: Fix CSRF protection in cmd.cgi matches only compiled in URL #6459 - MF
* classic-ui: config.cgi missing new option #6502 - RB
* cgi.cfg: Add url_cgi_path allowing to override the default '$htmurl/cgi-bin' required for CSRF checks #6459
2014-06-20 13:13:54 +00:00
sthen
183fdfbdef fix jquery-based options in the icinga-cgi package, found by florian@;
missing file from PLIST-cgi since they now ship a minified version
2014-06-10 21:24:26 +00:00
sthen
c2170f3e1f handle /etc/localtime in chroot; pointed out by florian@ 2014-05-29 00:19:54 +00:00
sthen
54e8c45a04 tweak README to point out that icinga-cgi and -web are in separate packages
and that one or both should be installed.
2014-05-29 00:09:04 +00:00
sthen
80ba77ada7 update to icinga 1.11.4, and tweak README slightly relating to chroot for
icinga-web based on part of some comments from florian@ and benno@.
2014-05-29 00:05:48 +00:00
sthen
0bd227f49d better permissions for resource.cfg 2014-05-23 21:12:26 +00:00
sthen
c168c9a31d upstream packages were re-rolled (under the same filename :() to remove a
couple of bogus sql update files.
2014-05-21 23:37:55 +00:00
sthen
e86d8938dc fix another SYSCONFDIR/BASESYSCONFDIR problems in the README, reported by otto@ 2014-05-14 10:32:20 +00:00
sthen
1582b510f3 update to icinga-1.11.3 2014-05-10 22:15:38 +00:00
sthen
01cb949bce update to Icinga 1.11.1, fixing CVE-2014-2386 in icinga-cgi (small buffer
overflows when checking strlen against MAX_INPUT_BUFFER) and a couple of
other minor issues
2014-03-29 12:07:01 +00:00
sthen
e0440cae75 Add extra note in readme; new csrf protection needs disabling if using
external programs to access cmd.cgi (e.g. aNag - basic operation is still
OK but acknowledging alerts is blocked).
2014-03-26 12:09:28 +00:00
sthen
0536fb841f update to Icinga 1.11.0 2014-03-25 01:26:33 +00:00
sthen
102bf75628 nginx configuration instructions for icinga-cgi.
icinga-web is not yet covered.
2014-03-20 16:25:21 +00:00
zhuk
e604bbabbe Fix packaging with too paranoid sample config file mode.
Pro-actively fixes the port before espie@ commits his picky pkg_add patch.
2014-01-24 19:10:22 +00:00
sthen
d2b666fc99 SECURITY update to icinga 1.10.2; (note for -stable, 1.9.4 fixes same issues)
CVE-2013-7106, CVE-2013-7107  https://dev.icinga.org/issues/5250
The icinga web gui is susceptible to several buffer overflow flaws,
which can be triggered as a logged on user. A remote attacker may
utilize a CSRF (cross site request forgery) attack vector against a
logged in user to exploit this flaw remotely.

CVE-2013-7108  https://dev.icinga.org/issues/5251
The icinga web gui are susceptible to an "off-by-one read" error
resulting from an improper assumption in the handling of user submitted
CGI parameters. [..] by sending a specially crafted cgi parameter,
the check routine can be forced to skip the terminating null pointer
and read the heap address right after the end of the parameter list.
Depending on the memory layout, this may result in a memory corruption
condition/crash or reading of sensitive memory locations.
2013-12-17 08:46:45 +00:00
sthen
7c6da444f8 update to icinga 1.10, for more information see
https://www.icinga.org/2013/10/24/icinga-1-10-released/

as mentioned in a new addition to the readme, icinga-web users may need to
clear their cache with /var/www/icinga-web/bin/clearcache.sh
2013-10-25 16:16:23 +00:00
sthen
7d0d033b98 Update to Icinga 1.9, thanks to rpe@ for feedback and testing the beta.
Also thanks to Michael Friedrich (upstream) for sending out helpful notes
to package maintainers about changes in the release which may affect them,
we like projects who do that :)
2013-05-07 15:34:47 +00:00
rpe
60bf355295 fix example to restart httpd in README
ok sthen@
2013-03-29 16:39:34 +00:00
zhuk
b474d241d2 Change @sample for archives directory as its place was changed somewhere
around 1.5.0.

okay sthen@ (MAINTAINER)
2013-03-06 18:34:58 +00:00
sthen
8439312341 update Icinga to 1.8.0, testing (including icinga-web) and ok rpe@
- slight tweaks to upgrade documentation while there; you should still
check the proper upgrade notes from upstream, but the README now points
idodb users at the actual location of the schema update files to save
a bit of hunting.
2012-10-18 20:04:58 +00:00
sthen
85cb2566b2 Fix up some SYSCONFDIR/BASESYSCONFDIR problems. Pointed out by viq, thanks. 2012-10-17 09:18:29 +00:00
rpe
0ff516f6e8 icinga:
- attach icinga-web to build

icinga-core:
- bump REVISION for -main, -cgi and -ido
- remove CFGDIR, MAKE_FLAGS from Makefile which are relics
- replace /var/www with ${PREFIX-cgi}
- add instructions for icinga-web to README
- choose mysql by default

icinga-web:
- bump REVISION
- remove README, all instructions are in the icinga-core README
- remove comments about w.i.p
- choose mysql by default
- tell configure where to find icinga binary, icinga.cfg and the
  icinga objects dir
- add icinga, icinga-idoutils and bash to RUN_DEPENDS
- patch shells scripts to use the correct path for bash
- patch databases.xml.in to have both DBs enabled by default

with help and ok from sthen aja
2012-10-12 17:59:24 +00:00
sthen
a4bf12a9a9 typo in README; from viq 2012-10-01 23:05:01 +00:00
sthen
005f61a896 fix DESCR, icinga-web is not packaged yet. pointed out by henning@ 2012-06-07 10:22:28 +00:00
sthen
3e53e70724 ...and fix SYSCONFDIR in README, also from robert at peichaer / org..
so tempting to just put this back to the 'gnu old' way...
2012-05-27 19:42:42 +00:00
sthen
d6ebb614f4 fix rc scripts since SYSCONFDIR change; robert at peichaer / org 2012-05-27 19:39:28 +00:00
sthen
18e9be7fd3 Unbreak default configs following the localstatedir changes, problem
reported by robert at. peichaer org
2012-05-27 09:49:49 +00:00
sthen
5c8e78da59 Put PLIST back into the correct order so /var/icinga is created with the
correct ownership. From robert at. peichaer dot. org
2012-05-26 22:19:15 +00:00
sthen
c16287e312 use a homedir for _icinga's @newuser line which actually exists. 2012-05-19 10:47:10 +00:00
sthen
a514f443ab update to icinga 1.7.0 - IDO users note, as well as the usual DB upgrade
steps, edit icinga.cfg and change broker_module=/usr/local/bin/idomod.o
to broker_module=/usr/local/lib/idomod.so, this is also mentioned in the
README.

Notable fixes:
- flexible downtimes now last the duration specified once triggered
- avoid insane looping through event list when rescheduling checks
2012-05-17 11:05:40 +00:00
sthen
498bdd86e7 Add a section to the README pointing to the upgrade documentation. 2012-03-16 12:39:55 +00:00
sthen
91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00