Hello community, here is the log from the commit of package menu-cache for openSUSE:Factory checked in at 2014-01-22 13:53:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/menu-cache (Old) and /work/SRC/openSUSE:Factory/.menu-cache.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "menu-cache" Changes: -------- --- /work/SRC/openSUSE:Factory/menu-cache/menu-cache.changes 2013-09-09 19:45:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.menu-cache.new/menu-cache.changes 2014-01-23 15:49:35.000000000 +0100 @@ -1,0 +2,8 @@ +Sun Jan 5 11:49:27 UTC 2014 - jcsl@eresmas.com + +- minor changes + * Fixed build on systems where MAXSYMLINKS isn't defined. + * Fixed menu-cached crash in some rare cases. +- Complete changelog in http://blog.lxde.org/?p=1057 + +------------------------------------------------------------------- Old: ---- menu-cache-0.5.0.tar.gz New: ---- menu-cache-0.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ menu-cache.spec ++++++ --- /var/tmp/diff_new_pack.ZFKYVW/_old 2014-01-23 15:49:35.000000000 +0100 +++ /var/tmp/diff_new_pack.ZFKYVW/_new 2014-01-23 15:49:35.000000000 +0100 @@ -17,7 +17,7 @@ Name: menu-cache -Version: 0.5.0 +Version: 0.5.1 Release: 0 Summary: A tool speed up menus License: GPL-2.0+ and LGPL-2.1+ @@ -83,6 +83,6 @@ %files -n libmenu-cache3 %defattr(-,root,root) %{_libdir}/libmenu-cache.so.3 -%{_libdir}/libmenu-cache.so.3.0.0 +%{_libdir}/libmenu-cache.so.3.0.1 %changelog ++++++ menu-cache-0.5.0.tar.gz -> menu-cache-0.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/NEWS new/menu-cache-0.5.1/NEWS --- old/menu-cache-0.5.0/NEWS 2013-07-08 19:37:24.000000000 +0200 +++ new/menu-cache-0.5.1/NEWS 2013-10-09 16:10:56.000000000 +0200 @@ -1,3 +1,10 @@ +Changes in 0.5.1 since 0.5.0: + +* Fixed build on systems where MAXSYMLINKS isn't defined. + +* Fixed menu-cached crash in some rare cases. + + Changes in 0.5.0 since 0.4.1: * Added a possibility to include NoDisplay files into cache file. This diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/configure new/menu-cache-0.5.1/configure --- old/menu-cache-0.5.0/configure 2013-07-08 19:54:18.000000000 +0200 +++ new/menu-cache-0.5.1/configure 2013-10-09 16:02:42.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for menu-cache 0.5.0. +# Generated by GNU Autoconf 2.68 for menu-cache 0.5.1. # # Report bugs to http://lxde.org/. # @@ -570,8 +570,8 @@ # Identity of this package. PACKAGE_NAME='menu-cache' PACKAGE_TARNAME='menu-cache' -PACKAGE_VERSION='0.5.0' -PACKAGE_STRING='menu-cache 0.5.0' +PACKAGE_VERSION='0.5.1' +PACKAGE_STRING='menu-cache 0.5.1' PACKAGE_BUGREPORT='http://lxde.org/' PACKAGE_URL='' @@ -1333,7 +1333,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 menu-cache 0.5.0 to adapt to many kinds of systems. +\`configure' configures menu-cache 0.5.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1403,7 +1403,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of menu-cache 0.5.0:";; + short | recursive ) echo "Configuration of menu-cache 0.5.1:";; esac cat <<\_ACEOF @@ -1525,7 +1525,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -menu-cache configure 0.5.0 +menu-cache configure 0.5.1 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1803,7 +1803,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by menu-cache $as_me 0.5.0, which was +It was created by menu-cache $as_me 0.5.1, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2620,7 +2620,7 @@ # Define the identity of the package. PACKAGE='menu-cache' - VERSION='0.5.0' + VERSION='0.5.1' cat >>confdefs.h <<_ACEOF @@ -13215,7 +13215,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by menu-cache $as_me 0.5.0, which was +This file was extended by menu-cache $as_me 0.5.1, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13281,7 +13281,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -menu-cache config.status 0.5.0 +menu-cache config.status 0.5.1 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/configure.in new/menu-cache-0.5.1/configure.in --- old/menu-cache-0.5.0/configure.in 2013-07-08 19:25:27.000000000 +0200 +++ new/menu-cache-0.5.1/configure.in 2013-10-09 15:44:19.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([menu-cache], [0.5.0], +AC_INIT([menu-cache], [0.5.1], [http://lxde.org/]) AC_CONFIG_SRCDIR(menu-cache-gen/gmenu-tree.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/libmenu-cache/Makefile.am new/menu-cache-0.5.1/libmenu-cache/Makefile.am --- old/menu-cache-0.5.0/libmenu-cache/Makefile.am 2013-07-08 19:25:44.000000000 +0200 +++ new/menu-cache-0.5.1/libmenu-cache/Makefile.am 2013-10-09 15:44:37.000000000 +0200 @@ -24,7 +24,7 @@ libmenu_cache_la_LDFLAGS = \ -no-undefined \ -export-symbols-regex menu_cache \ - -version-info 3:0:0 \ + -version-info 3:1:0 \ $(NULL) lib_menu_cache_includedir = $(includedir)/menu-cache diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/libmenu-cache/Makefile.in new/menu-cache-0.5.1/libmenu-cache/Makefile.in --- old/menu-cache-0.5.0/libmenu-cache/Makefile.in 2013-07-08 19:54:15.000000000 +0200 +++ new/menu-cache-0.5.1/libmenu-cache/Makefile.in 2013-10-09 16:02:40.000000000 +0200 @@ -277,7 +277,7 @@ libmenu_cache_la_LDFLAGS = \ -no-undefined \ -export-symbols-regex menu_cache \ - -version-info 3:0:0 \ + -version-info 3:1:0 \ $(NULL) lib_menu_cache_includedir = $(includedir)/menu-cache diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/libmenu-cache/menu-cache.h new/menu-cache-0.5.1/libmenu-cache/menu-cache.h --- old/menu-cache-0.5.0/libmenu-cache/menu-cache.h 2013-07-08 19:58:34.000000000 +0200 +++ new/menu-cache-0.5.1/libmenu-cache/menu-cache.h 2013-10-09 16:03:11.000000000 +0200 @@ -32,7 +32,7 @@ #define __VERSION_MAJOR 0 #define __VERSION_MINOR 5 -#define __VERSION_MICRO 0 +#define __VERSION_MICRO 1 #define MENU_CACHE_CHECK_VERSION(_a,_b,_c) \ (__VERSION_MAJOR > _a || \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/menu-cache-daemon/menu-cached.c new/menu-cache-0.5.1/menu-cache-daemon/menu-cached.c --- old/menu-cache-0.5.0/menu-cache-daemon/menu-cached.c 2013-07-08 19:22:56.000000000 +0200 +++ new/menu-cache-0.5.1/menu-cache-daemon/menu-cached.c 2013-10-09 15:30:09.000000000 +0200 @@ -164,6 +164,7 @@ { DEBUG("ignoring not existant file from menu-cache-gen: %s", files[x]); g_free(files[x]); + files[x] = NULL; } g_object_unref(gfile); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/menu-cache-gen/canonicalize.c new/menu-cache-0.5.1/menu-cache-gen/canonicalize.c --- old/menu-cache-0.5.0/menu-cache-gen/canonicalize.c 2012-09-16 02:15:58.000000000 +0200 +++ new/menu-cache-0.5.1/menu-cache-gen/canonicalize.c 2013-09-07 18:18:33.000000000 +0200 @@ -169,7 +169,14 @@ char *buf = alloca (path_max); size_t len; - if (++num_links > MAXSYMLINKS) + /* Get the maximum number of symlinks to follow. */ + int symlinksmax = sysconf(_SC_SYMLOOP_MAX); +#ifdef MAXSYMLINKS + if (symlinksmax == -1) + symlinksmax = MAXSYMLINKS; +#endif + + if (++num_links > symlinksmax) { errno = ELOOP; goto error; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/menu-cache-0.5.0/menu-cache-gen/menu-cache-gen.c new/menu-cache-0.5.1/menu-cache-gen/menu-cache-gen.c --- old/menu-cache-0.5.0/menu-cache-gen/menu-cache-gen.c 2013-06-09 01:16:06.000000000 +0200 +++ new/menu-cache-0.5.1/menu-cache-gen/menu-cache-gen.c 2013-10-09 15:28:41.000000000 +0200 @@ -309,7 +309,7 @@ setlocale (LC_ALL, ""); - opt_ctx = g_option_context_new("Generate cache for freedeskotp.org compliant menus."); + opt_ctx = g_option_context_new("Generate cache for freedesktop.org compliant menus."); g_option_context_add_main_entries( opt_ctx, opt_entries, NULL ); if( ! g_option_context_parse( opt_ctx, &argc, &argv, &err ) ) { -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org