Changeset 19072


Ignore:
Timestamp:
2010-01-08T01:12:00+01:00 (8 years ago)
Author:
jow
Message:

[packages] httping: update to v1.4.0 (#6461)

Location:
packages/net/httping
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/httping/Makefile

    r17621 r19072  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=httping 
    11 PKG_VERSION:=1.3.1 
     11PKG_VERSION:=1.4.0 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
    1515PKG_SOURCE_URL:=http://www.vanheusden.com/httping/ 
    16 PKG_MD5SUM:=fb742d577d3e7a8ea75cf97f7eb802f2 
     16PKG_MD5SUM:=d2bd46b12c6f2bcb5ec27bb44afd95b0 
     17 
     18PKG_INSTALL:=1 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
     
    3234endef 
    3335 
    34 define Build/Compile 
    35         $(call Build/Compile/Default, \ 
    36                 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ 
    37         ) 
    38 endef 
     36MAKE_FLAGS += \ 
     37        CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ 
    3938 
    4039define Package/httping/install 
    41         $(INSTALL_DIR) $(1)/usr/sbin 
    42         $(INSTALL_BIN) $(PKG_BUILD_DIR)/httping $(1)/usr/sbin/ 
     40        $(INSTALL_DIR) $(1)/usr/bin 
     41        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/httping $(1)/usr/bin/ 
    4342endef 
    4443 
  • packages/net/httping/patches/001-extra_flags.patch

    r17621 r19072  
    55 WFLAGS=-Wall -W 
    66 OFLAGS=-O2 
    7 -CFLAGS=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" 
    8 +CFLAGS=$(EXTRA_CFLAGS) $(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" 
     7-CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" 
     8+CFLAGS+=$(EXTRA_CFLAGS) $(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" 
    99  
    1010 PACKAGE=$(TARGET)-$(VERSION) 
  • packages/net/httping/patches/002-version.patch

    r17621 r19072  
    55 #include "error.h" 
    66  
    7 +#define VERSION "1.3.1" 
     7+#define VERSION "1.4.0" 
    88+ 
    99 static volatile int stop = 0; 
    1010  
    1111 int quiet = 0; 
    12 @@ -50,7 +52,7 @@ char last_error[ERROR_BUFFER_SIZE]; 
     12@@ -51,7 +53,7 @@ char last_error[ERROR_BUFFER_SIZE]; 
    1313  
    1414 void version(void) 
     
    1919        fprintf(stderr, "SSL support included\n"); 
    2020 #endif 
    21 @@ -449,7 +451,7 @@ int main(int argc, char *argv[]) 
     21@@ -524,7 +526,7 @@ int main(int argc, char *argv[]) 
    2222        if (useragent) 
    2323                sprintf(&request[strlen(request)], "User-Agent: %s\r\n", useragent); 
Note: See TracChangeset for help on using the changeset viewer.