1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
Commit Graph

134 Commits

Author SHA1 Message Date
Mathieu Arnold
1b6a0aa634 Fix a segfault when using livestatus, downtime and logrotate.
Issue:		http://tracker.nagios.org/view.php?id=455
Sponsored by:	Absolight
2014-04-18 08:54:01 +00:00
Mathieu Arnold
cc30f48479 Use @sample for my port, cleanup an etc/PORTNAME into ETCDIR.
Sponsored by:	Absolight
2014-04-12 19:23:10 +00:00
Mathieu Arnold
11e1e53534 Pet portscout.
Sponsored by:	Absolight
2014-03-04 18:08:56 +00:00
Mathieu Arnold
0253032ea5 Add nagios4, the next version of the nagios monitoring system.
While there, garbage collect the UID/GID in nagios.

Sponsored by:	Absolight
2014-01-24 23:24:53 +00:00
Mathieu Arnold
121dea5a9c * Add a patch from upstream fixing a cgi vulnerability[1]
* Cleanup COMMENT
* Rename patches to follow make makepatch naming
* Incorporate a sed into already patched files.

Poked by:	ohauer [1]
Security:	CVE-2013-7108 CVE-2013-7205
2014-01-14 14:23:36 +00:00
Mathieu Arnold
22e13304f8 Take that, will work on the main issue today. 2014-01-14 09:43:24 +00:00
Dmitry Sivachenko
152a0456ac Drop maintainership, I have no enoght time now. 2014-01-14 06:20:37 +00:00
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