Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/
Date: Sat, 17 Nov 2018 07:24:47
Message-Id: 1542439469.929df0fd9b5240d082cce55d451e9930ca5a7965.kensington@gentoo
1 commit: 929df0fd9b5240d082cce55d451e9930ca5a7965
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 07:21:30 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 07:24:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929df0fd
7
8 app-admin/keepass: remove old
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
12
13 app-admin/keepass/Manifest | 2 -
14 app-admin/keepass/keepass-2.38.ebuild | 111 --------------------------------
15 app-admin/keepass/keepass-2.39.1.ebuild | 111 --------------------------------
16 app-admin/keepass/keepass-2.40.ebuild | 111 --------------------------------
17 4 files changed, 335 deletions(-)
18
19 diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
20 index af6c4787cba..64419adf1b9 100644
21 --- a/app-admin/keepass/Manifest
22 +++ b/app-admin/keepass/Manifest
23 @@ -1,3 +1 @@
24 -DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231 SHA512 42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20
25 -DIST KeePass-2.39.1-Source.zip 5109228 BLAKE2B 0b1214ac70d3d615e029c89abe63176f31e29a3fb800d84b6102220d2d39ebba848e3100e85e6f3d5cd4965461c68798ba880d5b229e8f8e6a20b0d65c2c632c SHA512 9f2b5f6c86b00932f132f8eea24fc35f08c217ed3feb047afe585592761f5297b76140c3154fb519dc5c9137718227a0bc4b6a45d22d1eb0ac95d08c73a70314
26 DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73 SHA512 222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145
27
28 diff --git a/app-admin/keepass/keepass-2.38.ebuild b/app-admin/keepass/keepass-2.38.ebuild
29 deleted file mode 100644
30 index 4b997c59a7e..00000000000
31 --- a/app-admin/keepass/keepass-2.38.ebuild
32 +++ /dev/null
33 @@ -1,111 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit eutils gnome2-utils xdg-utils
40 -
41 -MY_PN="KeePass"
42 -DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
43 -HOMEPAGE="https://keepass.info/"
44 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="amd64 x86"
49 -IUSE="aot"
50 -
51 -COMMON_DEPEND="dev-lang/mono"
52 -DEPEND="${COMMON_DEPEND}
53 - app-arch/unzip
54 -"
55 -RDEPEND="${COMMON_DEPEND}
56 - dev-dotnet/libgdiplus[cairo]
57 -"
58 -
59 -S="${WORKDIR}"
60 -PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
61 -
62 -src_prepare() {
63 - # KeePass looks for some XSL files in the same folder as the executable,
64 - # we prefer to have it in /usr/share/KeePass. Apply patch using base function.
65 - # This XSL file will not be upstreamed since the KeePass creator said that
66 - # including this patch would break the Portable USB version of KeePass
67 - # (which keeps/looks for xsl files in its own folder)
68 - default
69 -
70 - # Switch into build dir so the mono prepration script works correctly
71 - cd Build || die
72 - source PrepMonoDev.sh || die
73 - cd ../ || die
74 -}
75 -
76 -src_compile() {
77 - # Build with Release target
78 - xbuild /target:KeePass /property:Configuration=Release || die
79 -
80 - # Run Ahead Of Time compiler on the binary
81 - if use aot; then
82 - cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
83 - mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
84 - fi
85 -}
86 -
87 -src_install() {
88 - # Wrapper script to launch mono
89 - make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
90 -
91 - # Some XSL files
92 - insinto "/usr/share/${PN}/XSL"
93 - doins Ext/XSL/*
94 -
95 - insinto "/usr/$(get_libdir)/${PN}/"
96 - exeinto "/usr/$(get_libdir)/${PN}/"
97 -
98 - doins Ext/KeePass.exe.config
99 -
100 - # Default configuration, simply says to use user-specific configuration
101 - doins Ext/KeePass.config.xml
102 -
103 - # The actual executable
104 - doexe Build/KeePass/Release/KeePass.exe
105 -
106 - # Copy the AOT compilation result
107 - if use aot; then
108 - doexe Build/KeePass/Release/KeePass.exe.so
109 - fi
110 -
111 - # Prepare the icons
112 - newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
113 - newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
114 -
115 - # Create a desktop entry and associate it with the KeePass mime type
116 - make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
117 -
118 - # MIME descriptor for .kdbx files
119 - insinto /usr/share/mime/packages/
120 - doins "${FILESDIR}/${PN}.xml"
121 -
122 - # sed, because patching this really sucks
123 - sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
124 -}
125 -
126 -pkg_postinst() {
127 - gnome2_icon_cache_update
128 - xdg_desktop_database_update
129 - xdg_mimeinfo_database_update
130 -
131 - if ! has_version x11-misc/xdotool ; then
132 - elog "Optional dependencies:"
133 - elog " x11-misc/xdotool (enables autotype/autofill)"
134 - fi
135 -
136 - elog "Some systems may experience issues with copy and paste operations."
137 - elog "If you encounter this, please install x11-misc/xsel."
138 -}
139 -
140 -pkg_postrm() {
141 - gnome2_icon_cache_update
142 - xdg_desktop_database_update
143 - xdg_mimeinfo_database_update
144 -}
145
146 diff --git a/app-admin/keepass/keepass-2.39.1.ebuild b/app-admin/keepass/keepass-2.39.1.ebuild
147 deleted file mode 100644
148 index e1e03bb233e..00000000000
149 --- a/app-admin/keepass/keepass-2.39.1.ebuild
150 +++ /dev/null
151 @@ -1,111 +0,0 @@
152 -# Copyright 1999-2018 Gentoo Foundation
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=6
156 -
157 -inherit eutils gnome2-utils xdg-utils
158 -
159 -MY_PN="KeePass"
160 -DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
161 -HOMEPAGE="https://keepass.info/"
162 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
163 -
164 -LICENSE="GPL-2"
165 -SLOT="0"
166 -KEYWORDS="~amd64 ~x86"
167 -IUSE="aot"
168 -
169 -COMMON_DEPEND="dev-lang/mono"
170 -DEPEND="${COMMON_DEPEND}
171 - app-arch/unzip
172 -"
173 -RDEPEND="${COMMON_DEPEND}
174 - dev-dotnet/libgdiplus[cairo]
175 -"
176 -
177 -S="${WORKDIR}"
178 -PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
179 -
180 -src_prepare() {
181 - # KeePass looks for some XSL files in the same folder as the executable,
182 - # we prefer to have it in /usr/share/KeePass. Apply patch using base function.
183 - # This XSL file will not be upstreamed since the KeePass creator said that
184 - # including this patch would break the Portable USB version of KeePass
185 - # (which keeps/looks for xsl files in its own folder)
186 - default
187 -
188 - # Switch into build dir so the mono prepration script works correctly
189 - pushd Build || die
190 - source PrepMonoDev.sh || die
191 - popd || die
192 -}
193 -
194 -src_compile() {
195 - # Build with Release target
196 - xbuild /target:KeePass /property:Configuration=Release || die
197 -
198 - # Run Ahead Of Time compiler on the binary
199 - if use aot; then
200 - cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
201 - mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
202 - fi
203 -}
204 -
205 -src_install() {
206 - # Wrapper script to launch mono
207 - make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
208 -
209 - # Some XSL files
210 - insinto "/usr/share/${PN}/XSL"
211 - doins Ext/XSL/*
212 -
213 - insinto "/usr/$(get_libdir)/${PN}"
214 - exeinto "/usr/$(get_libdir)/${PN}"
215 -
216 - doins Ext/KeePass.exe.config
217 -
218 - # Default configuration, simply says to use user-specific configuration
219 - doins Ext/KeePass.config.xml
220 -
221 - # The actual executable
222 - doexe Build/KeePass/Release/KeePass.exe
223 -
224 - # Copy the AOT compilation result
225 - if use aot; then
226 - doexe Build/KeePass/Release/KeePass.exe.so
227 - fi
228 -
229 - # Prepare the icons
230 - newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
231 - newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
232 -
233 - # Create a desktop entry and associate it with the KeePass mime type
234 - make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
235 -
236 - # MIME descriptor for .kdbx files
237 - insinto /usr/share/mime/packages
238 - doins "${FILESDIR}/${PN}.xml"
239 -
240 - # sed, because patching this really sucks
241 - sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
242 -}
243 -
244 -pkg_postinst() {
245 - gnome2_icon_cache_update
246 - xdg_desktop_database_update
247 - xdg_mimeinfo_database_update
248 -
249 - if ! has_version x11-misc/xdotool ; then
250 - elog "Optional dependencies:"
251 - elog " x11-misc/xdotool (enables autotype/autofill)"
252 - fi
253 -
254 - elog "Some systems may experience issues with copy and paste operations."
255 - elog "If you encounter this, please install x11-misc/xsel."
256 -}
257 -
258 -pkg_postrm() {
259 - gnome2_icon_cache_update
260 - xdg_desktop_database_update
261 - xdg_mimeinfo_database_update
262 -}
263
264 diff --git a/app-admin/keepass/keepass-2.40.ebuild b/app-admin/keepass/keepass-2.40.ebuild
265 deleted file mode 100644
266 index e1e03bb233e..00000000000
267 --- a/app-admin/keepass/keepass-2.40.ebuild
268 +++ /dev/null
269 @@ -1,111 +0,0 @@
270 -# Copyright 1999-2018 Gentoo Foundation
271 -# Distributed under the terms of the GNU General Public License v2
272 -
273 -EAPI=6
274 -
275 -inherit eutils gnome2-utils xdg-utils
276 -
277 -MY_PN="KeePass"
278 -DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
279 -HOMEPAGE="https://keepass.info/"
280 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
281 -
282 -LICENSE="GPL-2"
283 -SLOT="0"
284 -KEYWORDS="~amd64 ~x86"
285 -IUSE="aot"
286 -
287 -COMMON_DEPEND="dev-lang/mono"
288 -DEPEND="${COMMON_DEPEND}
289 - app-arch/unzip
290 -"
291 -RDEPEND="${COMMON_DEPEND}
292 - dev-dotnet/libgdiplus[cairo]
293 -"
294 -
295 -S="${WORKDIR}"
296 -PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
297 -
298 -src_prepare() {
299 - # KeePass looks for some XSL files in the same folder as the executable,
300 - # we prefer to have it in /usr/share/KeePass. Apply patch using base function.
301 - # This XSL file will not be upstreamed since the KeePass creator said that
302 - # including this patch would break the Portable USB version of KeePass
303 - # (which keeps/looks for xsl files in its own folder)
304 - default
305 -
306 - # Switch into build dir so the mono prepration script works correctly
307 - pushd Build || die
308 - source PrepMonoDev.sh || die
309 - popd || die
310 -}
311 -
312 -src_compile() {
313 - # Build with Release target
314 - xbuild /target:KeePass /property:Configuration=Release || die
315 -
316 - # Run Ahead Of Time compiler on the binary
317 - if use aot; then
318 - cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
319 - mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
320 - fi
321 -}
322 -
323 -src_install() {
324 - # Wrapper script to launch mono
325 - make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
326 -
327 - # Some XSL files
328 - insinto "/usr/share/${PN}/XSL"
329 - doins Ext/XSL/*
330 -
331 - insinto "/usr/$(get_libdir)/${PN}"
332 - exeinto "/usr/$(get_libdir)/${PN}"
333 -
334 - doins Ext/KeePass.exe.config
335 -
336 - # Default configuration, simply says to use user-specific configuration
337 - doins Ext/KeePass.config.xml
338 -
339 - # The actual executable
340 - doexe Build/KeePass/Release/KeePass.exe
341 -
342 - # Copy the AOT compilation result
343 - if use aot; then
344 - doexe Build/KeePass/Release/KeePass.exe.so
345 - fi
346 -
347 - # Prepare the icons
348 - newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
349 - newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
350 -
351 - # Create a desktop entry and associate it with the KeePass mime type
352 - make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
353 -
354 - # MIME descriptor for .kdbx files
355 - insinto /usr/share/mime/packages
356 - doins "${FILESDIR}/${PN}.xml"
357 -
358 - # sed, because patching this really sucks
359 - sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
360 -}
361 -
362 -pkg_postinst() {
363 - gnome2_icon_cache_update
364 - xdg_desktop_database_update
365 - xdg_mimeinfo_database_update
366 -
367 - if ! has_version x11-misc/xdotool ; then
368 - elog "Optional dependencies:"
369 - elog " x11-misc/xdotool (enables autotype/autofill)"
370 - fi
371 -
372 - elog "Some systems may experience issues with copy and paste operations."
373 - elog "If you encounter this, please install x11-misc/xsel."
374 -}
375 -
376 -pkg_postrm() {
377 - gnome2_icon_cache_update
378 - xdg_desktop_database_update
379 - xdg_mimeinfo_database_update
380 -}