9 Commits

Author SHA256 Message Date
2125e5dbdf libHX 5.2 2025-10-19 15:37:00 +02:00
f92a1ddda7 libHX 5.1 2025-10-11 14:01:16 +02:00
23faf30d14 libHX 5.0 2025-09-30 22:35:15 +02:00
7af814b73b libHX 4.28 2025-09-10 19:31:35 +02:00
07026cd026 libHX 4.27 2025-03-17 15:22:46 +01:00
ec097598ab libHX 4.26 2025-03-08 22:42:31 +01:00
9ee3dd7a93 libHX 4.25 2025-03-07 22:40:36 +01:00
118a763059 Update keyring 2024-12-01 12:02:34 +01:00
d55d2c50a9 libHX 4.24 2024-07-17 19:45:07 +02:00
7 changed files with 106 additions and 42 deletions

View File

@@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCZc48NAAKCRD3bv5dDCI6
jy0fAP472IkTWPVGD3AQuC3i7xqPS8vb4zOy6Itb6RSbeSRwUgD/RavKq2bQfgWa
RDSkbxROtQu8yWbE4T9SRwLXuFmcqgc=
=QeLi
-----END PGP SIGNATURE-----

Binary file not shown.

8
libHX-5.2.tar.asc Normal file
View File

@@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
iJEEABYKADkWIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCaPTnnRsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDIACgkQrraUGi+cmUSXGgEAzflKC/bw3+8EwGC756IL
RmEZ4Ool8si+U6kcQ8ztuAgBANzAkvsU3h3VlBZ3MQhmKowZ+TJ1ucL8yzAIdcgZ
vW4I
=iP0I
-----END PGP SIGNATURE-----

BIN
libHX-5.2.tar.zst LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Sun Oct 19 13:36:52 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 5.2
* Cure a use-after-free and a read-one-past-array bug
-------------------------------------------------------------------
Sat Oct 11 11:47:36 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 5.1
* getopt6: ``HXTYPE_STRP`` can now be used for HXoption::type
for argument assignment without incurring strdup.
* map: resolve corruption of HXmap::items field.
-------------------------------------------------------------------
Tue Sep 30 20:34:42 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 5.0
* getopt6: new function set ``HX_getopt6`` which allows for
parsing options with an iterative style.
* getopt6: the result set no longer forces strdup-ed results on
the user.
* Deleted functions ``HX_getopt``, ``HX_getopt5`` (use
``HX_getopt6`` instead), ``HX_strnlen`` (use ``strnlen``
instead), ``HX_strsep`` (use ``strtok_r`` instead),
``HX_stpltrim`` (no replacement).
* The struct members ``HXclist::items``, ``HXdeque::items``,
``HXmap::items`` have changed from ``unsigned int`` to
``size_t``. The function ``HXdeque_to_vec`` has accordingly
changed the result parameter type.
-------------------------------------------------------------------
Wed Sep 10 17:16:43 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.28
* string: make HX_strtoull_sec support some ISO 8601 periods
* string: add function HX_strtoull8601p_sec
* opt: new getopt API that facilitates iterating over options and
non-options and doing away with unnecessary memory allocations
* opt: the implementation for the HXOPT_PTHRU flag was deleted
(its use will now be rejected by the parser)
-------------------------------------------------------------------
Mon Mar 17 14:22:40 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.27
* New header endian_float.h
-------------------------------------------------------------------
Sat Mar 8 21:42:08 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.26
* Resolve integer truncation in HX_unit_seconds's output when the
result were to exceeded 2^32 years or months or weeks.
-------------------------------------------------------------------
Fri Mar 7 21:33:21 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.25
* New headers endian.h and scope.hpp
* New define HXSIZEOF_UNITSEC64 for the maximum output size of
HX_unit_seconds
-------------------------------------------------------------------
Mon Oct 28 21:29:20 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- keyring update
-------------------------------------------------------------------
Wed Jul 17 17:39:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.24
* io: resolve use-after-free and out-of-bounds writes in
conjunction with ``HX_realpath``
* io: add ``HX_getcwd`` function
-------------------------------------------------------------------
Thu Feb 15 16:11:39 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,25 +1,13 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEYdM5whYJKwYBBAHaRw8BAQdADytr1kM/qc54vO40yIHht0XeDD7sMe1rw8Xo
Nq/LtMO0IEphbiBFbmdlbGhhcmR0IDxqZW5nZWxoQGluYWkuZGU+iJUEExYKAD0W
IQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCYdM5wgIbAwUJCWYBgAQLCQgHBRUKCQgL
BRYCAwEAAh4FAheAAAoJEPdu/l0MIjqPriUBAPLcct0ekiHZHS/mPDaS0I0mh5zy
zaZFuB5FaMpQQgQ5AP45H+SqGxP7BRlsEDajDmcEyM+IPvn22lOGKyR5OKQxDokC
MwQQAQoAHRYhBCNobBCkVpG+ekJRCdY4gYHzWgk4BQJh0zqPAAoJENY4gYHzWgk4
F7EP/3ZG6rs4l24k/GOvO1CNPM0rHaOccbB3E8BXzTJ6BsKIG1T3X4cokLHAkhmO
8ffw9NYV/HJ1AJyirvHfYFd6nn55aMakbyjo7RmDpmMmpJH5UpbhtqlJkeRQdMni
3bx+9i9E8QFJG6eFaGz8UhCCyzQvuLhawNcA6mPDumQkIri73NnA9vegw8yyDqpr
14fm4Eh+uERzXQ6JkNTqaZuKfyryb4MSluJ6LEUqNv1vqJeCHoE5iQc0WaDPamiP
Dnd3G/k2KHIFTlYdFVKnow0MYo+kyRKxUUL38x/tZ/WEhSv9oiNUOqTZJhkPOHOv
VaHfRdxOGV3845bWngegkXD6KGQvWT1vlfGa9XbNqxWQFqi59malm/jShnd8XJAK
gZuU9pB70lFwCglc+NQLPPrY16cYwFv1L2xU3owhtdiMydTI38Cw7hPteYPkASpa
/1EHf0pPxRhv01RtrPEsGhroXennooFTHe6U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7 @@
#
# spec file for package libHX
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,20 @@
Name: libHX
%define lname libHX32
Version: 4.23
%define lname libHX43
Version: 5.2
Release: 0
Summary: Collection of routines for C and C++ programming
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://inai.de/projects/libhx/
Source: https://inai.de/files/libhx/libHX-%version.tar.xz
Source: https://inai.de/files/libhx/libHX-%version.tar.zst
Source2: https://inai.de/files/libhx/libHX-%version.tar.asc
Source4: %name.keyring
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: zstd
%description
libHX is a C library (with some C++ bindings available) that provides
@@ -66,11 +66,11 @@ This subpackage contains the header files.
%build
mkdir obj
pushd obj/
cd obj/
%define _configure ../configure
%configure --includedir="%_includedir/%name" --docdir="%_docdir/%name"
%make_build
popd
cd -
%install
b="%buildroot"
@@ -83,11 +83,10 @@ find "$b/%_libdir" -type f -name "*.la" -delete
%check
%make_build -C obj check
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets -n %lname
%files -n %lname
%_libdir/libHX*.so.32*
%_libdir/libHX*.so.43*
%files devel
%_docdir/%name/