Commit Graph

17 Commits

Author SHA1 Message Date
Thomas De Schampheleire
0518a98ac3 packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTS
While the autotools infrastructure was using FOO_MAKE_OPT, generic packages
were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem
when a new infrastructure is introduced that wants to make use of
FOO_MAKE_OPT(S), and can live alongside either generic-package or
autotools-package. The new infrastructure will have to choose between either
OPT or OPTS, and thus rule out transparent usage by respectively generic
packages or generic packages. An example of such an infrastructure is
kconfig-package, which provides kconfig-related make targets.

The OPTS variant is more logical, as there are typically multiple options.

This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS.
Sed command used:
    find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 15:07:23 +02:00
Gustavo Zacarias
d478956719 httping: enable ncurses support
Enable automatic ncurses support now that we've got wide support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-17 23:19:59 +02:00
Yuvaraj Patil
8793ddcd6f httping: fix math library linking
Add the math library directive '-lm' to linker options at the end.
The order of the math library directive '-lm' matters.

Fixes:

  http://autobuild.buildroot.net/results/843/84382290696e72c23995f5ed020ad5c157817012/

Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-29 20:43:09 +02:00
Peter Korsgaard
76bd097b40 httping: fix static linking when libintl+libiconv are enabled
Fixes http://autobuild.buildroot.net/results/365/365d6be787c5560aa1daa28065668261e1171d24/

If libiconv is enabled, libintl will contain references to it, so we need to
explicitly link against it when statically linking against libintl.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-23 12:39:35 +02:00
Ezequiel Garcia
069c26e5c2 httping: Fix a trivial typo in the menu
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-07 21:53:58 +02:00
Gustavo Zacarias
0bf78b830b httping: needs host-gettext
For msgfmt, fixes:
http://autobuild.buildroot.net/results/9ce/9ce9b4c52a7e0d0159b5b4b9835b9e3e7f8b2a08/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-16 21:24:27 +01:00
Gustavo Zacarias
1ea6d85089 httping: disable ncurses support
The new version requires ncursesw support so disable it until we've got
support for it. Fixes:
http://autobuild.buildroot.net/results/588/58840df1254034bf77cde3935fd900d1da13de56/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-12 09:04:13 +01:00
Gustavo Zacarias
0cf9d302a2 httping: bump to version 2.3.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-11 23:03:24 +01:00
Thomas De Schampheleire
3d86d29bf0 packages: remove package clean commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-08 19:42:34 +01:00
Thomas De Schampheleire
bed4e27868 Config.in files: whitespace cleanup
This patch fixes the following whitespace problems in Config.in files:
- trailing whitespace
- spaces instead of tabs for indentation
- help text not indented with tab + 2 spaces

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-11 22:19:30 +01:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Gustavo Zacarias
a2f30cacd9 httping: bump to version 2.2.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-12 21:39:27 +02:00
gilles.talis@gmail.com
bbd47813f3 httping: bump to version 1.6.0
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-04 14:41:30 +01:00
Peter Korsgaard
d9cbc45b92 httping: don't override optimization level, correctly disable debug support
The httping makefile by default appends -O3 to CFLAGS, overriding the
optimization flags set in Buildroot, so pass OFLAGS= to disable this.

The DEBUG=no argument has to be passed on the make cmdline and not in the
environment to take effect, as it is unconditionally set in the Makefile.
Notice that it shouldn't be passed to 'make install', as that otherwise
will try to run the host strip program.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-20 21:17:49 +01:00
Arnout Vandecappelle (Essensium/Mind)
4d93ca15bc httping: remove redundant 'override CFLAGS' patch
It is not necessary to override CFLAGS when CFLAGS is passed through
the environment rather than as an argument to make.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-20 21:01:46 +01:00
Peter Korsgaard
7d93f102e1 httping: also pass configuration (SSL/TFO/DEBUG) doing make install
Fixes http://autobuild.buildroot.net/results/144e146ad3223748c4f06f884aeff93e8c0c2de3

When SSL is enabled (which it is by default) an extra source file is built,
so ensure the same configuration is used at 'make install' time as during
the build step.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-16 09:48:44 +01:00
Gilles Talis
96f6054ccd httping: new package
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)

[Peter: Drop ssl option, use make install, misc cleanup]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-15 09:22:43 +01:00