Go to file
Petr Štetiar a1d76d41c3 curl: error out if wolfSSL is not usable
When we explicitly declare, that we would like to have curl built with
wolfSSL support using `--with-wolfssl` configure option, then we should
make sure, that we either endup with curl having that support, or it
shouldn't be available at all, otherwise we risk, that we end up with
regressions like following:

  configure:25299: checking for wolfSSL_Init in -lwolfssl
  configure:25321: x86_64-openwrt-linux-musl-gcc -o conftest [snip]
  In file included from target-x86_64_musl/usr/include/wolfssl/wolfcrypt/dsa.h:33,
                   from target-x86_64_musl/usr/include/wolfssl/wolfcrypt/asn_public.h:35,
                  from target-x86_64_musl/usr/include/wolfssl/ssl.h:35,
                   from conftest.c:47:
  target-x86_64_musl/usr/include/wolfssl/wolfcrypt/integer.h:37:14: fatal error: wolfssl/wolfcrypt/sp_int.h: No such file or directory
       #include <wolfssl/wolfcrypt/sp_int.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

and in the end thus produce curl without https support:

 curl: (1) Protocol "https" not supported or disabled in libcurl

So fix it, by making the working wolfSSL mandatory and error out in
configure step when that's not the case:

 checking for wolfSSL_Init in -lwolfssl... no
 configure: error: --with-wolfssl but wolfSSL was not found or doesn't work

References: #19005, #19547
Upstream-Status: Accepted [https://github.com/curl/curl/pull/9682]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 9140f366ef)
2022-10-10 15:12:12 +00:00
.circleci CircleCI: Add 21.02 GPG and usign public keys and update to Debian 10 2022-06-06 09:47:14 +02:00
.github CI: checkout HEAD commit rather than merge commit 2022-08-21 23:33:12 +02:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin syslog-ng: update to version 3.38.1 2022-09-08 09:58:34 +02:00
devel gcc: update to allow compiling different versions 2022-08-09 23:06:39 +02:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 generate-ipv6-address: fix PIC compilation 2021-10-27 16:28:52 +02:00
kernel ksmbd: update to 3.4.5 2022-08-02 11:01:06 +02:00
lang node: bump to v14.20.1 2022-10-08 06:16:28 +02:00
libs Merge pull request #19536 from ynezz/ynezz/openwrt-21.02-wolfssl-CVE-2022-39173 2022-10-06 13:34:38 +02:00
mail postfix: fix download failure 2022-07-17 15:03:54 +02:00
multimedia youtube-dl: update to 2021.12.17 2022-05-06 19:10:20 +02:00
net curl: error out if wolfSSL is not usable 2022-10-10 15:12:12 +00:00
sound Pulseaudio: update to 14.2; avahi-variant: Restore Bluez functionality 2022-08-07 19:00:12 -07:00
utils yq: Update to 4.28.1 2022-10-09 17:01:02 +08:00
.travis.yml travis: improve build config 2020-06-19 21:16:52 +02:00
.travis_do.sh travis: use mpc85xx-p2020 sdk instead of ar71xx 2020-06-18 13:58:09 +02:00
CONTRIBUTING.md CONTRIBUTING: add CI information 2020-09-30 10:47:12 -10:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

README.md

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.