wok-6.x rev 20620
pypi.python.org access with untrusted https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 31 11:54:16 2018 +0100 (2018-12-31) |
parents | 6cdb314e15d8 |
children | dd16469e1b32 |
files | gparted/receipt python-gevent-psycopg2/receipt python-llfuse/receipt python-turbogears/receipt syslinux/stuff/iso2exe/taziso |
line diff
1.1 --- a/gparted/receipt Tue Dec 25 17:54:08 2018 +0100 1.2 +++ b/gparted/receipt Mon Dec 31 11:54:16 2018 +0100 1.3 @@ -8,7 +8,8 @@ 1.4 LICENSE="GPL2" 1.5 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs \ 1.6 reiserfsprogs reiser4progs btrfs-progs f2fs-tools hfsutils hfsprogs mdadm \ 1.7 -cryptsetup dmsetup lvm2 nilfs-utils udftools util-linux-minix" 1.8 +cryptsetup dmsetup lvm2 nilfs-utils udftools util-linux-minix exfat-utils \ 1.9 +util-linux-mkfs" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://gparted.sourceforge.net/" 1.12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
2.1 --- a/python-gevent-psycopg2/receipt Tue Dec 25 17:54:08 2018 +0100 2.2 +++ b/python-gevent-psycopg2/receipt Mon Dec 31 11:54:16 2018 +0100 2.3 @@ -17,6 +17,9 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 + sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ 2.8 + 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ 2.9 + distribute_setup.py 2.10 python setup.py build && 2.11 python setup.py install --root=$DESTDIR 2.12 }
3.1 --- a/python-llfuse/receipt Tue Dec 25 17:54:08 2018 +0100 3.2 +++ b/python-llfuse/receipt Mon Dec 31 11:54:16 2018 +0100 3.3 @@ -17,6 +17,9 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 + sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ 3.8 + 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ 3.9 + util/distribute_setup.py 3.10 python setup.py build && 3.11 python setup.py install --root=$DESTDIR 3.12 }
4.1 --- a/python-turbogears/receipt Tue Dec 25 17:54:08 2018 +0100 4.2 +++ b/python-turbogears/receipt Mon Dec 31 11:54:16 2018 +0100 4.3 @@ -19,6 +19,9 @@ 4.4 # Rules to configure and make the package. 4.5 compile_rules() 4.6 { 4.7 + sed -i -e 's|http://pypi|https://pypi|' -e \ 4.8 + 's|sys, os|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \ 4.9 + tools/tgsetup.py ez_setup.py 4.10 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 4.11 # Tgsetup dont build TurboGearsKid and friends if there are already 4.12 # installed, so remove python-turbogears before building.
5.1 --- a/syslinux/stuff/iso2exe/taziso Tue Dec 25 17:54:08 2018 +0100 5.2 +++ b/syslinux/stuff/iso2exe/taziso Mon Dec 31 11:54:16 2018 +0100 5.3 @@ -1350,6 +1350,7 @@ 5.4 exit 5.5 fi 5.6 ISO="${1:-/dev/null}" 5.7 +[ ${ISO:0:1} != "/" ] && ISO=$(cd $(dirname $ISO); echo $PWD/$(basename $ISO)) 5.8 [ -z "$(isiso 2> /dev/null)" ] && echo "Usage : $0 file.iso" && exit 1 5.9 media=/tmp/media$$ 5.10 mkdir -p $media