Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libnpupnp for openSUSE:Factory 
checked in at 2022-05-10 15:12:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnpupnp (Old)
 and      /work/SRC/openSUSE:Factory/.libnpupnp.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnpupnp"

Tue May 10 15:12:19 2022 rev:4 rq:975997 version:4.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnpupnp/libnpupnp.changes      2022-03-20 
20:55:52.474554603 +0100
+++ /work/SRC/openSUSE:Factory/.libnpupnp.new.1538/libnpupnp.changes    
2022-05-10 15:12:35.967620644 +0200
@@ -1,0 +2,6 @@
+Mon May  9 17:16:37 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 4.2.2
+  * Partial sanitizing of the static library object name space.
+
+-------------------------------------------------------------------

Old:
----
  libnpupnp-4.2.1.tar.gz
  libnpupnp-4.2.1.tar.gz.asc

New:
----
  libnpupnp-4.2.2.tar.gz
  libnpupnp-4.2.2.tar.gz.asc

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

Other differences:
------------------
++++++ libnpupnp.spec ++++++
--- /var/tmp/diff_new_pack.ix6jNn/_old  2022-05-10 15:12:36.435621234 +0200
+++ /var/tmp/diff_new_pack.ix6jNn/_new  2022-05-10 15:12:36.443621244 +0200
@@ -18,7 +18,7 @@
 
 %define so_ver  4
 Name:           libnpupnp
-Version:        4.2.1
+Version:        4.2.2
 Release:        0
 Summary:        A C++ base UPnP library, derived from Portable UPnP, a.k.a 
libupnp
 License:        GPL-2.0-or-later

++++++ libnpupnp-4.2.1.tar.gz -> libnpupnp-4.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/aclocal.m4 
new/libnpupnp-4.2.2/aclocal.m4
--- old/libnpupnp-4.2.1/aclocal.m4      2022-01-06 17:21:46.000000000 +0100
+++ new/libnpupnp-4.2.2/aclocal.m4      2022-04-24 09:49:20.000000000 +0200
@@ -21,7 +21,7 @@
 To do so, use the procedure documented by the package, typically 
'autoreconf'.])])
 
 dnl pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
-dnl serial 11 (pkg-config-0.29.1)
+dnl serial 11 (pkg-config-0.29)
 dnl
 dnl Copyright ?? 2004 Scott James Remnant <[email protected]>.
 dnl Copyright ?? 2012-2015 Dan Nicholson <[email protected]>
@@ -63,7 +63,7 @@
 dnl See the "Since" comment for each macro you use to see what version
 dnl of the macros you require.
 m4_defun([PKG_PREREQ],
-[m4_define([PKG_MACROS_VERSION], [0.29.1])
+[m4_define([PKG_MACROS_VERSION], [0.29])
 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
     [m4_fatal([pkg.m4 version $1 or higher is required but 
]PKG_MACROS_VERSION[ found])])
 ])dnl PKG_PREREQ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/build-aux/ltmain.sh 
new/libnpupnp-4.2.2/build-aux/ltmain.sh
--- old/libnpupnp-4.2.1/build-aux/ltmain.sh     2022-01-06 17:21:45.000000000 
+0100
+++ new/libnpupnp-4.2.2/build-aux/ltmain.sh     2022-04-24 09:49:18.000000000 
+0200
@@ -31,7 +31,7 @@
 
 PROGRAM=libtool
 PACKAGE=libtool
-VERSION="2.4.6 Debian-2.4.6-14"
+VERSION="2.4.6 Debian-2.4.6-9"
 package_revision=2.4.6
 
 
@@ -387,7 +387,7 @@
 # putting '$debug_cmd' at the start of all your functions, you can get
 # bash to show function call trace with:
 #
-#    debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
+#    debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
 debug_cmd=${debug_cmd-":"}
 exit_cmd=:
 
@@ -2141,7 +2141,7 @@
        compiler:       $LTCC
        compiler flags: $LTCFLAGS
        linker:         $LD (gnu? $with_gnu_ld)
-       version:        $progname $scriptversion Debian-2.4.6-14
+       version:        $progname $scriptversion Debian-2.4.6-9
        automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
        autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
 
@@ -7368,12 +7368,10 @@
       # -stdlib=*            select c++ std lib with clang
       # -fsanitize=*         Clang/GCC memory and address sanitizer
       # -fuse-ld=*           Linker select flags for GCC
-      # -static-*            direct GCC to link specific libraries statically
-      # -fcilkplus           Cilk Plus language extension features for C/C++
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
       
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
-      -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus)
+      -specs=*|-fsanitize=*|-fuse-ld=*)
         func_quote_for_eval "$arg"
        arg=$func_quote_for_eval_result
         func_append compile_command " $arg"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/configure 
new/libnpupnp-4.2.2/configure
--- old/libnpupnp-4.2.1/configure       2022-01-06 17:21:46.000000000 +0100
+++ new/libnpupnp-4.2.2/configure       2022-04-24 09:49:21.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libnpupnp 4.2.1.
+# Generated by GNU Autoconf 2.69 for libnpupnp 4.2.2.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libnpupnp'
 PACKAGE_TARNAME='libnpupnp'
