Commit graph

127 commits

Author SHA1 Message Date
Mathieu Arnold
8ba3edb0ee - Actually make nagios work with staging
- Make the index.php patch respect the possible corewindow parameter
2013-12-27 14:23:06 +00:00
Dmitry Sivachenko
78873ed8a4 Fix tac.cgi location for people with redefined $cgi_base_url in config.inc.php.
Submitted by:	mat
2013-12-27 12:00:02 +00:00
Dmitry Sivachenko
b18fcf42b6 Replace meaningless startpage with tactical overview.
Submitted by:	ohauer
2013-12-27 07:57:03 +00:00
Dmitry Sivachenko
25de3d6ce6 Bump portrevision because of recent changes.
Requested by:	mat
2013-12-26 17:33:41 +00:00
Dmitry Sivachenko
3036971e90 Do not overwrite config.inc.php;
Convert to staging;
Use new LIB_DEPENDS format.

PR:		185187
Submitted by:	mat
2013-12-26 11:44:20 +00:00
Baptiste Daroussin
985b201424 Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt) 2013-09-20 22:24:43 +00:00
Baptiste Daroussin
46c6877a4a Convert to new perl framework
Submitted by:	az
2013-09-17 06:12:35 +00:00
Dmitry Sivachenko
01067bb348 Update to 3.5.1. 2013-09-16 13:43:53 +00:00
Dirk Meyer
b83d7bf933 - update libdg to 2.1.0 2013-08-09 14:05:52 +00:00
Dmitry Sivachenko
535cd21d53 Take maintainership. 2013-07-24 13:32:38 +00:00
Frederic Culot
a9acc27919 - Reassign to the heap
PR:		ports/180754
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au> (maintainer)
2013-07-24 12:45:07 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Ruslan Makhmatkhanov
e5f328ef87 - update to 3.5.0
changelog:
http://www.nagios.org/projects/nagioscore/history/core-3x

PR:		177304
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au> (maintainer)
2013-03-23 16:03:53 +00:00
Ruslan Makhmatkhanov
8f206379d8 - update to 3.4.4
- remove patch, applied upstream

changelog:
http://www.nagios.org/projects/nagioscore/history/core-3x

PR:		176188
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au> (maintainer)
2013-02-16 15:50:01 +00:00
Alex Kozlov
05a9235c98 - Fix all cases of 'No newline at end of file' in ports tree
Approved by: portmgr (bapt)
2013-02-01 15:04:00 +00:00
Ruslan Makhmatkhanov
faa190fb03 - add upstream patch for CVE-2012-6096
PR:		175196
Submitted by:	Jarrod Sayers <jarrod@mail.downtools.com.au> (maintainer)
Security:	97c22a94-5b8b-11e2-b131-000c299b62e1
2013-01-11 07:42:34 +00:00
Ruslan Makhmatkhanov
efb5fe9366 - update to 3.4.3 [1]
- convert to optionsng [2]
- fix portlint warnings [2]

PR:		174762
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au> (maintainer) [1]
Submitted by:   tota [2]
2013-01-10 19:12:02 +00:00
Andrej Zverev
10a2b4693f - Set default perl version for ports which currently using
(5.x+ and x < 12) scheme.

Approved by: bapt@ (portmgr@)
2012-12-16 06:12:28 +00:00
Michael Scheidell
a184e8c330 - Update to Nagios 3.4.1.
PR:		ports/168197
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au> (maintainer)
2012-05-21 14:23:25 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Ryan Steinmetz
09ac64bb47 - Add configtest command to rc script
PR:		ports/161111
Submitted by:	Emil Smolenski <am@raisa.eu.org>
Approved by:	Jarrod Sayers <jarrod@downtools.com.au> (maintainer)
2011-09-30 00:06:20 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Ryan Steinmetz
b32e5ed950 - Update to 3.3.1 [1]
- Use USERS/GROUPS [1]
- Fix whitespace in Makefile [1]
- Add LICENSE [1]
- Correct rc script issues [2]

PR:		ports/159304
Submitted by:	Ryan Steinmetz (zi@) [1], Doug Barton (dougb@) [2]
Approved by: 	wxs (mentor), maintainer
2011-08-23 01:50:48 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Olli Hauer
f6ddfcba0b - update nagios-core to 3.2.3. This is a bugfix update only.
Changelog:
  * Fixes problem where disabling all active hosts/services was not taking effect
  * Fixes for compiler warnings (code cleanup by Stephen Gran)
  * Fixes for format errors in event handler logging (Guillaume Rousse)
  * Fixed incorrect info in sample nagios.cfg file for state_retention_file (Michael Friedrich)
  * Fixed broker_event_handler() to return ERR if data is NULL (Michael Friedrich)

PR:		151661
Submitted by:	Alexander Wittig <alexander _at_ wittig.name>
Approved by:	maintainer, glarkin(mentor, implicit)
2010-10-31 22:40:47 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Bernhard Froehlich
e53aa9a4ba - Update to 3.2.2
PR:		ports/150523
Submitted by:	Jarrod Sayers <jarrod at downtools dot com dot au> (maintainer)
Approved by:	beat (co-mentor, implicit)
2010-09-14 07:51:44 +00:00
Brian Somers
cbf6479d19 The pre-install requires uid 0.
Not approved by:	maintainer (timeout after 10 days)
Feature safe:		yes
2010-07-17 22:38:08 +00:00
Martin Matuska
cfb6972898 - Update to 3.2.1 [1]
- Update maintainer e-mail address [2]

