Changeset 30097
- Timestamp:
- 2012-02-04T21:00:32+01:00 (6 years ago)
- Location:
- branches/packages_10.03.2/net/httping
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/packages_10.03.2/net/httping/Makefile
r22392 r30097 1 1 # 2 # Copyright (C) 2006-201 0OpenWrt.org2 # Copyright (C) 2006-2011 OpenWrt.org 3 3 # 4 4 # This is free software, licensed under the GNU General Public License v2. … … 9 9 10 10 PKG_NAME:=httping 11 PKG_VERSION:=1. 4.411 PKG_VERSION:=1.5.2 12 12 PKG_RELEASE:=1 13 13 14 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 15 15 PKG_SOURCE_URL:=http://www.vanheusden.com/httping 16 PKG_MD5SUM:= e36bb30bd758c766d7260bdde6fe645016 PKG_MD5SUM:=49f72b124afb8a60f152ec674a162ad6 17 17 18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 18 19 PKG_INSTALL:=1 19 20 20 21 include $(INCLUDE_DIR)/package.mk 21 22 22 define Package/httping 23 define Package/httping/Default 23 24 SECTION:=net 24 25 CATEGORY:=Network 25 DEPENDS:=+libopenssl26 26 TITLE:=Httping is like 'ping' but for http-requests 27 27 URL:=http://www.vanheusden.com/httping/ 28 28 endef 29 29 30 define Package/httping/ description30 define Package/httping/Default/description 31 31 Give it an url, and it'll show you how long it takes to connect, send a 32 32 request and retrieve the reply (only the headers). Be aware that the … … 34 34 endef 35 35 36 define Package/httping 37 $(call Package/httping/Default) 38 DEPENDS+= +libopenssl 39 TITLE+= (with SSL support) 40 VARIANT:=ssl 41 endef 42 43 define Package/httping/description 44 $(call Package/httping/Default/description) 45 This package is built with SSL support. 46 endef 47 48 define Package/httping-nossl 49 $(call Package/httping/Default) 50 TITLE+= (without SSL support) 51 VARIANT:=nossl 52 endef 53 54 define Package/httping-nossl/description 55 $(call Package/httping/Default/description) 56 This package is built without SSL support. 57 endef 58 36 59 MAKE_FLAGS += \ 37 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ 60 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" 61 62 ifeq ($(BUILD_VARIANT),nossl) 63 MAKE_FLAGS += \ 64 SSL="no" \ 65 CFLAGS+="-DNO_SSL" 66 endif 38 67 39 68 define Package/httping/install … … 42 71 endef 43 72 73 Package/httping-nossl/install = $(Package/httping/install) 74 44 75 $(eval $(call BuildPackage,httping)) 76 $(eval $(call BuildPackage,httping-nossl)) -
branches/packages_10.03.2/net/httping/patches/002-version.patch
r22392 r30097 5 5 #include "error.h" 6 6 7 +#define VERSION "1. 4.4"7 +#define VERSION "1.5.2" 8 8 + 9 9 static volatile int stop = 0; … … 14 14 void version(void) 15 15 { 16 - fprintf(stderr, "HTTPing v" VERSION ", (C) 2003-201 0folkert@vanheusden.com\n");17 + fprintf(stderr, "HTTPing v%s (C) 2003-201 0folkert@vanheusden.com\n", VERSION);16 - fprintf(stderr, "HTTPing v" VERSION ", (C) 2003-2011 folkert@vanheusden.com\n"); 17 + fprintf(stderr, "HTTPing v%s (C) 2003-2011 folkert@vanheusden.com\n", VERSION); 18 18 #ifndef NO_SSL 19 19 fprintf(stderr, "SSL support included\n"); 20 20 #endif 21 @@ -6 06,7 +608,7 @@ int main(int argc, char *argv[])21 @@ -639,7 +641,7 @@ int main(int argc, char *argv[]) 22 22 if (useragent) 23 23 sprintf(&request[strlen(request)], "User-Agent: %s\r\n", useragent);
Note: See TracChangeset
for help on using the changeset viewer.