Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 1 Apr 2021 07:49:46 +0200
|
||||
Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35
|
||||
|
||||
Fix the following build failure with uclibc < 1.0.35 which is raised
|
||||
since the addition of getrandom module in
|
||||
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7:
|
||||
|
||||
In file included from ./sys/random.h:40,
|
||||
from getrandom.c:22:
|
||||
/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t'
|
||||
27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
|
||||
| ^~~~~~
|
||||
/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
|
||||
7 | #include <features.h>
|
||||
+++ |+#include <stddef.h>
|
||||
8 |
|
||||
|
||||
This patch is not upstreamable as it is only a workaround for
|
||||
uclibc < 1.0.35, upstream uclibc has been patched with
|
||||
https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/d507f8d8ae4dd6aac1e83b7cc81017caf0d2c30e
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
lib/getrandom.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/lib/getrandom.c b/lib/getrandom.c
|
||||
index 41212fb32..0ad3f9648 100644
|
||||
--- a/lib/getrandom.c
|
||||
+++ b/lib/getrandom.c
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <stddef.h>
|
||||
#include <sys/random.h>
|
||||
|
||||
#include <errno.h>
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
From 37a40fcb450153f69537c7cbc2a7a4fb0b6f7826 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
|
||||
Date: Mon, 29 Jun 2026 18:32:02 +0200
|
||||
Subject: [PATCH] * src/metalink.c (clean_metalink_string): Fix buffer
|
||||
underflow
|
||||
|
||||
Reported-by: TristanInSec@gmail.com
|
||||
CVE: CVE-2026-58469
|
||||
Upstream: https://gitlab.com/gnuwget/wget/-/commit/37a40fcb450153f69537c7cbc2a7a4fb0b6f7826
|
||||
Signed-off-by: Stefan Müller <stemu86@gmx.ch>
|
||||
|
||||
---
|
||||
src/metalink.c | 9 +++------
|
||||
1 file changed, 3 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/metalink.c b/src/metalink.c
|
||||
index 9e355fd0..3acdc3a2 100644
|
||||
--- a/src/metalink.c
|
||||
+++ b/src/metalink.c
|
||||
@@ -1041,7 +1041,6 @@ void
|
||||
clean_metalink_string (char **str)
|
||||
{
|
||||
int c;
|
||||
- size_t len;
|
||||
char *new, *beg, *end;
|
||||
|
||||
if (!str || !*str)
|
||||
@@ -1049,7 +1048,7 @@ clean_metalink_string (char **str)
|
||||
|
||||
beg = *str;
|
||||
|
||||
- while ((c = *beg) && (c == '\n' || c == '\r' || c == '\t' || c == ' '))
|
||||
+ while (isspace(*beg))
|
||||
beg++;
|
||||
|
||||
end = beg;
|
||||
@@ -1062,12 +1061,10 @@ clean_metalink_string (char **str)
|
||||
/* If we are at the end of the string, search the first legit
|
||||
character going backward. */
|
||||
if (*end == '\0')
|
||||
- while ((c = *(end - 1)) && (c == '\n' || c == '\r' || c == '\t' || c == ' '))
|
||||
+ while (end > beg && !isspace(*(end - 1)))
|
||||
end--;
|
||||
|
||||
- len = end - beg;
|
||||
-
|
||||
- new = xmemdup0 (beg, len);
|
||||
+ new = xmemdup0 (beg, end - beg);
|
||||
xfree (*str);
|
||||
*str = new;
|
||||
}
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 7b1cdecc49bc77bde220fc575c8a00386c3f3bcf Mon Sep 17 00:00:00 2001
|
||||
From: ChenYanpan <chenyanpan@xfusion.com>
|
||||
Date: Wed, 8 Jul 2026 12:09:55 +0800
|
||||
Subject: [PATCH] * src/metalink.c (clean_metalink_string): Fix inverted
|
||||
trailing-space check
|
||||
|
||||
37a40fcb added an `end > beg' bound guard to prevent a buffer
|
||||
underflow, but accidentally flipped the condition from `isspace' to
|
||||
`!isspace'. The loop therefore walked back over non-space characters
|
||||
instead of trailing whitespace, collapsing any string without a
|
||||
trailing newline to "". Every Metalink/HTTP resource URL was wiped,
|
||||
so wget could not follow any mirror and
|
||||
testenv/Test-metalink-http.py failed ("Expected file test.meta not
|
||||
found"). Restore the `isspace' condition.
|
||||
|
||||
Copyright-paperwork-exempt: Yes
|
||||
CVE: CVE-2026-58469
|
||||
Upstream: https://gitlab.com/gnuwget/wget/-/commit/7b1cdecc49bc77bde220fc575c8a00386c3f3bcf
|
||||
Signed-off-by: Stefan Müller <stemu86@gmx.ch>
|
||||
|
||||
---
|
||||
src/metalink.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/metalink.c b/src/metalink.c
|
||||
index 3acdc3a2..3794909f 100644
|
||||
--- a/src/metalink.c
|
||||
+++ b/src/metalink.c
|
||||
@@ -1061,7 +1061,7 @@ clean_metalink_string (char **str)
|
||||
/* If we are at the end of the string, search the first legit
|
||||
character going backward. */
|
||||
if (*end == '\0')
|
||||
- while (end > beg && !isspace(*(end - 1)))
|
||||
+ while (end > beg && isspace(*(end - 1)))
|
||||
end--;
|
||||
|
||||
new = xmemdup0 (beg, end - beg);
|
||||
--
|
||||
GitLab
|
||||
|
||||
28
package/wget/0004-src-metalink.c-Include-ctype.h.patch
Normal file
28
package/wget/0004-src-metalink.c-Include-ctype.h.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From 82d945ff5dc9942b78b2bf736aac298c24fe00a1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
|
||||
Date: Thu, 9 Jul 2026 14:50:40 +0200
|
||||
Subject: [PATCH] * src/metalink.c: Include ctype.h
|
||||
|
||||
CVE: CVE-2026-58469
|
||||
Upstream: https://gitlab.com/gnuwget/wget/-/commit/82d945ff5dc9942b78b2bf736aac298c24fe00a1
|
||||
Signed-off-by: Stefan Müller <stemu86@gmx.ch>
|
||||
|
||||
---
|
||||
src/metalink.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/metalink.c b/src/metalink.c
|
||||
index 3794909f..954546d2 100644
|
||||
--- a/src/metalink.c
|
||||
+++ b/src/metalink.c
|
||||
@@ -46,6 +46,7 @@ as that of the covered work. */
|
||||
#include "c-strcase.h"
|
||||
#include <errno.h>
|
||||
#include <unistd.h> /* For unlink. */
|
||||
+#include <ctype.h>
|
||||
#include <metalink/metalink_parser.h>
|
||||
#ifdef HAVE_GPGME
|
||||
#include <gpgme.h>
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
From 43d3ba9336bc94937e6fae2365c6ffd30c34ffcf Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
|
||||
Date: Mon, 29 Jun 2026 18:57:54 +0200
|
||||
Subject: [PATCH] * src/http.c (parse_content_range): Fix integer overflow
|
||||
|
||||
Reported-by: TristanInSec@gmail.com
|
||||
CVE: CVE-2026-58470
|
||||
Upstream: https://gitlab.com/gnuwget/wget/-/commit/43d3ba9336bc94937e6fae2365c6ffd30c34ffcf
|
||||
Signed-off-by: Stefan Müller <stemu86@gmx.ch>
|
||||
|
||||
---
|
||||
src/http.c | 35 ++++++++++++++++++++++++-----------
|
||||
1 file changed, 24 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/src/http.c b/src/http.c
|
||||
index 61d83df1..f447c7f7 100644
|
||||
--- a/src/http.c
|
||||
+++ b/src/http.c
|
||||
@@ -914,6 +914,7 @@ parse_content_range (const char *hdr, wgint *first_byte_ptr,
|
||||
wgint *last_byte_ptr, wgint *entity_length_ptr)
|
||||
{
|
||||
wgint num;
|
||||
+ char *end;
|
||||
|
||||
/* Ancient versions of Netscape proxy server, presumably predating
|
||||
rfc2068, sent out `Content-Range' without the "bytes"
|
||||
@@ -932,27 +933,39 @@ parse_content_range (const char *hdr, wgint *first_byte_ptr,
|
||||
}
|
||||
if (!c_isdigit (*hdr))
|
||||
return false;
|
||||
- for (num = 0; c_isdigit (*hdr); hdr++)
|
||||
- num = 10 * num + (*hdr - '0');
|
||||
- if (*hdr != '-' || !c_isdigit (*(hdr + 1)))
|
||||
+
|
||||
+ errno = 0;
|
||||
+ num = strtol(hdr, &end, 10);
|
||||
+ if (errno == ERANGE)
|
||||
+ return false;
|
||||
+ hdr = end;
|
||||
+
|
||||
+ if (*hdr++ != '-' || !c_isdigit (*hdr))
|
||||
return false;
|
||||
*first_byte_ptr = num;
|
||||
- ++hdr;
|
||||
- for (num = 0; c_isdigit (*hdr); hdr++)
|
||||
- num = 10 * num + (*hdr - '0');
|
||||
- if (*hdr != '/')
|
||||
+
|
||||
+ errno = 0;
|
||||
+ num = strtol(hdr, &end, 10);
|
||||
+ if (errno == ERANGE)
|
||||
+ return false;
|
||||
+ hdr = end;
|
||||
+
|
||||
+ if (*hdr++ != '/')
|
||||
return false;
|
||||
*last_byte_ptr = num;
|
||||
- if (!(c_isdigit (*(hdr + 1)) || *(hdr + 1) == '*'))
|
||||
+ if (!(c_isdigit (*hdr) || *hdr == '*'))
|
||||
return false;
|
||||
if (*last_byte_ptr < *first_byte_ptr)
|
||||
return false;
|
||||
- ++hdr;
|
||||
if (*hdr == '*')
|
||||
num = -1;
|
||||
else
|
||||
- for (num = 0; c_isdigit (*hdr); hdr++)
|
||||
- num = 10 * num + (*hdr - '0');
|
||||
+ {
|
||||
+ errno = 0;
|
||||
+ num = strtol(hdr, NULL, 10);
|
||||
+ if (errno == ERANGE)
|
||||
+ return false;
|
||||
+ }
|
||||
*entity_length_ptr = num;
|
||||
if ((*entity_length_ptr <= *last_byte_ptr) && *entity_length_ptr != -1)
|
||||
return false;
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
From 01ff771caac1958662ca8665eed2021ec386a7af Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
|
||||
Date: Wed, 12 Aug 2026 19:45:21 +0200
|
||||
Subject: [PATCH] * src/http.c (parse_content_range): Use strtoll instead of
|
||||
strtol.
|
||||
|
||||
CVE: CVE-2026-58470
|
||||
Upstream: https://gitlab.com/gnuwget/wget/-/commit/01ff771caac1958662ca8665eed2021ec386a7af
|
||||
Signed-off-by: Stefan Müller <stemu86@gmx.ch>
|
||||
|
||||
---
|
||||
src/http.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/http.c b/src/http.c
|
||||
index e5e75ee6..8170a43c 100644
|
||||
--- a/src/http.c
|
||||
+++ b/src/http.c
|
||||
@@ -949,7 +949,7 @@ parse_content_range (const char *hdr, wgint *first_byte_ptr,
|
||||
return false;
|
||||
|
||||
errno = 0;
|
||||
- num = strtol(hdr, &end, 10);
|
||||
+ num = strtoll(hdr, &end, 10);
|
||||
if (errno == ERANGE)
|
||||
return false;
|
||||
hdr = end;
|
||||
@@ -959,7 +959,7 @@ parse_content_range (const char *hdr, wgint *first_byte_ptr,
|
||||
*first_byte_ptr = num;
|
||||
|
||||
errno = 0;
|
||||
- num = strtol(hdr, &end, 10);
|
||||
+ num = strtoll(hdr, &end, 10);
|
||||
if (errno == ERANGE)
|
||||
return false;
|
||||
hdr = end;
|
||||
@@ -976,7 +976,7 @@ parse_content_range (const char *hdr, wgint *first_byte_ptr,
|
||||
else
|
||||
{
|
||||
errno = 0;
|
||||
- num = strtol(hdr, NULL, 10);
|
||||
+ num = strtoll(hdr, NULL, 10);
|
||||
if (errno == ERANGE)
|
||||
return false;
|
||||
}
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
From c2640fe5171c59f87c58dc9fcb195b2d18b010ee Mon Sep 17 00:00:00 2001
|
||||
From: Arkadi Vainbrand <arkadva8@gmail.com>
|
||||
Date: Tue, 13 Jan 2026 12:22:04 +0200
|
||||
Subject: [PATCH] Fix buffer size handling in filename conversion
|
||||
|
||||
* src/url.c (convert_fname): Fix buffer overflow.
|
||||
|
||||
Copyright-paperwork-exempt: Yes
|
||||
Signed-off-by: Arkadi Vainbrand <arkadva8@gmail.com>
|
||||
CVE: CVE-2026-58471
|
||||
Upstream: https://gitlab.com/gnuwget/wget/-/commit/c2640fe5171c59f87c58dc9fcb195b2d18b010ee
|
||||
Signed-off-by: Stefan Müller <stemu86@gmx.ch>
|
||||
|
||||
---
|
||||
src/url.c | 20 +++++++++++++-------
|
||||
1 file changed, 13 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/url.c b/src/url.c
|
||||
index 7540e90f..f334456c 100644
|
||||
--- a/src/url.c
|
||||
+++ b/src/url.c
|
||||
@@ -1614,7 +1614,7 @@ convert_fname (char *fname)
|
||||
const char *from_encoding = opt.encoding_remote;
|
||||
const char *to_encoding = opt.locale;
|
||||
iconv_t cd;
|
||||
- size_t len, done, inlen, outlen;
|
||||
+ size_t len, inlen, outlen;
|
||||
char *s;
|
||||
const char *orig_fname;
|
||||
|
||||
@@ -1636,7 +1636,6 @@ convert_fname (char *fname)
|
||||
inlen = strlen (fname);
|
||||
len = outlen = inlen * 2;
|
||||
converted_fname = s = xmalloc (outlen + 1);
|
||||
- done = 0;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
@@ -1644,7 +1643,7 @@ convert_fname (char *fname)
|
||||
if (iconv (cd, (ICONV_CONST char **) &fname, &inlen, &s, &outlen) == 0
|
||||
&& iconv (cd, NULL, NULL, &s, &outlen) == 0)
|
||||
{
|
||||
- *(converted_fname + len - outlen - done) = '\0';
|
||||
+ *s = '\0';
|
||||
iconv_close (cd);
|
||||
DEBUGP (("Converted file name '%s' (%s) -> '%s' (%s)\n",
|
||||
orig_fname, from_encoding, converted_fname, to_encoding));
|
||||
@@ -1667,10 +1666,17 @@ convert_fname (char *fname)
|
||||
}
|
||||
else if (errno == E2BIG) /* Output buffer full */
|
||||
{
|
||||
- done = len;
|
||||
- len = outlen = done + inlen * 2;
|
||||
- converted_fname = xrealloc (converted_fname, outlen + 1);
|
||||
- s = converted_fname + done;
|
||||
+ size_t used = s - converted_fname;
|
||||
+ size_t newlen = used + inlen * 2 + 1;
|
||||
+
|
||||
+ /* Ensure we actually grow the buffer */
|
||||
+ if (newlen <= len)
|
||||
+ newlen = len * 2;
|
||||
+
|
||||
+ converted_fname = xrealloc (converted_fname, newlen + 1);
|
||||
+ len = newlen;
|
||||
+ s = converted_fname + used;
|
||||
+ outlen = len - used;
|
||||
}
|
||||
else /* Weird, we got an unspecified error */
|
||||
{
|
||||
--
|
||||
GitLab
|
||||
|
||||
17
package/wget/Config.in
Normal file
17
package/wget/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_WGET
|
||||
bool "wget"
|
||||
# fork()
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
Network utility to retrieve files from http, https and ftp.
|
||||
|
||||
http://www.gnu.org/software/wget/
|
||||
|
||||
comment "wget needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
8
package/wget/wget.hash
Normal file
8
package/wget/wget.hash
Normal file
@@ -0,0 +1,8 @@
|
||||
# From https://lists.gnu.org/archive/html/bug-wget/2024-11/msg00002.html
|
||||
sha1 ca79e61fbf1d32133f60ef7c7d476b250b6da423 wget-1.25.0.tar.lz
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.lz.sig
|
||||
# with key 6B98F637D879C5236E277C5C64FF90AAE8C70AF9
|
||||
sha256 19225cc756b0a088fc81148dc6a40a0c8f329af7fd8483f1c7b2fe50f4e08a1f wget-1.25.0.tar.lz
|
||||
# Locally calculated
|
||||
sha256 f7dc7522e7e1be9227f3dc8de8b39a4d1d2471968c893af15f00c1a2076a0eec COPYING
|
||||
86
package/wget/wget.mk
Normal file
86
package/wget/wget.mk
Normal file
@@ -0,0 +1,86 @@
|
||||
################################################################################
|
||||
#
|
||||
# wget
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WGET_VERSION = 1.25.0
|
||||
WGET_SOURCE = wget-$(WGET_VERSION).tar.lz
|
||||
WGET_SITE = $(BR2_GNU_MIRROR)/wget
|
||||
WGET_DEPENDENCIES = host-pkgconf
|
||||
WGET_LICENSE = GPL-3.0+
|
||||
WGET_LICENSE_FILES = COPYING
|
||||
WGET_CPE_ID_VENDOR = gnu
|
||||
|
||||
# 0002-src-metalink.c-clean_metalink_string-Fix-buffer-underflow.patch
|
||||
# 0003-src-metalink.c-clean_metalink_string-Fix-inverted-trailing-space-check.patch
|
||||
# 0004-src-metalink.c-Include-ctype.h.patch
|
||||
WGET_IGNORE_CVES += CVE-2026-58469
|
||||
|
||||
# 0005-src-http.c-parse_content_range-Fix-integer-overflow.patch
|
||||
# 0006-src-http.c-parse_content_range-Use-strtoll-instead-of-strtol.patch
|
||||
WGET_IGNORE_CVES += CVE-2026-58470
|
||||
|
||||
# 0007-src-url.c-convert_fname-Fix-buffer-overflow.patch
|
||||
WGET_IGNORE_CVES += CVE-2026-58471
|
||||
|
||||
WGET_CONF_OPTS += --disable-pcre
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPSL),y)
|
||||
WGET_CONF_OPTS += --with-libpsl
|
||||
WGET_DEPENDENCIES += libpsl
|
||||
else
|
||||
WGET_CONF_OPTS += --without-libpsl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
WGET_CONF_OPTS += --with-ssl=gnutls
|
||||
WGET_DEPENDENCIES += gnutls
|
||||
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
WGET_CONF_OPTS += --with-ssl=openssl
|
||||
WGET_DEPENDENCIES += openssl
|
||||
else
|
||||
WGET_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
WGET_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
# BR2_ENABLE_LOCALE and BR2_PACKAGE_LIBICONV are mutually exclusive
|
||||
ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV)$(BR2_PACKAGE_LIBIDN2),yy)
|
||||
WGET_CONF_OPTS += --enable-iri
|
||||
WGET_DEPENDENCIES += libidn2
|
||||
else
|
||||
WGET_CONF_OPTS += --disable-iri
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
||||
WGET_CONF_OPTS += --with-libuuid
|
||||
WGET_DEPENDENCIES += util-linux
|
||||
else
|
||||
WGET_CONF_OPTS += --without-libuuid
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
WGET_CONF_OPTS += --with-zlib
|
||||
WGET_DEPENDENCIES += zlib
|
||||
else
|
||||
WGET_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
||||
WGET_CONF_OPTS += --with-cares
|
||||
WGET_DEPENDENCIES += c-ares
|
||||
else
|
||||
WGET_CONF_OPTS += --without-cares
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||
WGET_CONF_OPTS += --enable-pcre2
|
||||
WGET_DEPENDENCIES += pcre2
|
||||
else
|
||||
WGET_CONF_OPTS += --disable-pcre2
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user