aboutsummaryrefslogtreecommitdiff
path: root/libs/libxml2
Commit message (Collapse)AuthorAge
* libxml2: update to 2.10.3Michael Heimpold2022-10-16
| | | | | | | | This fixes: - CVE-2022-40303 - CVE-2022-40304 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: update to 2.10.2 (closes #19288)Michael Heimpold2022-09-20
| | | | | | | | | | | | | | | | This fixes: - CVE-2022-2309 Release Notes: - https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.0 - https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.1 - https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.2 Also drop removed docbook compile switch. Disable PKG_FIXUP to allow backporting. Signed-off-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: add libiconv path to pkg-config fileAlin Nastac2022-07-21
| | | | | | | Needed for applications that use libxml-2.0.pc Libs.private params to link with -liconv library. Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
* libxml2: update to 2.9.14Michael Heimpold2022-05-29
| | | | | | This fixes CVE-2022-29824. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: update to 2.9.13Michael Heimpold2022-03-15
| | | | | | | | This fixes CVE-2022-23308. Also switch to GNOME as download source and xz tarball. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: build host static lib with -fPICDaniel Golle2021-11-24
| | | | | | | | 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>
* libxml2: don't build host shared librariesRosen Penev2021-10-23
| | | | | | | | | | 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>
* libxml2: update to 2.9.12Michael Heimpold2021-05-19
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* libxml2: allow building with iconv support (fixes #14637)Michael Heimpold2021-02-07
| | | | | | | Instead of hard disabling iconv support, just rely on the global setting. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml: patch security issuesJan Pavlinec2020-09-11
| | | | | | | | | Fixes: CVE-2019-20388 CVE-2020-24977 CVE-2020-7595 Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* libxml2: update to 2.9.10Michael Heimpold2019-11-30
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: install xml2-config with host tripletSebastian Kemper2019-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only xml2-config is installed, for both the normal libxml2 package as well as the host package. The problem with that is that due to multilib considerations the build host may have xml2-config installed with a host triplet prefix, like x86_64-pc-linux-gnu-xml2-config (and xml2-config as a symbolic link to it). Gentoo for instance sets it up like this. Packages may actually search for a prefixed xml2-config before searching for xml2-config. An example would be Asterisk: checking for x86_64-pc-linux-gnu-xml2-config... /usr/bin/x86_64-pc-linux-gnu-xml2-config This then introduces wrong information into the build, for instance bad includes: ~/tmp/openwrt $ /usr/bin/x86_64-pc-linux-gnu-xml2-config --cflags -I/usr/include/libxml2 When the intention is to use OpenWrt's own (host) libxml2 one would like to see this output used instead: ~/tmp/openwrt $ ./staging_dir/hostpkg/bin/xml2-config --cflags -I/home/sk/tmp/openwrt/staging_dir/hostpkg/include/libxml2 This commit addresses this by installing xml2-config with a suitable prefix and creating a symbolic link xml2-config. This is done for both the host package and the normal package. The latter also needs this fix because the target may use the same triplet as the host system (for instance x86_64 cross-compiling for x86_64). Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* libxml2/host: revert xml2-config prefix fixSebastian Kemper2019-10-23
| | | | | | | | | | | | | | | | Commit 218f0229a4594b32d9db6ad0678cdce7e2663e27 added a workaround for a problem. The host compile overwrote xml2-config in "$(STAGING_DIR)/host/bin". The workaround fixed the issue for regular target packages. But it didn't leave a proper xml2-config script for host packages. Times have changed. Host packages are now installed in "$(STAGING_DIR_HOSTPKG). So there is no longer any danger of the host package overwriting the xml2-config script for target packages. So revert the mentioned commit, leaving us with two proper xml2-config scripts, one for target package builds and one for host package builds. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* libxml2: add -dev and -utils packages (closes #8591)Michael Heimpold2019-06-13
| | | | | | | | | | This introduces a libxml2-dev package which contains most stuff required for developing against libxml2 (on the target), and the libxml2-utils package which contains the xmllint and xmlcatalog command line binaries which are provided by libxml2. Reported-by: Valentín Kivachuk <vk18496@gmail.com> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: update to 2.9.9Michael Heimpold2019-01-03
| | | | | | | | Also drop the CVE patches which are already covered by this new release. Compile tested for and run tested on mxs platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: Fix CVE-2018-14404Rosen Penev2018-08-21
| | | | | | Embarrasingly, I missed this one last time. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libxml2: Fix CVE-2018-9251 and CVE-2018-14567Rosen Penev2018-08-17
| | | | | | | | Also added the CPE ID. Taken from Fedora. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libxml2: update to 2.9.8Michael Heimpold2018-03-06
| | | | | | Also drop obviously dead download mirrors. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: update to 2.9.7Michael Heimpold2017-11-03
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: install cmake moduleStijn Tintel2017-10-20
| | | | | | | | | | | Since version 2.9.2, libxml2 provides its own cmake module. Install it to avoid packages built with cmake and requiring libxml2 to fall back to cmake's FindLibXml2 module, which seems to detect host libxml2 instead of the one in staging_dir. Fixes #4917. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* libxml2: upgrade to 2.9.6Michael Heimpold2017-10-07
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: upgrade to 2.9.5Michael Heimpold2017-09-04
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | fix Makefile chmod (644) replace MD5SUM with HASH add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git (PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* libxml2: upgrade to 2.9.4Michael Heimpold2016-05-31
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: prevent host compile to overwrite xml2-config (closes #2566)Michael Heimpold2016-04-02
| | | | | | | | | | Host compilation overwrites "$(STAGING_DIR)/host/bin/xml2-config with an unpatched variant. So apply the same sed expression before installing the file during host install. Thanks to @zyxmon for spotting this. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: upgrade to 2.9.3Michael Heimpold2015-11-20
| | | | | | | | | | Beside some improvements, this also fixes several CVEs, for full list see upstream changelog at: https://mail.gnome.org/archives/xml/2015-November/msg00012.html The patch needed for musl was accepted upstream, so we can remove it. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: disable parallel buildAlexander Couzens2015-08-26
| | | | | | libxml2 fails to build in one of three runs. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* libxml2: fix build error with musl libc (fixes #454)Michael Heimpold2014-12-21
| | | | | | Thanks to nakarotori for spotting this. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: Fix zlib detection the right wayJames Le Cuirot2014-12-02
| | | | | | | | | The previous fix (#557) forced -lz into LDFLAGS instead of fixing the real issue where configure was failing to detect zlib in the first place. This was happening because it was looking in /lib, resulting in conflicts with the host libraries. Signed-off-by: James Le Cuirot <james.le-cuirot@yakara.com>
* libxml2: fix compilation on archlinux and gentooMichael Heimpold2014-11-26
| | | | | | | | | | | | | | Compilation of libxml2 on some distributions is problematic (at least archlinux) for OpenWrt. This commit fixes the issue. Issue is caused because configuration for some reason does not find gzopen from zlib. This patch issues linker to include zlib anyway, if host system doesn't have this issue, it is not a problem as linker should not link libs twice anyway. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com> [ Slightly modified commit message ] Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* libxml2: add host compileJiri Slachta2014-11-21
| | | | | | | | | | | | Several packages may depend on host compiled packages during the build time (such as the new LTS versions of telephony packages). This commit adds an option to use the libxml2 to be built as a host package. Usage would be following: PKG_BUILD_DEPENDS:=libxml2/host Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
* libxml2: update to 2.9.2Steven Barth2014-10-20
| | | | | | fixes CVE-2014-3660, CVE-2014-0191 among other issues Signed-off-by: Steven Barth <steven@midlink.org>
* libxml2: import from packagesMichael Heimpold2014-06-17
Signed-off-by: Michael Heimpold <mhei@heimpold.de>