wok-next diff python/receipt @ rev 12219
Up: cookutils (1.8) Lots of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 05 13:42:18 2012 +0200 (2012-04-05) |
parents | ba7621a1b976 |
children | 290346adb440 |
line diff
1.1 --- a/python/receipt Sun Jun 05 00:58:57 2011 +0200 1.2 +++ b/python/receipt Thu Apr 05 13:42:18 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python" 1.7 -VERSION="2.7.1" 1.8 +VERSION="2.7.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The Python programming language." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -17,9 +17,11 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - # Fix urllib Security Vulnerability 1.17 - # http://blog.python.org/2011/04/urllib-security-vulnerability-fixed.html 1.18 - patch -Np1 -i $stuff/CVE-2011-1521.patch 1.19 + # Temporary workaround for FS#22322 1.20 + # See http://bugs.python.org/issue10835 for upstream report 1.21 + sed -i "/progname =/s/python/python${_pybasever}/" Python/pythonrun.c 1.22 + # Enable built-in SQLite3 module to load extensions (fix FS#22122) 1.23 + sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py 1.24 ./configure \ 1.25 --enable-shared \ 1.26 --build=$HOST_SYSTEM \