summaryrefslogtreecommitdiffstats
path: root/source/l/speex/speex.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-06-23 05:30:51 +0000
committer Eric Hameleers <alien@slackware.com>2022-06-23 17:00:11 +0200
commitab672bcf47dca57cfce72407176dd6460c3397b7 (patch)
treeae9ba59e4c424fff0056ffcc9d0ad4e06f877828 /source/l/speex/speex.SlackBuild
parent331d37cb9ea7e47a0b93f49e6d02d58b1d78a9e8 (diff)
downloadcurrent-ab672bcf47dca57cfce72407176dd6460c3397b7.tar.gz
current-ab672bcf47dca57cfce72407176dd6460c3397b7.tar.xz
Thu Jun 23 05:30:51 UTC 202220220623053051
a/kernel-generic-5.18.6-x86_64-1.txz: Upgraded. a/kernel-huge-5.18.6-x86_64-1.txz: Upgraded. a/kernel-modules-5.18.6-x86_64-1.txz: Upgraded. a/openssl-solibs-1.1.1p-x86_64-1.txz: Upgraded. ap/sudo-1.9.11p3-x86_64-1.txz: Upgraded. d/kernel-headers-5.18.6-x86-1.txz: Upgraded. k/kernel-source-5.18.6-noarch-1.txz: Upgraded. l/espeak-ng-1.51.1-x86_64-1.txz: Upgraded. l/libidn-1.40-x86_64-1.txz: Upgraded. l/mlt-7.8.0-x86_64-1.txz: Upgraded. l/openal-soft-1.22.1-x86_64-1.txz: Upgraded. l/pulseaudio-16.1-x86_64-1.txz: Upgraded. l/speex-1.2.1-x86_64-1.txz: Upgraded. l/speexdsp-1.2.1-x86_64-1.txz: Upgraded. n/ca-certificates-20220622-noarch-1.txz: Upgraded. This update provides the latest CA certificates to check for the authenticity of SSL connections. n/openssl-1.1.1p-x86_64-1.txz: Upgraded. In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. For more information, see: https://www.openssl.org/news/secadv/20220621.txt https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2068 (* Security fix *) x/ibus-table-1.16.9-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l/speex/speex.SlackBuild')
-rwxr-xr-xsource/l/speex/speex.SlackBuild20
1 files changed, 14 insertions, 6 deletions
diff --git a/source/l/speex/speex.SlackBuild b/source/l/speex/speex.SlackBuild
index 227cfd196..d640ebee8 100755
--- a/source/l/speex/speex.SlackBuild
+++ b/source/l/speex/speex.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2017, 2018, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=speex
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 2- -d -)}
-BUILD=${BUILD:-4}
+SRCNAM=speex-Speex
+VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 3- -d -)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -74,9 +75,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
-cd $PKGNAM-$VERSION || exit 1
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1
+cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find . \
@@ -86,6 +87,13 @@ find . \
-exec chmod 644 {} \+
# Configure:
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \