Commit Graph

27 Commits

Author SHA1 Message Date
Ankur Tyagi
3d989eb151
xmlsec1: upgrade 1.3.7 -> 1.3.9
Refreshed patches and updated ptest.

Changelog:
https://github.com/lsh123/xmlsec/releases/tag/1.3.8
https://github.com/lsh123/xmlsec/releases/tag/1.3.9

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-18 08:17:55 -08:00
Yi Zhao
cf4755a60d
xmlsec1: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.

Before the patch:
$ devtool latest-version xmlsec1
INFO: Current version: 1.3.7
INFO: Latest version:

After the patch:
$ devtool latest-version xmlsec1
INFO: Current version: 1.3.7
INFO: Latest version: 1.3.9

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-12 09:39:00 -08:00
Martin Jansa
8f6d4090e2
xmlsec1: fix build with gnutls or openssl PACKAGECONFIG not enabled
the .pc files might not be installed based on the PACKAGECONFIG
value

fixes:
https://git.openembedded.org/meta-openembedded/commit/?id=cce20b5124e28ee55adf03fe062084f38d065580

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 09:16:04 -07:00
Jiaying Song
cce20b5124
xmlsec1: avoid hardcoded ${RECIPE_SYSROOT} in xmlsec1-gnutls.pc
Fix do_package_qa error by removing ${RECIPE_SYSROOT} from the installed xmlsec1-gnutls.pc file.
This ensures the generated .pc file does not leak build-time paths, complying with QA checks.

Fixes QA error:
ERROR: xmlsec1-1.3.7-r0.wr2500 do_package_qa: QA Issue: File /usr/lib/pkgconfig/xmlsec1-gnutls.pc in package xmlsec1-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:50 -07:00
Wang Mingyu
74c7e41978
xmlsec1: upgrade 1.3.5 -> 1.3.7
0001-nss-nspr-fix-for-multilib.patch
makefile-ptest.patch
xmlsec1-examples-allow-build-in-separate-dir.patch
refreshed for 1.3.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-12 09:17:19 -08:00
Khem Raj
24048ef4b0
xmlsec1: Switch SRC_URI to use github release
This ensures that we do not have to do the toggling from
releases to old-release in LTS release branches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jiaying Song <jiaying.song.cn@windriver.com>
2024-10-19 20:26:41 -07:00
Wang Mingyu
baa80b3305
xmlsec1: upgrade 1.3.4 -> 1.3.5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:20 -07:00
Wang Mingyu
37f98cb038
xmlsec1: upgrade 1.3.3 -> 1.3.4
Changelog:
============
-(xmlsec-openssl) Support cert dates before unix epoch start.
-(xmlsec-openssl) Fix build for LibreSSL or BoringSSL.
-(xmlsec-nss) Ensure NSS algorithms are initialized.
-Several other small fixes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-17 23:47:29 -07:00
Wang Mingyu
94d2364152
xmlsec1: upgrade 1.3.2 -> 1.3.3
0001-nss-nspr-fix-for-multilib.patch
change-finding-path-of-nss.patch
ensure-search-path-non-host.patch
fix-ltmain.sh.patch
refreshed for 1.3.3

Changelog
========
-Disabled KeyValue and DEREncodedKeyValue XML nodes by default. Use the
 '--enabled-key-data' option for the xmlsec command line utility or update
 the 'keyInfoCtx->enabledKeyData' parameter if you need to re-enable these
 nodes (also see question 3.5 in the FAQ).
-Removed '--enable-size-t' ('size_t' for MSVC builds) option and made
 'xmlSecSize' to always be the same as 'size_t'.
-Removed previously deprecated functions, defines, etc.
-Fixed build for libxml2 v2.12.0.
-Removed support for OpenSSL 1.1.0 (end of life in Aug 2016).
 The minimum OpenSSL supported version is 1.1.1; the version 3.0.0 or greater is recommended.
