##// END OF EJS Templates
contrib: disable SSLv3_method() to build old Python with recent libssl...
Yuya Nishihara -
r27230:9f8b8c4e default
parent child Browse files
Show More
@@ -47,8 +47,8 b' PYTHON_SRCFILE=$(PYTHON_SRCDIR).tgz'
47 47 [ -f $(PYTHON_SRCFILE) ] || wget http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || curl -OL http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || [ -f $(PYTHON_SRCFILE) ]
48 48 rm -rf $(PYTHON_SRCDIR)
49 49 tar xf $(PYTHON_SRCFILE)
50 # Ubuntu disables SSLv2 the hard way, disable it on old Pythons too
51 -sed -i 's,self.*SSLv2_method(),0;//\0,g' $(PYTHON_SRCDIR)/Modules/_ssl.c
50 # Debian/Ubuntu disables SSLv2,3 the hard way, disable it on old Pythons too
51 -sed -i 's,self.*SSLv[23]_method(),0;//\0,g' $(PYTHON_SRCDIR)/Modules/_ssl.c
52 52 # Find multiarch system libraries on Ubuntu and disable fortify error when setting argv
53 53 LDFLAGS="-L/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`"; \
54 54 BASECFLAGS=-U_FORTIFY_SOURCE; \
General Comments 0
You need to be logged in to leave comments. Login now