1 |
commit: 6fdca4f9902f7ba0f6780dd5e3d5399fc19f0c16 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Nov 2 10:39:15 2019 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 5 00:55:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fdca4f9 |
7 |
|
8 |
app-crypt/veracrypt: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/13526 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org> |
13 |
|
14 |
.../files/veracrypt-1.19-execstack-fix.patch | 60 ---------------------- |
15 |
.../files/veracrypt-1.19-makefile-archdetect.patch | 26 ---------- |
16 |
...crypt-1.19-remove-packaging-from-makefile.patch | 52 ------------------- |
17 |
.../files/veracrypt-1.22-sysmacros-fix.patch | 36 ------------- |
18 |
4 files changed, 174 deletions(-) |
19 |
|
20 |
diff --git a/app-crypt/veracrypt/files/veracrypt-1.19-execstack-fix.patch b/app-crypt/veracrypt/files/veracrypt-1.19-execstack-fix.patch |
21 |
deleted file mode 100644 |
22 |
index 9b1e634bd4c..00000000000 |
23 |
--- a/app-crypt/veracrypt/files/veracrypt-1.19-execstack-fix.patch |
24 |
+++ /dev/null |
25 |
@@ -1,60 +0,0 @@ |
26 |
---- src/Crypto/Aes_hw_cpu.asm.old |
27 |
-+++ src/Crypto/Aes_hw_cpu.asm |
28 |
-@@ -328,3 +328,12 @@ |
29 |
- |
30 |
- |
31 |
- %endif ; __BITS__ != 16 |
32 |
-+ %ifidn __OUTPUT_FORMAT__,elf |
33 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
34 |
-+ %endif |
35 |
-+ %ifidn __OUTPUT_FORMAT__,elf32 |
36 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
37 |
-+ %endif |
38 |
-+ %ifidn __OUTPUT_FORMAT__,elf64 |
39 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
40 |
-+ %endif |
41 |
---- src/Crypto/AesSmall_x86.asm.old |
42 |
-+++ src/Crypto/AesSmall_x86.asm |
43 |
-@@ -1442,3 +1442,12 @@ |
44 |
- db v8(0xe1),v8(0x69),v8(0x14),v8(0x63),v8(0x55),v8(0x21),v8(0x0c),v8(0x7d) |
45 |
- |
46 |
- %endif |
47 |
-+ %ifidn __OUTPUT_FORMAT__,elf |
48 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
49 |
-+ %endif |
50 |
-+ %ifidn __OUTPUT_FORMAT__,elf32 |
51 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
52 |
-+ %endif |
53 |
-+ %ifidn __OUTPUT_FORMAT__,elf64 |
54 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
55 |
-+ %endif |
56 |
---- src/Crypto/Aes_x64.asm.old |
57 |
-+++ src/Crypto/Aes_x64.asm |
58 |
-@@ -905,3 +905,12 @@ |
59 |
- %endif |
60 |
- |
61 |
- %endif |
62 |
-+ %ifidn __OUTPUT_FORMAT__,elf |
63 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
64 |
-+ %endif |
65 |
-+ %ifidn __OUTPUT_FORMAT__,elf32 |
66 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
67 |
-+ %endif |
68 |
-+ %ifidn __OUTPUT_FORMAT__,elf64 |
69 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
70 |
-+ %endif |
71 |
---- src/Crypto/Aes_x86.asm.old |
72 |
-+++ src/Crypto/Aes_x86.asm |
73 |
-@@ -644,3 +644,12 @@ |
74 |
- do_exit |
75 |
- |
76 |
- %endif |
77 |
-+ %ifidn __OUTPUT_FORMAT__,elf |
78 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
79 |
-+ %endif |
80 |
-+ %ifidn __OUTPUT_FORMAT__,elf32 |
81 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
82 |
-+ %endif |
83 |
-+ %ifidn __OUTPUT_FORMAT__,elf64 |
84 |
-+ section .note.GNU-stack noalloc noexec nowrite progbits |
85 |
-+ %endif |
86 |
|
87 |
diff --git a/app-crypt/veracrypt/files/veracrypt-1.19-makefile-archdetect.patch b/app-crypt/veracrypt/files/veracrypt-1.19-makefile-archdetect.patch |
88 |
deleted file mode 100644 |
89 |
index 41fc6d521c6..00000000000 |
90 |
--- a/app-crypt/veracrypt/files/veracrypt-1.19-makefile-archdetect.patch |
91 |
+++ /dev/null |
92 |
@@ -1,26 +0,0 @@ |
93 |
-From 181857089b11045c701e9195275a408430beb580 Mon Sep 17 00:00:00 2001 |
94 |
-From: Mounir IDRASSI <mounir.idrassi@×××××.fr> |
95 |
-Date: Sat, 5 Nov 2016 23:39:46 +0100 |
96 |
-Subject: [PATCH] Linux: Always use "uname -m" to determine processor type. |
97 |
- This fixes Slackware build issue. |
98 |
- |
99 |
---- |
100 |
- src/Makefile | 5 +---- |
101 |
- 1 file changed, 1 insertion(+), 4 deletions(-) |
102 |
- |
103 |
-diff --git a/src/Makefile b/src/Makefile |
104 |
-index 7bfc5ad..00e6e5b 100644 |
105 |
---- src/Makefile |
106 |
-+++ src/Makefile |
107 |
-@@ -131,10 +131,7 @@ export PLATFORM_UNSUPPORTED := 0 |
108 |
- export CPU_ARCH ?= unknown |
109 |
- export SIMD_SUPPORTED := 0 |
110 |
- |
111 |
--ARCH = $(shell uname -p) |
112 |
--ifeq "$(ARCH)" "unknown" |
113 |
-- ARCH = $(shell uname -m) |
114 |
--endif |
115 |
-+ARCH = $(shell uname -m) |
116 |
- |
117 |
- ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH))) |
118 |
- CPU_ARCH = x86 |
119 |
|
120 |
diff --git a/app-crypt/veracrypt/files/veracrypt-1.19-remove-packaging-from-makefile.patch b/app-crypt/veracrypt/files/veracrypt-1.19-remove-packaging-from-makefile.patch |
121 |
deleted file mode 100644 |
122 |
index 5aad4b9fb74..00000000000 |
123 |
--- a/app-crypt/veracrypt/files/veracrypt-1.19-remove-packaging-from-makefile.patch |
124 |
+++ /dev/null |
125 |
@@ -1,52 +0,0 @@ |
126 |
---- src/Main/Main.make.orig |
127 |
-+++ src/Main/Main.make |
128 |
-@@ -190,49 +190,6 @@ |
129 |
- rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg" |
130 |
- endif |
131 |
- |
132 |
-- |
133 |
-- |
134 |
--ifeq "$(PLATFORM)" "Linux" |
135 |
--ifeq "$(TC_BUILD_CONFIG)" "Release" |
136 |
-- mkdir -p $(PWD)/Setup/Linux/usr/bin |
137 |
-- mkdir -p $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc |
138 |
-- cp $(PWD)/Main/$(APPNAME) $(PWD)/Setup/Linux/usr/bin/$(APPNAME) |
139 |
-- cp $(PWD)/Setup/Linux/$(APPNAME)-uninstall.sh $(PWD)/Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh |
140 |
-- chmod +x $(PWD)/Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh |
141 |
-- cp $(PWD)/License.txt $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/License.txt |
142 |
-- cp "$(PWD)/Release/Setup Files/VeraCrypt User Guide.pdf" "$(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/VeraCrypt User Guide.pdf" |
143 |
-- |
144 |
--ifndef TC_NO_GUI |
145 |
-- mkdir -p $(PWD)/Setup/Linux/usr/share/applications |
146 |
-- mkdir -p $(PWD)/Setup/Linux/usr/share/pixmaps |
147 |
-- cp $(PWD)/Resources/Icons/VeraCrypt-256x256.xpm $(PWD)/Setup/Linux/usr/share/pixmaps/$(APPNAME).xpm |
148 |
-- cp $(PWD)/Setup/Linux/$(APPNAME).desktop $(PWD)/Setup/Linux/usr/share/applications/$(APPNAME).desktop |
149 |
--endif |
150 |
-- |
151 |
-- |
152 |
-- tar cfz $(PWD)/Setup/Linux/$(PACKAGE_NAME) --directory $(PWD)/Setup/Linux usr |
153 |
-- |
154 |
-- @rm -fr $(INTERNAL_INSTALLER_NAME) |
155 |
-- @echo "#!/bin/sh" > $(INTERNAL_INSTALLER_NAME) |
156 |
-- @echo "VERSION=$(TC_VERSION)" >> $(INTERNAL_INSTALLER_NAME) |
157 |
-- @echo "PACKAGE_TYPE=tar" >> $(INTERNAL_INSTALLER_NAME) |
158 |
-- @echo "PACKAGE_NAME=$(PACKAGE_NAME)" >> $(INTERNAL_INSTALLER_NAME) |
159 |
-- @echo "PACKAGE_START=1107" >> $(INTERNAL_INSTALLER_NAME) |
160 |
-- @echo "INSTALLER_TYPE=$(INSTALLER_TYPE)" >> $(INTERNAL_INSTALLER_NAME) |
161 |
-- |
162 |
-- @cat $(PWD)/Setup/Linux/veracrypt_install_template.sh >> $(INTERNAL_INSTALLER_NAME) |
163 |
-- @cat $(PWD)/Setup/Linux/$(PACKAGE_NAME) >> $(INTERNAL_INSTALLER_NAME) |
164 |
-- chmod +x $(INTERNAL_INSTALLER_NAME) |
165 |
-- |
166 |
-- rm -fr $(PWD)/Setup/Linux/packaging |
167 |
-- mkdir -p $(PWD)/Setup/Linux/packaging |
168 |
-- cp $(INTERNAL_INSTALLER_NAME) $(PWD)/Setup/Linux/packaging/. |
169 |
-- makeself $(PWD)/Setup/Linux/packaging $(PWD)/Setup/Linux/$(INSTALLER_NAME) "VeraCrypt $(TC_VERSION) Installer" ./$(INTERNAL_INSTALLER_NAME) |
170 |
-- |
171 |
--endif |
172 |
-- |
173 |
--endif |
174 |
-- |
175 |
- $(OBJS): $(PCH) |
176 |
- |
177 |
- Resources.o: $(RESOURCES) |
178 |
|
179 |
diff --git a/app-crypt/veracrypt/files/veracrypt-1.22-sysmacros-fix.patch b/app-crypt/veracrypt/files/veracrypt-1.22-sysmacros-fix.patch |
180 |
deleted file mode 100644 |
181 |
index 702e8f702ec..00000000000 |
182 |
--- a/app-crypt/veracrypt/files/veracrypt-1.22-sysmacros-fix.patch |
183 |
+++ /dev/null |
184 |
@@ -1,36 +0,0 @@ |
185 |
-From 0a50becec3a3cca71e575dfec35d69ab295c85cc Mon Sep 17 00:00:00 2001 |
186 |
-From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@g.o> |
187 |
-Date: Tue, 3 Apr 2018 23:06:20 -0400 |
188 |
-Subject: [PATCH] Platform/Unix: include <sys/sysmacros.h> for major/minor |
189 |
- macros |
190 |
-MIME-Version: 1.0 |
191 |
-Content-Type: text/plain; charset=UTF-8 |
192 |
-Content-Transfer-Encoding: 8bit |
193 |
- |
194 |
-Starting with glibc 2.26, macros "major" and "minor" are only |
195 |
-available from <sys/sysmacros.h> [0]. The build fails with the |
196 |
-following without including this header: |
197 |
- |
198 |
-Unix/FilesystemPath.cpp:84:49: error: ‘major’ was not declared in this scope |
199 |
-Unix/FilesystemPath.cpp:84:113: error: ‘minor’ was not declared in this scope |
200 |
- |
201 |
-[0] https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html |
202 |
---- |
203 |
- src/Platform/Unix/FilesystemPath.cpp | 1 + |
204 |
- 1 file changed, 1 insertion(+) |
205 |
- |
206 |
-diff --git a/src/Platform/Unix/FilesystemPath.cpp b/src/Platform/Unix/FilesystemPath.cpp |
207 |
-index d6c9cd2..7c28af4 100644 |
208 |
---- a/Platform/Unix/FilesystemPath.cpp |
209 |
-+++ b/Platform/Unix/FilesystemPath.cpp |
210 |
-@@ -15,6 +15,7 @@ |
211 |
- #include "Platform/StringConverter.h" |
212 |
- #include <stdio.h> |
213 |
- #include <sys/stat.h> |
214 |
-+#include <sys/sysmacros.h> |
215 |
- |
216 |
- namespace VeraCrypt |
217 |
- { |
218 |
--- |
219 |
-2.16.3 |
220 |
- |