diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-06 18:24:29 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-10 17:29:32 +0200 |
commit | 7426c30bd35be454bfe057d703381b2f73346e96 (patch) | |
tree | 92f011888eaab0e767be01e17b7db933c6c51cad /kde-plasma/kwallet-pam | |
parent | kde-plasma/ksysguard: drop 5.20.5* (diff) | |
download | gentoo-7426c30bd35be454bfe057d703381b2f73346e96.tar.gz gentoo-7426c30bd35be454bfe057d703381b2f73346e96.tar.bz2 gentoo-7426c30bd35be454bfe057d703381b2f73346e96.zip |
kde-plasma/kwallet-pam: drop 5.20.5*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kwallet-pam')
-rw-r--r-- | kde-plasma/kwallet-pam/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kwallet-pam/files/kwallet-pam-5.20.5-socket-listening-error.patch | 44 | ||||
-rw-r--r-- | kde-plasma/kwallet-pam/kwallet-pam-5.20.5-r1.ebuild | 39 |
3 files changed, 0 insertions, 84 deletions
diff --git a/kde-plasma/kwallet-pam/Manifest b/kde-plasma/kwallet-pam/Manifest index e1759d6a051f..ba01db981d9e 100644 --- a/kde-plasma/kwallet-pam/Manifest +++ b/kde-plasma/kwallet-pam/Manifest @@ -1,2 +1 @@ -DIST kwallet-pam-5.20.5.tar.xz 19812 BLAKE2B d0ad931e47a35b5589e9c34bce924f697446460bcfbfcceb4e3f0564182bbac822f13488dddc592f7b6a119d774b6176b86df8ddca55fb0c9423d0c7634fa9cc SHA512 5f728c2fbbcbfa7a2b50a2d9b60e557360b48d6a5958ce290ace3e2ae8c253b56f64178942f958d38e7e62e0baf1cad0ddb2aa28e11d145f3b507d58900dcb03 DIST kwallet-pam-5.21.5.tar.xz 19916 BLAKE2B ee0efa7448f7f7d599e83d9a923909fe0de965aa48a8e505b984a5cb54d16c20b3f2f57efb83cd887545e23c3aa9ac4a70c14e9173fff263190c8de5c2c9449f SHA512 4dab0ac4500c6ec01fef71e2197e59afb39c318dfe1e5727832fed2137b5d961bb1aad9c52d356346794ac1dd9e9451f507032aab29028806d9c04c3c566738d diff --git a/kde-plasma/kwallet-pam/files/kwallet-pam-5.20.5-socket-listening-error.patch b/kde-plasma/kwallet-pam/files/kwallet-pam-5.20.5-socket-listening-error.patch deleted file mode 100644 index 790a644003d8..000000000000 --- a/kde-plasma/kwallet-pam/files/kwallet-pam-5.20.5-socket-listening-error.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 06cd94634feb70dfa7e2f8695b97317cb2ebe44c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefano=20Alo=C3=A9?= <stefano.aloe2@gmail.com> -Date: Sun, 17 Jan 2021 23:16:57 +0100 -Subject: [PATCH] Avoid socket listening error - -Closing all file descriptor above 3 is causing problem to socket() and listen(). Setting FD_CLOEXEC on them solves the problem and should have exactly the same behavior. - -BUG: 400929 -(cherry picked from commit 8f899902e6a3be8ad4948eb1ebdf679186aa20a7) ---- - pam_kwallet.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/pam_kwallet.c b/pam_kwallet.c -index 2585a68..a099872 100644 ---- a/pam_kwallet.c -+++ b/pam_kwallet.c -@@ -21,6 +21,7 @@ - #include <stdio.h> - #include <signal.h> - #include <unistd.h> -+#include <fcntl.h> - #include <stdlib.h> - #include <string.h> - #include <errno.h> -@@ -355,12 +356,13 @@ static int drop_privileges(struct passwd *userInfo) - static void execute_kwallet(pam_handle_t *pamh, struct passwd *userInfo, int toWalletPipe[2], char *fullSocket) - { - //In the child pam_syslog does not work, using syslog directly -+ - //keep stderr open so socket doesn't returns us that fd - int x = 3; -- //Close fd that are not of interest of kwallet -+ //Set FD_CLOEXEC on fd that are not of interest of kwallet - for (; x < 64; ++x) { - if (x != toWalletPipe[0]) { -- close (x); -+ fcntl(x, F_SETFD, FD_CLOEXEC); - } - } - --- -GitLab - diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.20.5-r1.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.20.5-r1.ebuild deleted file mode 100644 index bcabb32f43a0..000000000000 --- a/kde-plasma/kwallet-pam/kwallet-pam-5.20.5-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -KFMIN=5.74.0 -PVCUT=$(ver_cut 1-3) -inherit ecm kde.org - -DESCRIPTION="PAM module to not enter KWallet password again after login" - -LICENSE="LGPL-2.1" -SLOT="5" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="" - -DEPEND=" - dev-libs/libgcrypt:0= - >=kde-frameworks/kwallet-${KFMIN}:5 - sys-libs/pam -" -RDEPEND="${DEPEND} - net-misc/socat -" - -PATCHES=( "${FILESDIR}/${P}-socket-listening-error.patch" ) # bug 717606 - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)" - ) - ecm_src_configure -} - -pkg_postinst() { - ecm_pkg_postinst - elog "This package enables auto-unlocking of kde-frameworks/kwallet:5." - elog "See also: https://wiki.gentoo.org/wiki/KDE#KWallet_auto-unlocking" -} |