aboutsummaryrefslogtreecommitdiff
path: root/network/rekonq/rekonq.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/rekonq/rekonq.SlackBuild')
-rw-r--r--network/rekonq/rekonq.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/network/rekonq/rekonq.SlackBuild b/network/rekonq/rekonq.SlackBuild
index 7a0e25fad28f0..f5435663b0357 100644
--- a/network/rekonq/rekonq.SlackBuild
+++ b/network/rekonq/rekonq.SlackBuild
@@ -4,10 +4,10 @@
# Written by Branko Grubic <branko.grubic@gmail.com>
-PRGNAM=rekonq
-VERSION=${VERSION:-0.5.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+PRGNAM=rekonq
+VERSION=${VERSION:-0.5.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,9 +18,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+## patch to fix Multiple cross-site scripting (XSS) vulnerabilities (CVE-2010-2536)
+patch -p1 <$CWD/rekonq-CVE-2010-2536-fix.patch
+
mkdir -p build
cd build
cmake .. \