From 096e6b8fbe5e2b71c66b2fa042bf64fec1a6213b Mon Sep 17 00:00:00 2001 From: Stephen Walker Date: Tue, 7 Jun 2011 01:41:49 +0000 Subject: [PATCH] bwping: update to 1.3, drop obsolete patch, use PKG_INSTALL SVN-Revision: 27119 --- net/bwping/Makefile | 9 ++++----- net/bwping/patches/100-getopt-returns-int.patch | 12 ------------ 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 net/bwping/patches/100-getopt-returns-int.patch diff --git a/net/bwping/Makefile b/net/bwping/Makefile index 9af660872..889b133a4 100644 --- a/net/bwping/Makefile +++ b/net/bwping/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bwping -PKG_VERSION:=1.2 +PKG_VERSION:=1.3 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/bwping -PKG_MD5SUM:=4c2215551df7f00de8559fd0cd1ff4db +PKG_MD5SUM:=a1207f47ad53b058cf0f3597401469f4 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -27,7 +27,6 @@ define Package/bwping endef define Package/bwping/description - BWPing BWPing is a bandwidth measurement tool based on ICMP echo request/reply. It is especially well suited for lossy links. BWPing does not not require any special software on the remote host (only @@ -36,7 +35,7 @@ endef define Package/bwping/install $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/sbin/ endef $(eval $(call BuildPackage,bwping)) diff --git a/net/bwping/patches/100-getopt-returns-int.patch b/net/bwping/patches/100-getopt-returns-int.patch deleted file mode 100644 index d0f3eb9a5..000000000 --- a/net/bwping/patches/100-getopt-returns-int.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN bwping-1.2.orig/bwping.c bwping-1.2/bwping.c ---- bwping-1.2.orig/bwping.c 2010-01-22 17:49:29.000000000 +0000 -+++ bwping-1.2/bwping.c 2010-12-07 12:30:26.000000000 +0000 -@@ -221,7 +221,7 @@ - unsigned int bufsize, tos, transmitted_number, received_number; - unsigned long int kbps, pktsize, volume, rperiod, received_volume; - unsigned long long int min_interval, interval, current_interval, integral_error; -- char ch; -+ int ch; - char *ep, *target; - fd_set fds; - struct sockaddr_in to; -- 2.30.2