Commit Graph

25430 Commits

Author SHA1 Message Date
Khem Raj 8699170d3a xmlstarlet: Fix build with clang16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj ee0de616df net-snmp: Fix build with clang16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 791d82af21 nspr: Fix build with clang16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 5fcea1efcc rtorrent: Update to latest tip of trunk
This is needed to get it working with latest compilers
always --enable-aligned so it does not have to perform runtime test
Drop the patch for removing AC_RUN_IFELSE as this macro is no longer
excercised in OE builds

Pin to c++14 for now, since std::binary_function is in use which is gone
in c++17 ( default with clang 16+ )

License-Update: Use GPL-2.0 or later identifier correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 02831aa6e3 pipewire-media-session: Use PW_ENABLE_DEPRECATED
pipewire 0.64 has removed [1] NODE_TARGET which is still used by pipewire-media-session
so enable deprecated features for now to get the definition of PW_KEY_NODE_TARGET [2]

[1] https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.64#highlights
[2] https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2952

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 3e9c66580f ace: Upgrade to 6.5.19
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 6e15cb7e04 libmimetic: Pin to using -std=c++14
It uses unary_function which is removed in c++17

| ../../../git/mimetic/rfc822/header.h:37:21: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
|         public std::unary_function<const Field, bool>
|                ~~~~~^~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj efe6522104 gengetopt: Use std=c++14
It needs std::unary_operator which is gone in c++17, until it is forward
ported to work with c++17, pin to c++14

 ../../gengetopt-2.23/src/gm_utils.h:132:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
| struct pair_print_f : public std::unary_function<T, void>
|                              ~~~~~^~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 1ccdb81959 log4cpp: Keep using std=c++14
It still needs auto_ptr which is pre c++17

| ../../log4cpp/include/log4cpp/BufferingAppender.hh:21:81: error: no template named 'auto_ptr' in namespace 'std'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 6f3ded8f27 ssiapi: Use c++14 standard
It depends on std::auto_ptr which is gone with c++17 therefore pin to
c++14 until auto_ptr is replaced with something else e.g. unique_ptr

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 195c2045fd audiofile: Stick to c++14 std
It uses std::unary_function which is removed from c++17 onwards, until
this is removed/replaced we can not move beyond c++14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj b075f0e44c ippool: Use unsigned int type for 1-bit integer bitfield
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 313539eeaa gnuchess: Fix build with c++17
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 6d0eaf9a27 libtorrent: Update to tip of trunk
Drop cross compile patch as we do not need it anymore since we now
use --enable-aligned

License-Update: Correctly mark the license as GPL-2.0+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj 68fe58173d freerdp: Fix incompatible function pointer type
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:01 -08:00
Khem Raj a92489d4b4 p8platform: Fix build with c++17 clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:01 -08:00
Khem Raj ed9fd245a9 satyr: Fix build with musl
Add missing typedefs for __compar_fn_t and compare_fn_t for
non __GLIBC__ case.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:01 -08:00
Khem Raj a56f11b144 xmlrpc-c: Upgrade to 1.54.06
Drop upstream applied patch see [1]

[1] https://github.com/mirror/xmlrpc-c/commit/148e64a5bb5588a89840ee498430332456c216f3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:01 -08:00
Khem Raj 2d21f07004 libmodplug: Fix build with c++17
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:01 -08:00
Leon Anavi ceceffcb1e python3-configobj: Upgrade 5.0.6 -> 5.0.8
Upgrade to release 5.0.8:

- fixing/test for a regression introduced in 5.0.7 that prevented
  import validate from working
- update testing to validate against python version 2.7 & 3.5-3.11
- update broken links / non-existent services and references

License-Update: Use file LICENSE, no change of the license

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-19 11:17:02 -08:00
Leon Anavi 2f663daa13 python3-eventlet: Upgrade 0.33.2 -> 0.33.3
Upgrade to release 0.33.3:

