LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2023, 04:26 AM   #1
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Rep: Reputation: 53
slackware64 14.2 backports (slackbuild and source)


# Copyright 2006, 2007, 2009, 2010, 2011, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
# 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.
# never say anything negative about Barry White's songs.

this is a security update
https://www.linuxquestions.org/quest...ml#post6424472
ncurses-6.4

lftp -c "mirror http://ftp.nluug.nl/os/Linux/distr/salix/x86_64/slackware-15.0/source/l/ncurses/"
https://ftp.gnu.org/gnu/ncurses/ncurses-6.4.tar.gz

build and install ncurses-6.4-x86_64-1 and aaa_terminfo-6.4-x86_64-1
 
Old 04-18-2023, 02:52 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
No, ncurses-6.4 is not a security update. The CVE is patched in a later daily snapshot.

Furthermore, the vulnerability only exists when an ncurses-linked binary is setuid or setguid, which I do not believe Slackware has done in many years.

The real vulnerability is not the ncurses library. It's making something linked to it setuid.
 
Old 04-19-2023, 01:30 PM   #3
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
Hello M Patrick,

this is more of an excuse to do an update of Ncurses from 5.9 to .6.4 for Slackware64 14.2.
https://www.cvedetails.com/vulnerabi...U-Ncurses.html

I don't know and don't want to give a freeze link to a development package that will necessarily be modified in the coming days.

I repeat, it's just an excuse to have a cute distro.

best regards,
 
Old 04-25-2023, 11:07 AM   #4
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
Opus 1.4

thanks to Michael Larabel for spreading the information because the opus homepage does not give the information.
https://www.phoronix.com/news/Opus-1.4-Released
https://opus-codec.org/

thanks to Willy Sudiarto Raharjo for the slackbuild.
take the slackbuild of Willy Sudiarto Raharjo's opus 1.3.1
http://slackbuilds.org/repository/14.2/audio/opus/

taking the source of opus 1.4.
https://github.com/xiph/opus/archive...gs/v1.4.tar.gz

line 26 replace VERSION=${VERSION:-1.3.1} by VERSION=${VERSION:-1.4}

line 71 add:
# Thanks Larry Hajali
autoreconf -ivf

and thanks again to Xiph.Org Foundation, I really like their catch phrase "We develop free and open media codecs".
 
Old 05-02-2023, 01:24 PM   #5
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
Python 3.9

1°) update cmake
http://ftp.nluug.nl/os/Linux/distr/s...ource/d/cmake/

2°) install Mako
http://ftp.nluug.nl/os/Linux/distr/s...source/l/Mako/

3°) install python-MarkupSafe
http://ftp.nluug.nl/os/Linux/distr/s...on-MarkupSafe/

4°) install meson
http://ftp.nluug.nl/os/Linux/distr/s...ource/d/meson/

5°) install ninja
http://ftp.nluug.nl/os/Linux/distr/s...ource/d/ninja/

6°) install python-setuptools
http://ftp.nluug.nl/os/Linux/distr/s...on-setuptools/

7°) install Python 3.9.16
http://ftp.nluug.nl/os/Linux/distr/s...ource/python3/
 
Old 05-13-2023, 01:43 AM   #6
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
xf86-video-intel-20210222

source:
https://anduin.linuxfromscratch.org/...0210222.tar.xz

xf86-video-intel-20210222.SlackBuild
Quote:
#!/bin/sh

PRGNAM=xf86-video-intel
VERSION=${VERSION:-20210222}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

# .html file needs to be manually installed
DOCFILES="README.md CHANGELOG LICENSE NO_WARRANTY"

if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
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 {} \;

CFLAGS="-O2 -fPIC" \
CXXFLAGS="-O2 -fPIC" \
./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib64 \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \
--docdir=/usr/doc/xf86-video-intel-20210222 \
--disable-static \
--enable-kms-only=yes \
--enable-sna \
--enable-udev \
--with-default-accel=sna \
--enable-tear-free=yes \
--with-default-dri=3 \
--disable-backlight \
--disable-backlight-helper \
--build=x86_64-slackware-linux

make
make install-strip DESTDIR=$PKG

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
slack-desc
Quote:
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.

|-----handy-ruler------------------------------------------------------|
re2c: xf86-video-intel-20210222
re2c:
re2c: https://anduin.linuxfromscratch.org/...0210222.tar.xz
re2c:
re2c:
re2c:
re2c:
re2c:
re2c:
re2c:
re2c:
note: sadly xf86-video-intel-20230223 is not compatible with slackware 14.2
 
Old 05-22-2023, 10:54 AM   #7
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
kmod-25

kmod 25

this is the latest version of kmod compatible with openssl 1.0

donwload the slackbuild
https://download.dlackware.com/slack...source/a/kmod/

line 27 change "VERSION=${VERSION:-22}" by "VERSION=${VERSION:-25}"

donwload the source
https://cdn.kernel.org/pub/linux/uti...kmod-25.tar.xz
https://cdn.kernel.org/pub/linux/uti...od-25.tar.sign

build and install
 
Old 02-10-2024, 12:17 AM   #8
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
expat-2.6.0 and libxml2-2.11.7

do not see anything malicious in this post, it is only to be able to use the CPUs and GPUs which are no longer supported with recent kernels.

http://ftp.nluug.nl/os/Linux/distr/s.../source/expat/
http://ftp.nluug.nl/os/Linux/distr/s...ource/libxml2/

