forked from pool/libHX
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2125e5dbdf | |||
| f92a1ddda7 | |||
| 23faf30d14 | |||
| 7af814b73b | |||
| 07026cd026 | |||
| ec097598ab | |||
| 9ee3dd7a93 | |||
| 118a763059 | |||
| d55d2c50a9 |
@@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCZc48NAAKCRD3bv5dDCI6
|
|
||||||
jy0fAP472IkTWPVGD3AQuC3i7xqPS8vb4zOy6Itb6RSbeSRwUgD/RavKq2bQfgWa
|
|
||||||
RDSkbxROtQu8yWbE4T9SRwLXuFmcqgc=
|
|
||||||
=QeLi
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
BIN
libHX-4.23.tar.xz
LFS
BIN
libHX-4.23.tar.xz
LFS
Binary file not shown.
8
libHX-5.2.tar.asc
Normal file
8
libHX-5.2.tar.asc
Normal 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
BIN
libHX-5.2.tar.zst
LFS
Normal file
Binary file not shown.
@@ -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>
|
Thu Feb 15 16:11:39 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +1,13 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
mDMEYdM5whYJKwYBBAHaRw8BAQdADytr1kM/qc54v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i9E8QFJG6eFaGz8UhCCyzQvuLhawNcA6mPDumQkIri73NnA9vegw8yyDqpr
|
VNVav7TPAQC9UA3iHYE3w+4ryEhwg4egAU1HUpyPige3TpMzjwRAAg==
|
||||||
14fm4Eh+uERzXQ6JkNTqaZuKfyryb4MSluJ6LEUqNv1vqJeCHoE5iQc0WaDPamiP
|
=y4FN
|
||||||
Dnd3G/k2KHIFTlYdFVKnow0MYo+kyRKxUUL38x/tZ/WEhSv9oiNUOqTZJhkPOHOv
|
|
||||||
VaHfRdxOGV3845bWngegkXD6KGQvWT1vlfGa9XbNqxWQFqi59malm/jShnd8XJAK
|
|
||||||
gZuU9pB70lFwCglc+NQLPPrY16cYwFv1L2xU3owhtdiMydTI38Cw7hPteYPkASpa
|
|
||||||
/1EHf0pPxRhv01RtrPEsGhroXennooFTHe6U0Ay3Z0yBZbRJhoDv8PvBZ4RatdNR
|
|
||||||
p05qu2SBUWC+neecIHvbguI9x5G8egJ8WsGgDAuMcvWsW95H9oj/aONAgtL6LcsT
|
|
||||||
KHaPI9senfBTYI+ak+E9sHi/kaQIl5umvf8+B2CAh4QPhmkYvGtINH+HCZI6WdyE
|
|
||||||
tIsg+JklBgFwSBus9zHHUwwBfio2PgIlocRL6SL5Q2amcALPuDgEYdM5whIKKwYB
|
|
||||||
BAGXVQEFAQEHQKpjexO72fM4FUcrTh2r6MCyxmAF0CBUpnTQeIk5nVZ2AwEIB4h+
|
|
||||||
BBgWCgAmFiEEvKDFwwnKxWnnSpIc927+XQwiOo8FAmHTOcICGwwFCQlmAYAACgkQ
|
|
||||||
927+XQwiOo/sOgD9GOjmj2blZGtR5attfY46/9B9bBkb8kDW7LACK007YZUBAJr8
|
|
||||||
JCfIUFBfm5b/ev80rscAUSp4uTn4Z/W6ywR5STIH
|
|
||||||
=NTtt
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
|||||||
19
libHX.spec
19
libHX.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libHX
|
# 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
|
# 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 libHX32
|
%define lname libHX43
|
||||||
Version: 4.23
|
Version: 5.2
|
||||||
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.xz
|
Source: https://inai.de/files/libhx/libHX-%version.tar.zst
|
||||||
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: xz
|
BuildRequires: zstd
|
||||||
|
|
||||||
%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
|
||||||
pushd obj/
|
cd 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
|
||||||
popd
|
cd -
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
@@ -83,11 +83,10 @@ find "$b/%_libdir" -type f -name "*.la" -delete
|
|||||||
%check
|
%check
|
||||||
%make_build -C obj check
|
%make_build -C obj check
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%_libdir/libHX*.so.32*
|
%_libdir/libHX*.so.43*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%_docdir/%name/
|
%_docdir/%name/
|
||||||
|
|||||||
Reference in New Issue
Block a user