- Fix greendns for dnspython 2.3.0+

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-19 11:17:02 -08:00
Gianfranco Costamagna 30a0c7da3a boinc-client: Update boinc from 7.20.4 to 7.20.5
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-19 11:17:02 -08:00
Chee Yang Lee 81f36f8675 redis: Upgrade to 6.2.9
Upgrade urgency: SECURITY, contains fixes to security issues.

Security Fixes:

(CVE-2022-35977) Integer overflow in the Redis SETRANGE and SORT/SORT_RO
commands can drive Redis to OOM panic
(CVE-2023-22458) Integer overflow in the Redis HRANDFIELD and
ZRANDMEMBER
commands can lead to denial-of-service

Bug Fixes:

Avoid possible hang when client issues long KEYS, SRANDMEMBER,
HRANDFIELD,
and ZRANDMEMBER commands and gets disconnected by client output buffer
limit (#11676)
Fix sentinel issue if replica changes IP (#11590)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 18:20:32 -08:00
Chee Yang Lee 31f82dab43 redis: Upgrade to 7.0.8
Upgrade urgency: SECURITY, contains fixes to security issues.

Security Fixes:

(CVE-2022-35977) Integer overflow in the Redis SETRANGE and SORT/SORT_RO
commands can drive Redis to OOM panic
(CVE-2023-22458) Integer overflow in the Redis HRANDFIELD and
ZRANDMEMBER
commands can lead to denial-of-service

Bug Fixes

Avoid possible hang when client issues long KEYS, SRANDMEMBER,
HRANDFIELD,
and ZRANDMEMBER commands and gets disconnected by client output buffer
limit (#11676)
Make sure that fork child doesn't do incremental rehashing (#11692)
Fix a bug where blocking commands with a sub-second timeout would block
forever (#11688)
Fix sentinel issue if replica changes IP (#11590)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 18:20:32 -08:00
Alex Kiernan 0c5afec778 dnsmasq: Expand configuration options
Expose all current dnsmasq configuration options in PACKAGECONFIG,
enable i18n generation, filter supplementary systemd files against
DISTRO_FEATURES.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 15:16:36 -08:00
Alex Kiernan 2041c8bd3b dnsmasq: Merge .inc into .bb
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 15:16:36 -08:00
Khem Raj b75067567e python3-greenlet: Drop using register keyword
Its gone in modern C/C++ since c++17

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 08:29:36 -08:00
Ross Burton 8d64fcc825 mbedtls: add option to use PSA for X.509/TLS operations
Add an option to use Platform Security Architecture for the X.509 and TLS
operations.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 08:27:45 -08:00
Fabio Estevam c3f4c702ae lvgl-demo-fb: Add recipe
Add a recipe for the LVGL framebuffer GUI demo.

This allows to quickly test the LVGL framebuffer GUI demo application
by running the "demo" binary.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 08:27:45 -08:00
Wang Mingyu 642239db49 python3-xlsxwriter: upgrade 3.0.6 -> 3.0.7
Changelog:
===========
* Improved :func:'autofit' algorithm to account for the additional width of
  autofilter and table dropdowns.

* Improved :func:'autofit' take user defined column widths into account.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 36f40c1863 python3-txaio: upgrade 22.2.1 -> 23.1.1
License-Update: Copyright changed from "Crossbar.io Technologies GmbH"
to "typedef int GmbH"

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu d2b59c44f9 python3-sentry-sdk: upgrade 1.12.1 -> 1.13.0
Changelog:
===========
- Add Starlite integration (#1748)
- Adding support for the Starlite framework. Unhandled errors are captured.
  Performance spans for Starlite middleware are also captured.
- Profiling: Remove sample buffer from profiler (#1791)
- Profiling: Performance tweaks to profile sampler (#1789)
- Add span for Django SimpleTemplateResponse rendering (#1818)
- Use @wraps for Django Signal receivers (#1815)
- Add enqueued_at and started_at to rq job extra (#1024)
- Remove sanic v22 pin (#1819)
- Add support for byterray and memoryview built-in types (#1833)
- Handle "rc" in SQLAlchemy version. (#1812)
- Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790)
- Auto publish to internal pypi on release (#1823)
- Added Python 3.11 to test suite (#1795)
- Update test/linting dependencies (#1801)
- Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu e9118f2ac0 python3-redis: upgrade 4.4.1 -> 4.4.2
Changelog:
===========
Experimental Features
---------------------
 Add support for BF.CARD (#2545)

New Features
------------
 Add support for custom connection pool class in NodesManager (#2547)

Bug Fixes
---------
 Allow replica to master promotion in nodes_cache (#2549)
 Security Fix: Updating graph parser for potential injection cases (#2548)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu af5a88f28b python3-pyzmq: upgrade 24.0.1 -> 25.0.0
Changelog:
==========
New:
------
- Added socket_class argument to zmq.Context.socket()
- Support shadowing sockets with socket objects, not just via address,
  e.g. zmq.asyncio.Socket(other_socket). Shadowing an object preserves a
  reference to the original, unlike shadowing via address.
- in zmq.auth, CredentialsProvider callbacks may now be async.
- ZMQStream callbacks may now be async.
- Add zmq.ReconnectStop draft constants.
- Add manylinux_2_28 wheels for x86_64 CPython 3.10, 3.11, and PyPy 3.9
  (these are in addition to not instead of the manylinux_2014 wheels).

Fixed:
-------
- When ZMQStream is given an async socket, it now warns and hooks up events
  correctly with the underlying socket, so the callback gets the received
  message, instead of sending the callback the incorrect arguments.
- Fixed toml parse error in pyproject.toml, when installing from source with
  very old pip.
- Removed expressed dependency on py when running with pypy, which hasn't
  been used in some time.

Deprecated:
----------
- zmq.auth.ioloop.IOLoopAuthenticator is deprecated in favor of
  zmq.auth.asyncio.AsyncioAuthenticator
- As part of migrating toward modern pytest, zmq.tests.BaseZMQTestCase
  is deprecated and should not be used outside pyzmq.
- python setup.py test is deprecated as a way to launch the tests.
  Just use pytest.

Removed:
----------
- Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is
  removed, so ZMQStream cannot be used without an actual install of tornado.
- Remove support for tornado 4, meaning tornado is always assumed to run on asyncio.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu ef59d1fb7e python3-pymodbus: upgrade 3.0.2 -> 3.1.0
Changelog:
==========
    Add xdist pr default. (#1253)
    Create docker-publish.yml (#1250)
    Parallelize pytest with pytest-xdist (#1247)
    Support Python3.11 (#1246)
    Fix reconnectDelay to be within (100ms, 5min) (#1244)
    Fix typos in comments (#1233)
    WEB simulator, first version. (#1226)
    Clean async serial problem. (#1235)
    terminate when using 'randomize' and 'change_rate' at the same time (#1231)
    Used tooled python and OS (#1232)
    add 'change_rate' randomization option (#1229)
    add check_ci.sh (#1225)
    Simplify CI and use cache. (#1217)
    Solve issue 1210, update simulator (#1211)
    Add missing client calls in mixin.py. (#1206)
    Advanced simulator with cross memory. (#1195)
    AsyncModbusTcp/UdpClient honors delay_ms == 0 (#1203) (#1205)
    Fix #1188 and some pylint issues (#1189)
    Serial receive incomplete bytes.issue #1183 (#1185)
    Handle echo (#1186)
    Add updating server example. (#1176)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 7b86dc79c0 python3-mock: upgrade 5.0.0 -> 5.0.1
Changelog:
==========
- gh-100740: Fix unittest.mock.Mock not respecting the spec for attribute names
  prefixed with assert.
- gh-100690: Mock objects which are not unsafe will now raise an AttributeError
  when accessing an attribute that matches the name of an assertion but without
  the prefix assert_, e.g. accessing called_once instead of assert_called_once.
  This is in addition to this already happening for accessing attributes with
  prefixes assert, assret, asert, aseert, and assrt.
- gh-96127: inspect.signature was raising TypeError on call with mock objects.
  Now it correctly returns (*args, **kwargs) as infered signature.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu fd3c0d2fb5 python3-google-auth: upgrade 2.15.0 -> 2.16.0
Changelog:
==========
Features
--------
    AwsCredentials should not call metadata server if security creds and region are retrievable through the environment variables (#1195) (5e27c8f)
    Wrap all python built-in exceptions into library excpetions (#1191) (a83af39)

Bug Fixes
---------
    Allow get_project_id to take a request (#1203) (9a4d23a)
    Make OAUTH2.0 client resistant to string type 'expires_in' responses from non-compliant services (#1208) (9fc7b1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 134a7db052 python3-google-api-python-client: upgrade 2.71.0 -> 2.72.0
Changelog:
https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu a10bda8c87 python3-future: upgrade 0.18.2 -> 0.18.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 5d3020bd5e python3-flask-wtf: upgrade 1.0.1 -> 1.1.0
Changelog:
==========
-Python 3.7 or newer is required.
-Type annotations are now integrated with the source code and cover far more of
 the library.
-The get_soa() method has been added to dns.zone.Zone.
-The minimum TLS version is now 1.2.
-EDNS padding is now supported. Messages with EDNS enabled and with a non-zero
 pad option will be automatically padded appropriately when converted to wire format.
-dns.zone.from_text() and dns.zone.from_file() now have an allow_directives
 parameter to allow finer control over how directives in zonefiles are processed.
-A preliminary implementation of DNS-over-QUIC has been added, and will be
 available if the aioquic library is present. See dns.query.quic(),
 dns.asyncquery.quic(), and examples/doq.py for more info. This API is subject
 to change in future releases. For asynchronous I/O, both asyncio and Trio are
 supported, but Curio is not.
-DNSSEC signing support has been added to the dns.dnssec module, along with a
 number of functions to help generate DS, CDS, and CDNSKEY RRsets.
-Curio asynchronous I/O support is deprecated as of this release and will be
 removed in a future release.
-The resolver object's nameserver field is planned to become a property in
 dnspython 2.4. Writing to this field other than by direct assignment is
 deprecated, and so is depending on the mutability and form of the iterable
 returned when it is read.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu acb33dd200 python3-dnspython: upgrade 2.2.1 -> 2.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 6986532dbd python3-decouple: upgrade 3.6 -> 3.7
Changelog:
Fix Csv cast hanging with default=None, now returning an empty list. (#149)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 8cc20dd576 python3-dateparser: upgrade 1.1.5 -> 1.1.6
Changelog:
==========
    Fix the bug where Monday is parsed as a month (#1121)
    Prevent ReDoS in Spanish sentence splitting regex (#1084)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 6207648e88 python3-coverage: upgrade 7.0.4 -> 7.0.5
Changelog:
===========
Fix: On Python 3.7, a file with type annotations but no from __future__
import annotations would be missing statements in the coverage report.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 28b472b1af python3-absl: upgrade 1.3.0 -> 1.4.0
Changelog:
==============
NEW

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu fb30f2f616 xterm: upgrade 377 -> 378
License-Update: Copyright year updated to 378

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu c8e5256382 uftrace: upgrade 0.12 -> 0.13
Changelog:
==========
* new options
  -L/--loc-filter option to filter by source location  (#1395)
  --mermaid option for uftrace dump  (#1511)
  --no-sched-preempt option to disable preempted schedule events  (#1587)

* new features
  make -Z/--size-filter option work in general  (#1600)
  optionally spawn a background agent to talk using a socket  (#1543)
  add "size" field for uftrace report  (#1495)

* bug fixes
  handle different tracefs mount points  (#1476)
  fix timestamp parsing for external data  (#1549)

* other changes
  add clang-format support
  change to use Github actions
  test both GCC and LLVM/clang  (#1523)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu bf10ef1aa6 libtracefs: upgrade 1.6.3 -> 1.6.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 1585947cb9 libtraceevent: upgrade 1.7.0 -> 1.7.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Wang Mingyu 7ef1353bdf librelp: upgrade 1.10.0 -> 1.11.0
Changelog:
===========
- code cleanup
  During the initial librelp implementation it was thought about an
  auto-retry feature (whatever that means). Variable bAutoRetry was
  created to control that behaviour. It's default was 0 (inactive).
  Some code has been written to evaluate that variable and act
  accordingly. However, no setter method for this variable was
  created and it was also nowhere changed from the default value
  of zero. As such, the code activated by it was never used.
  This patch now removes both the variable and the few code lines
  accessing it. This will have no effect, as the code was never
  used.
- testbench: Fix commands in some openssl tests
  Those commands were not correctly handeled on AIX, now they are.
- AIX: Changed ERRNO handling after connect in tcp.c
- AIX: Add handling for other ERRNO codes in tcp.c
- bugfix/TCP: relpTcpGetRtryDirection onyl needs to check direction if SSL is active.
- AIX: in relpTcpRcv we need to set RETRY_recv if errno is 0
  On AIX 10.x, when a recv call fails with len -1 and errno 0
  we can still go into relpTCP_RETRY_recv mode. Testbench on
  rsyslog side appears to be finally working with this fix.
  On AIX 10.x, same problem as above appear to happen with
  connect() as well not setting errno to EINPROGRESS on failure.
  rsyslog ptcp driver does not check errno value at all, which is
  why we did not have this problem on AIX with rsyslog.
  Reduce test message count in receiver-abort.sh to 50000,
  because otherwise the test can timeout on very slow machines.
- openssl: fix openssl exit code avoid double free of ctx
  When more than one librelp instance are used in the same process,
  and the relpTcpExitTLS call was called a second time, the process
  could freeze due a double free (See SSL_CTX_free call).
  Thanks to David GOUARIN <david.gouarin@thalesgroup.com> for the
  discovery and initial fix.
  Also added an openssl instance counter to avoid freeing the SSL library
  which could be still in use by another librelp instance
  in the same process.
- librelp hardening: Fix multiple minor issues causing debugging trouble
  - avoid invalid dbgprint calls
  - avoid double free in relpTcpDestruct (if called twice).
  - add debug output into relpTcpRcv
- OpenSSL: fix depreacted API issues for OpenSSL 3.x
  - OpenSSL error strings are loaded automatically now
  - Adapted Debug Callback for 3.x
- bugfix: compatiblity problem with openssl 1.1
  There were undefined reference to CRYPTO_set_id_callback if system
  use openssl 1.1, which lead to load and/or other erros.
- bugfix: Forward return code from relpEngineSetTLSLib to relpEngineSetTLSLibName
  Previous situation: In case librelp is compiled without openssl
  support but openssl is requested from the user side, then librelp
  silently switches to the default tls driver(gnutls).
- bugfix: make relpEngineSetTLSLib debug safe
  In case pThis == NULL condition is true at line
- bugfix: warnings reported by coverity scan
- testbench: Added compatiblity to run on AIX
  - removed long options from receive send utilities (Not supported on AIX).
  - added checks for existing commands in some tests.
  - added msleep utility from rsyslog (sleep, timeout etc. not supported on AIX).
  - github workflow: Disabled some unrelated tests from rsyslog testbench
- gnutls drvr bugfix: library called exit() under some circumstances
  When relpTcpRcv ran into an error, it could call exit() and thus
  terminate the calling process.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00