-Added runtime check for the enabled algorithms in NSS.
-Removed NT4 support.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:43 -08:00
Khem Raj
dac2be6449 xmlsec1: Fix the key name in verify2 test
This is a typo when compared to examples/Makefile check target
Fixes
Failed ptests:
{'xmlsec1': ['verify-keys-manager']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:14 -08:00
Khem Raj
8ffadc658b xmlsec1: upgrade 1.2.37 -> 1.3.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:14 -08:00
Khem Raj
e4a2dfb8d9 xmlsec1: Include xmlsec/parser.h for xmlSecParserSetDefaultOptions()
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Wang Mingyu
32e077b837 xmlsec1: upgrade 1.2.36 -> 1.2.37
Changelog;
Fixed two regressions from 1.2.36 release: issue #437 and issue #449.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-05 09:16:24 -08:00
Wang Mingyu
43e39eb9c1 xmlsec1: upgrade 1.2.34 -> 1.2.36
makefile-ptest.patch
xmlsec1-examples-allow-build-in-separate-dir.patch
refreshed for new version.

Changelog:
===========
Retired the XMLSec mailing list "xmlsec@aleksey.com" and the XMLSec Online Signature Verifier.
Migration to OpenSSL 3.0 API (based on PR by @snargit). Note that OpenSSL engines are disabled by default when XMLSec library is compiled against OpenSSL 3.0. To re-enable OpenSSL engines, use "--enable-openssl3-engines" configure flag (there will be a lot of deprecation warnings).
The OpenSSL before 1.1.0 and LibreSSL before 2.7.0 are now deprecated and will be removed in the future versions of XMLSec Library.
Refactored all the integer casts to ensure cast-safety. Fixed all warnings and enabled "-Werror" and "-pedantic" flags on CI builds.
Added configure flag to use size_t for xmlSecSize (currently disabled by default for backward compatibility).
Moved all CI builds to GitHub actions.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
wangmy
d34ff1a4ce xmlsec1: upgrade 1.2.33 -> 1.2.34
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Yi Zhao
5e0f1edc96 xmlsec1: enable native build
It is required by openscap 1.3.5.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-29 18:32:15 -08:00
wangmy
968c5e85b0 xmlsec1: upgrade 1.2.32 -> 1.2.33
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-22 10:15:01 -08:00
zhengruoqin
1e842039df xmlsec1: upgrade 1.2.31 -> 1.2.32
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-26 10:10:57 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Anatol Belski
74b66d1911 xmlsec1: Fix configure QA error caused by host lookup path
The configure script contains hardcoded lookup paths to /usr and other
paths that might interfere with the host. These are overwritten with the
staging dir locations for Poky compatibility.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-14 10:11:15 -08:00
Zang Ruochen
27afa0a168 xmlsec1: upgrade 1.2.30 -> 1.2.31
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 13:41:03 -08:00
Jose Dapena Paz
fe46dbec65 xmlsec1: do not use system libraries for non nss
In case PACKAGECONFIG[nss] is not set, in case system includes
nss or nspr, it will still try to compile using system libraries.

To avoid that, this change explicitely uses --with-nss=no and
--with-nspr=no so configure does not try to find those libraries
if they are disabled.

Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-04 13:53:02 -07:00
Wang Mingyu
dbfdb6eedf xmlsec1: upgrade 1.2.29 -> 1.2.30
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:42 -07:00
Qi.Chen@windriver.com
924fff467b xmlsec1: fix for multilib
With previous change of nss/nspr in this recipe, multilib build
failure at do_configure.

Fix it by not using hardcoded /lib/.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-05 07:46:42 -08:00
Martin Jansa
1c085f4877 xmlsec1: search nspr header files in ${STAGING_INCDIR}/nspr
* the --with-nspr/--with-nss should be just ${prefix} as mentioned in:
  https://www.aleksey.com/pipermail/xmlsec/2005/007172.html
  remove the change-finding-path-of-nss.patch parts handling nspr and
  handling incorrect --with-nspr/--with-nss value in the recipe missing
  "/usr" prefix

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-27 20:04:56 -08:00
Zang Ruochen
bce8070ae1 xmlsec1: upgrade 1.2.28 -> 1.2.29
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:42 -07:00
Adrian Bunk
fa00c98d69 xmlsec1: Import from meta-security
This is not a security tool, it is a support library that
is needed for vgauth in open-vm-tools and can also be used
by libreoffice.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-27 12:11:15 -07:00