Commit graph

54 commits

Author SHA1 Message Date
bouyer
af802aac94 From Edgar Fuß:
Make sure the configure script finds the ping or ping6 command on NetBSD, don't
rely on /sbin being in $path of the builder.
Not sure if similar change is needed for other $OPSYS.

Add a comment to patch-ad explaining why some plugins are disabled here.
2016-10-01 18:23:18 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
2000de6dd8 Use OPSYSVARS. 2016-02-25 16:20:49 +00:00
bouyer
5209d0e553 Add user-destdir support 2016-02-09 10:13:17 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
rodent
619e8a3ba5 Unclobber my previous patch some revisions ago which fixed the build on
FreeBSD. Resolves PR #49703.
2015-04-13 03:59:40 +00:00
rodent
2c917461c6 Updated to 2.0.3. The NEWS is almost 3000 lines and interested parties may
find it here: https://github.com/nagios-plugins/nagios-plugins/blob/master/NEWS
For pkgsrc, the changes aren't very interesting. Upstream applied a lot of
the patches we had, notably integrating IDE S.M.A.R.T. plugin support for
NetBSD.
2015-04-03 17:50:27 +00:00
tnn
6abae0b0cf PR pkg/49703: FreeBSD build fix (struct statvfs does not have f_fstypename) 2015-02-27 20:14:07 +00:00
taca
fda048afe9 Depends on bind910 instead of old bind96.
Bump PKGREVISION.
2015-02-19 14:45:03 +00:00
fhajny
646b7c1176 Do not detect apt-get (just in case there's something there under the name). 2014-06-12 15:36:33 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
manu
85f93decbb Bugfix from upstream: do not send error when value is just on limit
https://bugzilla.redhat.com/show_bug.cgi?id=913085
2013-08-28 12:14:49 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
ryoon
54a62ad422 nagios-plugins is used by icinga-base too. 2013-03-02 04:10:28 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
manu
5f508cbe8c Add NetBSD support in check_ide_smart
Patch submitted upstream, but without much success
2013-01-19 09:59:12 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
fhajny
4fa6bbafd4 Fix build on SunOS:
- Add pst3 to PLIST.
- Make sure dig/nslookup are found on SunOS.
- Use MACHINE_ARCH to avoid 64bit builds with ABI=32 on SunOS.
- Disable large file support on SunOS and ABI=32 (fixes swap plugin).
2012-07-25 12:01:54 +00:00
marino
2fa0b66981 net/nagios-plugins: Fix unwanted directory removal
Currently it's possible to install Nagios plugins independently of
net/nagios-base.  However, the directories that the plugins install
into are created and owned by net/nagios-base, so it has to be
installed first to avoid unwanted directory removal when the only
plugin is deinstalled.
2012-05-24 15:20:25 +00:00
sbd
c4b80deb84 net/bind is need on any platform that doesn't have dig or nslookup. 2012-01-16 22:09:59 +00:00
bouyer
5c44be6bad Update nagios-base to 3.3.1, fixig CVE-2011-1523 and CVE-2011-2179.
Changes since 3.2.3:
ENHANCEMENTS

    * Added support for same host service dependencies with servicegroups (Mathieu Gagné)
    * Empty hostgroups referenced from services now optionally generate a warning instead of an error.
    * Documentation links now point to online resources
    * Matt Wall's Exfoliation theme is now installed by default. You can reinstall the classic theme with "make install-classicui"
    * Downtime delete commands made "distributable" by deleting by host group name, host name or start time/comment (Opsview team)
    * Allow status.cgi to order by "host urgency" (Jochen Bern)
    * Added news items and quick links to main splash page
    * Added ability to authenticate to CGIs using contactgroup name (Stephen Gran)


FIXES

    * Fixes status.cgi when called with no parameters, where host should be set to all if none specified (Michael Friedrich)
    * Fixes possible validation error with empty hostgroups/servicegroups (Sven-Göran Bergh)
    * Performance-data handling and checking is now thread-safe so long as embedded perl is not used.
    * Children should no longer hang on mutex locks held in parent for localtime() (and similar) calls.
    * Debug logging is now properly serialized, using soft-locking with a timeout of 150 milliseconds to avoid multiple threads competing for the privilege to write debug info.
    * Fixed extraneous alerts for services when host is down
    * Fixed incorrect parsing of multi-line host check results (Jochen Bern)
    * Fixed bug with passive host checks being incorrectly sent to event brokers as active checks
    * Fixed bug where passive host check status updates were not being propagated to event brokers
    * Reverted 'Fix for retaining host display name and alias, as well as service display name' as configuration information stored incorrectly over a reload
    * Fixed compile warnings for size_t (Michael Friedrich)
    * Fixed problem where acknowledgements were getting reset when a hard state change occurred
    * Removed duplicated unlinks for check result files with multiple results
    * Fixed race condition on flexible downtime commands when duration not set or zero (Michael Friedrich)
    * Fixed flexible downtime on service hard state change doesn't get triggered/activated (Michael Friedrich)
    * Fixed XSS vulnerability in config.cgi and statusmap.cgi (Stefan Schurtz)
    * Fixed segfault when sending host notifications (Michael Friedrich)
    * Fixed bug where unauthorized contacts could issue hostgroup and servicegroup commands (Sven Nierlein)
2011-08-02 14:03:18 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
morr
7531483ace Update to nagios-plugins 1.4.15.
This release contains several enhancements, including rate calculation in check_snmp. There are also lots of bug fixes.
* New check_ntp_peer -m and -n options to check the number of usable time sources ("truechimers")
* New check_disk_smb -a option which allows for specifying the IP address of the remote server
2011-04-08 22:56:12 +00:00
shattered
a01f007099 Remove patch hunks that disable --recheck in GNU configure scripts.
These were generated, apparently, by mk/configure/gnu-configure.mk
(configure-scripts-override target).
2011-01-25 22:22:13 +00:00
obache
ee8b552a07 * Add dependency on bind for dig and nslookup, bind had been removed from
DragonFly base.
* check_dhcp also installed as suid root. while here use ${SETUID_ROOT_PERMS}.
* marked as DESTDIR ready (not user-destdir, for the previous reason).

Bump PKGREVISION.
2010-12-27 08:01:47 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
bouyer
c38d443320 Update nagios plugins to 1.4.14. Changes since 1.4.13:
This is a bug fix release, which includes some important fixes to --extra-opts (a way of specifying command line options within files).
* check_http has options to specify the HTTP method (#2155152)
* check_users thresholds were not working exactly as documented (>= rather
  than >)
2009-12-15 18:59:54 +00:00
snj
08046a3769 As noted by Thierry Lacoste in PR pkg/42251, NAGIOS_GROUP was used on the
right side of an assignment.  Change this to ${NAGIOS_GROUP} so that the
group is created properly.  Bump PKGREVISION to 2.
2009-11-15 04:47:41 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
gdt
acffb4513c Set PKG_GROUPS. 2009-05-26 13:32:29 +00:00
tonnerre
94f65d3944 Drop maintainershit of the Nagios packages. I cannot maintain a package
containing PHP code in good conscience.
2009-04-11 17:24:00 +00:00
bouyer
bd9341f349 Update nagios-plugins and nagios-plugin-{ldap,pgsql,mysql,radius,snmp}
to 1.4.13. Approved by tonnerre@

main CHANGES since 1.4.11:
- lots of bug fixes
- Added ./check_nt -v INSTANCES to count number of instances (Alessandro Ren)
- New check_icmp -s option to specify the source IP address
- check_dns now sorts addresses for testing results for more than one
  returned IP (Matthias Urlichs)
- check_disk should now work with large file systems (2TB+) on all archs
  that supports it
- check_ntp_peer now checks for the LI_ALARM flag
- check_procs now accepts --ereg-argument-array for a regular expression
  match to the argument array
- check_dig can now pass arguments to dig by using -A/--dig-arguments
- check_dns now allow to repeat -a to match multiple possibly returned address
  (common with load balancers)
- check_mysql and check_radius now try clearing password in processlist
  just like check_mysql_query
- check_mysql and check_mysql_query now support sockets explicitely
  (-s, --socket)
- negate now has the ability to replace the status text as well
  (-s, --substitute)
- Added performance data to check_ping (Christian Schneemann)
- On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse
  (result from command) instead of always UNKNOWN.
- check_dig now returns CRITICAL instead of WARNING when no answer section
  is found
- check_procs now captures stderr in external command and adds to plugin output
- check_snmp now only prints perfdata for non numeric values (#1867716)
- check_icmp now supports packet size modification
- check_http -e now accepts a comma-delimited list of expected status
  codes (Sven Nierlein)
- check_ntp_peer/check_ntp_time used to show port in --help but ignored
  the argument - now implemented
2009-03-24 19:54:53 +00:00
shattered
9d30b0a3c2 Unbreak build on Linux -- there's a Linux-specific plugin (check_ide_smart).
OK by wiz@.
2009-01-13 17:11:33 +00:00
tonnerre
3c082a0693 Remove some broken malloc logic from the nagios-plugins library.
Discovered and patch provided by Wolfgang Solfrank.
2008-06-08 14:08:47 +00:00
tonnerre
db316b2926 Update the nagios-plugins package to version 1.4.11. This fixes various
crashes on various architectures and system, such as, for example,
the check_icmp bus error on sparc64.

Changes in 1.4.4:
 - check_ntp is now written in C instead of Perl.
 - check_disk bugfixes.
 - check_udp2, check_udp and check_tcp are now united.
 - check_mailq now reports mailq errors better.
 - check_snmp now compiles with a sane amount of effort.

Changes in 1.4.5:
 - Fixed bug in perl's is_hostname routine.

Changes in 1.4.6:
 - check_ping and netutils.c now do less DNS lookups.
 - alloca.h related compile fixes.
 - check_swap now works on Solaris too.
 - check_disk perf data can now be monitored.
 - check_procs had a buffer overflow.
 - Fixed UNIX socket error handling.
 - check_by_ssh now can pass -q and -o to ssh.
 - GNUlib sync.
 - check_jabber can now return things different from a warning.

Changes in 1.4.7:
 - check_procs uses /usr/ucb/ps on Solaris which fixes pst3 problems.
 - check_smtp does a non-broken HELO now.
 - check_icmp can now have a minimum number of required hosts and also
   works if running for a long time on BSDs.
 - check_ping timeout reduced.
 - Everybody can now execute SUID check plugins unless indicated otherwise
   to configure.

Changes in 1.4.8:
 - check_disk now has an extra option for regex matching and grouping of FSes.
 - check_ntp various fixes.

Changes in 1.4.9:
 - New plugin check_cluster (not built by pkgsrc).
 - check_by_ssh now has improved stderr/stdout handling options (-E/-S).
 - check_ldap, check_radius and check_pgsql compile fixes.
 - check_snmp 64-bit counter support.
 - Better underflow checking for check_time.
 - check_http output is more consistent now.
 - check_http HTTP redirect segfault fixes.
 - check_tcp doesn't segfault anymore when multiple expect strings are given.
 - check_tcp now supports -A to check if all expect strings match.

Changes in 1.4.10:
 - check_http redirect buffer overflow vulnerability fixed (was fixed
   in pkgsrc before).
 - check_http now shuts down HTTP/1.1 keepalive connections cleanly.
 - check_ldaps doesn't guess anymore whether to use SSL or STARTTLS.
 - check_disk now calls stat on all file systems.
 - check_disk now supports the -L flag for local file system checks.
 - check_disk now supports -i/-I for ignoring paths/partitions by regex.
 - check_disk now supports -A to select all file systems explicitly.
 - check_disk now needs to have the -E flag passed before -p or -r/-R.
 - check_disk is no longer buggy when case sensitive and insensitive regexes
   are mixed.
 - check_dhcp now supports -u (unicast) to emulate a relay.
 - check_dhcp now lets you specify the MAC address in the request using -m.
 - check_dhcp -r and -s options now accept host names.
 - check_icmp no longer bus errors on various platforms.
 - check_smtp now handles multiple-packet server responses properly.
 - Negate command line options are no longer evaluated twice by the shell.
 - Negate commands to be run must now be fully qualified.
 - Negate can now remap custom states.
 - check_radius now supports radius-client-ng (was already in pkgsrc).
 - check_by_ssh now supports multiline output.
 - check_ntp now honors ntp flags.

Changes in 1.4.10:
 - check_ntp returns UNKNOWN rather than WARNING if no jitter is available.
 - check_cluster now accept all valid characters in its thresholds.
 - check_ntp is now deprecated in favor of check_ntp_peer and check_ntp_time.
 - check_disk no longer reports OK if disk usage exceeds 100%.
 - check_load handles non-triplet arguments correctly now.
 - Nagios::Plugin updated to 0.22.
2008-05-27 21:22:02 +00:00
tonnerre
c819ef0393 Location header buffer overflow fix for nagios-plugins-1.4.3
check_http (CVE-2007-5198)
Approved-by: gdt
2008-03-22 14:52:21 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
rillig
3f207e6309 Solaris needs -lm. 2007-11-29 10:03:19 +00:00
seb
1875a27324 - Install PREFIX/libexec/nagios/check_icmp set-user-id root and executable
by NAGIOS_GROUP.
- Bump PKGREVISION to 3
2007-11-26 22:14:27 +00:00
grant
3525ec4472 fix the largefile problem in a different way, since swapctl doesn't
work on Solaris when largefile support is enabled.
2007-03-30 05:52:37 +00:00
grant
a772b1bdb1 add required CPPFLAGS to enable largefile support on Solaris. 2007-03-30 02:37:11 +00:00
grant
711a0597ab remove unneeded dependency on nagios-base.
bump PKGREVISION.
2007-03-25 12:48:46 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
rillig
7fe469912d Perl is needed at run time. PKGREVISION++ 2006-10-20 08:54:44 +00:00
seb
ab3cb42775 Fixed "test ==".
While here remove obsolete patch files which had not been cvs removed
until now.
2006-10-16 05:29:40 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
wiz
0a3d7beb65 Set MASTER_SITES in Makefile.common, for the benefit of nagios-plugin-*. 2006-08-23 18:45:31 +00:00