diff --git a/system/base/python/actions.py b/system/base/python/actions.py index d2b40c18..a4f64c00 100644 --- a/system/base/python/actions.py +++ b/system/base/python/actions.py @@ -16,20 +16,20 @@ PythonVersion = "2.7" def setup(): #shelltools.system("echo -e '\033[0;36mBuilding Bzip2\033[0m' ") - shelltools.makedirs("%s/temp/lib" %get.workDIR()) + #shelltools.makedirs("%s/temp/lib" %get.workDIR()) #shelltools.cd("bzip2-1.0.8") #autotools.make('CC=%s AR=%s RANLIB=%s CFLAGS="%s -D_FILE_OFFSET_BITS=64 -fPIC" libbz2.a' % (get.CC(), get.AR(), get.RANLIB(), get.CFLAGS())) #shelltools.system("cp libbz2.a %s/temp/lib/libbz2.a" % get.workDIR()) #shelltools.cd("..") - os.system("echo -e '\033[0;36mBuilding OpenSSL\033[0m' ") + #os.system("echo -e '\033[0;36mBuilding OpenSSL\033[0m' ") - shelltools.cd("openssl-1.1.1l") - shelltools.system("./Configure --prefix=%s/temp --openssldir=%s/openssl/etc/ssl --libdir=lib no-shared enable-ec_nistp_64_gcc_128 linux-x86_64 -Wa,--noexecstack" %(get.workDIR(), get.workDIR())) - autotools.make() - autotools.make("install") - shelltools.cd("..") + #shelltools.cd("openssl-1.1.1l") + #shelltools.system("./Configure --prefix=%s/temp --openssldir=%s/openssl/etc/ssl --libdir=lib no-shared enable-ec_nistp_64_gcc_128 linux-x86_64 -Wa,--noexecstack" %(get.workDIR(), get.workDIR())) + #autotools.make() + #autotools.make("install") + #shelltools.cd("..") - os.system("echo -e '\033[0;36mBuilding Python\033[0m' ") + #os.system("echo -e '\033[0;36mBuilding Python\033[0m' ") pisitools.cflags.add("-fwrapv") @@ -46,10 +46,10 @@ def setup(): #shelltools.export("CFLAGS", "-I%s/temp/include -O3" %get.workDIR()) #shelltools.export("LDFLAGS", "-L%s/temp/lib -lssl -lcrypto -lpthread -ldl" %get.workDIR()) - shelltools.export("PKG_CONFIG_PATH", "$PKG_CONFIG_PATH:%s/temp/lib/pkgconfig" %get.workDIR()) + #shelltools.export("PKG_CONFIG_PATH", "$PKG_CONFIG_PATH:%s/temp/lib/pkgconfig" %get.workDIR()) - pisitools.cflags.add("-I%s/temp/include -O3" %get.workDIR()) - pisitools.ldflags.add("-L%s/temp/lib -lssl -lcrypto -lpthread -ldl" %get.workDIR()) + #pisitools.cflags.add("-I%s/temp/include -O3" %get.workDIR()) + #pisitools.ldflags.add("-L%s/temp/lib -lssl -lcrypto -lpthread -ldl" %get.workDIR()) autotools.autoreconf("-vif") @@ -67,9 +67,7 @@ def setup(): --with-wctype-functions \ --with-system-expat \ --with-system-ffi \ - --with-dbmliborder=gdbm \ - PKG_CONFIG_PATH=%s/temp/lib/pkgconfig \ - " %get.workDIR()) + --with-dbmliborder=gdbm") def build(): autotools.make() diff --git a/system/base/python/pspec.xml b/system/base/python/pspec.xml index 18dbe362..3715758c 100755 --- a/system/base/python/pspec.xml +++ b/system/base/python/pspec.xml @@ -44,21 +44,7 @@ allowZip64.patch - gentoo/0001-bpo-39017-Avoid-infinite-loop-in-the-tarfile-module-.patch - gentoo/0002-bpo-39503-CVE-2020-8492-Fix-AbstractBasicAuthHandler.patch - gentoo/0003-bpo-39603-Prevent-header-injection-in-http-methods-G.patch - gentoo/0004-bpo-42051-Reject-XML-entity-declarations-in-plist-fi.patch - gentoo/0005-bpo-41944-No-longer-call-eval-on-content-received-vi.patch - gentoo/0006-bpo-40791-Make-compare_digest-more-constant-time.-GH.patch - gentoo/0007-3.6-closes-bpo-42938-Replace-snprintf-with-Python-un.patch - gentoo/0011-Non-zero-exit-status-on-failure.patch gentoo/0015-Turkish-locale.patch - gentoo/0022-Force-using-system-libffi.patch - gentoo/0024-3.6-bpo-42967-only-use-as-a-query-string-separator-G.patch - gentoo/0026-3.6-bpo-43285-Make-ftplib-not-trust-the-PASV-respons.patch - gentoo/0027-bpo-43075-Fix-ReDoS-in-urllib-AbstractBasicAuthHandl.patch - gentoo/0028-3.9-bpo-43882-urllib.parse-should-sanitize-urls-cont.patch - gentoo/0030-Backport-bpo-44022-Fix-http-client-infinite-line-rea.patch @@ -154,6 +140,13 @@ --> + + 2022-01-18- + 2.7.18 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2021-11-06- 2.7.18