mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
python-m2crypto: remove SSLv2_method
this is removed by OpenSSL 1.0.2g Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -77,6 +77,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/M2Crypto-0.21.1_remove_sslv2_method.patch
|
||||
cd $(DIR_APP) && python setup.py install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
12
src/patches/M2Crypto-0.21.1_remove_sslv2_method.patch
Normal file
12
src/patches/M2Crypto-0.21.1_remove_sslv2_method.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur M2Crypto-0.21.1.org/SWIG/_ssl.i M2Crypto-0.21.1/SWIG/_ssl.i
|
||||
--- M2Crypto-0.21.1.org/SWIG/_ssl.i 2011-01-15 20:10:06.000000000 +0100
|
||||
+++ M2Crypto-0.21.1/SWIG/_ssl.i 2016-03-01 22:12:16.387266258 +0100
|
||||
@@ -48,8 +48,6 @@
|
||||
%rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long;
|
||||
extern const char *SSL_alert_desc_string_long(int);
|
||||
|
||||
-%rename(sslv2_method) SSLv2_method;
|
||||
-extern SSL_METHOD *SSLv2_method(void);
|
||||
%rename(sslv3_method) SSLv3_method;
|
||||
extern SSL_METHOD *SSLv3_method(void);
|
||||
%rename(sslv23_method) SSLv23_method;
|
||||
Reference in New Issue
Block a user