diff options
author | Johannes Huber <johu@gentoo.org> | 2016-07-25 23:25:33 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-07-25 23:34:41 +0200 |
commit | 304d262a49d8cec8ae7294c1506238b1bb160e1e (patch) | |
tree | 1e9e7e9952fdfd32b0a89b8518a402da2889fd08 /kde-frameworks/kinit | |
parent | dev-games/tiled: remove old (diff) | |
download | gentoo-304d262a49d8cec8ae7294c1506238b1bb160e1e.tar.gz gentoo-304d262a49d8cec8ae7294c1506238b1bb160e1e.tar.bz2 gentoo-304d262a49d8cec8ae7294c1506238b1bb160e1e.zip |
kde-frameworks: Remove KDE Frameworks 5.21
Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-frameworks/kinit')
-rw-r--r-- | kde-frameworks/kinit/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kinit/files/kinit-5.21.0-cve-2016-3100.patch | 63 | ||||
-rw-r--r-- | kde-frameworks/kinit/kinit-5.21.0-r1.ebuild | 43 |
3 files changed, 0 insertions, 107 deletions
diff --git a/kde-frameworks/kinit/Manifest b/kde-frameworks/kinit/Manifest index 88dfb7cce665..d8503c636f3e 100644 --- a/kde-frameworks/kinit/Manifest +++ b/kde-frameworks/kinit/Manifest @@ -1,3 +1,2 @@ -DIST kinit-5.21.0.tar.xz 117728 SHA256 25c728a746e2c55708d7ae9332aebf999f065931963560c929da8bb800d65ba5 SHA512 5a4e97e76d2705e3125e4c2c58660a9f10f89a9993ab61b8fe2790811a0c819abbadb3314d809069191b1bdd2303f356d7a1ae99b321a9da8b0ff26a21347aff WHIRLPOOL e6c458532ca7f84934fad5060b2f1364bd1a9adea323e4f325687f914705d94a03c526b5afb3837658494ec27c2ba7372e5d12924485ddb101e7a4f9d9a1b5f7 DIST kinit-5.23.0.tar.xz 117812 SHA256 c3d2e5fc2fa71e6d1d2cca2e5654f90cbe4d4dd5607898365e062d4471a48f7d SHA512 ce846cbcfde5c96c2d31fdedd3edc1e7612e3bf412a4a72f0076bd7de9261e9d582939d6b86aba4bbd161d1b1a67399d8846ecc6de839e3f0b7fec6d5ab338f2 WHIRLPOOL ab2fa19bbf5aa8278c66202a04fb040aa879e04c1cba64ce6cc17af73670a8681a91c9aef7f237bad67c40d8d312991c0230bcc20e982bf68b936bc6a9aaeb17 DIST kinit-5.24.0.tar.xz 117944 SHA256 7634f22b5250fc8d283d9d12cacee72d9427ef0b86b0c0e97339c3d2e233f4c4 SHA512 0f0bc70cb9ca88ccd78448687ee86c0f723dff6f966a176a046b74afa4798154f47c21722cbd0fdfff8254fd4994a50dc77fc4404944e0cc0d5a37318d931da4 WHIRLPOOL a9bb50bc5a381dd84807b0424a816b9a409748b81c25a66580300e5c1d59f56362191ac25793685bb7ade2a3b2221b11e71ad7e96175bd5b1ae1e9574c8c4b19 diff --git a/kde-frameworks/kinit/files/kinit-5.21.0-cve-2016-3100.patch b/kde-frameworks/kinit/files/kinit-5.21.0-cve-2016-3100.patch deleted file mode 100644 index b7980ed0d254..000000000000 --- a/kde-frameworks/kinit/files/kinit-5.21.0-cve-2016-3100.patch +++ /dev/null @@ -1,63 +0,0 @@ -From dece8fd89979cd1a86c03bcaceef6e9221e8d8cd Mon Sep 17 00:00:00 2001 -From: taro yamada <archer_ame@yahoo.co.jp> -Date: Wed, 18 May 2016 00:08:09 +0200 -Subject: [PATCH] Fix permissions of /tmp/xauth-xxx-_y - -BUGS: 358593 ---- - src/kdeinit/kinit.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp -index ca18603..19e38b8 100644 ---- a/src/kdeinit/kinit.cpp -+++ b/src/kdeinit/kinit.cpp -@@ -1531,6 +1531,7 @@ static void setupX() - QSaveFile xauthfile(xauth); - QFile xauthfrom(QFile::decodeName(qgetenv("XAUTHORITY"))); - if (!xauthfrom.open(QFile::ReadOnly) || !xauthfile.open(QFile::WriteOnly) -+ || !xauthfile.setPermissions(QFile::ReadOwner | QFile::WriteOwner) - || xauthfile.write(xauthfrom.readAll()) != xauthfrom.size() || !xauthfile.commit()) { - // error - } else { --- -2.7.3 - -From 72f3702dbe6cf15c06dc13da2c99c864e9022a58 Mon Sep 17 00:00:00 2001 -From: Albert Astals Cid <aacid@kde.org> -Date: Sat, 21 May 2016 17:48:36 +0200 -Subject: [PATCH] Fix race in which the file containing the X11 cookie has the - wrong permissions for a small while - -if someone is very fast can watch the file between the open and the setPermissions - -REVIEW: 127973 -Acked-by: mpyne ---- - src/kdeinit/kinit.cpp | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp -index 19e38b8..216c87e 100644 ---- a/src/kdeinit/kinit.cpp -+++ b/src/kdeinit/kinit.cpp -@@ -1530,13 +1530,15 @@ static void setupX() - + QString::number(getuid()) + QLatin1Char('-') + QString::fromLocal8Bit(display); - QSaveFile xauthfile(xauth); - QFile xauthfrom(QFile::decodeName(qgetenv("XAUTHORITY"))); -+ // Set umask to make sure the file permissions of xauthfile are correct -+ mode_t oldMask = umask(S_IRGRP | S_IROTH | S_IWGRP | S_IWOTH); - if (!xauthfrom.open(QFile::ReadOnly) || !xauthfile.open(QFile::WriteOnly) -- || !xauthfile.setPermissions(QFile::ReadOwner | QFile::WriteOwner) - || xauthfile.write(xauthfrom.readAll()) != xauthfrom.size() || !xauthfile.commit()) { - // error - } else { - qputenv("XAUTHORITY", QFile::encodeName(xauth)); - } -+ umask(oldMask); - } - } - --- -2.7.3 - diff --git a/kde-frameworks/kinit/kinit-5.21.0-r1.ebuild b/kde-frameworks/kinit/kinit-5.21.0-r1.ebuild deleted file mode 100644 index a1aec35760e1..000000000000 --- a/kde-frameworks/kinit/kinit-5.21.0-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -KDE_TEST="false" -inherit kde5 - -DESCRIPTION="Helper library to speed up start of applications on KDE work spaces" -LICENSE="LGPL-2+" -KEYWORDS="amd64 ~arm x86" -IUSE="+caps +man" - -RDEPEND=" - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kio) - $(add_frameworks_dep kservice) - $(add_frameworks_dep kwindowsystem) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - x11-libs/libX11 - x11-libs/libxcb - caps? ( sys-libs/libcap ) -" -DEPEND="${RDEPEND} - man? ( $(add_frameworks_dep kdoctools) ) - x11-proto/xproto -" - -PATCHES=( "${FILESDIR}/${P}-cve-2016-3100.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_find_package caps Libcap) - $(cmake-utils_use_find_package man KF5DocTools) - ) - - kde5_src_configure -} |