diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-03-01 05:05:48 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-03-01 06:59:47 +0100 |
commit | 29cb9e3b02f88bf8d8d3abad7aa03f6a74d6fbc0 (patch) | |
tree | 8046023fc3e353090f912cd7342bcccbd38be5cd /source/l/libxslt | |
parent | 617b679ca8e13492475e7b874c30e232e281fbf0 (diff) | |
download | current-29cb9e3b02f88bf8d8d3abad7aa03f6a74d6fbc0.tar.gz |
Tue Mar 1 05:05:48 UTC 202220220301050548
a/dbus-1.12.22-x86_64-1.txz: Upgraded.
a/kernel-firmware-20220228_ee0667a-noarch-1.txz: Upgraded.
ap/sysstat-12.5.6-x86_64-1.txz: Upgraded.
d/ccache-4.6-x86_64-1.txz: Upgraded.
d/rcs-5.10.1-x86_64-1.txz: Upgraded.
l/libjpeg-turbo-2.1.3-x86_64-1.txz: Upgraded.
l/libxml2-2.9.13-x86_64-1.txz: Upgraded.
This update fixes bugs and the following security issues:
Use-after-free of ID and IDREF attributes
(Thanks to Shinji Sato for the report)
Use-after-free in xmlXIncludeCopyRange (David Kilzer)
Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong)
Fix memory leak in xmlXPathCompNodeTest
Fix null pointer deref in xmlStringGetNodeList
Fix several memory leaks found by Coverity (David King)
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23308
(* Security fix *)
l/libxslt-1.1.35-x86_64-1.txz: Upgraded.
This update fixes bugs and the following security issues:
Fix use-after-free in xsltApplyTemplates
Fix memory leak in xsltDocumentElem (David King)
Fix memory leak in xsltCompileIdKeyPattern (David King)
Fix double-free with stylesheets containing entity nodes
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30560
(* Security fix *)
n/wget-1.21.3-x86_64-1.txz: Upgraded.
x/xterm-371-x86_64-1.txz: Upgraded.
xap/xscreensaver-6.03-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/libxslt')
-rwxr-xr-x | source/l/libxslt/libxslt.SlackBuild | 31 | ||||
-rw-r--r-- | source/l/libxslt/libxslt.url | 3 |
2 files changed, 30 insertions, 4 deletions
diff --git a/source/l/libxslt/libxslt.SlackBuild b/source/l/libxslt/libxslt.SlackBuild index 7fcc8186..5bff2362 100755 --- a/source/l/libxslt/libxslt.SlackBuild +++ b/source/l/libxslt/libxslt.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libxslt VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -81,6 +81,14 @@ sed -i '/#include <xlocale.h>/d' libxslt/xsltlocale.h # on infinite recursion: zcat $CWD/libxslt.xsltMaxDepth.diff.gz | patch -p1 --verbose || exit 1 +# Configure, build, and install: +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -98,14 +106,31 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/libxslt-python-$VERSION $PKG/usr/doc/libxslt-$VERSION cp -a \ - AUTHORS COPYING* Copyright FEATURES INSTALL IPR NEWS README TODO libxslt.spec \ + AUTHORS* COPYING* ChangeLog Copyright* FEATURES* HACKING* INSTALL* NEWS* README* TODO* libxslt.spec \ $PKG/usr/doc/libxslt-$VERSION find $PKG/usr/doc/libxslt-$VERSION -type f | xargs chmod 644 +rm -rf $PKG/usr/share/gtk-doc + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +# Nevermind... this hasn't been updated in a decade: +rm -r $DOCSDIR/ChangeLog find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -gzip -9 $PKG/usr/man/man?/*.? +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/source/l/libxslt/libxslt.url b/source/l/libxslt/libxslt.url index 62e07ca9..6e237813 100644 --- a/source/l/libxslt/libxslt.url +++ b/source/l/libxslt/libxslt.url @@ -1 +1,2 @@ -ftp://ftp.xmlsoft.org/libxml2 +#ftp://ftp.xmlsoft.org/libxml2 +https://gitlab.gnome.org/GNOME/libxslt |