From 7f1969a3eda0aa449d6749e24e35d5c5f8b9b987 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 4 Oct 2009 13:12:36 +0000 Subject: [PATCH] [packages] nagios-plugins: fix segfault in check_ping command (closes: #5015) SVN-Revision: 17851 --- net/nagios-plugins/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile index 56e72cdb0a..e39320058f 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. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nagios-plugins PKG_VERSION:=1.4.12 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/nagiosplug @@ -31,7 +31,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" \ -- 2.30.2