Commit graph

104 commits

Author SHA1 Message Date
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
Wesley Shields
e27bc7a35e Update to 2.12.
Minor bug fixes and an XSS fix (security).

PR:		ports/123893
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
Approved by:	garga (mentor, implicit)
Security:	http://www.vuxml.org/freebsd/fbd7aa81-2cc1-11dd-8cfb-00e0815b8da8.html
2008-05-28 22:34:24 +00:00
Rong-En Fan
7371ee9d20 - Update to 2.11 [1]
- Fix wrong mail program path in sample config file [2]

PR:		ports/121866 [1], ports/120320 [2]
Submitted by:	Jarrod Sayers <jarrod at netleader.com.au> (maintainer) [1]
2008-03-22 12:03:26 +00:00
Pav Lucistnik
9fc1c4fe89 - Remove USE_GETOPT_LONG which is a no-op since March 2007 2008-03-20 09:56:52 +00:00
Wesley Shields
4273708f0d Link with libthr when available. This should fix the CPU consumption
problem.

PR:		ports/120150 ports/119766
Submitted by:	jarrod@netleader.com.au bernd.kuhlen@wetteronline.de
Approved by:	maintainer (implicit) garga (mentor)
2008-02-04 19:57:24 +00:00
Martin Wilke
0f9f2d223f - Update to 2.10
PR:		117742
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-12-12 13:57:53 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Mark Linimon
9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Martin Wilke
89e1c2791d - Update to 2.9
Changelog:
- Fix for incorrect performance data file write/append mode options
- Fix for current status of hosts with no host check command defined
- SIGSEGV signals should now be logged again (broken in 2.8)
- Configure script fix for no mail program found/installed on system
- Configure script option bug fixes for cygwin and embedded perl
- Command definitions and host/service plugin perfdata with HTML should now be
  escaped in CGIs
- Patch for incorrect time down percentage in availability CGI
- Updated init script to fix a race condition during restarts

PR:		111505
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-04-15 18:55:26 +00:00
Rong-En Fan
4c6bb71802 - Use registered UID and GID. See UPDATING for migration.
PR:		ports/111345
Submitted by:	Jarrod Sayers <jarrod at netleader.com.au> (maintainer)
2007-04-07 14:25:48 +00:00
Martin Wilke
0bb055df81 Update to Nagios 2.8:
- Bug fix for calculating notification interval with service escalations
- Bug fix for using servicegroups in service dependency definitions
- Bug fix for bad date format submission in command CGI
- Possible segfault fix during restarts when daemon was performing host checks
- Fix for missing check timeout in event broker calls
- Fix for handling signals under NPTL
- Added error messages for passive service checks that don't correspond to a
  defined service

PR:             110262
Submitted by:   Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-03-13 13:27:13 +00:00
Pav Lucistnik
1e277ab80c - Update to 2.7
- Change examples to read freebsd-server instead of linux-server

PR:		ports/108417
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-01-28 00:31:19 +00:00
Martin Wilke
10e70c4c1b - Update to 2.6
PR:		ports/106502
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-12-09 09:12:24 +00:00
Renato Botelho
5271cfccd2 Update to 2.5
PR:		ports/100373
Submitted by:	maintainer
2006-07-18 11:16:48 +00:00
Erwin Lansing
0f74198d8c Update to 2.4
PR:		98413
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-06-04 16:39:50 +00:00
Sam Lawrance
100457e3fe Update to 2.3.1.
PR:		ports/97328
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-05-27 02:27:13 +00:00
Marcus Alves Grando
61e69a3c02 - Update to 2.3
- portlint(1)

PR:		96843
Submitted by:	maintainer
2006-05-06 23:37:02 +00:00
Pav Lucistnik
82b112b8d6 - Update to 2.2
PR:		ports/95739
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-04-15 16:13:47 +00:00
Dmitry Sivachenko
334811d5ef Update to 2.0 release.
PR:		93084
Submitted by:	maintainer
2006-02-10 09:49:06 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Tim Bishop
e9fc35504f Update to nagios-2.0.r2 includes:
- Added SHA256 checksum to distinfo
- Added reload argument to nagios.sh script
- PERL_SYS_INIT3 fix now committed to Nagios CVS, patch redundant
- Removed duplicated etc/rc.d/nagios.sh from pkg-plist

PR:		91892
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-01-17 10:39:58 +00:00
Sergey Matveychuk
f0d5f8718a Recent changes to the default installation path of the net-mgmt/nagios port
may result in logos being incorrectly searched for by lingering definition
of physical_html_path in cgi.cfg.  A note about this and where to check for
correct value mentioned in pkg-message.

Kudos to Kristof Meers <kristof.meers@psy.kuleuven.be> for alerting me to the
problem.

PR:		ports/91592
Submitted by:	maintainer
2006-01-10 18:56:39 +00:00
Edwin Groothuis
fa8a699877 [maintainer-update] net-mgmt/nagios: Update to 2.0.r1
Update to 2.0.r1 also includes:
- Rewrite of port Makefile, options closer aligned in order to bsd.port.mk
- Added dependency of libiconv (library required by CGI's, currently installed
  via nagios-plugins port)
- Added support for embedded Perl interpreter (requires Perl 5.8+), caching
  automatically assumed if enabled, off by default
- Added support for use of nanosleep() in event timings, off by default
- Added ability to override default view at http://webserver/nagios/ URL,
  suggested values listed in Makefile (validity after future Nagios releases
  not guaranteed)
- Default install location for web component moved to www/nagios, overridable
  using existing NAGIOSWWWDIR tunable
- Corrected minor build issues by tweaking use of CFLAGS
- Moved pkg-install, pkg-deinstall and pkg-message into SUB_FILES
- Added configuration file tunable (nagios_configfile) for /etc/rc.conf
- Configuration tests now show error on failure instead of command to run
- Host status (status.sav) now saved across application starts and restarts
- Added patch to correct PERL_SYS_INIT3 call in base/utils.c, patch
  supplied and tested by Karl Friesen <krf@splip.com>, thanks!
- Added Apache configuration suggestion in pkg-message for new installs

Files changed:
- ports/net-mgmt/nagios/Makefile
- ports/net-mgmt/nagios/distinfo
- ports/net-mgmt/nagios/files/patch-Makefile.in
- ports/net-mgmt/nagios/pkg-plist

Files created:
- ports/net-mgmt/nagios/files/nagios.sh.in
- ports/net-mgmt/nagios/files/patch-base-utils.c
- ports/net-mgmt/nagios/files/patch-contrib-Makefile.in
- ports/net-mgmt/nagios/files/pkg-deinstall.in
- ports/net-mgmt/nagios/files/pkg-install.in
- ports/net-mgmt/nagios/files/pkg-message.in

Files to be removed:
- ports/net-mgmt/nagios/files/DEINSTALL.tmpl
- ports/net-mgmt/nagios/files/INSTALL.tmpl
- ports/net-mgmt/nagios/files/MESSAGE.tmpl
- ports/net-mgmt/nagios/files/nagios.sh.tmpl

PR:		ports/91499
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
2006-01-09 00:54:01 +00:00