diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-13 12:40:39 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-13 12:40:39 +0000 |
commit | 2a30862857023097e5d58ed244bff6ba9751b57e (patch) | |
tree | 102b811028ffc94b2e63c5467bcbf513cf01ed29 /openwrt/package/httping | |
parent | f45ed5f0b5cdba4aa0a47bd75e2773e696eeb0a0 (diff) |
Added httping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/httping')
-rw-r--r-- | openwrt/package/httping/Config.in | 11 | ||||
-rw-r--r-- | openwrt/package/httping/Makefile | 36 | ||||
-rw-r--r-- | openwrt/package/httping/ipkg/httping.control | 4 |
3 files changed, 51 insertions, 0 deletions
diff --git a/openwrt/package/httping/Config.in b/openwrt/package/httping/Config.in new file mode 100644 index 0000000000..a818905a0c --- /dev/null +++ b/openwrt/package/httping/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_HTTPING + prompt "httping........................... Httping is like 'ping' but for http-requests." + tristate + default m if CONFIG_DEVEL + help + Httping is like 'ping' but for http-requests. + Give it an url, and it'll show you how long it takes to connect, send a + request and retrieve the reply (only the headers). Be aware that the + transmission across the network also takes time! + + http://www.vanheusden.com/httping/ diff --git a/openwrt/package/httping/Makefile b/openwrt/package/httping/Makefile new file mode 100644 index 0000000000..aaab6ab6c6 --- /dev/null +++ b/openwrt/package/httping/Makefile @@ -0,0 +1,36 @@ +# $Id: Makefile 1146 2005-06-05 13:32:28Z florian $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=httping +PKG_VERSION:=1.0.10 +PKG_RELEASE:=1 +PKG_MD5SUM:=998b00b8babeb3196d28c20ad87d9c15 + +PKG_SOURCE_URL:=http://www.vanheusden.com/httping/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,HTTPING,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) + touch $@ + +$(IPKG_HTTPING): + mkdir -p $(IDIR_HTTPING)/usr/sbin + cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_HTTPING)/usr/sbin/ + $(STRIP) $(IDIR_HTTPING)/usr/sbin/* + $(IPKG_BUILD) $(IDIR_HTTPING) $(PACKAGE_DIR) + +mostlyclean: + $(MAKE) -C $(PKG_BUILD_DIR) clean + rm -f $(PKG_BUILD_DIR)/.built diff --git a/openwrt/package/httping/ipkg/httping.control b/openwrt/package/httping/ipkg/httping.control new file mode 100644 index 0000000000..5ab31d9621 --- /dev/null +++ b/openwrt/package/httping/ipkg/httping.control @@ -0,0 +1,4 @@ +Package: httping +Section: net +Priority: optional +Description: Httping is like 'ping' but for http-requests. |