SHA256
8
0
forked from pool/libHX

4 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
6 changed files with 61 additions and 18 deletions

View File

@@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZ9gkYQAKCRCutpQaL5yZ
RFRRAP9583UtfexGqOImP9TOIouPeA/Yi46A5ZOIhk5kRHLTuwD9E/p/mOXNnT5h
kFKpLy9L92N8jKYXxR5rw9yeMSl25A0=
=Vpcy
-----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,45 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libHX
#
# Copyright (c) 2025 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.27
%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"
@@ -86,7 +86,7 @@ find "$b/%_libdir" -type f -name "*.la" -delete
%ldconfig_scriptlets -n %lname
%files -n %lname
%_libdir/libHX*.so.32*
%_libdir/libHX*.so.43*
%files devel
%_docdir/%name/