Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
Move LDFLAGS+=-lm option to the end.
|
||||
The order of the math library directive '-lm' matters.
|
||||
|
||||
Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
|
||||
---
|
||||
diff -Nurp httping-2.3.4_orig/Makefile httping-2.3.4/Makefile
|
||||
--- httping-2.3.4_orig/Makefile 2014-07-23 16:16:36.495546288 +0530
|
||||
+++ httping-2.3.4/Makefile 2014-07-23 16:18:42.547541002 +0530
|
||||
@@ -37,7 +37,6 @@ DEBUG=yes
|
||||
WFLAGS=-Wall -W
|
||||
OFLAGS=
|
||||
CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
|
||||
-LDFLAGS+=-lm
|
||||
|
||||
PACKAGE=$(TARGET)-$(VERSION)
|
||||
PREFIX?=/usr
|
||||
@@ -97,6 +96,8 @@ ifeq ($(ARM),yes)
|
||||
CC=arm-linux-gcc
|
||||
endif
|
||||
|
||||
+LDFLAGS+=-lm
|
||||
+
|
||||
all: $(TARGET) $(TRANSLATIONS)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
22
deprecated/firmware/buildroot/package/httping/Config.in
Normal file
22
deprecated/firmware/buildroot/package/httping/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
comment "httping needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_HTTPING
|
||||
bool "httping"
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
|
||||
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!
|
||||
So it measures the latency of the webserver + network.
|
||||
|
||||
http://www.vanheusden.com/httping/
|
||||
|
||||
if BR2_PACKAGE_HTTPING
|
||||
|
||||
config BR2_PACKAGE_HTTPING_TFO
|
||||
bool "TCP Fast Open (TFO) support"
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084 httping-2.4.tgz
|
||||
36
deprecated/firmware/buildroot/package/httping/httping.mk
Normal file
36
deprecated/firmware/buildroot/package/httping/httping.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# httping
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HTTPING_VERSION = 2.4
|
||||
HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz
|
||||
HTTPING_SITE = http://www.vanheusden.com/httping
|
||||
HTTPING_LICENSE = GPLv2
|
||||
HTTPING_LICENSE_FILES = license.txt
|
||||
HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \
|
||||
$(if $(BR2_NEEDS_GETTEXT),-lintl) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),-liconv)
|
||||
HTTPING_DEPENDENCIES = host-gettext \
|
||||
$(if $(BR2_NEEDS_GETTEXT),gettext) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
$(if $(BR2_PACKAGE_NCURSES_WCHAR),ncurses) \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_FFTW),fftw)
|
||||
HTTPING_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \
|
||||
FW=$(if $(BR2_PACKAGE_FFTW),yes,no) \
|
||||
NC=$(if $(BR2_PACKAGE_NCURSES_WCHAR),yes,no) \
|
||||
SSL=$(if $(BR2_PACKAGE_OPENSSL),yes,no) \
|
||||
TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no)
|
||||
|
||||
define HTTPING_BUILD_CMDS
|
||||
$(HTTPING_MAKE_OPTS) LDFLAGS="$(HTTPING_LDFLAGS)" \
|
||||
$(MAKE) DEBUG=no -C $(@D)
|
||||
endef
|
||||
|
||||
define HTTPING_INSTALL_TARGET_CMDS
|
||||
$(HTTPING_MAKE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user