-PACKAGE_VERSION='4.2.1'
-PACKAGE_STRING='libnpupnp 4.2.1'
+PACKAGE_VERSION='4.2.2'
+PACKAGE_STRING='libnpupnp 4.2.2'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1396,7 +1396,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 libnpupnp 4.2.1 to adapt to many kinds of systems.
+\`configure' configures libnpupnp 4.2.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1467,7 +1467,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libnpupnp 4.2.1:";;
+     short | recursive ) echo "Configuration of libnpupnp 4.2.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1611,7 +1611,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libnpupnp configure 4.2.1
+libnpupnp configure 4.2.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2155,7 +2155,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libnpupnp $as_me 4.2.1, which was
+It was created by libnpupnp $as_me 4.2.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3153,7 +3153,7 @@
 
 # Define the identity of the package.
  PACKAGE='libnpupnp'
- VERSION='4.2.1'
+ VERSION='4.2.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -6088,7 +6088,7 @@
 fi
 
 : ${AR=ar}
-: ${AR_FLAGS=cr}
+: ${AR_FLAGS=cru}
 
 
 
@@ -7809,8 +7809,8 @@
 _LT_EOF
       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
-      echo "$AR cr libconftest.a conftest.o" >&5
-      $AR cr libconftest.a conftest.o 2>&5
+      echo "$AR cru libconftest.a conftest.o" >&5
+      $AR cru libconftest.a conftest.o 2>&5
       echo "$RANLIB libconftest.a" >&5
       $RANLIB libconftest.a 2>&5
       cat > conftest.c << _LT_EOF
@@ -8909,12 +8909,6 @@
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-static'
         ;;
-      # flang / f18. f95 an alias for gfortran or flang on Debian
-      flang* | f18* | f95*)
-       lt_prog_compiler_wl='-Wl,'
-       lt_prog_compiler_pic='-fPIC'
-       lt_prog_compiler_static='-static'
-        ;;
       # icc used to be incompatible with GCC.
       # ICC 10 doesn't accept -KPIC any more.
       icc* | ifort*)
@@ -18270,7 +18264,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libnpupnp $as_me 4.2.1, which was
+This file was extended by libnpupnp $as_me 4.2.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18336,7 +18330,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libnpupnp config.status 4.2.1
+libnpupnp config.status 4.2.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/configure.ac 
new/libnpupnp-4.2.2/configure.ac
--- old/libnpupnp-4.2.1/configure.ac    2022-01-06 17:20:55.000000000 +0100
+++ new/libnpupnp-4.2.2/configure.ac    2022-04-24 09:48:51.000000000 +0200
@@ -1,6 +1,6 @@
 AC_PREREQ([2.60])
 
-AC_INIT([libnpupnp],[4.2.1],[[email protected]])
+AC_INIT([libnpupnp],[4.2.2],[[email protected]])
 
 # - Start with version information of ???0:0:0??? for each libtool library.
 # - Update the version information only immediately before a public release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/m4/libtool.m4 
new/libnpupnp-4.2.2/m4/libtool.m4
--- old/libnpupnp-4.2.1/m4/libtool.m4   2022-01-06 17:21:45.000000000 +0100
+++ new/libnpupnp-4.2.2/m4/libtool.m4   2022-04-24 09:49:18.000000000 +0200
@@ -1041,8 +1041,8 @@
 _LT_EOF
       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
-      echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
-      $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
       echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
       $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
       cat > conftest.c << _LT_EOF
@@ -1492,7 +1492,7 @@
 m4_defun([_LT_PROG_AR],
 [AC_CHECK_TOOLS(AR, [ar], false)
 : ${AR=ar}
-: ${AR_FLAGS=cr}
+: ${AR_FLAGS=cru}
 _LT_DECL([], [AR], [1], [The archiver])
 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
 
@@ -4704,12 +4704,6 @@
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
         ;;
-      # flang / f18. f95 an alias for gfortran or flang on Debian
-      flang* | f18* | f95*)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-        ;;
       # icc used to be incompatible with GCC.
       # ICC 10 doesn't accept -KPIC any more.
       icc* | ifort*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/src/inc/md5.h 
new/libnpupnp-4.2.2/src/inc/md5.h
--- old/libnpupnp-4.2.1/src/inc/md5.h   2021-12-13 12:29:04.000000000 +0100
+++ new/libnpupnp-4.2.2/src/inc/md5.h   2022-04-24 08:30:28.000000000 +0200
@@ -17,6 +17,9 @@
 
 #include <stddef.h>
 #include <stdint.h>
+#include <string>
+
+namespace MedocUtils {
 
 #define    MD5_BLOCK_LENGTH        64
 #define    MD5_DIGEST_LENGTH        16
@@ -33,10 +36,14 @@
 void     MD5Transform(uint32_t [4], const uint8_t [MD5_BLOCK_LENGTH]);
 
 /** md5 c++ utility wrappers */
-#include <string>
 extern void MD5Final(std::string& digest, MD5_CTX *);
 extern std::string& MD5String(const std::string& data, std::string& digest);
 extern std::string& MD5HexPrint(const std::string& digest, std::string& out);
 extern std::string& MD5HexScan(const std::string& xdigest, std::string& 
digest);
 extern std::string MD5Hex(const std::string& data);
+
+} // End namespace MedocUtils
+
+using namespace MedocUtils;
+
 #endif /* _MD5_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/src/inc/smallut.h 
new/libnpupnp-4.2.2/src/inc/smallut.h
--- old/libnpupnp-4.2.1/src/inc/smallut.h       2021-12-14 11:42:46.000000000 
+0100
+++ new/libnpupnp-4.2.2/src/inc/smallut.h       2022-04-24 08:31:38.000000000 
+0200
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2016 J.F.Dockes
+/* Copyright (C) 2006-2022 J.F.Dockes
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,10 @@
 #include <vector>
 #include <map>
 
+struct tm;
+
+namespace MedocUtils {
+
 // Miscellaneous mostly string-oriented small utilities
 // Note that none of the following code knows about utf-8.
 
@@ -136,6 +140,9 @@
 template <class T> void stringsToCSV(const T& tokens, std::string& s,
                                      char sep = ',');
 
+/** Find longest common prefix for bunch of strings */
+template <class T> std::string commonprefix(const T& values);
+
 /**
  * Split input string. No handling of quoting.
  */
@@ -203,7 +210,6 @@
 
 /** Portable timegm. MS C has _mkgmtime, but there is a bug in Gminw which
  * makes it inaccessible */
-struct tm;
 time_t portable_timegm(struct tm *tm);
 
 inline void leftzeropad(std::string& s, unsigned len)
@@ -272,4 +278,8 @@
 /// Translate a value into a name
 extern std::string valToString(const std::vector<CharFlags>&, unsigned int 
val);
 
+} // End namespace MedocUtils
+
+using namespace MedocUtils;
+
 #endif /* _SMALLUT_H_INCLUDED_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/src/utils/md5.cpp 
new/libnpupnp-4.2.2/src/utils/md5.cpp
--- old/libnpupnp-4.2.1/src/utils/md5.cpp       2021-12-13 12:29:04.000000000 
+0100
+++ new/libnpupnp-4.2.2/src/utils/md5.cpp       2022-04-24 08:30:00.000000000 
+0200
@@ -28,6 +28,8 @@
 #include <cstring>
 #include <cstdint>
 
+namespace MedocUtils {
+
 #define PUT_BIT_LE(i, cp, value) do {                   \
         (cp)[i] = uint8_t(((value) >> 8 * i) & 0xFF); \
     } while (0)
@@ -306,3 +308,5 @@
     }
     return digest;
 }
+
+} // End namespace MedocUtils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnpupnp-4.2.1/src/utils/smallut.cpp 
new/libnpupnp-4.2.2/src/utils/smallut.cpp
--- old/libnpupnp-4.2.1/src/utils/smallut.cpp   2021-12-13 12:34:26.000000000 
+0100
+++ new/libnpupnp-4.2.2/src/utils/smallut.cpp   2022-04-24 08:31:48.000000000 
+0200
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2020 J.F.Dockes
+/* Copyright (C) 2006-2022 J.F.Dockes
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -53,6 +53,8 @@
 
 using namespace std;
 
+namespace MedocUtils {
+
 int stringicmp(const string& s1, const string& s2)
 {
     return strcasecmp(s1.c_str(), s2.c_str());
@@ -322,6 +324,30 @@
         s.pop_back();
 }
 
+template <class T> std::string commonprefix(const T& values)
+{
+    if (values.empty())
+        return std::string();
+    if (values.size() == 1)
+        return *values.begin();
+    unsigned int i = 0;
+    for (;;i++) {
+        auto it = values.begin();
+        if (it->size() <= i) {
+            goto out;
+        }
+        auto val = (*it)[i];
+        it++;
+        for (;it < values.end(); it++) {
+            if (it->size() <= i || (*it)[i] != val) {
+                goto out;
+            }
+        }
+    }
+out:
+    return values.begin()->substr(0, i);
+}
+
 #ifdef SMALLUT_EXTERNAL_INSTANTIATIONS
 #include "smallut_instantiate.h"
 #else
@@ -342,8 +368,8 @@
 template string stringsToString<set<string> >(const set<string>&);
 template string stringsToString<unordered_set<string> >(const 
unordered_set<string>&);
 template void stringsToCSV<list<string> >(const list<string>&, string&, char);
-template void stringsToCSV<vector<string> >(const vector<string>&, string&,
-                                            char);
+template void stringsToCSV<vector<string> >(const vector<string>&, string&, 
char);
+template string commonprefix<vector<string>>(const vector<string>&values);
 #endif
 
 void stringToTokens(const string& str, vector<string>& tokens,
@@ -571,7 +597,6 @@
     return out;
 }
 
-
 // Substitute printf-like percent cmds inside a string
 bool pcSubst(const string& in, string& out, const map<char, string>& subs)
 {
@@ -1329,3 +1354,5 @@
 void smallut_init_mt()
 {
 }
+
+} // End namespace MedocUtils

Reply via email to