From: Nicolas Thill Date: Sun, 4 Oct 2009 13:12:36 +0000 (+0000) Subject: nagios-plugins: fix segfault in check_ping command (closes: #5015) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2ebb7c7447a98d4b60b291bc4cd8cda7ddd3f917;p=openwrt%2Fsvn-archive%2Fpackages.git nagios-plugins: fix segfault in check_ping command (closes: #5015) SVN-Revision: 17851 --- diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile index 5ef65c714..7f7645298 100644 --- a/net/nagios-plugins/Makefile +++ b/net/nagios-plugins/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nagios-plugins PKG_VERSION:=1.4.12 -PKG_RELEASE:=1 +PKG_RELEASE:=1.2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/nagiosplug @@ -32,7 +32,8 @@ endef CONFIGURE_ARGS += \ --without-mysql \ --with-openssl="$(STAGING_DIR)/usr" \ - --with-ping-command="/bin/ping -c %d %s" \ + --with-ping-command="/bin/ping -w %d -c %d %s" \ + --with-ping6-command="/bin/ping6 -w %d -c %d %s" \ --with-ps-command="/bin/ps -Aopid" \ --with-ps-cols="6" \ --with-ps-format="%d %s %d %s %s %n" \