1 |
commit: f1c10ce60a121746d17c1da1e8fbea377db40085 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 28 07:39:46 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 5 01:20:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c10ce6 |
7 |
|
8 |
net-libs/libsrtp: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/8187 |
11 |
|
12 |
.../files/libsrtp-1.4.4-invalid-index.patch | 11 ----- |
13 |
net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch | 52 -------------------- |
14 |
.../files/libsrtp-1.4.4_p20121108-shared.patch | 55 ---------------------- |
15 |
net-libs/libsrtp/files/libsrtp-1.5.2-bindir.patch | 19 -------- |
16 |
.../files/libsrtp-1.5.2-fix-make-install.patch | 13 ----- |
17 |
net-libs/libsrtp/files/libsrtp-CVE-2013-2139.diff | 46 ------------------ |
18 |
6 files changed, 196 deletions(-) |
19 |
|
20 |
diff --git a/net-libs/libsrtp/files/libsrtp-1.4.4-invalid-index.patch b/net-libs/libsrtp/files/libsrtp-1.4.4-invalid-index.patch |
21 |
deleted file mode 100644 |
22 |
index 90a8f019fd4..00000000000 |
23 |
--- a/net-libs/libsrtp/files/libsrtp-1.4.4-invalid-index.patch |
24 |
+++ /dev/null |
25 |
@@ -1,11 +0,0 @@ |
26 |
---- srtp/crypto/replay/rdb.c.orig 2012-03-20 14:52:32.890017830 +0100 |
27 |
-+++ srtp/crypto/replay/rdb.c 2012-03-20 14:56:31.670017835 +0100 |
28 |
-@@ -115,7 +115,7 @@ |
29 |
- |
30 |
- /* shift the window forward by delta bits*/ |
31 |
- v128_left_shift(&rdb->bitmask, delta); |
32 |
-- v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-delta); |
33 |
-+ v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-1); |
34 |
- rdb->window_start += delta; |
35 |
- |
36 |
- } |
37 |
|
38 |
diff --git a/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch b/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch |
39 |
deleted file mode 100644 |
40 |
index 43b8843603c..00000000000 |
41 |
--- a/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch |
42 |
+++ /dev/null |
43 |
@@ -1,52 +0,0 @@ |
44 |
---- srtp/Makefile.in |
45 |
-+++ srtp/Makefile.in |
46 |
-@@ -65,11 +65,11 @@ |
47 |
- |
48 |
- |
49 |
- # implicit rules for object files and test apps |
50 |
- |
51 |
- %.o: %.c |
52 |
-- $(COMPILE) -c $< -o $@ |
53 |
-+ $(COMPILE) -fPIC -c $< -o $@ |
54 |
- |
55 |
- %$(EXE): %.c |
56 |
- $(COMPILE) $(LDFLAGS) $< -o $@ $(SRTPLIB) $(LIBS) |
57 |
- |
58 |
- |
59 |
-@@ -103,10 +103,16 @@ |
60 |
- |
61 |
- libsrtp.a: $(srtpobj) $(cryptobj) $(gdoi) |
62 |
- ar cr libsrtp.a $^ |
63 |
- $(RANLIB) libsrtp.a |
64 |
- |
65 |
-+libsrtp.so: $(srtpobj) $(cryptobj) $(gdoi) |
66 |
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libsrtp.so.1 -o libsrtp.so.1.0 $^ |
67 |
-+ |
68 |
-+libsrtp.dylib: $(srtpobj) $(cryptobj) $(gdoi) |
69 |
-+ $(CC) $(LDFLAGS) -dynamiclib -install_name $(libdir)/libsrtp.1.dylib -o libsrtp.1.0.dylib $^ |
70 |
-+ |
71 |
- # libcryptomath.a contains general-purpose routines that are used to |
72 |
- # generate tables and verify cryptoalgorithm implementations - this |
73 |
- # library is not meant to be included in production code |
74 |
- |
75 |
- cryptomath = crypto/math/math.o crypto/math/gf2_8.o |
76 |
-@@ -195,10 +198,20 @@ |
77 |
- $(INSTALL) -d $(DESTDIR)$(includedir)/srtp |
78 |
- $(INSTALL) -d $(DESTDIR)$(libdir) |
79 |
- cp include/*.h $(DESTDIR)$(includedir)/srtp |
80 |
- cp crypto/include/*.h $(DESTDIR)$(includedir)/srtp |
81 |
- if [ -f libsrtp.a ]; then cp libsrtp.a $(DESTDIR)$(libdir)/; fi |
82 |
-+ if [ -f libsrtp.so.1.0 ]; then \ |
83 |
-+ cp libsrtp.so.1.0 $(DESTDIR)$(libdir)/; \ |
84 |
-+ ln -s libsrtp.so.1.0 $(DESTDIR)$(libdir)/libsrtp.so.1; \ |
85 |
-+ ln -s libsrtp.so.1.0 $(DESTDIR)$(libdir)/libsrtp.so; \ |
86 |
-+ fi |
87 |
-+ if [ -f libsrtp.1.0.dylib ]; then \ |
88 |
-+ cp libsrtp.1.0.dylib $(DESTDIR)$(libdir)/; \ |
89 |
-+ ln -s libsrtp.1.0.dylib $(DESTDIR)$(libdir)/libsrtp.1.dylib; \ |
90 |
-+ ln -s libsrtp.1.0.dylib $(DESTDIR)$(libdir)/libsrtp.dylib; \ |
91 |
-+ fi |
92 |
- |
93 |
- uninstall: |
94 |
- rm -rf $(DESTDIR)$(includedir)/srtp |
95 |
- rm -rf $(DESTDIR)$(libdir)/libsrtp.a |
96 |
|
97 |
diff --git a/net-libs/libsrtp/files/libsrtp-1.4.4_p20121108-shared.patch b/net-libs/libsrtp/files/libsrtp-1.4.4_p20121108-shared.patch |
98 |
deleted file mode 100644 |
99 |
index 4e70a0ddd34..00000000000 |
100 |
--- a/net-libs/libsrtp/files/libsrtp-1.4.4_p20121108-shared.patch |
101 |
+++ /dev/null |
102 |
@@ -1,55 +0,0 @@ |
103 |
-Description: Hack build routines to compile shared library |
104 |
-Author: loki_val and solar |
105 |
-Origin: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch |
106 |
-Last-Update: 2010-03-19 |
107 |
---- a/Makefile.in |
108 |
-+++ b/Makefile.in |
109 |
-@@ -15,7 +15,7 @@ |
110 |
- |
111 |
- .PHONY: all test build_table_apps |
112 |
- |
113 |
--all: test |
114 |
-+all: libsrtp.so test |
115 |
- |
116 |
- runtest: build_table_apps test |
117 |
- @echo "running libsrtp test applications..." |
118 |
-@@ -67,7 +67,7 @@ |
119 |
- # implicit rules for object files and test apps |
120 |
- |
121 |
- %.o: %.c |
122 |
-- $(COMPILE) -c $< -o $@ |
123 |
-+ $(COMPILE) -fPIC -c $< -o $@ |
124 |
- |
125 |
- %$(EXE): %.c |
126 |
- $(COMPILE) $(LDFLAGS) $< -o $@ $(SRTPLIB) $(LIBS) |
127 |
-@@ -105,6 +105,9 @@ |
128 |
- ar cr libsrtp.a $^ |
129 |
- $(RANLIB) libsrtp.a |
130 |
- |
131 |
-+libsrtp.so: $(srtpobj) $(cryptobj) $(gdoi) |
132 |
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libsrtp.so.0 -o libsrtp.so.0.0 $^ |
133 |
-+ |
134 |
- # libcryptomath.a contains general-purpose routines that are used to |
135 |
- # generate tables and verify cryptoalgorithm implementations - this |
136 |
- # library is not meant to be included in production code |
137 |
-@@ -198,6 +201,11 @@ |
138 |
- cp $(srcdir)/crypto/include/*.h $(DESTDIR)$(includedir)/srtp |
139 |
- if [ "$(srcdir)" != "." ]; then cp crypto/include/*.h $(DESTDIR)$(includedir)/srtp; fi |
140 |
- if [ -f libsrtp.a ]; then cp libsrtp.a $(DESTDIR)$(libdir)/; fi |
141 |
-+ if [ -f libsrtp.so.0.0 ]; then \ |
142 |
-+ cp libsrtp.so.0.0 $(DESTDIR)$(libdir)/; \ |
143 |
-+ ln -s libsrtp.so.0.0 $(DESTDIR)$(libdir)/libsrtp.so.0; \ |
144 |
-+ ln -s libsrtp.so.0.0 $(DESTDIR)$(libdir)/libsrtp.so; \ |
145 |
-+ fi |
146 |
- |
147 |
- uninstall: |
148 |
- rm -f $(DESTDIR)$(includedir)/srtp/*.h |
149 |
-@@ -206,7 +214,7 @@ |
150 |
- |
151 |
- clean: |
152 |
- rm -rf $(cryptobj) $(srtpobj) $(cryptomath) TAGS \ |
153 |
-- libcryptomath.a libsrtp.a core *.core test/core |
154 |
-+ libcryptomath.a libsrtp.a libsrtp.so.0.0 core *.core test/core |
155 |
- for a in * */* */*/*; do \ |
156 |
- if [ -f "$$a~" ] ; then rm -f $$a~; fi; \ |
157 |
- done; |
158 |
|
159 |
diff --git a/net-libs/libsrtp/files/libsrtp-1.5.2-bindir.patch b/net-libs/libsrtp/files/libsrtp-1.5.2-bindir.patch |
160 |
deleted file mode 100644 |
161 |
index 2c71faf48ba..00000000000 |
162 |
--- a/net-libs/libsrtp/files/libsrtp-1.5.2-bindir.patch |
163 |
+++ /dev/null |
164 |
@@ -1,19 +0,0 @@ |
165 |
-diff --git a/Makefile.in b/Makefile.in |
166 |
-index 1a40de2..02f090c 100644 |
167 |
---- a/Makefile.in |
168 |
-+++ b/Makefile.in |
169 |
-@@ -252,13 +252,13 @@ libsrtpdoc: |
170 |
- install: |
171 |
- $(INSTALL) -d $(DESTDIR)$(includedir)/srtp |
172 |
- $(INSTALL) -d $(DESTDIR)$(libdir) |
173 |
-- $(INSTALL) -d $(DESTDIR)$(bindir) |
174 |
- cp $(srcdir)/include/*.h $(DESTDIR)$(includedir)/srtp |
175 |
- cp $(srcdir)/crypto/include/*.h $(DESTDIR)$(includedir)/srtp |
176 |
- if [ "$(srcdir)" != "." ]; then cp crypto/include/*.h $(DESTDIR)$(includedir)/srtp; fi |
177 |
- if [ -f libsrtp.a ]; then cp libsrtp.a $(DESTDIR)$(libdir)/; fi |
178 |
- if [ -f libsrtp.dll.a ]; then cp libsrtp.dll.a $(DESTDIR)$(libdir)/; fi |
179 |
- if [ -f libsrtp.$(SHAREDLIBSUFFIX) ]; then \ |
180 |
-+ $(INSTALL) -d $(DESTDIR)$(SHAREDLIB_DIR); \ |
181 |
- cp libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/; \ |
182 |
- ln -sfn libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/libsrtp.$(SHAREDLIBSUFFIXNOVER); \ |
183 |
- fi |
184 |
|
185 |
diff --git a/net-libs/libsrtp/files/libsrtp-1.5.2-fix-make-install.patch b/net-libs/libsrtp/files/libsrtp-1.5.2-fix-make-install.patch |
186 |
deleted file mode 100644 |
187 |
index f3f1f0e5c1a..00000000000 |
188 |
--- a/net-libs/libsrtp/files/libsrtp-1.5.2-fix-make-install.patch |
189 |
+++ /dev/null |
190 |
@@ -1,13 +0,0 @@ |
191 |
-diff --git a/Makefile.in b/Makefile.in |
192 |
-index 002d25d..1a40de2 100644 |
193 |
---- a/Makefile.in |
194 |
-+++ b/Makefile.in |
195 |
-@@ -260,7 +260,7 @@ install: |
196 |
- if [ -f libsrtp.dll.a ]; then cp libsrtp.dll.a $(DESTDIR)$(libdir)/; fi |
197 |
- if [ -f libsrtp.$(SHAREDLIBSUFFIX) ]; then \ |
198 |
- cp libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/; \ |
199 |
-- cp libsrtp.$(SHAREDLIBSUFFIXNOVER) $(DESTDIR)$(SHAREDLIB_DIR)/; \ |
200 |
-+ ln -sfn libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/libsrtp.$(SHAREDLIBSUFFIXNOVER); \ |
201 |
- fi |
202 |
- if [ "$(pkgconfig_DATA)" != "" ]; then \ |
203 |
- $(INSTALL) -d $(DESTDIR)$(pkgconfigdir); \ |
204 |
|
205 |
diff --git a/net-libs/libsrtp/files/libsrtp-CVE-2013-2139.diff b/net-libs/libsrtp/files/libsrtp-CVE-2013-2139.diff |
206 |
deleted file mode 100644 |
207 |
index dcafe177638..00000000000 |
208 |
--- a/net-libs/libsrtp/files/libsrtp-CVE-2013-2139.diff |
209 |
+++ /dev/null |
210 |
@@ -1,46 +0,0 @@ |
211 |
-diff --git a/srtp/srtp.c b/srtp/srtp.c |
212 |
-index 839c1ee..7fd19e6 100644 |
213 |
---- a/srtp/srtp.c |
214 |
-+++ b/srtp/srtp.c |
215 |
-@@ -2063,23 +2063,18 @@ static inline int base_key_length(const cipher_type_t *cipher, int key_length) |
216 |
- switch(profile) { |
217 |
- case srtp_profile_aes128_cm_sha1_80: |
218 |
- crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); |
219 |
-- crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); |
220 |
- break; |
221 |
- case srtp_profile_aes128_cm_sha1_32: |
222 |
- crypto_policy_set_aes_cm_128_hmac_sha1_32(policy); |
223 |
-- crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); |
224 |
- break; |
225 |
- case srtp_profile_null_sha1_80: |
226 |
- crypto_policy_set_null_cipher_hmac_sha1_80(policy); |
227 |
-- crypto_policy_set_null_cipher_hmac_sha1_80(policy); |
228 |
- break; |
229 |
- case srtp_profile_aes256_cm_sha1_80: |
230 |
- crypto_policy_set_aes_cm_256_hmac_sha1_80(policy); |
231 |
-- crypto_policy_set_aes_cm_256_hmac_sha1_80(policy); |
232 |
- break; |
233 |
- case srtp_profile_aes256_cm_sha1_32: |
234 |
- crypto_policy_set_aes_cm_256_hmac_sha1_32(policy); |
235 |
-- crypto_policy_set_aes_cm_256_hmac_sha1_80(policy); |
236 |
- break; |
237 |
- /* the following profiles are not (yet) supported */ |
238 |
- case srtp_profile_null_sha1_32: |
239 |
-@@ -2100,6 +2095,8 @@ static inline int base_key_length(const cipher_type_t *cipher, int key_length) |
240 |
- crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); |
241 |
- break; |
242 |
- case srtp_profile_aes128_cm_sha1_32: |
243 |
-+ /* We do not honor the 32-bit auth tag request since |
244 |
-+ * this is not compliant with RFC 3711 */ |
245 |
- crypto_policy_set_aes_cm_128_hmac_sha1_80(policy); |
246 |
- break; |
247 |
- case srtp_profile_null_sha1_80: |
248 |
-@@ -2109,6 +2106,8 @@ static inline int base_key_length(const cipher_type_t *cipher, int key_length) |
249 |
- crypto_policy_set_aes_cm_256_hmac_sha1_80(policy); |
250 |
- break; |
251 |
- case srtp_profile_aes256_cm_sha1_32: |
252 |
-+ /* We do not honor the 32-bit auth tag request since |
253 |
-+ * this is not compliant with RFC 3711 */ |
254 |
- crypto_policy_set_aes_cm_256_hmac_sha1_80(policy); |
255 |
- break; |
256 |
- /* the following profiles are not (yet) supported */ |