include $(TOPDIR)/rules.mk
PKG_NAME:=httping
-PKG_VERSION:=1.2.6
+PKG_VERSION:=1.3.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.vanheusden.com/httping/
-PKG_MD5SUM:=2fa68b95d190a9e101232792df49e1ad
+PKG_MD5SUM:=41c912a9ecc904e51d7260053fc2195c
include $(INCLUDE_DIR)/package.mk
)
endef
-define Package/httping/install
+define Package/httping/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/httping $(1)/usr/sbin/
endef
#include "utils.h"
#include "error.h"
-+#define VERSION "1.2.6"
++#define VERSION "1.3.0"
+
static volatile int stop = 0;
int quiet = 0;
-@@ -50,7 +52,7 @@
+@@ -50,7 +52,7 @@ char last_error[ERROR_BUFFER_SIZE];
void version(void)
{
#ifndef NO_SSL
fprintf(stderr, "SSL support included\n");
#endif
-@@ -425,7 +427,7 @@
+@@ -444,7 +446,7 @@ int main(int argc, char *argv[])
if (useragent)
sprintf(&request[strlen(request)], "User-Agent: %s\r\n", useragent);
else