Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwallet-pam/
Date: Sat, 09 Sep 2017 16:35:18
Message-Id: 1504974895.84ef5e8f4678dccea76b73978742b9ef3a93dc40.asturm@gentoo
1 commit: 84ef5e8f4678dccea76b73978742b9ef3a93dc40
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 9 16:33:56 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 9 16:34:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ef5e8f
7
8 kde-plasma/kwallet-pam: Drop old
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 kde-plasma/kwallet-pam/kwallet-pam-5.10.5.ebuild | 53 ------------------------
13 1 file changed, 53 deletions(-)
14
15 diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.10.5.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.10.5.ebuild
16 deleted file mode 100644
17 index c91205f1557..00000000000
18 --- a/kde-plasma/kwallet-pam/kwallet-pam-5.10.5.ebuild
19 +++ /dev/null
20 @@ -1,53 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -
26 -inherit kde5
27 -
28 -DESCRIPTION="KWallet PAM module to not enter password again"
29 -LICENSE="LGPL-2.1"
30 -KEYWORDS="~amd64 ~arm ~x86"
31 -IUSE=""
32 -
33 -DEPEND="
34 - dev-libs/libgcrypt:0=
35 - virtual/pam
36 -"
37 -RDEPEND="${DEPEND}
38 - net-misc/socat
39 -"
40 -
41 -src_configure() {
42 - local mycmakeargs=(
43 - -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)"
44 - -DKWALLET4=0
45 - )
46 - kde5_src_configure
47 -}
48 -
49 -pkg_postinst() {
50 - check_dm() {
51 - if [[ -e "${ROOT}${2}" ]] ; then
52 - if grep -Eq "auth\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" && \
53 - grep -Eq "session\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" ; then
54 - elog " ${1} - ${2} ...GOOD"
55 - else
56 - ewarn " ${1} - ${2} ...BAD"
57 - fi
58 - fi
59 - }
60 - elog "This package enables auto-unlocking of kde-frameworks/kwallet:5."
61 - elog "List of things to make it work:"
62 - elog "1. Use standard blowfish encryption instead of GPG"
63 - elog "2. Use same password for login and kwallet"
64 - elog "3. A display manager with support for PAM"
65 - elog "4.a Have the following lines in the display manager's pam.d file:"
66 - elog " -auth optional pam_kwallet5.so"
67 - elog " -session optional pam_kwallet5.so auto_start"
68 - elog "4.b Checking installed DMs..."
69 - has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm"
70 - has_version "x11-misc/lightdm" && check_dm "LightDM" "/etc/pam.d/lightdm"
71 - elog
72 - elog "See also: https://wiki.gentoo.org/wiki/KDE#KWallet_auto-unlocking"
73 -}