Hello community, here is the log from the commit of package kcrash for openSUSE:Factory checked in at 2014-07-10 14:55:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcrash (Old) and /work/SRC/openSUSE:Factory/.kcrash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcrash" Changes: -------- --- /work/SRC/openSUSE:Factory/kcrash/kcrash.changes 2014-06-10 14:36:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kcrash.new/kcrash.changes 2014-07-10 14:56:11.000000000 +0200 @@ -1,0 +2,10 @@ +Tue Jul 1 21:35:54 UTC 2014 - hrvoje.sen...@gmail.com + +- Update to 5.0.0 + * Final release of KDE Frameworks 5 + * API improvements and cleanups + * Buildsystem fixes + * For more details please see: + http://www.kde.org/announcements/kde-frameworks-5.0.php + +------------------------------------------------------------------- Old: ---- kcrash-4.100.0.tar.xz New: ---- kcrash-5.0.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcrash.spec ++++++ --- /var/tmp/diff_new_pack.KeTdYD/_old 2014-07-10 14:56:11.000000000 +0200 +++ /var/tmp/diff_new_pack.KeTdYD/_new 2014-07-10 14:56:11.000000000 +0200 @@ -18,10 +18,10 @@ %define lname libKF5Crash5 Name: kcrash -Version: 4.100.0 +Version: 5.0.0 Release: 0 BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 0.0.14 +BuildRequires: extra-cmake-modules >= 1.0.0 BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{_kf5_version} BuildRequires: kf5-filesystem @@ -34,7 +34,7 @@ License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org -Source: http://download.kde.org/unstable/frameworks/%{version}/%{name}-%{version}.tar.xz +Source: http://download.kde.org/stable/frameworks/%{version}/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ kcrash-4.100.0.tar.xz -> kcrash-5.0.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-4.100.0/CMakeLists.txt new/kcrash-5.0.0/CMakeLists.txt --- old/kcrash-4.100.0/CMakeLists.txt 2014-06-01 12:38:39.000000000 +0200 +++ new/kcrash-5.0.0/CMakeLists.txt 2014-07-01 20:14:27.000000000 +0200 @@ -2,7 +2,7 @@ project(KCrash) -find_package(ECM 0.0.14 REQUIRED NO_MODULE) +find_package(ECM 1.0.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) set(REQUIRED_QT_VERSION 5.2.0) @@ -22,8 +22,8 @@ include(ECMSetupVersion) include(ECMGenerateHeaders) -set(KF5_VERSION "4.100.0") # handled by release scripts -set(KF5_DEP_VERSION "4.100.0") # handled by release scripts +set(KF5_VERSION "5.0.0") # handled by release scripts +set(KF5_DEP_VERSION "5.0.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KCrash VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kcrash_version.h" PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5CrashConfigVersion.cmake" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-4.100.0/autotests/CMakeLists.txt new/kcrash-5.0.0/autotests/CMakeLists.txt --- old/kcrash-4.100.0/autotests/CMakeLists.txt 2014-06-01 12:38:39.000000000 +0200 +++ new/kcrash-5.0.0/autotests/CMakeLists.txt 2014-07-01 20:14:27.000000000 +0200 @@ -17,7 +17,6 @@ ecm_add_tests( kcrashtest.cpp - NAME_PREFIX "kcrash-" LINK_LIBRARIES Qt5::Core Qt5::Test ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-4.100.0/src/kcrash.cpp new/kcrash-5.0.0/src/kcrash.cpp --- old/kcrash-4.100.0/src/kcrash.cpp 2014-06-01 12:38:39.000000000 +0200 +++ new/kcrash-5.0.0/src/kcrash.cpp 2014-07-01 20:14:27.000000000 +0200 @@ -278,6 +278,7 @@ // Prepare this now to avoid mallocs in the crash handler. char *display = getDisplay(); const QString socketFileName = QString::fromLatin1("kdeinit5_%1").arg(QLatin1String(display)); + free(display); QByteArray socketName = QFile::encodeName(QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QLatin1Char('/') + socketFileName); s_kdeinit_socket_file = qstrdup(socketName.constData()); @@ -690,6 +691,7 @@ fprintf(stderr, "KCrash failed to fork(), errno = %d\n", errno); return 0; case 0: + setgroups(0, 0); // Remove any extraneous groups if (setgid(getgid()) < 0 || setuid(getuid()) < 0) { _exit(253); // This cannot happen. Theoretically. } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org