16 Commits

Author SHA1 Message Date
Jason Schonberg
9e2a1261e7
neon: upgrade 0.33.0 -> 0.34.2
Changes in release 0.34.2 (neon-0.34.2.tar.gz), 15th April 2025

    Fix regression in NTLM auth in 0.34.0 (issue #190).
    Add docs for ne_ssl_proto_name, ne_ssl_protovers, ne_get_request_target.

Changes in release 0.34.1 (neon-0.34.1.tar.gz), 14th April 2025

    Fix regression in 207 parsing of elements which omit a reason-phrase (issue #188).
    Fix ne_move() to submit lock tokens for the parent collection of a source resource locked with depth: 0.

Changes in release 0.34.0 (neon-0.34.0.tar.gz), 23rd November 2024

    Interface changes:
        API and ABI backwards-compatible with 0.27.x and later
        NE_SESSFLAG_SSLv2 is now ignored

    New interfaces and features:
        ne_request.h: add ne_get_response_location(), add ne_get_request_target()
        ne_redirect.h: adds relative URI resolution per RFC 9110
        ne_socket.h: add ne_iaddr_set_scope(), ne_iaddr_get_scope(), ne_sock_getproto()
        ne_session.h: add NE_SESSFLAG_STRICT session flag
        ne_session.h: ne_session_create() now accepts scoped IPv6 link-local literal addresses following the RFC 6874 syntax;
        ne_session.h: add ne_ssl_set_protovers() to configure TLS protocol version ranges
        ne_utils.h: add NE_FEATURE_GSSAPI, NE_FEATURE_LIBPXY feature flags
        ne_ssl.h: add ne_ssl_proto_name()
        HTTP strictness/compliance updated for RFC 9110/9112; notably stricter in parsing header field line, chunked transfer-coding, status-line.

    Bug fixes:
        auth: the ‘realm’ string passed to credentials callback is now cleaned of non-printable characters.
    Documentation & header updates for RFC 9110/9112.
    New NE_MINIMUM_VERSION() autoconf macro for better version handling.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-30 10:36:16 -07:00
Sofiane HAMAM
84c628b4ff
neon: fix broken SRC_URI
Update neon v0.33.0 SRC_URI, old one is not found in DEBIAN_MIRROR
at the time of commiting.

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-13 22:09:36 -07:00
Ross Burton
e989546d7d neon: remove obsolete class-native override
This prefix override for native builds is no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton
8d6af9005f neon: use gettext class
Just use the gettext class to simplify the enable/disabling of NLS
support.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton
d2ce1dc6ba neon: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Wang Mingyu
aaface8243
neon: upgrade 0.32.5 -> 0.33.0
Changelog:
=============
 - test suite now works correctly on IPv6-only hosts
 - fixes for building against LibreSSL
 - ne_uri_parse() fixes for handling URI with no path and catch
   some invalid URIs which were allowed
 - retry requests after a 408 response on a persisted connection
 - 207 error strings are cleaned and compressed to a single line
 - fixed thread-safety in ne_rfc1123_date where gmtime_r is available
 - ne_lock_refresh() fixed to use a non-idempotent request
 - TLS name verification updated to match RFC 9110/6125, added strict
   handling of IP literals vs DNS names

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:10 -08:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Wang Mingyu
990812b079 neon: upgrade 0.32.4 -> 0.32.5
Changelog:
=========
* NOTE: Since 0.32.0 the "$KRB5_CONFIG" environment variable is ignored
  when running configure. Use KRB5_CONF_TOOL instead to specify an
  alternative to /usr/bin/krb5-config.
* Fail for configure --with-gssapi if GSSAPI can't be enabled (issue #102)
* Add Georgian translation
* Fixes for Windows MSYS2/MinGW build, including cross-build

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Niko Mauno
6a87f2ba9c Fix missing leading whitespace with ':append'
Mitigate occurences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25 08:51:25 -08:00
wangmy
8308d1d6fa neon: upgrade 0.32.2 -> 0.32.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-20 18:55:26 -07:00
Khem Raj
0d8fbade0b neon: Upgrade to 0.32.2
Drop libxml2-config patch, its not needed anymore
Do not install documentation, it does not cross build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-25 23:08:11 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08: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
Aditya.Tayade
46373cb7f2 neon: Add ptest
Reused below test suites from neon source package:
BASIC_TESTS:
auth
basic
request
session
socket
string-tests
stubs
uri-tests
util-tests

DAV_TESTS:
acl3744
lock
oldacl
props
xml
xmlreq

Overall execution time of above test suite is approximately 15sec.

Signed-off-by: Neetika.Singh <Neetika.Singh@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-15 08:46:12 -07:00
Nisha Parrakat
61e3bc3907 neon: use pkg-config instead of xml2-config to configure
xml2-config is broken for neon.
if packageconfig libxml2, webdav, zlib is enabled for neon
we get the following configure error in the yocto build.

| configure: WebDAV support is enabled
| checking for xml2-config... xml2-config
| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
| checking libxml/xmlversion.h usability... no
| checking libxml/xmlversion.h presence... no
| checking for libxml/xmlversion.h... no
| configure: error: could not find parser.h, libxml installation problem?
| WARNING: exit code 1 from a shell command.

The patch lets configure use pkg-config

Signed-off-by: Nisha Parrakat <nisha.parrakat@kpit.com>
Signed-off-by: Saloni Jain <Saloni.Jain@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 08:01:50 -08:00
Alexander Kanavin
ec5b6dd327 neon: add the recipe from oe-core
It is still required by libmusicbrainz, but is no longer needed
by oe-core. Switch the upstream to debian as webdav.org is down.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-11 07:58:58 -08:00