summaryrefslogtreecommitdiffstats
path: root/source/l/enchant/enchant.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-06-30 03:45:31 +0000
committer Eric Hameleers <alien@slackware.com>2021-06-30 08:59:54 +0200
commitc01ee3e65304c6ff4a85a5f74ea1aed6a315a2da (patch)
tree450f1724529854c2579a0cac972d14ce2ca03d87 /source/l/enchant/enchant.SlackBuild
parent498a5695df7a6462ec45da8ac03906633b598ac6 (diff)
downloadcurrent-c01ee3e65304c6ff4a85a5f74ea1aed6a315a2da.tar.gz
current-c01ee3e65304c6ff4a85a5f74ea1aed6a315a2da.tar.xz
Wed Jun 30 03:45:31 UTC 202120210630034531
a/kernel-firmware-20210629_d79c267-noarch-1.txz: Upgraded. ap/cups-2.3.3op2-x86_64-1.txz: Upgraded. kde/lokalize-21.04.2-x86_64-2.txz: Rebuilt. Recompiled against hunspell-1.7.0. kde/sonnet-5.83.0-x86_64-2.txz: Rebuilt. Recompiled against hunspell-1.7.0. l/enchant-2.3.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/gtkspell-2.0.16-x86_64-7.txz: Rebuilt. Recompiled against enchant-2.3.0. l/hunspell-1.7.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-urllib3-1.26.6-x86_64-2.txz: Rebuilt. Don't build python2 version. l/python2-module-collection-2.7.18-x86_64-4.txz: Rebuilt. Upgraded to urllib3-1.25.11 for compatibility with requests. Thanks to USUARIONUEVO. l/qt5-5.15.2-x86_64-10.txz: Rebuilt. Recompiled against hunspell-1.7.0. n/php-7.4.21-x86_64-1.txz: Upgraded. This update fixes bugs and security issues: Core: SSRF bypass in FILTER_VALIDATE_URL. PDO_Firebird: Stack buffer overflow in firebird_info_cb. PDO_Firebird: SIGSEGV in firebird_handle_doer. PDO_Firebird: SIGSEGV in firebird_stmt_execute. PDO_Firebird: Crash while parsing blob data in firebird_fetch_blob. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21704 (* Security fix *) xap/pan-0.146-x86_64-5.txz: Rebuilt. Recompiled against enchant-2.3.0. extra/php8/php8-8.0.8-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/enchant/enchant.SlackBuild')
-rwxr-xr-xsource/l/enchant/enchant.SlackBuild18
1 files changed, 14 insertions, 4 deletions
diff --git a/source/l/enchant/enchant.SlackBuild b/source/l/enchant/enchant.SlackBuild
index bff2a6663..2213d2a86 100755
--- a/source/l/enchant/enchant.SlackBuild
+++ b/source/l/enchant/enchant.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2007 Alex Elliott <alex@alex-elliott.co.uk>
-# Copyright 2008, 2009, 2013, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2013, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=enchant
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf ${PKGNAM}-$VERSION
-tar xvf $CWD/${PKGNAM}-$VERSION.tar.xz || exit 1
+tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1
cd ${PKGNAM}-$VERSION || exit 1
chown -R root:root .
find . \
@@ -79,6 +79,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+./bootstrap
+
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \