Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libHX for openSUSE:Factory checked 
in at 2023-09-25 19:59:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libHX (Old)
 and      /work/SRC/openSUSE:Factory/.libHX.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libHX"

Mon Sep 25 19:59:59 2023 rev:74 rq:1113260 version:4.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/libHX/libHX.changes      2023-07-15 
23:15:15.367549020 +0200
+++ /work/SRC/openSUSE:Factory/.libHX.new.1770/libHX.changes    2023-09-25 
20:00:18.471897429 +0200
@@ -1,0 +2,7 @@
+Sun Sep 24 05:13:29 UTC 2023 - Jan Engelhardt <[email protected]>
+
+- Update to release 4.15
+  * Add functions to compute Least Positive Residue (HX_flpr, HX_flprf)
+  * Make HX_strrtrim work on strings longer than INT_MAX
+
+-------------------------------------------------------------------

Old:
----
  libHX-4.14.tar.asc
  libHX-4.14.tar.xz

New:
----
  libHX-4.15.tar.asc
  libHX-4.15.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libHX.spec ++++++
--- /var/tmp/diff_new_pack.daRaYh/_old  2023-09-25 20:00:19.627939108 +0200
+++ /var/tmp/diff_new_pack.daRaYh/_new  2023-09-25 20:00:19.627939108 +0200
@@ -18,7 +18,7 @@
 
 Name:           libHX
 %define lname   libHX32
-Version:        4.14
+Version:        4.15
 Release:        0
 Summary:        Collection of routines for C and C++ programming
 License:        LGPL-2.1-or-later

++++++ libHX-4.14.tar.xz -> libHX-4.15.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/configure new/libHX-4.15/configure
--- old/libHX-4.14/configure    2023-07-14 15:02:34.074308013 +0200
+++ new/libHX-4.15/configure    2023-09-24 04:52:01.249722457 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libHX 4.14.
+# Generated by GNU Autoconf 2.71 for libHX 4.15.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@
 # Identity of this package.
 PACKAGE_NAME='libHX'
 PACKAGE_TARNAME='libhx'
