python-M2Crypto: libressl patch

closes #2935
This commit is contained in:
Andrea Brancaleoni 2015-11-10 16:14:59 +01:00
parent 5632a51b91
commit 85dbc3fb09
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-SWIG__ssl_i,v 1.4 2015/10/25 15:29:13 rpe Exp $
--- SWIG/_ssl.i.orig Tue Oct 13 15:34:30 2015
+++ SWIG/_ssl.i Wed Oct 21 21:03:50 2015
@@ -52,10 +52,6 @@ extern const char *SSL_alert_desc_string(int);
%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;
extern SSL_METHOD *SSLv23_method(void);
%rename(tlsv1_method) TLSv1_method;

View File

@ -1,7 +1,7 @@
# Template file for 'python-M2Crypto'
pkgname=python-M2Crypto
version=0.22.5
revision=1
revision=2
wrksrc="M2Crypto-${version}"
build_style=python-module
pycompile_module="M2Crypto"