PR:		ports/145463
Submitted by:	myself [1], maintainer [2]
Approved by:	maintainer
2010-04-18 08:16:40 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Philip M. Gollucci
f2207a2a22 - The nagios documentation
(http://nagios.sourceforge.net/docs/3_0/faststartup.html) recommends,
for faster startup times, pre-caching the configuration file. This patch
adds a "nagios_precache" rcvar which controls using the pre-cache
startup method.

- also fix a trailing \

PR:             ports/139848
Submitted by:   kimo <kimor79@yahoo.com>
Approved by:    maintainer (Jarrod Sayers <jarrod@netleader.com.au>)
2010-01-08 01:19:53 +00:00
Martin Wilke
073a24e5ad - Remov empty patch
Reported by:	wen
2009-12-02 08:16:24 +00:00
Wen Heping
28f8b104b7 - Minor change of pkg-message.in
PR:		ports/141003
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	maintainer
2009-12-02 06:00:02 +00:00
Martin Wilke
af4bf391e6 - Update to 3.2.0
Changelog:
	http://www.nagios.org/development/history/core-3x

PR:		139210
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
Runtime test by:Frank Steinborn
2009-11-28 13:44:45 +00:00
Dmitry Marakasov
7914161a41 - Switch SourceForge ports to the new File Release System: categories starting with N 2009-08-22 00:32:25 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Wesley Shields
04221e0994 - Address command injection vulnerability
PR:		ports/136187
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
Security:	3ebd4cb5-657f-11de-883a-00e0815b8da8
2009-07-14 12:54:20 +00:00
Wesley Shields
ce03a68eef - Fix runtime problem with embedded perl.
- Mark as MAKE_JOBS_UNSAFE.
- Stop using DISTVERSION and use PORTVERSION in net-mgmt/nagios.

PR:		ports/134175
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2009-05-04 15:36:05 +00:00
Philip M. Gollucci
496112748c - Mark MAKE_JOBS_UNSAFE= yes
Approved by:    pav (via irc on #bsdports)
Tested on:      RideCharge TB, and P6 TB
2009-04-28 21:36:08 +00:00
Wesley Shields
e39ca14794 - Merge UNHANDLED_HACK option from net-mgmt/nagios-devel. This option
is off by default so do not bump PORTREVISION.

PR:		ports/132712
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2009-03-30 14:13:49 +00:00
Wesley Shields
dbd09e2500 Update to Nagios 3.0.6.
- Fix for CGI submission of external commands (writing newlines and
  submitting service comments)
- Fix for Apache group membership in RPM spec file
- Fix for improper notification propagation command processing
- Better out-of-disk-space error handling when writing retention and
  status files
- Disabled adaptive check and eventhandler commands for security reasons
- Fix for reading output from system commands (event handlers, etc) that
  have timed out
- Added wildcard host matching in CGIs
- Fixes for playing audio alerts in CGIs
- Fix for incorrect host status links in status CGI when viewing
  hostgroup summary
- Added support for x509 cert authentication in the CGIs

PR:		ports/129409
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2008-12-10 00:31:50 +00:00
Martin Wilke
169732a70b - Update to 3.0.5
PR:		128596
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2008-11-08 20:08:24 +00:00
Dmitry Marakasov
b978b6cd99 - Correct @dirrmtry's outside of %D
PR:		128407
Submitted by:	Jarrod Sayers <jarrod at netleader dot com dot au> (maintainer)
2008-10-29 13:39:12 +00:00
Martin Wilke
f86079326f - Update to 3.0.4
Note:
Included are updated suggestions from ports/128226. The correction to the ping
command has been extended into the online documentation and the -U option
removed as it's not supported. Also, the default for time_change_threshold is
set to that in include/nagios.h.

PR:		128306
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2008-10-24 14:22:49 +00:00
Philip M. Gollucci
23c844c03f - repocopy net-mgmt/nagios -> net-mgmt/nagios2
and connect net-mgmt/nagios2 to the build

- Move net-mgmt/nagios-devel -> net-mgmt/nagios
  (v3.0.3)

- Add note to UPDATING

o net-mgmt/nagios [3]
   SF Macro
   USE_RC_SUBR != yes (rename files/nagios.sh.in -> files/nagios.in)
   OPTIONS+= EVENT_BROKER [1]
   use @dirrmtry in pkg-plist

o net-mgmt/nagios12 [2]
   SF Macro
   USE_RC_SUBR != yes (files/nagios.sh.tmpl -> files/nagios.in)
   Conversion to pkg-install, pkg-deinstall, pkg-message
   use @dirrmtry in pkg-plist

o net-mgmt/nagios2 [4]
   SF Macro
   USE_RC_SUBR != yes (rename files/nagios.sh.in -> files/nagios.in)

PRs:    ports/126758 [4]
    ports/126761 [3]
    ports/126754 [2]
    ports/126684 [1]

Submitted by:   Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
Reworked by:    pgollucci - freebsd ports infrastructure changes
Reviewed by:    pgollucci
Approved by:    gabor (mentor)
2008-09-03 00:30:56 +00:00
Ade Lovett
771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00