include $(TOPDIR)/rules.mk
PKG_NAME:=httping
-PKG_VERSION:=1.3.0
+PKG_VERSION:=1.3.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.vanheusden.com/httping/
-PKG_MD5SUM:=41c912a9ecc904e51d7260053fc2195c
+PKG_MD5SUM:=fb742d577d3e7a8ea75cf97f7eb802f2
include $(INCLUDE_DIR)/package.mk
--- a/Makefile
+++ b/Makefile
-@@ -15,8 +15,8 @@
- include version
+@@ -18,7 +18,7 @@ TARGET=httping
- DEBUG=-g # -D_DEBUG
--LDFLAGS+=-lssl -lcrypto $(DEBUG)
--CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
-+LDFLAGS+=$(EXTRA_LDFLAGS) -lssl -lcrypto $(DEBUG)
-+CFLAGS+=$(EXTRA_CFLAGS) -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
+ WFLAGS=-Wall -W
+ OFLAGS=-O2
+-CFLAGS=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
++CFLAGS=$(EXTRA_CFLAGS) $(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
- OBJS=mem.o http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o
+ PACKAGE=$(TARGET)-$(VERSION)
+ PREFIX=/usr
+@@ -47,7 +47,7 @@ ifeq ($(SSL),no)
+ CFLAGS+=-DNO_SSL
+ else
+ OBJS+=mssl.o
+-LDFLAGS+=-lssl -lcrypto
++LDFLAGS+=$(EXTRA_LDFLAGS) -lssl -lcrypto
+ endif
+ ifeq ($(DEBUG),yes)
#include "utils.h"
#include "error.h"
-+#define VERSION "1.3.0"
++#define VERSION "1.3.1"
+
static volatile int stop = 0;
void version(void)
{
-- fprintf(stderr, "HTTPing v" VERSION ", (C) 2003-2008 folkert@vanheusden.com\n");
-+ fprintf(stderr, "HTTPing v%s (C) 2003-2008 folkert@vanheusden.com\n", VERSION);
+- fprintf(stderr, "HTTPing v" VERSION ", (C) 2003-2009 folkert@vanheusden.com\n");
++ fprintf(stderr, "HTTPing v%s (C) 2003-2009 folkert@vanheusden.com\n", VERSION);
#ifndef NO_SSL
fprintf(stderr, "SSL support included\n");
#endif
-@@ -444,7 +446,7 @@ int main(int argc, char *argv[])
+@@ -449,7 +451,7 @@ int main(int argc, char *argv[])
if (useragent)
sprintf(&request[strlen(request)], "User-Agent: %s\r\n", useragent);
else