commit kdesu for openSUSE:Factory
Hello community,
here is the log from the commit of package kdesu for openSUSE:Factory checked in at 2017-03-03 15:29:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesu (Old)
and /work/SRC/openSUSE:Factory/.kdesu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdesu"
Fri Mar 3 15:29:14 2017 rev:37 rq:461416 version:5.31.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesu/kdesu.changes 2017-02-03 17:44:30.838843115 +0100
+++ /work/SRC/openSUSE:Factory/.kdesu.new/kdesu.changes 2017-03-03 15:29:15.357644395 +0100
@@ -1,0 +2,7 @@
+Thu Feb 9 09:26:59 UTC 2017 - hrvoje.senjan@gmail.com
+
+- Update to 5.31.0
+ * For more details please see:
+ https://www.kde.org/announcements/kde-frameworks-5.31.0.php
+
+-------------------------------------------------------------------
Old:
----
kdesu-5.30.0.tar.xz
New:
----
kdesu-5.31.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdesu.spec ++++++
--- /var/tmp/diff_new_pack.T2U3pH/_old 2017-03-03 15:29:15.961558892 +0100
+++ /var/tmp/diff_new_pack.T2U3pH/_new 2017-03-03 15:29:15.965558326 +0100
@@ -18,9 +18,9 @@
%bcond_without lang
%define lname libKF5Su5
-%define _tar_path 5.30
+%define _tar_path 5.31
Name: kdesu
-Version: 5.30.0
+Version: 5.31.0
Release: 0
%define kf5_version %{version}
BuildRequires: cmake >= 3.0
@@ -31,7 +31,7 @@
BuildRequires: ki18n-devel >= %{_tar_path}
BuildRequires: kpty-devel >= %{_tar_path}
BuildRequires: kservice-devel >= %{_tar_path}
-BuildRequires: cmake(Qt5Core) >= 5.5.0
+BuildRequires: cmake(Qt5Core) >= 5.6.0
BuildRequires: pkgconfig(x11)
Summary: User interface for running shell commands with root privileges
License: LGPL-2.1+
++++++ kdesu-5.30.0.tar.xz -> kdesu-5.31.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.30.0/CMakeLists.txt new/kdesu-5.31.0/CMakeLists.txt
--- old/kdesu-5.30.0/CMakeLists.txt 2017-01-08 21:50:05.000000000 +0100
+++ new/kdesu-5.31.0/CMakeLists.txt 2017-02-05 11:55:15.000000000 +0100
@@ -1,18 +1,18 @@
cmake_minimum_required(VERSION 3.0)
-set(KF5_VERSION "5.30.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.30.0") # handled by release scripts
+set(KF5_VERSION "5.31.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.31.0") # handled by release scripts
project(KDESu VERSION ${KF5_VERSION})
include(FeatureSummary)
-find_package(ECM 5.30.0 NO_MODULE)
+find_package(ECM 5.31.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
-set(REQUIRED_QT_VERSION 5.5.0)
+set(REQUIRED_QT_VERSION 5.6.0)
find_package(Qt5Core ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.30.0/src/client.h new/kdesu-5.31.0/src/client.h
--- old/kdesu-5.30.0/src/client.h 2017-01-08 21:50:05.000000000 +0100
+++ new/kdesu-5.31.0/src/client.h 2017-02-05 11:55:15.000000000 +0100
@@ -58,7 +58,7 @@
*/
int exec(const QByteArray &command,
const QByteArray &user,
- const QByteArray &options = 0,
+ const QByteArray &options = nullptr,
const QList<QByteArray> &env = QList<QByteArray>());
/**
@@ -108,7 +108,7 @@
* @param group Make the key part of a group. See delGroup.
* @return zero on success, -1 on failure.
*/
- int setVar(const QByteArray &key, const QByteArray &value, int timeout = 0, const QByteArray &group = 0);
+ int setVar(const QByteArray &key, const QByteArray &value, int timeout = 0, const QByteArray &group = nullptr);
/**
* Get a persistent variable.
@@ -189,7 +189,7 @@
private:
int connect();
- int command(const QByteArray &cmd, QByteArray *result = 0L);
+ int command(const QByteArray &cmd, QByteArray *result = nullptr);
QByteArray escape(const QByteArray &str);
class KDEsuClientPrivate;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.30.0/src/kdesud/kdesud.cpp new/kdesu-5.31.0/src/kdesud/kdesud.cpp
--- old/kdesu-5.30.0/src/kdesud/kdesud.cpp 2017-01-08 21:50:05.000000000 +0100
+++ new/kdesu-5.31.0/src/kdesud/kdesud.cpp 2017-02-05 11:55:15.000000000 +0100
@@ -120,8 +120,8 @@
int initXconnection()
{
- x11Display = XOpenDisplay(NULL);
- if (x11Display != 0L)
+ x11Display = XOpenDisplay(nullptr);
+ if (x11Display != nullptr)
{
XSetIOErrorHandler(xio_errhandler);
XCreateSimpleWindow(x11Display, DefaultRootWindow(x11Display),
@@ -333,16 +333,16 @@
sa.sa_handler = signal_exit;
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
- sigaction(SIGHUP, &sa, 0L);
- sigaction(SIGINT, &sa, 0L);
- sigaction(SIGTERM, &sa, 0L);
- sigaction(SIGQUIT, &sa, 0L);
+ sigaction(SIGHUP, &sa, nullptr);
+ sigaction(SIGINT, &sa, nullptr);
+ sigaction(SIGTERM, &sa, nullptr);
+ sigaction(SIGQUIT, &sa, nullptr);
sa.sa_handler = sigchld_handler;
sa.sa_flags = SA_NOCLDSTOP;
- sigaction(SIGCHLD, &sa, 0L);
+ sigaction(SIGCHLD, &sa, nullptr);
sa.sa_handler = SIG_IGN;
- sigaction(SIGPIPE, &sa, 0L);
+ sigaction(SIGPIPE, &sa, nullptr);
// Main execution loop
@@ -365,7 +365,7 @@
if(x11Display)
XFlush(x11Display);
#endif
- if (select(maxfd+1, &tmp_fds, 0L, 0L, 0L) < 0)
+ if (select(maxfd+1, &tmp_fds, nullptr, nullptr, nullptr) < 0)
{
if (errno == EINTR) continue;
@@ -429,7 +429,7 @@
continue;
}
while (fd+1 > (int) handler.size())
- handler.append(0);
+ handler.append(nullptr);
delete handler[fd];
handler[fd] = new ConnectionHandler(fd);
maxfd = qMax(maxfd, fd);
@@ -442,7 +442,7 @@
if (handler[i] && handler[i]->handle() < 0)
{
delete handler[i];
- handler[i] = 0;
+ handler[i] = nullptr;
FD_CLR(i, &active_fds);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.30.0/src/kdesud/repo.cpp new/kdesu-5.31.0/src/kdesud/repo.cpp
--- old/kdesu-5.30.0/src/kdesud/repo.cpp 2017-01-08 21:50:05.000000000 +0100
+++ new/kdesu-5.31.0/src/kdesud/repo.cpp 2017-02-05 11:55:15.000000000 +0100
@@ -33,7 +33,7 @@
if (data.timeout == 0)
data.timeout = (unsigned) -1;
else
- data.timeout += time(0L);
+ data.timeout += time(nullptr);
head_time = qMin(head_time, data.timeout);
repo.insert(key, data);
}
@@ -152,18 +152,18 @@
QByteArray Repository::find(const QByteArray &key) const
{
if( key.isEmpty() )
- return 0;
+ return nullptr;
RepoCIterator it = repo.find(key);
if (it == repo.end())
- return 0;
+ return nullptr;
return it.value().value;
}
int Repository::expire()
{
- unsigned current = time(0L);
+ unsigned current = time(nullptr);
if (current < head_time)
return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.30.0/src/ptyprocess.cpp new/kdesu-5.31.0/src/ptyprocess.cpp
--- old/kdesu-5.30.0/src/ptyprocess.cpp 2017-01-08 21:50:05.000000000 +0100
+++ new/kdesu-5.31.0/src/ptyprocess.cpp 2017-02-05 11:55:15.000000000 +0100
@@ -64,7 +64,7 @@
fd_set fds;
FD_ZERO(&fds);
FD_SET(fd, &fds);
- return select(fd + 1, &fds, 0L, 0L, &tv);
+ return select(fd + 1, &fds, nullptr, nullptr, &tv);
}
// XXX this function is nonsense:
@@ -117,7 +117,7 @@
class PtyProcess::PtyProcessPrivate
{
public:
- PtyProcessPrivate() : pty(0L) {}
+ PtyProcessPrivate() : pty(nullptr) {}
~PtyProcessPrivate()
{
delete pty;
@@ -338,7 +338,7 @@
argp[i] = (*it).constData();
}
- argp[i] = NULL;
+ argp[i] = nullptr;
execv(path.constData(), const_cast
participants (1)
-
root@hilbertn.suse.de