mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@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
|
cd $(DIR_APP) && python setup.py install
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
@$(POSTBUILD)
|
@$(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