6 Commits

8 changed files with 26 additions and 83 deletions

3
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,3 @@
mtime: 1733050954
commit: 118a76305973c3db7cd74b826b88b32b18af2e04b1add7b3f85c7bec0c979435
url: https://src.opensuse.org/jengelh/libHX

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8503b7c64af2db7378eec3177872a701c7047f9476fdfe0e9055188598083c7
size 256

7
libHX-4.24.tar.asc Normal file
View File

@@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZpgA/QAKCRCutpQaL5yZ
RN73AP9m4iIlKHo4MexqAVktbAWCgc52VjtxcypG637fGO5jGQEAq4Dz58nbgU2K
a8W2BpZ1n7zxYzDV6HacZ7oxOzCIZgE=
=7g5n
-----END PGP SIGNATURE-----

BIN
libHX-4.24.tar.xz LFS Normal file

Binary file not shown.

View File

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

Binary file not shown.

View File

@@ -1,66 +1,3 @@
-------------------------------------------------------------------
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> Mon Oct 28 21:29:20 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package libHX # spec file for package libHX
# #
# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,20 @@
Name: libHX Name: libHX
%define lname libHX43 %define lname libHX32
Version: 5.2 Version: 4.24
Release: 0 Release: 0
Summary: Collection of routines for C and C++ programming Summary: Collection of routines for C and C++ programming
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://inai.de/projects/libhx/ URL: https://inai.de/projects/libhx/
Source: https://inai.de/files/libhx/libHX-%version.tar.zst Source: https://inai.de/files/libhx/libHX-%version.tar.xz
Source2: https://inai.de/files/libhx/libHX-%version.tar.asc Source2: https://inai.de/files/libhx/libHX-%version.tar.asc
Source4: %name.keyring Source4: %name.keyring
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: zstd BuildRequires: xz
%description %description
libHX is a C library (with some C++ bindings available) that provides libHX is a C library (with some C++ bindings available) that provides
@@ -66,11 +66,11 @@ This subpackage contains the header files.
%build %build
mkdir obj mkdir obj
cd obj/ pushd obj/
%define _configure ../configure %define _configure ../configure
%configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" %configure --includedir="%_includedir/%name" --docdir="%_docdir/%name"
%make_build %make_build
cd - popd
%install %install
b="%buildroot" b="%buildroot"
@@ -83,10 +83,11 @@ find "$b/%_libdir" -type f -name "*.la" -delete
%check %check
%make_build -C obj check %make_build -C obj check
%ldconfig_scriptlets -n %lname %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%_libdir/libHX*.so.43* %_libdir/libHX*.so.32*
%files devel %files devel
%_docdir/%name/ %_docdir/%name/