mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
network/rekonq: Updated for version 0.5.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
f25c8bcb4a
commit
c296eed454
4 changed files with 28 additions and 9 deletions
16
network/rekonq/rekonq-CVE-2010-2536-fix.patch
Normal file
16
network/rekonq/rekonq-CVE-2010-2536-fix.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
diff --git a/src/webpage.cpp b/src/webpage.cpp
|
||||||
|
index a63940b..ea2add6 100644
|
||||||
|
--- a/src/webpage.cpp
|
||||||
|
+++ b/src/webpage.cpp
|
||||||
|
@@ -577,8 +577,8 @@ QString WebPage::errorPage(QNetworkReply *reply)
|
||||||
|
return QString("Couldn't open the rekonqinfo.html file");
|
||||||
|
}
|
||||||
|
|
||||||
|
- QString title = i18n("Error loading: %1", reply->url().toString());
|
||||||
|
- QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery);
|
||||||
|
+ QString title = i18n("There was a problem while loading the page");
|
||||||
|
+ QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery | QUrl::RemovePath);
|
||||||
|
|
||||||
|
QString iconPath = QString("file://") + KIconLoader::global()->iconPath("dialog-warning" , KIconLoader::Small);
|
||||||
|
iconPath.replace(QL1S("16"), QL1S("128"));
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
PRGNAM=rekonq
|
PRGNAM=rekonq
|
||||||
VERSION=${VERSION:-0.5.0}
|
VERSION=${VERSION:-0.5.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -51,6 +51,9 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-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
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake .. \
|
cmake .. \
|
||||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Branko Grubic"
|
MAINTAINER="Branko Grubic"
|
||||||
EMAIL="branko.grubic@gmail.com"
|
EMAIL="branko.grubic@gmail.com"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue