slackware-current/source/l/python-certifi/python-certifi.SlackBuild
Patrick J Volkerding 490ad6ad66 Mon Nov 9 20:12:22 UTC 2020
a/grep-3.6-x86_64-1.txz:  Upgraded.
ap/vim-8.2.1969-x86_64-1.txz:  Upgraded.
l/imagemagick-7.0.10_37-x86_64-1.txz:  Upgraded.
l/python-certifi-2020.11.8-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-78.4.1esr-x86_64-1.txz:  Upgraded.
  This release contains a security fix:
  In certain circumstances, the MCallGetProperty opcode can be emitted with
  unmet assumptions resulting in an exploitable use-after-free condition.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/78.4.1/releasenotes/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26950
  (* Security fix *)
xap/vim-gvim-8.2.1969-x86_64-1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-calendar-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-calendar-tools-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-contacts-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-import-wizard-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-mime-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-notes-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadi-search-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akonadiconsole-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/akregator-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/analitza-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ark-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/artikulate-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/audiocd-kio-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/baloo-widgets-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/blinken-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/bomber-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/bovo-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/calendarsupport-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/cantor-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/cervisia-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/dolphin-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/dolphin-plugins-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/dragon-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/elisa-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/eventviews-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ffmpegthumbs-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/filelight-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/granatier-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/grantlee-editor-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/grantleetheme-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/gwenview-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/incidenceeditor-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/juk-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/k3b-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kaddressbook-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kalarm-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kalarmcal-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kalgebra-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kalzium-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kamera-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kamoso-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kanagram-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kapman-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kapptemplate-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kate-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/katomic-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kbackup-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kblackbox-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kblocks-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kbounce-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kbreakout-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kbruch-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kcachegrind-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kcalc-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kcalutils-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kcharselect-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kcolorchooser-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kcron-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kde-dev-scripts-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kde-dev-utils-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdebugsettings-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdeconnect-kde-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdeedu-data-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdegraphics-mobipocket-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdegraphics-thumbnailers-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdenetwork-filesharing-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdenlive-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdepim-addons-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdepim-apps-libs-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdepim-runtime-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdesdk-kioslaves-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdesdk-thumbnailers-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdf-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdialog-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kdiamond-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/keditbookmarks-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kfind-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kfloppy-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kfourinline-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kgeography-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kget-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kgoldrunner-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kgpg-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/khangman-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/khelpcenter-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kidentitymanagement-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kig-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kigo-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/killbots-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kimagemapeditor-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kimap-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kio-extras-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kio-gdrive-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kipi-plugins-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kirigami-gallery-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kiriki-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kiten-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kitinerary-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kjumpingcube-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kldap-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kleopatra-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/klickety-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/klines-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmag-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmahjongg-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmail-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmail-account-wizard-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmailtransport-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmbox-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmime-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmines-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmix-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmousetool-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmouth-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kmplot-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/knavalbattle-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/knetwalk-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/knights-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/knotes-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kolf-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kollision-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kolourpaint-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kompare-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/konqueror-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/konquest-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/konsole-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kontact-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kontactinterface-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kopete-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/korganizer-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kpimtextedit-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kpkpass-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kqtquickcharts-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/krdc-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kreversi-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/krfb-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kross-interpreters-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kruler-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kshisen-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ksirk-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ksmtp-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ksnakeduel-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kspaceduel-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ksquares-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ksudoku-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ksystemlog-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kteatime-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ktimer-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ktnef-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/ktouch-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kturtle-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kubrick-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kwalletmanager-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kwave-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/kwordquiz-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libgravatar-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkcddb-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkcompactdisc-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkdcraw-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkdegames-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkdepim-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkeduvocdocument-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkexiv2-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkgapi-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkgeomap-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkipi-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkleo-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkmahjongg-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libkomparediff2-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libksane-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/libksieve-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/lokalize-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/lskat-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/mailcommon-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/mailimporter-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/marble-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/mbox-importer-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/messagelib-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/minuet-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/okular-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/palapeli-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/parley-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/picmi-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/pim-data-exporter-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/pim-sieve-editor-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/pimcommon-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/poxml-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/print-manager-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/rocs-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/spectacle-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/step-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/svgpart-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/sweeper-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/umbrello-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/yakuake-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
testing/packages/vtown/kde/zeroconf-ioslave-20.08.3-x86_64-1_vtown_1.txz:  Upgraded.
2020-11-10 08:59:50 +01:00

75 lines
2.5 KiB
Bash
Executable file

#!/bin/bash
# Copyright 2017 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2017, 2018 Heinz Wiesinger, Amsterdam, NL
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-certifi
VERSION=${VERSION:-$(echo certifi-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
SRCNAM=certifi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1
cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 setup.py install --root=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a *.rst LICENSE PKG-INFO \
$PKG/usr/doc/$PKGNAM-$VERSION
find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz