Commit Graph

2508 Commits

Author SHA1 Message Date
Rosen Penev 4c05bd2481 Merge pull request #10097 from neheb/boooo
[19.07]Update boost and other fixes
2019-09-27 16:07:32 -07:00
Rosen Penev 7f957cf8ac yajl: Update to modern standards
Replaced git:// link with https:// which gets through firewalls easier.

Replaced archive with .xz. The one currently in the mirrors has the wrong
hash. .xz is also smaller than .gz.

Eliminated already default CMake option.

Eliminated Build/InstallDev with CMAKE_INSTALL.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 2abbc83c9d)
2019-09-27 12:54:50 -07:00
Rosen Penev 0164259db0 opencv: Update to 4.1.1
Update Makefile to modern standards.

Switched to local tarballs..xz archives are smaller. The .gz archive that
codeload comes with is 85MB.

Replaced PKG_INSTALL with CMAKE_INSTALL to get rid of Build/InstallDev.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed inactive maintainer.

Added uClibc-ng patches to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from f8cd4f094a)
2019-09-27 12:38:40 -07:00
Rosen Penev d203688738 boost: Switch to blacklist of targets for context
Works around a buildbot bug.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from dc3220736d)
2019-09-27 10:17:24 -07:00
Rosen Penev c4a7a2c3da boost: Update host libraries
It seems newer versions of fbthrift require more libraries.

Also added AR7, RB532, and Lantiq ASE to fiber exclusion.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 1f77459ace)
2019-09-27 10:14:21 -07:00
Carlos Miguel Ferreira e3c1765598 boost: Package Version Update (1.71.0) + bugfixes
This commit updates Boost to version 1.71.0 and disables Boost.Context
 for arc and mips64 architectures, since either jump_fcontext or
 getcontext are undefined for those architectures.

It also fixes a bug were Boost.Fiber was not properly disabled for
mips32 and mips64 architectures.

Boost.Coroutine2 option was removed since it was redundant. By selecting
the Coroutine package, Coroutine2 is also installed.

Boost.Fiber has been disabled for target brcm47xx_generic and brcm47xx_legacy
due to misssing opcode support from instruction set.

Boost 1.71.0 brings a new header-only library
 - Boost.Variant2 [1]
   -> A never-valueless, strong guarantee implementation of
      std::variant, from Peter Dimov.

More info about Boost 1.71.0 can be found at the usual place [2].

[1]: https://www.boost.org/doc/libs/1_71_0/libs/variant2/doc/html/variant2.html
[2]: https://www.boost.org/users/history/version_1_71_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
(cherry-picked from 0cd9824623)
2019-09-27 10:13:59 -07:00
Rosen Penev 2bc353a35e fbzmq: Size optimizations
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 76b57b0e6c)
2019-09-27 10:06:55 -07:00
Rosen Penev d4f1b24ea9 fbthrift: Update to 2019-09-22
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 7139cddccf)
2019-09-27 10:06:12 -07:00
Rosen Penev 7319d940fb libwangle: Update to 2019.09.22.00
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 43a8e02bb8)
2019-09-27 10:04:46 -07:00
Rosen Penev 8a5cb085b6 librsocket-cpp: Update to 2019-09-22
Added URLs.

Added needed Boost patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 164e706f9d)
2019-09-27 10:02:55 -07:00
Rosen Penev 95b7c86794 libfizz: Update to 2019.09.22.00
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 0f209e988c)
2019-09-27 10:01:01 -07:00
Rosen Penev db0248cf67 libfolly: Update to 2019.09.22.00
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d28d9aa4dc)
2019-09-27 09:59:15 -07:00
Jan Pavlinec a0d4cc9170 treewide: add PKG_CPE_ID for cvescanner
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from ceadbcbb64)
2019-09-26 19:36:27 -07:00
Jan Pavlinec 937b19ebb7 treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from bf2f1a0263)
2019-09-26 19:36:27 -07:00
Rosen Penev e09985075e libgd: Properly disable iconv support
HAVE_ICONV and HAVE_ICONV_H are two different headers that both need to
evaluate to false. Added the extra CONFIGURE_VARS.

This can be verified by passing -Werror=implicit-function-declaration

Added PKG_LICENSE_FILES

Updated homepage URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from bf2f1a0263)
2019-09-26 19:36:27 -07:00
Sven Eckelmann 1142f52078 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry-picked from bbb1ea7345)
2019-09-26 19:36:25 -07:00
Rosen Penev 68124fc18a classpath: Add jamvm/host build dependency
This is needed for compilation. A Java compiler is also needed but that
must be handled elsewhere.

Fixed up license information.

URLs to HTTPS.

Other Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 1862f908eb)
2019-09-26 19:36:22 -07:00
Rosen Penev 22abd241cf libshout: Update to 2.4.3
Removed inactive maintainer.

Rearranged Makefile for consistency between packages.

Added --without-pic to avoid both -fPIC and -fpic.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 9bacdfa9a2)
2019-09-26 19:36:22 -07:00
Rosen Penev 7a28475b8b libtasn1: Update to 4.14
Fixes CVE-2018-1000654

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 8482407d7c)
2019-09-26 19:36:21 -07:00
Rosen Penev b15b698e38 libredblack: Pass CFLAGS
CFLAGS were not being passed. This was breaking builds with ASLR.

Pass proper PIC command to gcc with $(fPIC).

Don't install static libraries. Keep those for InstallDev only.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fbcf61d9d3)
2019-09-23 12:00:10 -07:00
Rosen Penev d9d25ba673 libredblack: Update to 1.3
Technically the same version, but this uses the normal tarball instead of
a random GitHub repository.

Cleaned up Makefile as a result.

Removed Python dependency. rbgen is not used for the package.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 6e8cb556e4)
2019-09-23 11:59:51 -07:00
Rosen Penev 459918c530 keyutils: Pass OpenWrt CFLAGS directly.
Needed for compilation with PKG_ASLR_PIE.

Replaced Build/Compile with PKG_INSTALL.

Adjusted install paths for consistency.

Added license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ccc3b6d44a)
2019-09-23 11:59:03 -07:00
Rosen Penev 3fdf5bf2ee libpbc: Pass CFLAGS properly
This was breaking ASLR builds.

Fixed license tag.

Added PKG_BUILD_PARALLEL for faster compilation.

Small Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 43f811ad5b)
2019-09-23 11:58:50 -07:00
Hannu Nyman b2f6a65e19 Merge pull request #9999 from flyn-org/openldap-19.07
openldap: update to 2.4.48
2019-09-15 19:43:34 +03:00
W. Michael Petullo ecc6de6e22 openldap: update to 2.4.48
Fixes CVE-2019-13565.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-14 12:30:58 -04:00
Rosen Penev 68092405c2 libgcrypt: Update to 1.8.5
Fixed up license information. Only the library is packaged.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-14 12:29:27 -04:00
Sebastian Kemper 54b33157a6 glib2: don't use libelf during host build
Since commit 2e490e7e46a4f6fbf66fa930a25c2991e24c0f83 tools/libelf
installs a pkgconfig file, which in turn is picked up during the glib2
host build. On the build bots the same occurs, although it so happens
that (sometimes?) libelf.h is not found and the host build fails. This
may be a timing issue specific to the build bots, as the header is in
fact installed by tools/libelf and I can't reproduce this here on my own
computer.

In any case, libelf (if detected) is only used by gresource. gresource
can be used without it. gresource is not used by OpenWrt's build system
(also not in openwrt/packages). So adding "--disable-libelf" to the host
configure args is not detrimental in any way and works around the issue
described above.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-09-09 09:39:49 +02:00
Rosen Penev 89b0c039b0 measurement-kit: Fix compilation with uClibc-ng
nextafter is not included in std with uClibc-ng. Don't use the std version

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from e613acffad)
2019-09-06 16:35:46 -07:00
Rosen Penev 7a07957baa libgpg-error: Fix compilation with GAWK 5.0
Patch from Upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-06 16:24:42 -07:00
Jo-Philipp Wich b7c7074a4b boost: fix raw kconfig syntax
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

cherry picked from commit af4cacd108
to correct the errors related to kernel config parsing.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-09-04 23:10:52 +03:00
Josef Schlehofer 70baf873b7 boost: Makefile polishing
Corrected License according to SPDX in PKG_LICENSE
Added PKG_LICENSE_FILES
HTTPS in their website
Reordered some stuff

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

cherry picked from commit 79831ee0ab
to correct the errors related to kernel config parsing.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-09-04 23:07:44 +03:00
Jan Pavlinec b145ff1a01 lmdb: update to version 0.9.24
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 4841f52)
2019-08-29 14:31:42 +02:00
Jan Pavlinec b902367ab8 lmdb: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit f311ec0)
2019-08-29 14:31:41 +02:00
Jan Pavlinec fe44318dd6 measurement-kit: update to version 0.10.5
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from 17ebaf2a3f)
2019-08-24 16:50:23 +02:00
Matthias Schiffer 3fe76317d3 libuecc: update URL and PKG_SOURCE_URL
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2019-08-21 16:17:33 +02:00
Jan Pavlinec b57190bcab zeromq: update to version 4.1.7 (security fix)
Fixes:
CVE-2019-13132
Added CPE ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 92bf4b4012)
2019-08-09 22:32:02 +02:00
Rosen Penev a0b194199c libsigar: Add missing header
The new version of musl does not include this header internally anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b97f32ec44)
2019-08-05 12:06:22 -07:00
Rosen Penev 99465dd993 libsigar: Remove deprecated rindex function
Optionally unavailable with uClibc-ng.

Switched to local tarballs. .xz is smaller.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b134eb3800)
2019-08-05 12:06:02 -07:00
Nikos Mavrogiannopoulos f849de2d08 gnutls: updated to 3.6.9
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-08-02 21:28:25 +02:00
Rosen Penev 5bc6f6373d elektra: Fix compilation with uClibc-ng
Add patch that checks for libiconv instead of iconv. nls.mk handles this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 50719a639a)
2019-07-19 20:00:00 -07:00
Rosen Penev 77b96a4ae4 fbzmq: Fix compilation with newer GCC
Added -faligned-new to fix compilation.

As fbzmq is passing -Werror, fixed compilation with newer GCC versions.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 50f8657141)
2019-07-19 19:38:25 -07:00
Eneas U de Queiroz 1a87b310f0 oniguruma: fix CVE-2019-13224 & CVE-2019-13225
The patches were taken from upstream commits.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-17 17:00:57 -03:00
Daniel Danzberger bd79bfa5ae postgresql: Update to version 11.3
Version 11.3 is the current stable relase.

Changes between 9.3 and 11.3:
- pg_receivexlog, pg_resetxlog and pg_xlogdump have been replaced with pg_resetwal
- ZIC config variable must be set when cross compiling
- disable systemd support
- ecpg is no longer needed for building
- MAKELEVEL must be set to 0 when called from another makefile
- Setting AC_CONFIG_AUX_DIR([config]) is no longer requried
- Decrease build time by removing unnecessary configure checks

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
(cherry-picked from d9bd0c19e4)
2019-07-07 09:44:59 +02:00
Rosen Penev 42bd3a7ef1 libextractor: Add missing header
Fixes compilation with -Wimplicit-function-declaration

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 0860268f22)
2019-07-07 09:44:16 +02:00
Yousong Zhou 8acaac7479 treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from 9ac5ac81ab)
2019-06-21 02:05:08 +00:00
Jianhui Zhao e4e62d230a libuhttpd: update to 2.2.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
(cherry-picked from 4e705708ae)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-21 02:04:36 +00:00
Rosen Penev 98f8621c99 fbzmq: Switch to HOSTPKG
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-20 09:47:24 -07:00
Rosen Penev 45930bc0ed libmstch: Switch HOST to HOSTPKG
HOST should be used by tools only, not for host packages.

Other minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-20 09:47:13 -07:00
Rosen Penev d6902e74bd fbthrift: Install to STAGING_DIR_HOSTPKG
As part of the boost change. Also get rid of various CMake options as
CMake can find everything properly now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-20 09:47:03 -07:00
Rosen Penev ed1204a2d1 libfolly: Fix compilation for older ARM platforms
ARM6 and below do not support the yield instruction. Do not use it there.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-20 09:46:53 -07:00