summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-02-05 20:20:04 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-02-09 20:50:48 +1100
commitf3452131e65bde67221bd8998710d5169342f12a (patch)
treeadacf2d16526dfdb7e986de65a000755b42cc83e /kde-frameworks/kinit
parentkde-plasma: Drop Plasma 5.5.3 (diff)
downloadgentoo-f3452131e65bde67221bd8998710d5169342f12a.tar.gz
gentoo-f3452131e65bde67221bd8998710d5169342f12a.tar.bz2
gentoo-f3452131e65bde67221bd8998710d5169342f12a.zip
kde-frameworks: Drop Frameworks 5.16.0
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-frameworks/kinit')
-rw-r--r--kde-frameworks/kinit/Manifest1
-rw-r--r--kde-frameworks/kinit/files/kinit-5.16.0-dont-wipe-groups.patch56
-rw-r--r--kde-frameworks/kinit/kinit-5.16.0-r1.ebuild42
3 files changed, 0 insertions, 99 deletions
diff --git a/kde-frameworks/kinit/Manifest b/kde-frameworks/kinit/Manifest
index 3dcfce12388e..696dcbbacadd 100644
--- a/kde-frameworks/kinit/Manifest
+++ b/kde-frameworks/kinit/Manifest
@@ -1,3 +1,2 @@
-DIST kinit-5.16.0.tar.xz 117680 SHA256 e001df052765712b53b817a2a0ade6a18fee4deb013952d096f248baaeef97ba SHA512 ad0e0fedff9d65f81cc8a5a6fed1ada94eaa7661d4462fcea5a39d564d92eb655757986c5b9217e05ce358fe268e6cf0dec1adac8b77158893dc001bfc1765f5 WHIRLPOOL 7db9bb1cd4f03645c155617e36000dd9c05e087fcfb081e93e748f9b5d254a984cc5892fa34eec45672ba1c858492463726f286a8267bd215f9b2a5c4be32410
DIST kinit-5.17.0.tar.xz 117568 SHA256 b1d8fc2727cb15875e3e2aeac645f9bbd482420297407ed2d41b3cf40b634fa1 SHA512 7c672cdd6d8b931b660e7870e777237d3d95bf204f9aef5bff8cfce5d733d5fed112d30385476309a12da157a9965562992a416decd4702842d65f57e59a029e WHIRLPOOL 92b3036ae75c9427fffc83d54d2beb1dd9fcc13f33f9adbc10c18f7c8210068b6778c751af55e79e3a2cc2d8e835cdac85d17e5ae7f9a35e234492baf0d24235
DIST kinit-5.18.0.tar.xz 117640 SHA256 08bc4f46cb90c164cd3e087e14c42859bf1e26057a0132c2395c6bfafca95d90 SHA512 2840ede1f8a7481073476d3db88b1e737658b3096ffdb931a185f8e4ba5225e535be05fc598b74b69b1e0829501aa4f0e84f94c27c60b05b5847d36673a8dc1e WHIRLPOOL 8bd740c69e1d34a5de324526186965d8537f8901516e96449251ff509950b86bec76938ee6e3946489e94f3d7cf89bdf6be2916394a55346d3c6deea29d8e22a
diff --git a/kde-frameworks/kinit/files/kinit-5.16.0-dont-wipe-groups.patch b/kde-frameworks/kinit/files/kinit-5.16.0-dont-wipe-groups.patch
deleted file mode 100644
index 74272705bd63..000000000000
--- a/kde-frameworks/kinit/files/kinit-5.16.0-dont-wipe-groups.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From: Nicolás Alvarez <nicolas.alvarez@gmail.com>
-Date: Wed, 11 Nov 2015 05:52:37 +0000
-Subject: Revert "Call setgroups(0,0) before calling setgid()"
-X-Git-Url: http://quickgit.kde.org/?p=kinit.git&a=commitdiff&h=1086e110ae4c05af6704af0d56f93e8bb023eeff
----
-Revert "Call setgroups(0,0) before calling setgid()"
-
-The reasoning for adding setgroups(0,0) was that when you drop privileges
-from root to regular user, there might be some extra groups left that, if
-not cleared, might grant the process privileges to do superuser things.
-
-However, this only happens if the process calls setgroups to alter its own
-supplementary groups while it's still running as root, and then drops
-privileges to a regular user. In that case there may be a security issue
-where the process ends up running as a regular user, but with supplemental
-groups the user doesn't normally belong to.
-
-Since start_kdeinit doesn't call setgroups to give itself superuser groups,
-there is no such security issue, and it doesn't need to clear the group
-list before dropping to a normal user.
-
-*In addition*, this was completely emptying the list of supplemental groups
-instead of setting them to what the user's groups actually are (eg. from
-getgrouplist), which means he would end up without 'plugdev', 'vboxusers',
-'wireshark', 'cdrom', and whatever other groups they may need for their
-software to work.
-
-CCMAIL:dvratil@redhat.com
-
-Daniel: if the latest version of rpmlint still complains about this use of
-setgid without setgroups, please file a bug against rpmlint.
-
-This reverts commit ff5ea1ab8568893c7d7b3a4518997080d3533308 from
-review 119011.
----
-
-
---- a/src/start_kdeinit/start_kdeinit.c
-+++ b/src/start_kdeinit/start_kdeinit.c
-@@ -27,7 +27,6 @@
- #include <string.h>
- #include <sys/stat.h>
- #include <unistd.h>
--#include <grp.h>
- #if HAVE_CAPABILITIES
- #include <sys/capability.h>
- #endif
-@@ -126,7 +125,6 @@
- }
- cap_free(caps);
- #endif
-- setgroups(0, 0); /* Remove any extraneous groups*/
- if (setgid(getgid())) {
- perror("setgid()");
- return 1;
-
diff --git a/kde-frameworks/kinit/kinit-5.16.0-r1.ebuild b/kde-frameworks/kinit/kinit-5.16.0-r1.ebuild
deleted file mode 100644
index e225d7b328ad..000000000000
--- a/kde-frameworks/kinit/kinit-5.16.0-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KDE_TEST="false"
-inherit kde5
-
-DESCRIPTION="Helper library to speed up start of applications on KDE work spaces"
-LICENSE="LGPL-2+"
-KEYWORDS=" ~amd64 ~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)
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- x11-libs/libX11
- caps? ( sys-libs/libcap )
-"
-DEPEND="${RDEPEND}
- man? ( $(add_frameworks_dep kdoctools) )
- x11-proto/xproto
-"
-
-PATCHES=( "${FILESDIR}/${P}-dont-wipe-groups.patch" )
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_find_package caps Libcap)
- $(cmake-utils_use_find_package man KF5DocTools)
- )
-
- kde5_src_configure
-}