1 |
commit: eed26c354637afc34bf1e0e76b3ceb8976277279 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 21 17:33:44 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 21 17:34:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed26c35 |
7 |
|
8 |
kde-apps/kwalletd-pam: remove last rited package |
9 |
|
10 |
kde-apps/kwalletd-pam/Manifest | 1 - |
11 |
.../files/kwalletd-pam-5.5.4-coverity.patch | 31 ----------- |
12 |
kde-apps/kwalletd-pam/kwalletd-pam-5.5.5.ebuild | 64 ---------------------- |
13 |
kde-apps/kwalletd-pam/metadata.xml | 8 --- |
14 |
4 files changed, 104 deletions(-) |
15 |
|
16 |
diff --git a/kde-apps/kwalletd-pam/Manifest b/kde-apps/kwalletd-pam/Manifest |
17 |
deleted file mode 100644 |
18 |
index 48196c7..00000000 |
19 |
--- a/kde-apps/kwalletd-pam/Manifest |
20 |
+++ /dev/null |
21 |
@@ -1 +0,0 @@ |
22 |
-DIST kwallet-pam-5.5.5.tar.xz 16280 SHA256 19c153a0593232767b370a1310f16d13673caba13842571bb7cb01535ba89336 SHA512 7daf595c110df7277a609590bb48da8a038c8516ed3bd6a6f55cdb73df850ef6989f248e5ed7b7128abd5fda0b358b4d695043c974d49451a0037b8a3280c92a WHIRLPOOL 7601debd5eed6baf4bddf98fff424280999e95bc30000663254b391e673df7b191f112689d3914d9dfec3f0bf3142fbe88b8d30b159563be659c9cc91a65ea49 |
23 |
|
24 |
diff --git a/kde-apps/kwalletd-pam/files/kwalletd-pam-5.5.4-coverity.patch b/kde-apps/kwalletd-pam/files/kwalletd-pam-5.5.4-coverity.patch |
25 |
deleted file mode 100644 |
26 |
index 4cfd513..00000000 |
27 |
--- a/kde-apps/kwalletd-pam/files/kwalletd-pam-5.5.4-coverity.patch |
28 |
+++ /dev/null |
29 |
@@ -1,31 +0,0 @@ |
30 |
-From: Michael Pyne <mpyne@×××.org> |
31 |
-Date: Mon, 28 Dec 2015 01:33:23 +0000 |
32 |
-Subject: Check sockaddr_un buffer size before strcpy()ing into it. |
33 |
-X-Git-Url: http://quickgit.kde.org/?p=kwallet-pam.git&a=commitdiff&h=9543cc4058b24e4e5bfe8d324de309ca7050058b |
34 |
---- |
35 |
-Check sockaddr_un buffer size before strcpy()ing into it. |
36 |
- |
37 |
-Coverity strikes again, and notes in CID 1335116 that copying the socket name |
38 |
-into a fixed-size buffer here could overflow the buffer. I don't see any reason |
39 |
-it would be wrong in all cases, so best to double-check. |
40 |
- |
41 |
-REVIEW:126539 |
42 |
---- |
43 |
- |
44 |
- |
45 |
---- a/pam_kwallet.c |
46 |
-+++ b/pam_kwallet.c |
47 |
-@@ -422,6 +422,12 @@ |
48 |
- |
49 |
- struct sockaddr_un local; |
50 |
- local.sun_family = AF_UNIX; |
51 |
-+ |
52 |
-+ if ((size_t)len > sizeof(local.sun_path)) { |
53 |
-+ pam_syslog(pamh, LOG_ERR, "%s: socket path %s too long to open", |
54 |
-+ logPrefix, fullSocket); |
55 |
-+ return; |
56 |
-+ } |
57 |
- strcpy(local.sun_path, fullSocket); |
58 |
- unlink(local.sun_path);//Just in case it exists from a previous login |
59 |
- |
60 |
- |
61 |
|
62 |
diff --git a/kde-apps/kwalletd-pam/kwalletd-pam-5.5.5.ebuild b/kde-apps/kwalletd-pam/kwalletd-pam-5.5.5.ebuild |
63 |
deleted file mode 100644 |
64 |
index 0c3a62f..00000000 |
65 |
--- a/kde-apps/kwalletd-pam/kwalletd-pam-5.5.5.ebuild |
66 |
+++ /dev/null |
67 |
@@ -1,64 +0,0 @@ |
68 |
-# Copyright 1999-2016 Gentoo Foundation |
69 |
-# Distributed under the terms of the GNU General Public License v2 |
70 |
-# $Id$ |
71 |
- |
72 |
-EAPI=6 |
73 |
- |
74 |
-MY_PN="kwallet-pam" |
75 |
-inherit cmake-utils multilib |
76 |
- |
77 |
-DESCRIPTION="KWallet PAM module to not enter password again" |
78 |
-HOMEPAGE="https://www.kde.org/" |
79 |
-SRC_URI="mirror://kde/stable/plasma/${PV}/${MY_PN}-${PV}.tar.xz" |
80 |
- |
81 |
-LICENSE="LGPL-2.1" |
82 |
-SLOT="4" |
83 |
-KEYWORDS="amd64 ~x86" |
84 |
-IUSE="" |
85 |
- |
86 |
-DEPEND=" |
87 |
- dev-libs/libgcrypt:0= |
88 |
- virtual/pam |
89 |
-" |
90 |
-RDEPEND="${DEPEND} |
91 |
- net-misc/socat |
92 |
-" |
93 |
- |
94 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
95 |
- |
96 |
-PATCHES=( "${FILESDIR}/${PN}-5.5.4-coverity.patch" ) |
97 |
- |
98 |
-src_configure() { |
99 |
- local mycmakeargs=( |
100 |
- -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)" |
101 |
- -DKWALLET4=1 |
102 |
- ) |
103 |
- |
104 |
- cmake-utils_src_configure |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- check_dm() { |
109 |
- if [[ -e "${ROOT}${2}" ]] && \ |
110 |
- grep -Eq "auth\s+optional\s+pam_kwallet.so" "${ROOT}${2}" && \ |
111 |
- grep -Eq "session\s+optional\s+pam_kwallet.so" "${ROOT}${2}" ; then |
112 |
- elog " ${1} - ${2} ...GOOD" |
113 |
- else |
114 |
- ewarn " ${1} - ${2} ...BAD" |
115 |
- fi |
116 |
- } |
117 |
- elog |
118 |
- elog "This package enables auto-unlocking of kde-apps/kwalletd:4." |
119 |
- elog "List of things to make it work:" |
120 |
- elog "1. Use standard blowfish encryption instead of GPG" |
121 |
- elog "2. Use same password for login and kwallet" |
122 |
- elog "3. A display manager with support for PAM" |
123 |
- elog "4.a Have the following lines in the display manager's pam.d file:" |
124 |
- elog " -auth optional pam_kwallet.so kdehome=.kde4" |
125 |
- elog " -session optional pam_kwallet.so" |
126 |
- elog "4.b Checking installed DMs..." |
127 |
- has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm" |
128 |
- has_version "x11-misc/lightdm" && check_dm "LightDM" "/etc/pam.d/lightdm" |
129 |
- has_version "kde-base/kdm" && check_dm "KDM" "/etc/pam.d/kde" |
130 |
- elog |
131 |
-} |
132 |
|
133 |
diff --git a/kde-apps/kwalletd-pam/metadata.xml b/kde-apps/kwalletd-pam/metadata.xml |
134 |
deleted file mode 100644 |
135 |
index 2fdbf33..00000000 |
136 |
--- a/kde-apps/kwalletd-pam/metadata.xml |
137 |
+++ /dev/null |
138 |
@@ -1,8 +0,0 @@ |
139 |
-<?xml version="1.0" encoding="UTF-8"?> |
140 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
141 |
-<pkgmetadata> |
142 |
- <maintainer type="project"> |
143 |
- <email>kde@g.o</email> |
144 |
- <name>Gentoo KDE Project</name> |
145 |
- </maintainer> |
146 |
-</pkgmetadata> |