1 |
commit: df1ce05286d75dd247e17489b8dacb5a833bb45a |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 30 11:15:02 2020 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 30 12:20:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1ce052 |
7 |
|
8 |
app-crypt/veracrypt: remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/703340 |
11 |
Package-Manager: Portage-2.3.69, Repoman-2.3.14 |
12 |
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org> |
13 |
|
14 |
app-crypt/veracrypt/Manifest | 3 - |
15 |
app-crypt/veracrypt/veracrypt-1.23.ebuild | 96 ---------------------- |
16 |
app-crypt/veracrypt/veracrypt-1.24-r1.ebuild | 117 --------------------------- |
17 |
app-crypt/veracrypt/veracrypt-1.24-r2.ebuild | 117 --------------------------- |
18 |
app-crypt/veracrypt/veracrypt-1.24.ebuild | 100 ----------------------- |
19 |
app-crypt/veracrypt/veracrypt-1.24_p1.ebuild | 117 --------------------------- |
20 |
6 files changed, 550 deletions(-) |
21 |
|
22 |
diff --git a/app-crypt/veracrypt/Manifest b/app-crypt/veracrypt/Manifest |
23 |
index 9fae3e5539b..0903b8397a4 100644 |
24 |
--- a/app-crypt/veracrypt/Manifest |
25 |
+++ b/app-crypt/veracrypt/Manifest |
26 |
@@ -1,5 +1,2 @@ |
27 |
-DIST VeraCrypt_1.23.tar.gz 24941166 BLAKE2B f9760342678f771192434f88a9b6c3bcc348ef312197232346731f51e972c230a4627f92fd655f7a3c7582b1f728274b7f170f885cceadce6ad53c9b404cd8d6 SHA512 433e717403560fc4f9081f528168f346ed7f14f9621b78a176c6801f14caba3d57e3228b940fb746637de29893f278ade650cf5eca63490bc236987a9db4d48d |
28 |
-DIST VeraCrypt_1.24.tar.gz 25046467 BLAKE2B e8535f981d898efd797ff736a03e4a65b75bd40ed62d75e3f159932e93d9684e8601da277839b40efcd9bdda801427468386f37e9c57cd81dbc470f23693cd12 SHA512 b4a3155ec8455c51044c2aabcc785a6974d9ee740e0c77bae934a017976e715d45701811405dadfbbd9ceb2a957acbefbe15a717003c86ea38d52735de4f2e56 |
29 |
-DIST veracrypt-1.24_p1.tar.gz 25052008 BLAKE2B 215af344a5e57e16319d6aec5f439517f774ee92b11d11060e98708d2e5390b54965eecda55bdc56e8e5f01a945b6782a8b695f24a747dd4e7ff2346b9af96e9 SHA512 2564c6b579bc3609d93fb3e6ec12c0e9e90b6b423ce06dab8870583d6b6ce0da9d864d64da67f4d1d6096e4dd750d335c66c0eed9199ec1b38c0690090f317a6 |
30 |
DIST veracrypt-1.24_p2.tar.gz 25208374 BLAKE2B 2667fb93e6884d97a673fe793b5f83f73961c2362e7704199b5ed0163c03f19313843583f7f2a15e05ee71516e45db97752350d2c27d22f1f278668b7c07aff9 SHA512 f778b8f6288f6f9886a15fa582f6c7126d9eaea319e854ad11bd5d44105ad5a3cb8b750d410ed8fd531ec3b23f9bad83934e6cefedd1352603d4882d2ca0ad84 |
31 |
DIST veracrypt-1.24_p4.tar.gz 25212608 BLAKE2B 12d124cc5c869b8112e29624fcc5af3dd96d3c5e0179c643bf16cd361cc01677c09710faa192e7c9fe5f2ca78fbd826bc9df99f34e83ce4534f26dec01185761 SHA512 e077d6fe6a35234737387c4a6997399a251e238ab75524f53efe8ed742a35164fa4d5fcb0f15816dcb29d31fb8a4bb175d45b9aefb912c4747194fb320fa408d |
32 |
|
33 |
diff --git a/app-crypt/veracrypt/veracrypt-1.23.ebuild b/app-crypt/veracrypt/veracrypt-1.23.ebuild |
34 |
deleted file mode 100644 |
35 |
index db93962241d..00000000000 |
36 |
--- a/app-crypt/veracrypt/veracrypt-1.23.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,96 +0,0 @@ |
39 |
-# Copyright 1999-2019 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=6 |
43 |
-inherit eutils linux-info pax-utils toolchain-funcs wxwidgets |
44 |
- |
45 |
-DESCRIPTION="Disk encryption with strong security based on TrueCrypt" |
46 |
-HOMEPAGE="https://www.veracrypt.fr/en/Home.html" |
47 |
-SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz" |
48 |
- |
49 |
-LICENSE="Apache-2.0 truecrypt-3.0" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64" |
52 |
-IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X" |
53 |
-RESTRICT="bindist mirror" |
54 |
- |
55 |
-WX_GTK_VER="3.0" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- sys-fs/lvm2 |
59 |
- sys-fs/fuse:0 |
60 |
- x11-libs/wxGTK:${WX_GTK_VER}[X?] |
61 |
- app-admin/sudo |
62 |
- dev-libs/pkcs11-helper |
63 |
-" |
64 |
-DEPEND=" |
65 |
- ${RDEPEND} |
66 |
- virtual/pkgconfig |
67 |
- asm? ( dev-lang/yasm ) |
68 |
-" |
69 |
- |
70 |
-S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src" |
71 |
- |
72 |
-pkg_setup() { |
73 |
- local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" |
74 |
- linux-info_pkg_setup |
75 |
- |
76 |
- setup-wxwidgets |
77 |
-} |
78 |
- |
79 |
-src_compile() { |
80 |
- local myemakeargs=( |
81 |
- NOSTRIP=1 |
82 |
- NOTEST=1 |
83 |
- VERBOSE=1 |
84 |
- CC="$(tc-getCC)" |
85 |
- CXX="$(tc-getCXX)" |
86 |
- AR="$(tc-getAR)" |
87 |
- RANLIB="$(tc-getRANLIB)" |
88 |
- TC_EXTRA_CFLAGS="${CFLAGS}" |
89 |
- TC_EXTRA_CXXFLAGS="${CXXFLAGS}" |
90 |
- TC_EXTRA_LFLAGS="${LDFLAGS}" |
91 |
- WX_CONFIG="${WX_CONFIG}" |
92 |
- $(usex X "" "NOGUI=1") |
93 |
- $(usex asm "" "NOASM=1") |
94 |
- $(usex cpu_flags_x86_sse2 "" "NOSSE2=1") |
95 |
- $(usex cpu_flags_x86_sse4_1 "SSE41=1" "") |
96 |
- $(usex cpu_flags_x86_ssse3 "SSSE3=1" "") |
97 |
- ) |
98 |
- |
99 |
- emake "${myemakeargs[@]}" |
100 |
-} |
101 |
- |
102 |
-src_test() { |
103 |
- "${S}/Main/veracrypt" --text --test || die "tests failed" |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- local DOCS=( Readme.txt ) |
108 |
- local HTML_DOCS=( ) |
109 |
- |
110 |
- dobin Main/veracrypt |
111 |
- if use doc; then |
112 |
- DOCS+=( "${S}"/../doc/EFI-DCS ) |
113 |
- docompress -x "/usr/share/doc/${PF}/EFI-DCS" |
114 |
- HTML_DOCS+=( "${S}"/../doc/html/. ) |
115 |
- fi |
116 |
- einstalldocs |
117 |
- |
118 |
- newinitd "${FILESDIR}/${PN}.init" ${PN} |
119 |
- |
120 |
- if use X; then |
121 |
- local s |
122 |
- for s in 16 48 128 256; do |
123 |
- newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm |
124 |
- done |
125 |
- make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security" |
126 |
- fi |
127 |
- |
128 |
- pax-mark -m "${D%/}/usr/bin/veracrypt" |
129 |
-} |
130 |
- |
131 |
-pkg_postinst() { |
132 |
- ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware" |
133 |
- ewarn "of the limitations on redistribution of binaries or modified source." |
134 |
-} |
135 |
|
136 |
diff --git a/app-crypt/veracrypt/veracrypt-1.24-r1.ebuild b/app-crypt/veracrypt/veracrypt-1.24-r1.ebuild |
137 |
deleted file mode 100644 |
138 |
index 11c26807218..00000000000 |
139 |
--- a/app-crypt/veracrypt/veracrypt-1.24-r1.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,117 +0,0 @@ |
142 |
-# Copyright 1999-2019 Gentoo Authors |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
- |
145 |
-EAPI=6 |
146 |
-inherit eutils linux-info pax-utils toolchain-funcs wxwidgets |
147 |
- |
148 |
-DESCRIPTION="Disk encryption with strong security based on TrueCrypt" |
149 |
-HOMEPAGE="https://www.veracrypt.fr/en/Home.html" |
150 |
-SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz" |
151 |
- |
152 |
-# The modules not linked against in Linux include (but not limited to): |
153 |
-# libzip, chacha-xmm, chacha256, chachaRng, jitterentropy, rdrand, t1ha2 |
154 |
-# Tested by actually removing the source files and performing a build |
155 |
-# For this reason, We don't have to worry about their licenses |
156 |
-LICENSE="Apache-2.0 truecrypt-3.0" |
157 |
-SLOT="0" |
158 |
-KEYWORDS="~amd64" |
159 |
-IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X" |
160 |
-RESTRICT="bindist mirror" |
161 |
- |
162 |
-WX_GTK_VER="3.0" |
163 |
- |
164 |
-RDEPEND=" |
165 |
- sys-fs/lvm2 |
166 |
- sys-fs/fuse:0 |
167 |
- x11-libs/wxGTK:${WX_GTK_VER}[X?] |
168 |
- app-admin/sudo |
169 |
- dev-libs/pkcs11-helper |
170 |
-" |
171 |
-DEPEND=" |
172 |
- ${RDEPEND} |
173 |
- virtual/pkgconfig |
174 |
- asm? ( dev-lang/yasm ) |
175 |
-" |
176 |
- |
177 |
-S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src" |
178 |
- |
179 |
-pkg_setup() { |
180 |
- local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" |
181 |
- linux-info_pkg_setup |
182 |
- |
183 |
- setup-wxwidgets |
184 |
-} |
185 |
- |
186 |
-src_prepare() { |
187 |
- eapply -p2 "${FILESDIR}"/${PN}-1.24-no-gui-fix.patch |
188 |
- default |
189 |
-} |
190 |
- |
191 |
-src_compile() { |
192 |
- local TC_EXTRA_CFLAGS="${CFLAGS}" |
193 |
- local TC_EXTRA_CXXFLAGS="${CXXFLAGS}" |
194 |
- local myemakeargs=( |
195 |
- NOSTRIP=1 |
196 |
- NOTEST=1 |
197 |
- VERBOSE=1 |
198 |
- CC="$(tc-getCC)" |
199 |
- CXX="$(tc-getCXX)" |
200 |
- AR="$(tc-getAR)" |
201 |
- RANLIB="$(tc-getRANLIB)" |
202 |
- TC_EXTRA_LFLAGS="${LDFLAGS}" |
203 |
- WX_CONFIG="${WX_CONFIG}" |
204 |
- $(usex X "" "NOGUI=1") |
205 |
- $(usex asm "" "NOASM=1") |
206 |
- $(usex cpu_flags_x86_sse2 "" "NOSSE2=1") |
207 |
- $(usex cpu_flags_x86_sse4_1 "SSE41=1" "") |
208 |
- $(usex cpu_flags_x86_ssse3 "SSSE3=1" "") |
209 |
- ) |
210 |
- |
211 |
- # We need to explicitly disable the GUI support when linking against |
212 |
- # wxwidgets, in case it was compiled with USE=X |
213 |
- if ! use X; then |
214 |
- TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS} -DwxUSE_GUI=0" |
215 |
- TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS} -DwxUSE_GUI=0" |
216 |
- fi |
217 |
- |
218 |
- myemakeargs+=( |
219 |
- TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS}" |
220 |
- TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS}" |
221 |
- ) |
222 |
- |
223 |
- emake "${myemakeargs[@]}" |
224 |
-} |
225 |
- |
226 |
-src_test() { |
227 |
- "${S}/Main/veracrypt" --text --test || die "tests failed" |
228 |
-} |
229 |
- |
230 |
-src_install() { |
231 |
- local DOCS=( Readme.txt ) |
232 |
- local HTML_DOCS=( ) |
233 |
- |
234 |
- dobin Main/veracrypt |
235 |
- if use doc; then |
236 |
- DOCS+=( "${S}"/../doc/EFI-DCS ) |
237 |
- docompress -x "/usr/share/doc/${PF}/EFI-DCS" |
238 |
- HTML_DOCS+=( "${S}"/../doc/html/. ) |
239 |
- fi |
240 |
- einstalldocs |
241 |
- |
242 |
- newinitd "${FILESDIR}/${PN}.init" ${PN} |
243 |
- |
244 |
- if use X; then |
245 |
- local s |
246 |
- for s in 16 48 128 256; do |
247 |
- newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm |
248 |
- done |
249 |
- make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security" |
250 |
- fi |
251 |
- |
252 |
- pax-mark -m "${D%/}/usr/bin/veracrypt" |
253 |
-} |
254 |
- |
255 |
-pkg_postinst() { |
256 |
- ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware" |
257 |
- ewarn "of the limitations on redistribution of binaries or modified source." |
258 |
-} |
259 |
|
260 |
diff --git a/app-crypt/veracrypt/veracrypt-1.24-r2.ebuild b/app-crypt/veracrypt/veracrypt-1.24-r2.ebuild |
261 |
deleted file mode 100644 |
262 |
index 726813a9484..00000000000 |
263 |
--- a/app-crypt/veracrypt/veracrypt-1.24-r2.ebuild |
264 |
+++ /dev/null |
265 |
@@ -1,117 +0,0 @@ |
266 |
-# Copyright 1999-2019 Gentoo Authors |
267 |
-# Distributed under the terms of the GNU General Public License v2 |
268 |
- |
269 |
-EAPI=6 |
270 |
-inherit eutils linux-info pax-utils toolchain-funcs wxwidgets |
271 |
- |
272 |
-DESCRIPTION="Disk encryption with strong security based on TrueCrypt" |
273 |
-HOMEPAGE="https://www.veracrypt.fr/en/Home.html" |
274 |
-SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz" |
275 |
- |
276 |
-# The modules not linked against in Linux include (but not limited to): |
277 |
-# libzip, chacha-xmm, chacha256, chachaRng, jitterentropy, rdrand, t1ha2 |
278 |
-# Tested by actually removing the source files and performing a build |
279 |
-# For this reason, We don't have to worry about their licenses |
280 |
-LICENSE="Apache-2.0 truecrypt-3.0" |
281 |
-SLOT="0" |
282 |
-KEYWORDS="~amd64" |
283 |
-IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X" |
284 |
-RESTRICT="bindist mirror" |
285 |
- |
286 |
-WX_GTK_VER="3.0-gtk3" |
287 |
- |
288 |
-RDEPEND=" |
289 |
- sys-fs/lvm2 |
290 |
- sys-fs/fuse:0 |
291 |
- x11-libs/wxGTK:${WX_GTK_VER}[X?] |
292 |
- app-admin/sudo |
293 |
- dev-libs/pkcs11-helper |
294 |
-" |
295 |
-DEPEND=" |
296 |
- ${RDEPEND} |
297 |
- virtual/pkgconfig |
298 |
- asm? ( dev-lang/yasm ) |
299 |
-" |
300 |
- |
301 |
-S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src" |
302 |
- |
303 |
-pkg_setup() { |
304 |
- local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" |
305 |
- linux-info_pkg_setup |
306 |
- |
307 |
- setup-wxwidgets |
308 |
-} |
309 |
- |
310 |
-src_prepare() { |
311 |
- eapply -p2 "${FILESDIR}"/${PN}-1.24-no-gui-fix.patch |
312 |
- default |
313 |
-} |
314 |
- |
315 |
-src_compile() { |
316 |
- local TC_EXTRA_CFLAGS="${CFLAGS}" |
317 |
- local TC_EXTRA_CXXFLAGS="${CXXFLAGS}" |
318 |
- local myemakeargs=( |
319 |
- NOSTRIP=1 |
320 |
- NOTEST=1 |
321 |
- VERBOSE=1 |
322 |
- CC="$(tc-getCC)" |
323 |
- CXX="$(tc-getCXX)" |
324 |
- AR="$(tc-getAR)" |
325 |
- RANLIB="$(tc-getRANLIB)" |
326 |
- TC_EXTRA_LFLAGS="${LDFLAGS}" |
327 |
- WX_CONFIG="${WX_CONFIG}" |
328 |
- $(usex X "" "NOGUI=1") |
329 |
- $(usex asm "" "NOASM=1") |
330 |
- $(usex cpu_flags_x86_sse2 "" "NOSSE2=1") |
331 |
- $(usex cpu_flags_x86_sse4_1 "SSE41=1" "") |
332 |
- $(usex cpu_flags_x86_ssse3 "SSSE3=1" "") |
333 |
- ) |
334 |
- |
335 |
- # We need to explicitly disable the GUI support when linking against |
336 |
- # wxwidgets, in case it was compiled with USE=X |
337 |
- if ! use X; then |
338 |
- TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS} -DwxUSE_GUI=0" |
339 |
- TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS} -DwxUSE_GUI=0" |
340 |
- fi |
341 |
- |
342 |
- myemakeargs+=( |
343 |
- TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS}" |
344 |
- TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS}" |
345 |
- ) |
346 |
- |
347 |
- emake "${myemakeargs[@]}" |
348 |
-} |
349 |
- |
350 |
-src_test() { |
351 |
- "${S}/Main/veracrypt" --text --test || die "tests failed" |
352 |
-} |
353 |
- |
354 |
-src_install() { |
355 |
- local DOCS=( Readme.txt ) |
356 |
- local HTML_DOCS=( ) |
357 |
- |
358 |
- dobin Main/veracrypt |
359 |
- if use doc; then |
360 |
- DOCS+=( "${S}"/../doc/EFI-DCS ) |
361 |
- docompress -x "/usr/share/doc/${PF}/EFI-DCS" |
362 |
- HTML_DOCS+=( "${S}"/../doc/html/. ) |
363 |
- fi |
364 |
- einstalldocs |
365 |
- |
366 |
- newinitd "${FILESDIR}/${PN}.init" ${PN} |
367 |
- |
368 |
- if use X; then |
369 |
- local s |
370 |
- for s in 16 48 128 256; do |
371 |
- newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm |
372 |
- done |
373 |
- make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security" |
374 |
- fi |
375 |
- |
376 |
- pax-mark -m "${D%/}/usr/bin/veracrypt" |
377 |
-} |
378 |
- |
379 |
-pkg_postinst() { |
380 |
- ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware" |
381 |
- ewarn "of the limitations on redistribution of binaries or modified source." |
382 |
-} |
383 |
|
384 |
diff --git a/app-crypt/veracrypt/veracrypt-1.24.ebuild b/app-crypt/veracrypt/veracrypt-1.24.ebuild |
385 |
deleted file mode 100644 |
386 |
index 3ada8aa22b6..00000000000 |
387 |
--- a/app-crypt/veracrypt/veracrypt-1.24.ebuild |
388 |
+++ /dev/null |
389 |
@@ -1,100 +0,0 @@ |
390 |
-# Copyright 1999-2019 Gentoo Authors |
391 |
-# Distributed under the terms of the GNU General Public License v2 |
392 |
- |
393 |
-EAPI=6 |
394 |
-inherit eutils linux-info pax-utils toolchain-funcs wxwidgets |
395 |
- |
396 |
-DESCRIPTION="Disk encryption with strong security based on TrueCrypt" |
397 |
-HOMEPAGE="https://www.veracrypt.fr/en/Home.html" |
398 |
-SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz" |
399 |
- |
400 |
-# The modules not linked against in Linux include (but not limited to): |
401 |
-# libzip, chacha-xmm, chacha256, chachaRng, jitterentropy, rdrand, t1ha2 |
402 |
-# Tested by actually removing the source files and performing a build |
403 |
-# For this reason, We don't have to worry about their licenses |
404 |
-LICENSE="Apache-2.0 truecrypt-3.0" |
405 |
-SLOT="0" |
406 |
-KEYWORDS="~amd64" |
407 |
-IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X" |
408 |
-RESTRICT="bindist mirror" |
409 |
- |
410 |
-WX_GTK_VER="3.0" |
411 |
- |
412 |
-RDEPEND=" |
413 |
- sys-fs/lvm2 |
414 |
- sys-fs/fuse:0 |
415 |
- x11-libs/wxGTK:${WX_GTK_VER}[X?] |
416 |
- app-admin/sudo |
417 |
- dev-libs/pkcs11-helper |
418 |
-" |
419 |
-DEPEND=" |
420 |
- ${RDEPEND} |
421 |
- virtual/pkgconfig |
422 |
- asm? ( dev-lang/yasm ) |
423 |
-" |
424 |
- |
425 |
-S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src" |
426 |
- |
427 |
-pkg_setup() { |
428 |
- local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" |
429 |
- linux-info_pkg_setup |
430 |
- |
431 |
- setup-wxwidgets |
432 |
-} |
433 |
- |
434 |
-src_compile() { |
435 |
- local myemakeargs=( |
436 |
- NOSTRIP=1 |
437 |
- NOTEST=1 |
438 |
- VERBOSE=1 |
439 |
- CC="$(tc-getCC)" |
440 |
- CXX="$(tc-getCXX)" |
441 |
- AR="$(tc-getAR)" |
442 |
- RANLIB="$(tc-getRANLIB)" |
443 |
- TC_EXTRA_CFLAGS="${CFLAGS}" |
444 |
- TC_EXTRA_CXXFLAGS="${CXXFLAGS}" |
445 |
- TC_EXTRA_LFLAGS="${LDFLAGS}" |
446 |
- WX_CONFIG="${WX_CONFIG}" |
447 |
- $(usex X "" "NOGUI=1") |
448 |
- $(usex asm "" "NOASM=1") |
449 |
- $(usex cpu_flags_x86_sse2 "" "NOSSE2=1") |
450 |
- $(usex cpu_flags_x86_sse4_1 "SSE41=1" "") |
451 |
- $(usex cpu_flags_x86_ssse3 "SSSE3=1" "") |
452 |
- ) |
453 |
- |
454 |
- emake "${myemakeargs[@]}" |
455 |
-} |
456 |
- |
457 |
-src_test() { |
458 |
- "${S}/Main/veracrypt" --text --test || die "tests failed" |
459 |
-} |
460 |
- |
461 |
-src_install() { |
462 |
- local DOCS=( Readme.txt ) |
463 |
- local HTML_DOCS=( ) |
464 |
- |
465 |
- dobin Main/veracrypt |
466 |
- if use doc; then |
467 |
- DOCS+=( "${S}"/../doc/EFI-DCS ) |
468 |
- docompress -x "/usr/share/doc/${PF}/EFI-DCS" |
469 |
- HTML_DOCS+=( "${S}"/../doc/html/. ) |
470 |
- fi |
471 |
- einstalldocs |
472 |
- |
473 |
- newinitd "${FILESDIR}/${PN}.init" ${PN} |
474 |
- |
475 |
- if use X; then |
476 |
- local s |
477 |
- for s in 16 48 128 256; do |
478 |
- newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm |
479 |
- done |
480 |
- make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security" |
481 |
- fi |
482 |
- |
483 |
- pax-mark -m "${D%/}/usr/bin/veracrypt" |
484 |
-} |
485 |
- |
486 |
-pkg_postinst() { |
487 |
- ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware" |
488 |
- ewarn "of the limitations on redistribution of binaries or modified source." |
489 |
-} |
490 |
|
491 |
diff --git a/app-crypt/veracrypt/veracrypt-1.24_p1.ebuild b/app-crypt/veracrypt/veracrypt-1.24_p1.ebuild |
492 |
deleted file mode 100644 |
493 |
index b9d71a087a8..00000000000 |
494 |
--- a/app-crypt/veracrypt/veracrypt-1.24_p1.ebuild |
495 |
+++ /dev/null |
496 |
@@ -1,117 +0,0 @@ |
497 |
-# Copyright 1999-2019 Gentoo Authors |
498 |
-# Distributed under the terms of the GNU General Public License v2 |
499 |
- |
500 |
-EAPI=6 |
501 |
-inherit eutils linux-info pax-utils toolchain-funcs wxwidgets |
502 |
- |
503 |
-DESCRIPTION="Disk encryption with strong security based on TrueCrypt" |
504 |
-HOMEPAGE="https://www.veracrypt.fr/en/Home.html" |
505 |
-SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_1.24-Hotfix1.tar.gz -> ${P}.tar.gz" |
506 |
- |
507 |
-# The modules not linked against in Linux include (but not limited to): |
508 |
-# libzip, chacha-xmm, chacha256, chachaRng, jitterentropy, rdrand, t1ha2 |
509 |
-# Tested by actually removing the source files and performing a build |
510 |
-# For this reason, We don't have to worry about their licenses |
511 |
-LICENSE="Apache-2.0 truecrypt-3.0" |
512 |
-SLOT="0" |
513 |
-KEYWORDS="~amd64" |
514 |
-IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X" |
515 |
-RESTRICT="bindist mirror" |
516 |
- |
517 |
-WX_GTK_VER="3.0-gtk3" |
518 |
- |
519 |
-RDEPEND=" |
520 |
- sys-fs/lvm2 |
521 |
- sys-fs/fuse:0 |
522 |
- x11-libs/wxGTK:${WX_GTK_VER}[X?] |
523 |
- app-admin/sudo |
524 |
- dev-libs/pkcs11-helper |
525 |
-" |
526 |
-DEPEND=" |
527 |
- ${RDEPEND} |
528 |
- virtual/pkgconfig |
529 |
- asm? ( dev-lang/yasm ) |
530 |
-" |
531 |
- |
532 |
-S="${WORKDIR}/VeraCrypt-VeraCrypt_1.24-Hotfix1/src" |
533 |
- |
534 |
-pkg_setup() { |
535 |
- local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" |
536 |
- linux-info_pkg_setup |
537 |
- |
538 |
- setup-wxwidgets |
539 |
-} |
540 |
- |
541 |
-src_prepare() { |
542 |
- eapply -p2 "${FILESDIR}"/${PN}-1.24-no-gui-fix.patch |
543 |
- default |
544 |
-} |
545 |
- |
546 |
-src_compile() { |
547 |
- local TC_EXTRA_CFLAGS="${CFLAGS}" |
548 |
- local TC_EXTRA_CXXFLAGS="${CXXFLAGS}" |
549 |
- local myemakeargs=( |
550 |
- NOSTRIP=1 |
551 |
- NOTEST=1 |
552 |
- VERBOSE=1 |
553 |
- CC="$(tc-getCC)" |
554 |
- CXX="$(tc-getCXX)" |
555 |
- AR="$(tc-getAR)" |
556 |
- RANLIB="$(tc-getRANLIB)" |
557 |
- TC_EXTRA_LFLAGS="${LDFLAGS}" |
558 |
- WX_CONFIG="${WX_CONFIG}" |
559 |
- $(usex X "" "NOGUI=1") |
560 |
- $(usex asm "" "NOASM=1") |
561 |
- $(usex cpu_flags_x86_sse2 "" "NOSSE2=1") |
562 |
- $(usex cpu_flags_x86_sse4_1 "SSE41=1" "") |
563 |
- $(usex cpu_flags_x86_ssse3 "SSSE3=1" "") |
564 |
- ) |
565 |
- |
566 |
- # We need to explicitly disable the GUI support when linking against |
567 |
- # wxwidgets, in case it was compiled with USE=X |
568 |
- if ! use X; then |
569 |
- TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS} -DwxUSE_GUI=0" |
570 |
- TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS} -DwxUSE_GUI=0" |
571 |
- fi |
572 |
- |
573 |
- myemakeargs+=( |
574 |
- TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS}" |
575 |
- TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS}" |
576 |
- ) |
577 |
- |
578 |
- emake "${myemakeargs[@]}" |
579 |
-} |
580 |
- |
581 |
-src_test() { |
582 |
- "${S}/Main/veracrypt" --text --test || die "tests failed" |
583 |
-} |
584 |
- |
585 |
-src_install() { |
586 |
- local DOCS=( Readme.txt ) |
587 |
- local HTML_DOCS=( ) |
588 |
- |
589 |
- dobin Main/veracrypt |
590 |
- if use doc; then |
591 |
- DOCS+=( "${S}"/../doc/EFI-DCS ) |
592 |
- docompress -x "/usr/share/doc/${PF}/EFI-DCS" |
593 |
- HTML_DOCS+=( "${S}"/../doc/html/. ) |
594 |
- fi |
595 |
- einstalldocs |
596 |
- |
597 |
- newinitd "${FILESDIR}/${PN}.init" ${PN} |
598 |
- |
599 |
- if use X; then |
600 |
- local s |
601 |
- for s in 16 48 128 256; do |
602 |
- newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm |
603 |
- done |
604 |
- make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security" |
605 |
- fi |
606 |
- |
607 |
- pax-mark -m "${D%/}/usr/bin/veracrypt" |
608 |
-} |
609 |
- |
610 |
-pkg_postinst() { |
611 |
- ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware" |
612 |
- ewarn "of the limitations on redistribution of binaries or modified source." |
613 |
-} |