summaryrefslogtreecommitdiffstats
path: root/source/l/newt/newt.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-03-20 00:08:59 +0000
committer Eric Hameleers <alien@slackware.com>2024-03-20 02:20:04 +0100
commit5a8e431607833376ae16794d1134d03dccc3da08 (patch)
treeebb4acffae2ad5bfdb769ced5ad15a15117ab4fd /source/l/newt/newt.SlackBuild
parent52113da4b88c808f9cc80e6711b429c13e0e7c54 (diff)
downloadcurrent-5a8e431607833376ae16794d1134d03dccc3da08.tar.gz
current-5a8e431607833376ae16794d1134d03dccc3da08.tar.xz
Wed Mar 20 00:08:59 UTC 202420240320000859
a/sysvinit-scripts-15.1-noarch-14.txz: Rebuilt. rc.S: fix motd matching so that it works on a fresh install. d/scons-4.7.0-x86_64-1.txz: Upgraded. l/adwaita-icon-theme-46.0-noarch-1.txz: Upgraded. l/at-spi2-core-2.52.0-x86_64-1.txz: Upgraded. l/gcr4-4.2.1-x86_64-1.txz: Added. l/gjs-1.80.0-x86_64-1.txz: Upgraded. l/glib-networking-2.80.0-x86_64-1.txz: Upgraded. l/glib2-2.80.0-x86_64-1.txz: Upgraded. l/gobject-introspection-1.80.0-x86_64-1.txz: Upgraded. l/gsettings-desktop-schemas-46.0-x86_64-1.txz: Upgraded. l/gtk4-4.14.1-x86_64-1.txz: Upgraded. l/gvfs-1.54.0-x86_64-1.txz: Upgraded. l/librsvg-2.58.0-x86_64-1.txz: Upgraded. l/mozjs115-115.9.0esr-x86_64-1.txz: Added. Needed by gjs-1.80.0. l/newt-0.52.24-x86_64-2.txz: Rebuilt. Drop python2 support. l/pygobject3-3.48.1-x86_64-1.txz: Upgraded. l/python-glad2-2.0.6-x86_64-1.txz: Upgraded. l/python-hatchling-1.22.3-x86_64-1.txz: Upgraded. l/vte-0.76.0-x86_64-1.txz: Upgraded. l/wireplumber-0.5.0-x86_64-1.txz: Upgraded. n/gnutls-3.8.4-x86_64-1.txz: Upgraded. This update fixes two medium severity security issues: libgnutls: Fix side-channel in the deterministic ECDSA. Reported by George Pantelakis (#1516). libgnutls: Fixed a bug where certtool crashed when verifying a certificate chain with more than 16 certificates. Reported by William Woodruff (#1525) and yixiangzhike (#1527). For more information, see: https://www.cve.org/CVERecord?id=CVE-2024-28834 https://www.cve.org/CVERecord?id=CVE-2024-28835 (* Security fix *) xap/mozilla-firefox-115.9.0esr-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/115.9.0/releasenotes/ https://www.mozilla.org/security/advisories/mfsa2024-13/ https://www.cve.org/CVERecord?id=CVE-2024-0743 https://www.cve.org/CVERecord?id=CVE-2024-2605 https://www.cve.org/CVERecord?id=CVE-2024-2607 https://www.cve.org/CVERecord?id=CVE-2024-2608 https://www.cve.org/CVERecord?id=CVE-2024-2616 https://www.cve.org/CVERecord?id=CVE-2023-5388 https://www.cve.org/CVERecord?id=CVE-2024-2610 https://www.cve.org/CVERecord?id=CVE-2024-2611 https://www.cve.org/CVERecord?id=CVE-2024-2612 https://www.cve.org/CVERecord?id=CVE-2024-2614 (* Security fix *) xap/mozilla-thunderbird-115.9.0-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/115.9.0/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2024-14/ https://www.cve.org/CVERecord?id=CVE-2024-0743 https://www.cve.org/CVERecord?id=CVE-2024-2605 https://www.cve.org/CVERecord?id=CVE-2024-2607 https://www.cve.org/CVERecord?id=CVE-2024-2608 https://www.cve.org/CVERecord?id=CVE-2024-2616 https://www.cve.org/CVERecord?id=CVE-2023-5388 https://www.cve.org/CVERecord?id=CVE-2024-2610 https://www.cve.org/CVERecord?id=CVE-2024-2611 https://www.cve.org/CVERecord?id=CVE-2024-2612 https://www.cve.org/CVERecord?id=CVE-2024-2614 (* Security fix *)
Diffstat (limited to 'source/l/newt/newt.SlackBuild')
-rwxr-xr-xsource/l/newt/newt.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/source/l/newt/newt.SlackBuild b/source/l/newt/newt.SlackBuild
index db12aa63e..bd9052c80 100755
--- a/source/l/newt/newt.SlackBuild
+++ b/source/l/newt/newt.SlackBuild
@@ -1,9 +1,7 @@
#!/bin/bash
-# Slackware build script for newt
-
# Copyright 2014 Robby Workman, Northport, Alabama, USA
-# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2015, 2018, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=newt
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -64,7 +62,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-PYTHONLIB=$( python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' )
PYTHON3LIB=$( python3 -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' )
rm -rf $PKG
@@ -96,12 +93,13 @@ CXXFLAGS="$SLKCFLAGS" \
make $NUMJOBS || exit 1
make install DESTDIR=$PKG || exit 1
+# Nope.
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/
+
# Since this ignores --disable-static:
rm $PKG/usr/lib${LIBDIRSUFFIX}/libnewt.a
# Generate .pyc files
-python -m compileall "${PKG}$PYTHONLIB"
-python -O -m compileall "${PKG}$PYTHONLIB"
python3 -m compileall "${PKG}$PYTHON3LIB"
python3 -O -m compileall "${PKG}$PYTHON3LIB"