forked from pool/libHX
Compare commits
14 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 143f65827f | |||
| ed69b73fd3 | |||
| 022a94b5c3 | |||
|
|
c724ec277d | ||
| 052a1c0df6 | |||
|
|
c3b3b42a30 | ||
|
|
377d488a1b | ||
|
|
486dbecb97 | ||
| 983fd8ce4a | |||
|
|
69d4acb657 | ||
| 057ef0a9a6 | |||
| 059d45bc06 | |||
| c86d5ed2b6 | |||
| fdaef94be8 |
3
_scmsync.obsinfo
Normal file
3
_scmsync.obsinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
mtime: 1760881020
|
||||
commit: 2125e5dbdf702af1279f1e0c8cd9f4bd0e0a1f535452a948bf740c7474653df1
|
||||
url: https://src.opensuse.org/jengelh/libHX
|
||||
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:838e527d16fbff4feb7252667d297fc917fbe3008f8592f81993de6a5e07e4b5
|
||||
size 256
|
||||
@@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCZc48NAAKCRD3bv5dDCI6
|
||||
jy0fAP472IkTWPVGD3AQuC3i7xqPS8vb4zOy6Itb6RSbeSRwUgD/RavKq2bQfgWa
|
||||
RDSkbxROtQu8yWbE4T9SRwLXuFmcqgc=
|
||||
=QeLi
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
libHX-4.23.tar.xz
(Stored with Git LFS)
BIN
libHX-4.23.tar.xz
(Stored with Git 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
(Stored with Git LFS)
Normal file
BIN
libHX-5.2.tar.zst
(Stored with Git 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>
|
||||
|
||||
|
||||
@@ -1,25 +1,13 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mDMEYdM5whYJ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Ah4QPhmkYvGtINH+HCZI6WdyE
|
||||
tIsg+JklBgFwSBus9zHHUwwBfio2PgIlocRL6SL5Q2amcALPuDgEYdM5whIKKwYB
|
||||
BAGXVQEFAQEHQKpjexO72fM4FUcrTh2r6MCyxmAF0CBUpnTQeIk5nVZ2AwEIB4h+
|
||||
BBgWCgAmFiEEvKDFwwnKxWnnSpIc927+XQwiOo8FAmHTOcICGwwFCQlmAYAACgkQ
|
||||
927+XQwiOo/sOgD9GOjmj2blZGtR5attfY46/9B9bBkb8kDW7LACK007YZUBAJr8
|
||||
JCfIUFBfm5b/ev80rscAUSp4uTn4Z/W6ywR5STIH
|
||||
=NTtt
|
||||
mDMEZgh6SxYJKwYBBAHaRw8BAQdA1luEX2LWdc7GOs5yPM7dbdT+vpFBIiZDYT5+
|
||||
gu8QyX+0IEphbiBFbmdlbGhhcmR0IDxqZW5nZWxoQGluYWkuZGU+iJUEExYKAD0W
|
||||
IQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZgh6SwIbAwUJCWYBgAQLCQgHBRUKCQgL
|
||||
BRYCAwEAAh4FAheAAAoJEK62lBovnJlE3a4BAJqaDko3Ouehjef/fenl9MoR57cY
|
||||
R1P3t+35rn4BthF2AP4l9g4ThCqKppji7/j0hSsoKFDK07NmUvzXmydqu8z0ALg4
|
||||
BGYIeksSCisGAQQBl1UBBQEBB0DuC8BZYQ/7Kao8laJUOYjp+UprZxDJnz0a+uI0
|
||||
n1anMAMBCAeIfgQYFgoAJhYhBCvaVj6d3kavccwXHa62lBovnJlEBQJmCHpLAhsM
|
||||
BQkJZgGAAAoJEK62lBovnJlEpJ8BAOomwoXHkBEdxK0DU6ClRH/JO//kUeDZYmQI
|
||||
VNVav7TPAQC9UA3iHYE3w+4ryEhwg4egAU1HUpyPige3TpMzjwRAAg==
|
||||
=y4FN
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
19
libHX.spec
19
libHX.spec
@@ -1,7 +1,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/
|
||||
|
||||
Reference in New Issue
Block a user