Wed Feb 7 20:07:29 UTC 2024
patches/packages/expat-2.6.0-x86_64-1_slack15.0.txz: Upgraded.
This update fixes security issues:
Fix quadratic runtime issues with big tokens that can cause
denial of service.
Fix billion laughs attacks for users compiling *without* XML_DTD
defined (which is not common).
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-52425
https://www.cve.org/CVERecord?id=CVE-2023-52426
(* Security fix *)
+--------------------------+
Sun Feb 4 19:37:40 UTC 2024
patches/packages/libxml2-2.11.7-x86_64-1_slack15.0.txz: Upgraded.
Fix the following security issue:
xmlreader: Don't expand XIncludes when backtracking.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-25062
(* Security fix *)
 
Old 02-10-2024, 09:23 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
14.2 is considered EOL, so you need to backport those patches by yourself or upgrade your machine to 15.0
 
Old 02-11-2024, 03:30 AM   #10
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
willysr it's a misunderstanding, I'm not asking Pat for anything, it's just a post where the community can offer backports.
 
1 members found this post helpful.
Old 02-26-2024, 07:31 PM   #11
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Missed the EOL announcement on Slackware64-14.2?

Quote:
Originally Posted by willysr View Post
14.2 is considered EOL, so you need to backport those patches by yourself or upgrade your machine to 15.0
IS 14.2 EOL? I understood Pat would continue to support the current release (15.0), plus the last version (14.2), while working on current development? When was the announcement that only the current release would be supported?

In fact a few critical security updates for 14.2 have been some in the past year. Although a few more would be appreciated, by us folks on older hardware that just keeps on kicking.

This information would be helpful in deciding if this machine continues on Slackware or move to a BSD where systemD and a lot of other silly Linux ideas aren't being implemented, thank you Pat for keeping Slackware pure! I happen to like my FVWM desktop a lot. I also like Slackware a lot. But I was hoping to run 14.2 and receive security updates until 15.1 is released. Is that thinking in error?

Thank you.
 
Old 02-26-2024, 08:13 PM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
here's from 14.2 changelog:
Quote:
Wed Jan 3 20:25:45 UTC 2024
####################################################################
# EOL (END OF LIFE) NOTICE FOR OLD SLACKWARE VERSIONS #
# #
# Effective January 1, 2024, security patches will no longer be #
# provided for the following versions of Slackware (which will all #
# be more than 7 years old at that time): #
# Slackware 14.0, Slackware 14.1, Slackware 14.2. #
# If you are still running these versions you should consider #
# migrating to a newer version (preferably as recent as possible). #
# Alternately, you may make arrangements to handle your own #
# security patches. #
####################################################################
+--------------------------+
 
1 members found this post helpful.
Old 02-27-2024, 12:24 PM   #13
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 142

Original Poster
Rep: Reputation: 53
Let’s go for an openjpeg update and correct this cve dated March 5 2022 (2022CVE-2021-3575).

http://ftp.nluug.nl/os/Linux/distr/s...urce/openjpeg/

check dependencies.
Quote:
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13")
-- Your system seems to have a Z lib available, we will use it to generate PNG lib
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.40")
-- Your system seems to have a PNG lib available, we will use it
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.4.0")
-- Your system seems to have a TIFF lib available, we will use it
-- Found LCMS2: /usr/lib64/liblcms2.so
-- Your system seems to have a LCMS2 lib available, we will use it
-- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVADOC_EXECUTABLE Java_JAVAH_EXECUTABLE Development) (Required is at least version "1.8")
I’m not very in love with JAVA, but made as you like
 
Old 02-27-2024, 02:14 PM   #14
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
OK, the mailing list glitch did it again. :-)

Quote:
Originally Posted by willysr View Post
here's from 14.2 changelog:
Thank you Willy for pasting that on this thread, BUT...
The only place this "End of Life" notice is present is at ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt.

Since I run slackware64-14.2 and have usually received both the "stable" and 14.2 change-log notices from the auto mailer you should be aware this notice was not received. I've experienced this glitch twice before in the past year, ex. a slackpkg update shows available updates but the mailer system hasn't sent a notice of them available, only the 15.0 updates.

Additionally, slackware.com/change-logs are published only 15.0 and current, and there are no notices of this EOL for the older versions on that date in those change-logs. Neither is the notice in the security notices. Has Pat or the crew ever considered listing on the change-log page a notice of "Support is still available for x,y,z versions"? Or was the decision to allow Wikipedia to handle the release support information?

Since the topic is about security, i.e. no security updates will be provided for these older versions, maybe all of subscribers of the security mailing list could receive the notice again? Or perhaps it should have gone out on the announce mailing list, which hasn't seen activity since 2022?

Just my thoughts. I do appreciate the information, although I'm disappointed that the 14.2 version is now EOL, which isn't the pattern for older version during the past decade. I know the struggle to keep so many versions can be a huge amount of work, so I understand that Pat and the team have to decide what can still be easily back-ported and focus on current so we don't have a 15.1 release seven years after 15.0.

Thanks again and Cheers.
 
Old 02-27-2024, 11:39 PM   #15
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
That 14.x was to be EOL January 1st was announced in the changelog on October 9, 2023
And if I remember correctly, someone posted this info on here as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
source.list entry for sarge-backports rasidrasid Linux - Software 3 06-14-2012 03:04 AM
[SOLVED] stable-backports distribution spec not known to backports.debian.org jhwilliams Debian 7 05-31-2012 05:31 AM
Kmymoney2 Slackware64 Sbo Slackbuild Error AlleyTrotter Slackware 4 07-05-2009 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration