1 |
commit: 0d9e7b4f5eb7b771a86e7e9aad00d0d817c1936f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 5 11:19:33 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 5 11:19:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9e7b4f |
7 |
|
8 |
kde-plasma/kwallet-pam: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
kde-plasma/kwallet-pam/kwallet-pam-5.8.7.ebuild | 93 ------------------------- |
13 |
kde-plasma/kwallet-pam/kwallet-pam-5.9.5.ebuild | 93 ------------------------- |
14 |
2 files changed, 186 deletions(-) |
15 |
|
16 |
diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.8.7.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.8.7.ebuild |
17 |
deleted file mode 100644 |
18 |
index 04d60238def..00000000000 |
19 |
--- a/kde-plasma/kwallet-pam/kwallet-pam-5.8.7.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,93 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-KDE_AUTODEPS="false" |
28 |
-inherit kde5 multibuild multilib |
29 |
- |
30 |
-DESCRIPTION="KWallet PAM module to not enter password again" |
31 |
-LICENSE="LGPL-2.1" |
32 |
-KEYWORDS="~amd64 ~arm ~x86" |
33 |
-IUSE="+oldwallet" |
34 |
- |
35 |
-COMMON_DEPEND=" |
36 |
- dev-libs/libgcrypt:0= |
37 |
- virtual/pam |
38 |
-" |
39 |
-DEPEND="${COMMON_DEPEND} |
40 |
- $(add_frameworks_dep extra-cmake-modules) |
41 |
- $(add_qt_dep qtcore) |
42 |
-" |
43 |
-RDEPEND="${COMMON_DEPEND} |
44 |
- !kde-apps/kwalletd-pam |
45 |
- net-misc/socat |
46 |
-" |
47 |
- |
48 |
-pkg_setup() { |
49 |
- kde5_pkg_setup |
50 |
- MULTIBUILD_VARIANTS=( kf5 $(usev oldwallet) ) |
51 |
-} |
52 |
- |
53 |
-src_configure() { |
54 |
- myconfigure() { |
55 |
- local mycmakeargs=( |
56 |
- -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)" |
57 |
- ) |
58 |
- [[ ${MULTIBUILD_VARIANT} = oldwallet ]] && mycmakeargs+=( -DKWALLET4=1 ) |
59 |
- |
60 |
- kde5_src_configure |
61 |
- } |
62 |
- multibuild_foreach_variant myconfigure |
63 |
-} |
64 |
- |
65 |
-src_compile() { |
66 |
- multibuild_foreach_variant kde5_src_compile |
67 |
-} |
68 |
- |
69 |
-src_test() { |
70 |
- multibuild_foreach_variant kde5_src_test |
71 |
-} |
72 |
- |
73 |
-src_install() { |
74 |
- multibuild_foreach_variant kde5_src_install |
75 |
-} |
76 |
- |
77 |
-pkg_postinst() { |
78 |
- check_dm() { |
79 |
- local good |
80 |
- if [[ -e "${ROOT}${2}" ]] ; then |
81 |
- if grep -Eq "auth\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" && \ |
82 |
- grep -Eq "session\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" ; then |
83 |
- good=true |
84 |
- fi |
85 |
- if use oldwallet ; then |
86 |
- if ! grep -Eq "auth\s+optional\s+pam_kwallet.so" "${ROOT}${2}" || \ |
87 |
- ! grep -Eq "session\s+optional\s+pam_kwallet.so" "${ROOT}${2}" ; then |
88 |
- good=false |
89 |
- fi |
90 |
- fi |
91 |
- fi |
92 |
- [[ "${good}" = true ]] && \ |
93 |
- elog " ${1} - ${2} ...GOOD" || \ |
94 |
- ewarn " ${1} - ${2} ...BAD" |
95 |
- } |
96 |
- elog |
97 |
- elog "This package enables auto-unlocking of kde-frameworks/kwallet:5." |
98 |
- use oldwallet && elog "You have also selected support for legacy kde-apps/kwalletd:4." |
99 |
- elog "List of things to make it work:" |
100 |
- elog "1. Use standard blowfish encryption instead of GPG" |
101 |
- elog "2. Use same password for login and kwallet" |
102 |
- elog "3. A display manager with support for PAM" |
103 |
- elog "4.a Have the following lines in the display manager's pam.d file:" |
104 |
- elog " -auth optional pam_kwallet5.so" |
105 |
- elog " -session optional pam_kwallet5.so auto_start" |
106 |
- if use oldwallet ; then |
107 |
- elog " -auth optional pam_kwallet.so kdehome=.kde4" |
108 |
- elog " -session optional pam_kwallet.so" |
109 |
- fi |
110 |
- elog "4.b Checking installed DMs..." |
111 |
- has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm" |
112 |
- has_version "x11-misc/lightdm" && check_dm "LightDM" "/etc/pam.d/lightdm" |
113 |
- elog |
114 |
-} |
115 |
|
116 |
diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.9.5.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.9.5.ebuild |
117 |
deleted file mode 100644 |
118 |
index 04d60238def..00000000000 |
119 |
--- a/kde-plasma/kwallet-pam/kwallet-pam-5.9.5.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,93 +0,0 @@ |
122 |
-# Copyright 1999-2017 Gentoo Foundation |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI=6 |
126 |
- |
127 |
-KDE_AUTODEPS="false" |
128 |
-inherit kde5 multibuild multilib |
129 |
- |
130 |
-DESCRIPTION="KWallet PAM module to not enter password again" |
131 |
-LICENSE="LGPL-2.1" |
132 |
-KEYWORDS="~amd64 ~arm ~x86" |
133 |
-IUSE="+oldwallet" |
134 |
- |
135 |
-COMMON_DEPEND=" |
136 |
- dev-libs/libgcrypt:0= |
137 |
- virtual/pam |
138 |
-" |
139 |
-DEPEND="${COMMON_DEPEND} |
140 |
- $(add_frameworks_dep extra-cmake-modules) |
141 |
- $(add_qt_dep qtcore) |
142 |
-" |
143 |
-RDEPEND="${COMMON_DEPEND} |
144 |
- !kde-apps/kwalletd-pam |
145 |
- net-misc/socat |
146 |
-" |
147 |
- |
148 |
-pkg_setup() { |
149 |
- kde5_pkg_setup |
150 |
- MULTIBUILD_VARIANTS=( kf5 $(usev oldwallet) ) |
151 |
-} |
152 |
- |
153 |
-src_configure() { |
154 |
- myconfigure() { |
155 |
- local mycmakeargs=( |
156 |
- -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)" |
157 |
- ) |
158 |
- [[ ${MULTIBUILD_VARIANT} = oldwallet ]] && mycmakeargs+=( -DKWALLET4=1 ) |
159 |
- |
160 |
- kde5_src_configure |
161 |
- } |
162 |
- multibuild_foreach_variant myconfigure |
163 |
-} |
164 |
- |
165 |
-src_compile() { |
166 |
- multibuild_foreach_variant kde5_src_compile |
167 |
-} |
168 |
- |
169 |
-src_test() { |
170 |
- multibuild_foreach_variant kde5_src_test |
171 |
-} |
172 |
- |
173 |
-src_install() { |
174 |
- multibuild_foreach_variant kde5_src_install |
175 |
-} |
176 |
- |
177 |
-pkg_postinst() { |
178 |
- check_dm() { |
179 |
- local good |
180 |
- if [[ -e "${ROOT}${2}" ]] ; then |
181 |
- if grep -Eq "auth\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" && \ |
182 |
- grep -Eq "session\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" ; then |
183 |
- good=true |
184 |
- fi |
185 |
- if use oldwallet ; then |
186 |
- if ! grep -Eq "auth\s+optional\s+pam_kwallet.so" "${ROOT}${2}" || \ |
187 |
- ! grep -Eq "session\s+optional\s+pam_kwallet.so" "${ROOT}${2}" ; then |
188 |
- good=false |
189 |
- fi |
190 |
- fi |
191 |
- fi |
192 |
- [[ "${good}" = true ]] && \ |
193 |
- elog " ${1} - ${2} ...GOOD" || \ |
194 |
- ewarn " ${1} - ${2} ...BAD" |
195 |
- } |
196 |
- elog |
197 |
- elog "This package enables auto-unlocking of kde-frameworks/kwallet:5." |
198 |
- use oldwallet && elog "You have also selected support for legacy kde-apps/kwalletd:4." |
199 |
- elog "List of things to make it work:" |
200 |
- elog "1. Use standard blowfish encryption instead of GPG" |
201 |
- elog "2. Use same password for login and kwallet" |
202 |
- elog "3. A display manager with support for PAM" |
203 |
- elog "4.a Have the following lines in the display manager's pam.d file:" |
204 |
- elog " -auth optional pam_kwallet5.so" |
205 |
- elog " -session optional pam_kwallet5.so auto_start" |
206 |
- if use oldwallet ; then |
207 |
- elog " -auth optional pam_kwallet.so kdehome=.kde4" |
208 |
- elog " -session optional pam_kwallet.so" |
209 |
- fi |
210 |
- elog "4.b Checking installed DMs..." |
211 |
- has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm" |
212 |
- has_version "x11-misc/lightdm" && check_dm "LightDM" "/etc/pam.d/lightdm" |
213 |
- elog |
214 |
-} |