Commit Graph

4348 Commits

Author SHA1 Message Date
Eneas U de Queiroz 9335b406bd
Merge pull request #17064 from cotequeiroz/mariadb
mariadb, liburing: fix liburing dependency failure (use liburing if kernel supports it)
2021-11-25 20:52:26 -03:00
Daniel Golle 3b13df4adc
libxml2: build host static lib with -fPIC
libxslt/host is complaing that static libxml2 should be with -fPIC.
Unconditionally enable -fPIC for for host build of libxml2.

Fixes: dc701d61b ("libxml2: don't build host shared libraries")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-24 11:10:51 +00:00
Daniel Golle ca21bbf2ed
expat: add host build
mesa in the video feed requires expat/host. Provide host build to
allow mesa to build.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-24 01:34:23 +00:00
Luiz Angelo Daros de Luca ceb69a0bd5 libvpx: update to 1.11.0
2021-09-27 v1.11.0 "Smew Duck"
  This maintenance release adds support for VBR mode in VP9 rate control
  interface, new codec controls to get quantization parameters and loop filter
  levels, and includes several improvements to NEON and numerous bug fixes.

  - Upgrading:
    New codec control is added to get quantization parameters and loop filter
    levels.

    VBR mode is supported in VP9 rate control library.

  - Enhancement:
    Numerous improvements for Neon optimizations.
    Code clean-up and refactoring.
    Calculation of rd multiplier is changed with BDRATE gains.

  - Bug fixes:
    Fix to overflow on duration.
    Fix to several instances of -Wunused-but-set-variable.
    Fix to avoid chroma resampling for 420mpeg2 input.
    Fix to overflow in calc_iframe_target_size.
    Fix to disallow skipping transform and quantization.
    Fix some -Wsign-compare warnings in simple_encode.
    Fix input file path in simple_encode_test.
    Fix valid range for under/over_shoot pct.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2021-11-22 18:45:17 -08:00
Igor Bezzubchenko 92c57bd324 libpqxx: update to version 7.6.0
Signed-off-by: Igor Bezzubchenko <garikello@gmail.com>
2021-11-20 18:39:40 +03:00
Florian Eckert bcd8121ed4
Merge pull request #17126 from ejurgensen/mxml_update_33
mxml: update to 3.3
2021-11-15 09:07:12 +01:00
Daniel Golle c15172f7f7
hiredis: update to version 1.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:57 +00:00
Daniel Golle dbae7fda6d
postgresql: update to version 14.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:52 +00:00
Daniel Golle 23ac7563c2
libinput: update to version 1.19.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:47 +00:00
Daniel Golle 60bc9982b4
libevdev: update to version 1.12.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:41 +00:00
Espen Jürgensen 2e6eaafa4c mxml: update to 3.3
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2021-11-14 23:05:35 +01:00
Michal Vasilek f7717bd382 cyrus-sasl: patch CVE-2019-19906
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-11-13 08:00:35 +01:00
Lucian Cristian d6bf638cb8 libnetconf2: update to 2.0.24
needed after libyang update

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-11-12 11:02:56 -08:00
Lucian Cristian f0df83b4b5 libyang: update to 2.0.112
needed by frr 8+

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-11-12 11:02:56 -08:00
Karl Palsson 60e60fc38f c-ares: bump to 1.18.1
Changelog: https://lists.haxx.se/pipermail/c-ares/2021-October/000002.html

This includes the update to the domain name, made upstream, ref: https://lists.haxx.se/pipermail/c-ares/2021-September/000001.html

Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-11-09 09:21:40 +00:00
Alexandru Ardelean 1f90475fc4
Merge pull request #17077 from commodo/openblas-mips-fix
openblas: default to MIPS24K target for all mips32 targets
2021-11-08 09:11:40 +02:00
Rosen Penev 932f00edbd libev: update to 4.33
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-05 15:41:13 -07:00
Alexandru Ardelean 443bf87dc8 openblas: default to MIPS24K target for all mips32 targets
Reported via:
  https://github.com/openwrt/packages/pull/16823#issuecomment-945312460

This fails in mips_mip32 targets with the output listed below.

Using the MIPS24K target works fine.

