34 Commits

Author SHA1 Message Date
Gyorgy Sarvari
de561a26c0 poco: patch CVE-2023-52389
Details: https://nvd.nist.gov/vuln/detail/CVE-2023-52389

Pick the patch from the PR mentioned in the nvd report.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-11-30 15:13:57 +01:00
Gyorgy Sarvari
5f9ee37d4b poco: remove mongodb from ptest RDEPENDS
mongodb is in the dynamic-layers section of meta-oe, and not available
by default - which makes the layer not YP compatible.

To avoid this breakage, remove mongodb from RDEPENDS.

To run ptests fully, this is still required to be present however
(bbappend, or local.conf...).

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-11-10 20:00:59 +01:00
Gyorgy Sarvari
ea936b8f0e poco: fix ptests
1. Add a patch to fix an incorrect and failing test
2. Add missing dependencies and test files
3. Enable network in run-ptest script by adding a nameserver
4. Start mongodb from run-ptest script, if it wouldn't be running.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-11-02 15:08:58 +01:00
Khem Raj
06fc0278f1 poco: Fix ptests
testrunners file was coming out to be empty after anon python was turned
into a prepend to populate_packages which is executed during do_package
and hence POCO_TESTRUNNERS was not populated when it was used during
do_ptest_install now. Therefore alter the logic to collect the list of
tests to run into testrunners file. Also package the ignore file which
is platform specific, here the lnx version is packaged and specified
using -ignore cmd to tests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-07-13 14:41:35 -04:00
Khem Raj
88f1dc85d8 poco: Remove pushd/popd from run-ptest
This could be worked out without needing to add bash dependency

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-07-13 14:41:31 -04:00
Peter Marko
e8682e9803 poco: patch CVE-2025-6375
Pick commit mentioned in [1].

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-6375

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-07-13 14:41:28 -04:00
Martin Jansa
013a32fec9 poco: use main instead of master branch
Branches used in langdale, mickledore, nanbield were re-written in upstream :(, fixes were sent to meta-oe:
langdale: https://lists.openembedded.org/g/openembedded-devel/message/107533
mickledore: https://lists.openembedded.org/g/openembedded-devel/message/107531
merged in:
https://git.openembedded.org/meta-openembedded/commit/?h=mickledore&id=b0d67900ae9e8911f734c25c0674fe55df8cd188
nanbield: https://lists.openembedded.org/g/openembedded-devel/message/107532
merged in:
https://git.openembedded.org/meta-openembedded/commit/?h=nanbield&id=2da6e1b0e43a8993fd422fee3f83940100b59f4c

fix for langdale wasn't ever fixed because it was sent after langdale
was already EOL, but looks like the version used in kirkstone got
broken recently as well, because master branch was removed:

poco/1.11.2-r0/git $ git branch -a --contains 9d1c428c861f2e5ccf09149bbe8d2149720c5896
* master
...
  remotes/origin/dev-task-test-diag
  remotes/origin/devel
  remotes/origin/feat/acceptor-service-handler-args
  remotes/origin/fix/posix-sleep
  remotes/origin/issue-templates
  remotes/origin/master
  remotes/origin/poco-1.12.0
  remotes/origin/poco-1.12.1
  remotes/origin/poco-1.12.2
  remotes/origin/poco-1.12.3
  remotes/origin/poco-1.12.4
  remotes/origin/poco-1.12.5
  remotes/origin/poco-1.12.6
  remotes/origin/poco-1.9.5-not-released
  remotes/origin/poll-closed-server-test
  remotes/origin/upgrade-ci-actions-to-v3

poco/1.11.2-r0/git $ git remote prune origin
Pruning origin
URL: https://github.com/pocoproject/poco.git
...
 * [pruned] origin/android-ndk-action
 * [pruned] origin/develop
 * [pruned] origin/feat/wepoll
 * [pruned] origin/fix/PollSet-race
 * [pruned] origin/fix/swap-noexcept
 * [pruned] origin/master
 * [pruned] origin/poco-1.10.2
 * [pruned] origin/poco-1.9.5
 refs/remotes/origin/HEAD has become dangling!

poco/1.11.2-r0/git $ git branch -a --contains 9d1c428c861f2e5ccf09149bbe8d2149720c5896
* master
...
  remotes/origin/dev-task-test-diag
  remotes/origin/devel
  remotes/origin/discourage-using-configure-and-make
  remotes/origin/feat/acceptor-service-handler-args
  remotes/origin/feat/json-logging
  remotes/origin/fix/posix-sleep
  remotes/origin/issue-templates
  remotes/origin/main
  remotes/origin/master-pre-1.13.0
  remotes/origin/master-unused
  remotes/origin/openssl_fix
  remotes/origin/poco-1.12.0
  remotes/origin/poco-1.12.1
  remotes/origin/poco-1.12.2
  remotes/origin/poco-1.12.3
  remotes/origin/poco-1.12.4
  remotes/origin/poco-1.12.5
  remotes/origin/poco-1.12.6
  remotes/origin/poco-1.13.0
  remotes/origin/poco-1.13.1
  remotes/origin/poco-1.13.2
  remotes/origin/poco-1.13.3
  remotes/origin/poco-1.13.4
  remotes/origin/poco-1.9.5-not-released
  remotes/origin/poll-closed-server-test
  remotes/origin/release-1.14-changelog-authors
  remotes/origin/search-support
  remotes/origin/upgrade-ci-actions-to-v3

switch to main branch which is the most common and the least surprising.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-12-08 14:38:16 -05:00
Andrej Valek
e50dd7da23 poco: upgrade 1.11.1 -> 1.11.2
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-19 08:22:50 -07:00
Wang Mingyu
362edb4850 poco: upgrade 1.11.0 -> 1.11.1
0001-fix-missing-expat-definition.patch
removed since it's included in 1.11.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-07 09:27:53 -08:00
Martin Jansa
856902b8c0 Fix DeprecationWarning about regexps
* fixes:
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:125: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:126: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:128: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:129: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:130: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb:18: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb:21: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb:28: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1343: DeprecationWarning: invalid escape sequence \-
oe-core/meta/classes/package.bbclass:1343: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1344: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1345: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1348: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1350: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1353: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1355: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1358: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1360: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1365: DeprecationWarning: invalid escape sequence \.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21 18:12:04 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Pascal Bach
8527bd0ef8 poco: update to 1.11.0
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -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
Khem Raj
fbc28b50e9 poco: Add riscv32 support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:26:38 -08:00
richard
9ded5624b7 poco: Upgrade 1.9.4 -> 1.10.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:51 -08:00
Pierre-Jean Texier
207d738dbb poco: add UPSTREAM_CHECK_GITTAGREGEX
Fixes:

INFO: poco                      1.9.4           UNKNOWN_BROKEN  None

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-01 09:20:03 -07:00
Khem Raj
130cc706f1 poco: Define LIB_SUFFIX per OE multilibs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:56:59 -08:00
Khem Raj
31693faa26 poco: Fix build on risc-v
Patch fixes following error

TOPDIR/build/tmp/work/riscv64-yoe-linux-musl/poco/1.9.4-r0/git/Foundation/src/utils.h:76:2: error: Target architecture was not detected as supported by Double-Conversion.
 ^
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 18:02:09 -07:00
Adrian Bunk
b20ba29628 poco: Upgrade 1.9.0 -> 1.9.4
Removed patch for issue fixed upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Khem Raj
11165418e6 poco: Backport riscv support patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Khem Raj
226e889f6b poco: Fix cross compilation
Backport a pull request to fix build error seen during cross compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Trevor Woerner
2d07e06ce9 poco: variable cleanup
Reorder recipe variables according to:

	https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Pascal Bach
19e7db690a poco: update to 1.9.0
Enable the new Encodings and Redis packages by default.

Splitting into sub packages now uses PACKAGES_DYNAMIC instead of the
custom logic used before.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:31:12 -07:00
Pascal Bach
735439b515 poco: update to 1.8.0.1
1.8 is a minor update from 1.7 and is planned to be the last version before
2.0.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-30 09:13:32 -08:00
Pascal Bach
4496cb4b29 poco: update to 1.7.9
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:12 +02:00
Pascal Bach
49ea5f4fa4 poco: make cmake packages relocatable
Before the path to the dependencies was hard coded into the generated
PocoConfig.cmake file. This causes issues with sstate.

This change overrides the libraries with just the library names and thus
let's the linker take care of finding them.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:24 +02:00
Khem Raj
211beca606 poco: Upgrade to 1.7.8
Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:27:26 +02:00
Pascal Bach
8dbee05bc1 poco: update to 1.7.7
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 15:59:37 +01:00
Joshua Lock
efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Pascal Bach
0feb5f748c poco: update to 1.7.5
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:09 +02:00
Pascal Bach
0a2bd4f978 poco: update to 1.7.4
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-31 18:21:58 +02:00
Pascal Bach
00f6dc9cdb poco: update to 1.7.3
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:56 +02:00
Pascal Bach
d114433d6a poco: update to 1.7.1
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25 11:26:59 +01:00
Pascal Bach
8700ba3880 poco: Add recipe for POCO C++ library
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:30:15 +01:00