aboutsummaryrefslogtreecommitdiffstats
path: root/www/kdewebdev4
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-05-07 00:53:11 +0800
committerlofi <lofi@FreeBSD.org>2005-05-07 00:53:11 +0800
commit6e000c52350f1ea87506d069e0240e4ee98aa5fb (patch)
treebebccbe2f9f4cc308b93b57f0593a06576e8628a /www/kdewebdev4
parente9952c471e0848395113cb77ec5980561f832106 (diff)
downloadfreebsd-ports-gnome-6e000c52350f1ea87506d069e0240e4ee98aa5fb.tar.gz
freebsd-ports-gnome-6e000c52350f1ea87506d069e0240e4ee98aa5fb.tar.zst
freebsd-ports-gnome-6e000c52350f1ea87506d069e0240e4ee98aa5fb.zip
Fix regressions introduced in the previous KDE security updates:
The Kimgio patch broke reading of .rgb images in most cases due to a fence-post error. The Kommander patch was incorrect and still allowed execution of files served from /tmp. Security: References: http://www.kde.org/info/security/advisory-20050421-1.txt http://www.kde.org/info/security/advisory-20050420-1.txt
Diffstat (limited to 'www/kdewebdev4')
-rw-r--r--www/kdewebdev4/Makefile2
-rw-r--r--www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/kdewebdev4/Makefile b/www/kdewebdev4/Makefile
index efecbe45be04..9b13290c52d4 100644
--- a/www/kdewebdev4/Makefile
+++ b/www/kdewebdev4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kdewebdev
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= www kde
MASTER_SITES= ${MASTER_SITE_KDE}
diff --git a/www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander b/www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander
index 78f6aecad8cb..5260fb2f0404 100644
--- a/www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander
+++ b/www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander
@@ -34,7 +34,7 @@ diff -u -3 -d -p -r1.49 -r1.49.2.3
+
+ bool inTemp = false;
+ for (QStringList::ConstIterator I = tmpDirs.begin(); I != tmpDirs.end(); ++I)
-+ if (m_uiFileName.directory().startsWith(*I))
++ if (m_uiFileName.directory(false).startsWith(*I))
+ inTemp = true;
+
+ if (inTemp)