-PACKAGE_VERSION='4.14'
-PACKAGE_STRING='libHX 4.14'
+PACKAGE_VERSION='4.15'
+PACKAGE_STRING='libHX 4.15'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1375,7 +1375,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libHX 4.14 to adapt to many kinds of systems.
+\`configure' configures libHX 4.15 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1446,7 +1446,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libHX 4.14:";;
+     short | recursive ) echo "Configuration of libHX 4.15:";;
    esac
   cat <<\_ACEOF
 
@@ -1561,7 +1561,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libHX configure 4.14
+libHX configure 4.15
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2195,7 +2195,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libHX $as_me 4.14, which was
+It was created by libHX $as_me 4.15, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3684,7 +3684,7 @@
 
 # Define the identity of the package.
  PACKAGE='libhx'
- VERSION='4.14'
+ VERSION='4.15'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -18771,7 +18771,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libHX $as_me 4.14, which was
+This file was extended by libHX $as_me 4.15, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18839,7 +18839,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libHX config.status 4.14
+libHX config.status 4.15
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/configure.ac new/libHX-4.15/configure.ac
--- old/libHX-4.14/configure.ac 2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/configure.ac 2023-09-24 04:51:44.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([libHX], [4.14])
+AC_INIT([libHX], [4.15])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/doc/api.rst new/libHX-4.15/doc/api.rst
--- old/libHX-4.14/doc/api.rst  2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/doc/api.rst  2023-09-24 04:51:44.000000000 +0200
@@ -9,6 +9,8 @@
 ======  ======  ======  ========================================
 RMV     MinVer  FirstA  Name
 ======  ======  ======  ========================================
+4.15    4.15    4.15    HX_flpr
+4.15    4.15    4.15    HX_flprf
 4.11    4.11    4.11    HX_addrport_split
 4.11    4.11    4.11    HX_inet_connect
 4.11    4.11    4.11    HX_inet_listen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/doc/changelog.rst 
new/libHX-4.15/doc/changelog.rst
--- old/libHX-4.14/doc/changelog.rst    2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/doc/changelog.rst    2023-09-24 04:51:44.000000000 +0200
@@ -1,3 +1,15 @@
+v4.15 (2023-09-24)
+==================
+
+Enhancements:
+
+* Add functions to compute Least Positive Residue (HX_flpr, HX_flprf)
+
+Fixes:
+
+* Make HX_strrtrim work on strings longer than INT_MAX
+
+
 v4.14 (2023-07-14)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/doc/misc_functions.rst 
new/libHX-4.15/doc/misc_functions.rst
--- old/libHX-4.14/doc/misc_functions.rst       2023-07-14 15:01:53.000000000 
+0200
+++ new/libHX-4.15/doc/misc_functions.rst       2023-09-24 04:51:44.000000000 
+0200
@@ -8,6 +8,8 @@
 
        int HX_ffs(unsigned long z);
        int HX_fls(unsigned long z);
+       float HX_flprf(float x, float y);
+       double HX_flpr(double x, double y);
 
        void HX_zvecfree(char **);
        unsigned int HX_zveclen(const char *const *);
@@ -20,6 +22,9 @@
        Finds the last (most-significant) bit in a value and returns its
        position, or ``-1`` to indicate failure.
 
+``HX_flpr``, ``HX_flprf``
+       Computes the Least Positive Residue of the modulo operation x % y.
+
 ``HX_zvecfree``
        Frees the supplied Z-vector array. (Frees all array elements from the
        first element to (excluding) the first ``NULL`` element.)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/doc/process_management.rst 
new/libHX-4.15/doc/process_management.rst
--- old/libHX-4.14/doc/process_management.rst   2023-07-14 15:01:53.000000000 
+0200
+++ new/libHX-4.15/doc/process_management.rst   2023-09-24 04:51:44.000000000 
+0200
@@ -202,7 +202,17 @@
 
        #include <libHX/proc.h>
 
-       int HXproc_switch_user(const char *user, const char *group);
+       enum HXproc_su_status {
+               HXPROC_INITGROUPS_FAILED = -5,
+               HXPROC_SETGID_FAILED = -4,
+               HXPROC_SETUID_FAILED = -3,
+               HXPROC_GROUP_NOT_FOUND = -2,
+               HXPROC_USER_NOT_FOUND = -1,
+               HXPROC_SU_NOOP = 0,
+               HXPROC_SU_SUCCESS = 1,
+       };
+
+       enum HXproc_su_status HXproc_switch_user(const char *user, const char 
*group);
 
 ``HXproc_switch_user`` is a wrapper for changing process identity to an
 unprivileged user. This utilizes ``setuid``, and possibly ``setgid`` plus
@@ -217,6 +227,9 @@
 secondary — provided a user was specified (see above). When ``gruop`` is the
 empty string, no change of process group identity occurs.
 
+The return value is an enum indicating failure with values <0, and success with
+>=0.
+
 
 Process information
 ===================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/include/libHX/misc.h 
new/libHX-4.15/include/libHX/misc.h
--- old/libHX-4.14/include/libHX/misc.h 2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/include/libHX/misc.h 2023-09-24 04:51:44.000000000 +0200
@@ -59,6 +59,8 @@
  */
 extern int HX_ffs(unsigned long);
 extern int HX_fls(unsigned long);
+extern float HX_flprf(float, float);
+extern double HX_flpr(double, double);
 #ifndef HX_HEXDUMP_DECLARATION
 #define HX_HEXDUMP_DECLARATION 1
 extern void HX_hexdump(FILE *, const void *, unsigned int);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/src/Makefile.am 
new/libHX-4.15/src/Makefile.am
--- old/libHX-4.14/src/Makefile.am      2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/src/Makefile.am      2023-09-24 04:51:44.000000000 +0200
@@ -13,7 +13,7 @@
                    mc.c misc.c opt.c proc.c \
                    rand.c socket.c string.c time.c
 libHX_la_LIBADD  = ${libdl_LIBS} -lm ${libpthread_LIBS} ${librt_LIBS}
-libHX_la_LDFLAGS = -no-undefined -version-info 37:0:5
+libHX_la_LDFLAGS = -no-undefined -version-info 38:0:6
 if WITH_GNU_LD
 libHX_la_LDFLAGS += -Wl,--version-script=${srcdir}/libHX.map
 endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/src/Makefile.in 
new/libHX-4.15/src/Makefile.in
--- old/libHX-4.14/src/Makefile.in      2023-07-14 15:02:34.678305205 +0200
+++ new/libHX-4.15/src/Makefile.in      2023-09-24 04:52:01.859719425 +0200
@@ -780,7 +780,7 @@
        proc.c rand.c socket.c string.c time.c $(am__append_3)
 libHX_la_LIBADD = ${libdl_LIBS} -lm ${libpthread_LIBS} ${librt_LIBS} \
        $(am__append_4)
-libHX_la_LDFLAGS = -no-undefined -version-info 37:0:5 $(am__append_2)
+libHX_la_LDFLAGS = -no-undefined -version-info 38:0:6 $(am__append_2)
 EXTRA_libHX_la_DEPENDENCIES = libHX.map
 libHX_rtcheck_la_SOURCES = rtcheck.c
 libHX_rtcheck_la_LIBADD = ${libdl_LIBS}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/src/libHX.map new/libHX-4.15/src/libHX.map
--- old/libHX-4.14/src/libHX.map        2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/src/libHX.map        2023-09-24 04:51:44.000000000 +0200
@@ -167,3 +167,9 @@
        HX_inet_listen;
        HX_local_listen;
 } LIBHX_4.9;
+
+LIBHX_4.15 {
+global:
+       HX_flpr;
+       HX_flprf;
+} LIBHX_4.11;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/src/misc.c new/libHX-4.15/src/misc.c
--- old/libHX-4.14/src/misc.c   2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/src/misc.c   2023-09-24 04:51:44.000000000 +0200
@@ -7,6 +7,7 @@
  *     General Public License as published by the Free Software Foundation;
  *     either version 2.1 or (at your option) any later version.
  */
+#include <math.h> /* fmod */
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -88,3 +89,19 @@
                free(*travp);
        free(args);
 }
+
+EXPORT_SYMBOL float HX_flprf(float x, float y)
+{
+       float r = fmodf(x, y);
+       if (r < 0)
+               r += y;
+       return r;
+}
+
+EXPORT_SYMBOL double HX_flpr(double x, double y)
+{
+       double r = fmod(x, y);
+       if (r < 0)
+               r += y;
+       return r;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.14/src/string.c new/libHX-4.15/src/string.c
--- old/libHX-4.14/src/string.c 2023-07-14 15:01:53.000000000 +0200
+++ new/libHX-4.15/src/string.c 2023-09-24 04:51:44.000000000 +0200
@@ -9,7 +9,7 @@
  */
 #include <errno.h>
 #include <limits.h>
-#include <math.h>
+#include <math.h> /* nextafter */
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
@@ -476,7 +476,7 @@
 
 EXPORT_SYMBOL size_t HX_strrtrim(char *expr)
 {
-       int i = strlen(expr), s = 0;
+       size_t i = strlen(expr), s = 0;
        while (i-- && HX_isspace(expr[i]))
                ++s;
        expr[++i] = '\0';

Reply via email to