```
mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/OpenBLAS-0.3.18=OpenBLAS-0.3.18 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_mips32_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_mips32_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_mips32_gcc-11.2.0_musl/include   -DMAX_STACK_ALLOC=2048 -Wall -mabi=32 -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DNO_AVX512 -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.18\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.  -DMAX_STACK_ALLOC=2048 -Wall -mabi=32 -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DNO_AVX512 -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.18\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME=sgemm -DASMFNAME=sgemm_ -DNAME=sgemm_ -DCNAME=sgemm -DCHAR_NAME=\"sgemm_\" -DCHAR_CNAME=\"sgemm\" -DNO_AFFINITY -I.. -I. -UDOUBLE  -UCOMPLEX gemm.c -o sgemm.o
In file included from ../common.h:581,
                 from gemm.c:41:
gemm.c: In function 'sgemm_':
../param.h:3477:25: error: 'sgemm_p' undeclared (first use in this function); did you mean 'sgemm_'?
 3477 | #define SGEMM_DEFAULT_P sgemm_p
      |                         ^~~~~~~
../common_param.h:1334:25: note: in expansion of macro 'SGEMM_DEFAULT_P'
 1334 | #define SGEMM_P         SGEMM_DEFAULT_P
      |                         ^~~~~~~~~~~~~~~
../common_param.h:1482:33: note: in expansion of macro 'SGEMM_P'
 1482 | #define GEMM_P                  SGEMM_P
      |                                 ^~~~~~~
gemm.c:494:37: note: in expansion of macro 'GEMM_P'
  494 |   sb = (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE + GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
      |                                     ^~~~~~
../param.h:3477:25: note: each undeclared identifier is reported only once for each function it appears in
 3477 | #define SGEMM_DEFAULT_P sgemm_p
      |                         ^~~~~~~
../common_param.h:1334:25: note: in expansion of macro 'SGEMM_DEFAULT_P'
 1334 | #define SGEMM_P         SGEMM_DEFAULT_P
      |                         ^~~~~~~~~~~~~~~
../common_param.h:1482:33: note: in expansion of macro 'SGEMM_P'
 1482 | #define GEMM_P                  SGEMM_P
      |                                 ^~~~~~~
gemm.c:494:37: note: in expansion of macro 'GEMM_P'
  494 |   sb = (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE + GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
      |                                     ^~~~~~
make[5]: *** [Makefile:1295: sgemm.o] Error 1
make[5]: Leaving directory '/builder/shared-workdir/
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-05 14:01:48 +02:00
Eneas U de Queiroz 6bc9ec549d
liburing: add KERNEL_IO_URING dependency
This needs kernel io_uring support to work.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-04 15:12:58 -03:00
Eneas U de Queiroz 206eaae165
gnutls: don't run aclocal --install
Remove the --install parameter when running aclocal.  The --install
argument is used to copy third-party files to the first -I directory.
gnutls has -I m4 first, which would copy files to its local build
directory.  However, openwrt prepends the staging dir m4 directory,
causing aclocal --install to copy an old definition of
ax_code_coverage.m4 into the staging dir.

If strace is built after gnutls, compilation will fail:

    Makefile:9303: *** missing separator.  Stop.

The version of ax_code_coverage.m4 that gets installed does not define
@CODE_COVERAGE_RULES@.

Removing the --install parameter in gnutls solves the issue.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-03 13:34:16 -03:00
Michel Promonet c3c2d23598 multimedia: add v4l2tools & v4l2loopback
Signed-off-by: Michel Promonet <michel.promonet@free.fr>
2021-11-03 08:13:33 -07:00
Hirokazu MORIKAWA aa5a0ccb7d icu: bump to 70.1
ICU 70 released. It updates to Unicode 14, including new characters, scripts, emoji, and corresponding API constants. ICU 70 adds support for emoji properties of strings. It also updates to CLDR 40 locale data with many additions and corrections. ICU 70 also includes many other bug fixes and enhancements, especially for measurement unit formatting, and it can now be built and used with C++20 compilers.

This change will require minor modifications in php7 and php8.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-11-02 09:14:00 +09:00
Rosen Penev ac5912e9cb remove a bunch of rpath hacks
These are already default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-28 20:21:56 -07:00
Rosen Penev a1f1303ae3 lib4cplus: update to 2.0.7
Switch to static lib. Avoids rpath hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-28 17:31:06 -07:00
Martin Schneider 4fde0fdad5 boringssl: Add boringssl library
Add boringssl library. BoringSSL is Google's fork of OpenSSL.
Amongst other features, it adds support for QUIC.

Signed-off-by: Martin Schneider <martschneider@google.com>
2021-10-27 18:09:24 -07:00
Jan Pavlinec 766a5b285e redis: update to version 6.2.6
Fixes:
- CVE-2021-41099
- CVE-2021-32762
- CVE-2021-32687
- CVE-2021-32675
- CVE-2021-32672
- CVE-2021-32628
- CVE-2021-32627
- CVE-2021-32626

Signed-off-by: Jan Pavlinec <jan.pavlinec1@gmail.com>
2021-10-25 08:34:57 -07:00
Rosen Penev dc701d61b9 libxml2: don't build host shared libraries
Avoids having to add

HOST_LDFLAGS: -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib

for packages that rely on shared libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-23 17:03:12 -07:00
Nikos Mavrogiannopoulos 91c1b3d18d
Merge pull request #16949 from neheb/10
libtasn1: don't build host shared libs
2021-10-23 20:31:06 +02:00
Rosen Penev 2b36a1b59f libnpupnp: update to 4.1.5
Add libmicrohttpd to PKG_BUILD_DEPENDS as it doesn't get added for some
reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-22 22:59:24 -07:00
Rosen Penev d2062486e8 glib2: update to 2.70
Remove various outdated patches. No more uClibc and distutils is a
requirement.

Compile host libraries statically. Size is not a concern there. Also
avoids rpath hacks. Disable NLS as well. Avoids gettext dependencies.

Add libpcre dependency. Seems to be a requirement now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-22 18:33:03 -07:00
Rosen Penev aba4a294ba libffi: don't build host shared libs
Avoids rpath hacks.

Add --with-pic. Needed for static library.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-22 18:07:53 -07:00
Rosen Penev c0aac5adab libtasn1: don't build host shared libs
Avoids rpath hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-21 14:45:32 -07:00
Rosen Penev 89c2971c6e protobuf-c: don't build shared host library
No point and can avoid rpath hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-21 14:38:53 -07:00
Rosen Penev c2fc267476 poco: switch to building with cmake
Faster and works with mips64 targets.

Removed all options as the defaults are updated. Added new dependencies.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-21 13:35:20 -07:00
Rosen Penev 5bf74f2ad4 expat: don't build host libs
tools/expat is actually what's used by the various packages that
supposedly depend on expat/host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-19 13:16:18 -07:00
Tianling Shen e4d463b89d msgpack-c: Update to 4.0.0
- Fixed typo error in PKG_LICENSE_FILES.
- Updated CMAKE_OPTIONS.
- Refreshed the patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-14 16:22:34 -07:00
Eneas U de Queiroz 307f36834a oniguruma: bump to 6.9.7.1
Changelog:

*  NEW API: ONIG_OPTION_CALLBACK_EACH_MATCH
*  NEW API: ONIG_OPTION_IGNORECASE_IS_ASCII
*  NEW API: ONIG_SYNTAX_PYTHON
*  Fixed some problems found by OSS-Fuzz
*  fix: replace UChar to OnigUChar in oniguruma.h

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-11 19:56:05 -07:00
Daniel Golle e852f509cf
libinput: update to version 1.19.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:58 +01:00
Daniel Golle 36b9ff3c83
libudev-zero: update to version 1.0.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:53 +01:00
Daniel Golle 30dabb07ae
postgresql: update to version 14.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:37 +01:00
Damiano Renfer 7c529bab91 libsodium: update maintainer email address
Signed-off-by: Damiano Renfer <x9w2n7xnu@relay.firefox.com>
2021-10-09 09:50:35 -04:00
Daniel Golle 3da874371b
libsodium: include ed25519_core in minimal build
Functions from ed25519_core are needed for GNUnet to build.
Include them in the minimal build of libsodium so we don't need to
switch to the full build just for that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 01:28:56 +01:00
Rosen Penev 0ce3a961d3 hiredis: fix compilation with macOS
uname is used to test the host OS. Override it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-08 09:46:38 -07:00
Alexandru Ardelean 0dd482ff5b
Merge pull request #16823 from cotequeiroz/openblas-mips
openblas: fix compilation with mips x4k series CPU
2021-10-07 10:20:14 +03:00
Daniel Golle 45951a9fc8
libdrm: update to version 2.4.107
Change to select features by default.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:20:31 +01:00
Eneas U de Queiroz bf99bfbadb
openblas: avoid using make -j when building
Set MAKE_NB_JOBS=-1 so that no -j parameter is passed to make when
building the package, honoring the parent make's setting.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-06 17:09:10 -03:00
Eneas U de Queiroz 7ff29af4fd
openblas: fix compilation with mips x4k series CPU
Anything later than MIPS 24k can run MIPS 24k code.  Set OPENBLAS_TARGET
to MIPS24K in those cases.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-06 15:29:47 -03:00
Rosen Penev 6713d9e662 libdnet: fix compilation under macOS
configure checks the host system not the target one. Override these
variables.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-05 17:33:14 -07:00
Alexandru Ardelean 1e22ca7ce1 openblas: bump to 0.3.18
Drops patch, which was upstreamed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-04 08:46:11 -07:00
Alexandru Ardelean 401291ba7e libwebp: fix webpmux lib name for cmake linking
When using CMake the `<prefix>/usr/share/WebP/cmake/WebPConfig.cmake` gets
used to get the names of the libraries to link against.

Since version 1.2.1 of libwebp, libwebpmux is on by default.
This causes a linker error because the linker arg should be `-lwebpmux`
instead of `-llibwebpmux`.

This is easily fixable by correcting the generation of the WebPConfig.cmake
file to append `webpmux` when this lib is enabled.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-02 19:55:07 +01:00