Hello community, here is the log from the commit of package ucommon for openSUSE:Factory checked in at 2015-10-06 13:27:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ucommon (Old) and /work/SRC/openSUSE:Factory/.ucommon.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ucommon" Changes: -------- --- /work/SRC/openSUSE:Factory/ucommon/ucommon.changes 2015-09-09 20:21:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ucommon.new/ucommon.changes 2015-10-06 13:27:41.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Oct 4 20:26:40 UTC 2015 - mplus...@suse.com + +- Update to 6.6.1 + * errlog for error + +------------------------------------------------------------------- Old: ---- ucommon-6.6.0.tar.gz ucommon-6.6.0.tar.gz.sig New: ---- ucommon-6.6.1.tar.gz ucommon-6.6.1.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ucommon.spec ++++++ --- /var/tmp/diff_new_pack.YnvtMh/_old 2015-10-06 13:27:42.000000000 +0200 +++ /var/tmp/diff_new_pack.YnvtMh/_new 2015-10-06 13:27:42.000000000 +0200 @@ -21,7 +21,7 @@ Name: ucommon -Version: 6.6.0 +Version: 6.6.1 Release: 0 %define lname libucommon7 Summary: Runtime library for portable C++ threading and sockets ++++++ ucommon-6.6.0.tar.gz -> ucommon-6.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ucommon-6.6.0/CMakeLists.txt new/ucommon-6.6.1/CMakeLists.txt --- old/ucommon-6.6.0/CMakeLists.txt 2015-08-30 02:57:38.000000000 +0200 +++ new/ucommon-6.6.1/CMakeLists.txt 2015-10-04 15:23:27.000000000 +0200 @@ -19,7 +19,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(ucommon) -set (VERSION 6.6.0) +set (VERSION 6.6.1) if(BIICODE) include(dyfet/ucommon/cmake/biicode) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ucommon-6.6.0/ChangeLog new/ucommon-6.6.1/ChangeLog --- old/ucommon-6.6.0/ChangeLog 2015-09-07 19:28:45.000000000 +0200 +++ new/ucommon-6.6.1/ChangeLog 2015-10-04 15:22:43.000000000 +0200 @@ -1,3 +1,6 @@ +Changes from 6.6.0 to 6.6.1 +- errlog for error + Changes from 6.5.7 to 6.6.0 - introduced rsa key support - expanded hmac support diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ucommon-6.6.0/configure new/ucommon-6.6.1/configure --- old/ucommon-6.6.0/configure 2015-08-30 16:01:53.000000000 +0200 +++ new/ucommon-6.6.1/configure 2015-10-04 15:24:34.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ucommon 6.6.0. +# Generated by GNU Autoconf 2.69 for ucommon 6.6.1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='ucommon' PACKAGE_TARNAME='ucommon' -PACKAGE_VERSION='6.6.0' -PACKAGE_STRING='ucommon 6.6.0' +PACKAGE_VERSION='6.6.1' +PACKAGE_STRING='ucommon 6.6.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1379,7 +1379,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 ucommon 6.6.0 to adapt to many kinds of systems. +\`configure' configures ucommon 6.6.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1450,7 +1450,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ucommon 6.6.0:";; + short | recursive ) echo "Configuration of ucommon 6.6.1:";; esac cat <<\_ACEOF @@ -1582,7 +1582,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ucommon configure 6.6.0 +ucommon configure 6.6.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2068,7 +2068,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ucommon $as_me 6.6.0, which was +It was created by ucommon $as_me 6.6.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2418,7 +2418,7 @@ -LT_VERSION="7:21:0" +LT_VERSION="7:22:0" OPENSSL_REQUIRES="0.9.7" ac_aux_dir= @@ -16225,7 +16225,7 @@ # Define the identity of the package. PACKAGE='ucommon' - VERSION='6.6.0' + VERSION='6.6.1' cat >>confdefs.h <<_ACEOF @@ -20508,7 +20508,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ucommon $as_me 6.6.0, which was +This file was extended by ucommon $as_me 6.6.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20574,7 +20574,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ucommon config.status 6.6.0 +ucommon config.status 6.6.1 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/ucommon-6.6.0/configure.ac new/ucommon-6.6.1/configure.ac --- old/ucommon-6.6.0/configure.ac 2015-08-30 16:01:39.000000000 +0200 +++ new/ucommon-6.6.1/configure.ac 2015-10-04 15:23:21.000000000 +0200 @@ -9,10 +9,10 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -AC_INIT([ucommon],[6.6.0]) +AC_INIT([ucommon],[6.6.1]) AC_CONFIG_SRCDIR([inc/ucommon/ucommon.h]) -LT_VERSION="7:21:0" +LT_VERSION="7:22:0" OPENSSL_REQUIRES="0.9.7" AC_CONFIG_AUX_DIR(autoconf) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ucommon-6.6.0/corelib/shell.cpp new/ucommon-6.6.1/corelib/shell.cpp --- old/ucommon-6.6.0/corelib/shell.cpp 2015-08-30 00:29:16.000000000 +0200 +++ new/ucommon-6.6.1/corelib/shell.cpp 2015-10-04 15:23:53.000000000 +0200 @@ -820,6 +820,49 @@ va_end(args); } +void shell::errlog(const char *format, ...) +{ + va_list args; + char buf[256]; + + String::set(buf, sizeof(buf) - 1, format); + size_t len = strlen(buf); + + if(buf[len - 1] != '\n') { + buf[len] = '\n'; + buf[len + 1] = 0; + } + else + --len; + + format = buf; + + va_start(args, format); + if(!eq("*** ", format, 4)) + fputs("*** ", stderr); + vfprintf(stderr, format, args); + fflush(stderr); + + buf[len] = 0; + +#ifdef HAVE_SYSLOG_H + if(errname && errmode != NONE && (ERR <= errlevel)) { + if(eq("*** ", format, 4)) { + format += 4; + const char *cp = format; + while(isalnum(*cp) || *cp == '-' || *cp == '.') + ++cp; + if(*cp == ':' && cp[1] == ' ') + format = cp + 2; + } + vsyslog(LOG_ERR, format, args); + } +#endif + va_end(args); +} + + + void shell::errexit(int exitcode, const char *format, ...) { if(!exitcode) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ucommon-6.6.0/inc/ucommon/shell.h new/ucommon-6.6.1/inc/ucommon/shell.h --- old/ucommon-6.6.0/inc/ucommon/shell.h 2015-08-30 00:29:16.000000000 +0200 +++ new/ucommon-6.6.1/inc/ucommon/shell.h 2015-10-04 15:23:10.000000000 +0200 @@ -624,6 +624,8 @@ */ static void error(const char *format, ...) __PRINTF(1, 2); + static void errlog(const char *format, ...) __PRINTF(1, 2); + /** * Print error message and exit. Ignored if exitcode == 0. * @param exitcode to return to parent process. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ucommon-6.6.0/ucommon.spec new/ucommon-6.6.1/ucommon.spec --- old/ucommon-6.6.0/ucommon.spec 2015-08-30 16:02:01.000000000 +0200 +++ new/ucommon-6.6.1/ucommon.spec 2015-10-04 15:24:42.000000000 +0200 @@ -23,7 +23,7 @@ %define build_docs 0 %endif Name: ucommon -Version: 6.6.0 +Version: 6.6.1 Release: 1 Summary: Portable C++ runtime for threads and sockets License: LGPL-3.0+