Commit Graph

26 Commits

Author SHA1 Message Date
Fabrice Fontaine
7d211f6701 package/wolfssl: all features needs dynamic library
Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the
following static build failure with ibrdtnd, a "wolfssl all"-enabled
libcurl and openssl:

/nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods':
ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here

Fixes:
 - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-23 17:23:04 +02:00
Fabrice Fontaine
8679f6a7e7 package/libuhttpd: depends on gcc >= 4.9
Add a dependency on gcc >= 4.9 to avoid the following build failure
with gcc 4.8.3 raised since bump to version 3.14.1 in commit
61797c52f5 and
ffdf7de3a4:

/home/peko/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/cgi.c:41:5: error: initializer element is not a constant expression [-Werror]
     {"accept", strlen("accept"), "HTTP_ACCEPT"},
     ^

It should be noted that upstream rejected a patch to remove -Werror:
https://github.com/zhaojh329/libuhttpd/pull/12

Fixes:
 - http://autobuild.buildroot.org/results/a3a970a6398dcb0e4e03f4277f1a50c6b5eff7bd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-14 21:39:58 +01:00
Fabrice Fontaine
6647ee8ee6 package/libuhttpd: needs MMU
libuhttpd needs MMU since version 3.13.0 and
ffdf7de3a4
to avoid the following build failure raised since commit
61797c52f5:

/home/buildroot/autobuild/instance-0/output-1/build/libuhttpd-3.14.1/src/cgi.c: In function 'create_cgi':
/home/buildroot/autobuild/instance-0/output-1/build/libuhttpd-3.14.1/src/cgi.c:321:11: error: implicit declaration of function 'fork' [-Werror=implicit-function-declaration]
  321 |     pid = fork();
      |           ^~~~

Fixes:
 - http://autobuild.buildroot.org/results/8d2a79dacf9ac423f7ece51b8c23f3683238312b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-02-06 11:27:27 +01:00
Fabrice Fontaine
61797c52f5 package/libuhttpd: bump to version 3.14.1
Drop patch (already in version)

https://github.com/zhaojh329/libuhttpd/releases/tag/v3.14.1
https://github.com/zhaojh329/libuhttpd/releases/tag/v3.14.0
https://github.com/zhaojh329/libuhttpd/releases/tag/v3.13.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-30 15:57:19 +01:00
Fabrice Fontaine
0388959060 package/libuhttpd: fix build with wolfssl
Fix the following build failure with wolfssl raised since bump to
version 3.12.1 in commit 4d85defa71:

/tmp/instance-4/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c: In function 'ssl_context_new':
/tmp/instance-4/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c:174:33: error: 'tls13_ciphersuites' undeclared (first use in this function)
  174 |     SSL_CTX_set_ciphersuites(c, tls13_ciphersuites);
      |                                 ^~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/25db1e999950bbee069ba7364a228184a6a77808

Note: we have a reference to a pull request on the 'ssl' repository,
because it is a git submodule of libuhttpd.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: explain the reference to ssl/pull/1]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-08-04 22:30:51 +02:00
Fabrice Fontaine
14e4f25483 package/libuhttpd: fix build with wolfssl
Build with wolfssl is broken since bump to version 3.12.1 in commit
4d85defa71:

/data/buildroot-autobuilder/instance-0/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c: In function 'ssl_context_new':
/data/buildroot-autobuilder/instance-0/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c:180:32: error: 'SSL_OP_NO_SSLv3' undeclared (first use in this function); did you mean 'WOLFSSL_OP_NO_SSLv3'?
  180 |         SSL_CTX_set_options(c, SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1);
      |                                ^~~~~~~~~~~~~~~
      |                                WOLFSSL_OP_NO_SSLv3

This build failure is raised by
0fb46935f0
as since this commit, libuhttpd expects that SSL_OP_NO_xxx are defined
by wolfssl

Fixes:
 - http://autobuild.buildroot.org/results/79e3fa697537f2e33863e490b74ec881993eae73

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-16 23:22:25 +02:00
Jianhui Zhao
4d85defa71 package/libuhttpd: bump version to 3.12.1
CMake options have been renamed: UHTTPD_ prefix was dropped,
BUILD_STATIC_LIBS renamed to BUILD_STATIC.

Also fix handling of BUILD_STATIC: it should only be given when building
static libs, otherwise no dynamic lib is built.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-06-20 15:40:12 +02:00
Jianhui Zhao
815d7f2617 package/libuhttpd: bump version to 3.11.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-18 13:22:01 +02:00
Jianhui Zhao
d1133a6927 package/libuhttpd: bump version to 3.10.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-03-07 21:54:45 +01:00
Jianhui Zhao
9044268247 package/libuhttpd: bump version to 3.10.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-03-01 23:23:38 +01:00
Fabrice Fontaine
e76d9868c9 package/libuhttpd: bump to version 3.9.0
Fix build without dlopen thanks to
117ae812a4

https://github.com/zhaojh329/libuhttpd/releases/tag/v3.9.0

Fixes:
 - http://autobuild.buildroot.org/results/3d14502c87ecee5b1eeeec3f85b8d6b659d61bbc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-01-27 21:59:31 +01:00
Fabrice Fontaine
9eec4724ff package/libuhttpd: bump to version 3.8.0
BUILD_TEST_PLUGIN has been dropped since version 3.5.0 and
0b2c2f4a3b

https://github.com/zhaojh329/libuhttpd/releases/tag/v3.7.0
https://github.com/zhaojh329/libuhttpd/releases/tag/v3.8.0

Fixes:
 - http://autobuild.buildroot.org/results/0d53b561ba02db018ca90dce29e9064b12c1276b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-01-17 15:43:26 +01:00
Jianhui Zhao
6fd01e9e05 package/libuhttpd: bump version to 3.6.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-30 09:38:17 +01:00
Fabrice Fontaine
50a76d7ae7 package/libuhttpd: fix static build with mbedtls and zlib
Fixes:
 - http://autobuild.buildroot.org/results/5891d12e90182460cde1ddfa0ca75e9fd55e3dff

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-12-01 23:33:02 +01:00
Jianhui Zhao
8436b05494 package/libuhttpd: bump version to 3.4.2
fix compile fail on riscv64

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-31 23:43:40 +01:00
Fabrice Fontaine
ef97d74b45 package/libuhttpd: fix build without dlopen
Fix build of libuhttpd in version 3.4.0 without dlopen

Fixes:
 - http://autobuild.buildroot.org/results/b2bbd0681705b94e6b531996b39f62e47f089c92

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-10-26 08:18:56 +01:00
Jianhui Zhao
d093629f31 package/libuhttpd: bump version to 3.4.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-14 19:26:34 +02:00
Jianhui Zhao
9d4f7fe429 package/libuhttpd: bump version to 3.3.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-10-04 11:51:47 +02:00
Fabrice Fontaine
d127c38a54 package/libuhttpd: fix tarball name in hash file
Commit 819a4207f6 forgot to rename
libuhttpd-3.2.0.tar.gz

Fixes:
 - http://autobuild.buildroot.org/results/965be1c72996df94668be81d1e90ed6937fb9a7c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-14 21:09:52 +02:00
Jianhui Zhao
819a4207f6 package/libuhttpd: bump version to 3.3.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-14 08:41:48 +02:00
Jianhui Zhao
699d4d6242 package/libuhttpd: bump version to 3.2.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-24 22:41:44 +02:00
Fabrice Fontaine
8bf84a79b8 package/libuhttpd: disable test plugin
test plugin needs dynamic library support

Fixes:
 - http://autobuild.buildroot.org/results/ce7c69ceac3390f6d22f777e4cf908188486c6b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-04-24 11:57:26 +02:00
Fabrice Fontaine
2004cf740a package/libuhttpd: manage BUILD_STATIC_LIBS
Use BUILD_STATIC_LIBS which has been added in version 3.1.4 with
4d0f435e0b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-20 07:46:55 +02:00
Jianhui Zhao
ee39dc7c6c package/libuhttpd: bump version to 3.1.4
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-04-07 07:39:18 +02:00
Jianhui Zhao
e3c4eee3b7 package/libuhttpd: bump version to 3.1.3
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-05 16:25:43 +02:00
Jianhui Zhao
c5d43d6d0e package/libuhttpd: new package
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-04 23:16:45 +02:00