summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-02-23 16:10:02 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-02-23 16:10:02 +0000
commitda33fe05798b151b15622111b23c4c0e14f2621a (patch)
tree3dfdcec111ca5c405cef32b65fa0c02d7df47534
parentAdd patch for KDE bug 95553. (diff)
Patch dcopidl to not create output in /tmp.
Security: Fixes CAN-2005-0365 / 29dd0065-81fa-11d9-a9e7-0001020eed82 Obtained from: KDE CVS
-rw-r--r--x11/kdelibs3/Makefile2
-rw-r--r--x11/kdelibs3/files/patch-dcop_dcopidlng_dcopidlng16
-rw-r--r--x11/kdelibs4/Makefile2
-rw-r--r--x11/kdelibs4/files/patch-dcop_dcopidlng_dcopidlng16
4 files changed, 34 insertions, 2 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 0b1fc47e990f..fd8e304f7c8f 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -8,7 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdelibs3/files/patch-dcop_dcopidlng_dcopidlng b/x11/kdelibs3/files/patch-dcop_dcopidlng_dcopidlng
new file mode 100644
index 000000000000..41fb3987a440
--- /dev/null
+++ b/x11/kdelibs3/files/patch-dcop_dcopidlng_dcopidlng
@@ -0,0 +1,16 @@
+--- dcop/dcopidlng/dcopidlng Sat May 22 22:55:01 2004
++++ dcop/dcopidlng/dcopidlng Sun Feb 20 21:49:47 2005
+@@ -1,9 +1,12 @@
+ #!/bin/sh
++
++trap "rm -f dcopidlng.stderr.$$"
++
+ if test -z "$KDECONFIG"; then
+ KDECONFIG=kde-config
+ fi
+ LIBDIR="`$KDECONFIG --install data --expandvars`/dcopidlng"
+-perl -I"$LIBDIR" "$LIBDIR/kalyptus" --allow_k_dcop_accessors -f dcopidl $1 2>/tmp/dcopidlng.stderr.$$
++perl -I"$LIBDIR" "$LIBDIR/kalyptus" --allow_k_dcop_accessors -f dcopidl $1 2> dcopidlng.stderr.$$
+ RET=$?
+ if [ $RET -ne 0 ]
+ then
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 0b1fc47e990f..fd8e304f7c8f 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdelibs4/files/patch-dcop_dcopidlng_dcopidlng b/x11/kdelibs4/files/patch-dcop_dcopidlng_dcopidlng
new file mode 100644
index 000000000000..41fb3987a440
--- /dev/null
+++ b/x11/kdelibs4/files/patch-dcop_dcopidlng_dcopidlng
@@ -0,0 +1,16 @@
+--- dcop/dcopidlng/dcopidlng Sat May 22 22:55:01 2004
++++ dcop/dcopidlng/dcopidlng Sun Feb 20 21:49:47 2005
+@@ -1,9 +1,12 @@
+ #!/bin/sh
++
++trap "rm -f dcopidlng.stderr.$$"
++
+ if test -z "$KDECONFIG"; then
+ KDECONFIG=kde-config
+ fi
+ LIBDIR="`$KDECONFIG --install data --expandvars`/dcopidlng"
+-perl -I"$LIBDIR" "$LIBDIR/kalyptus" --allow_k_dcop_accessors -f dcopidl $1 2>/tmp/dcopidlng.stderr.$$
++perl -I"$LIBDIR" "$LIBDIR/kalyptus" --allow_k_dcop_accessors -f dcopidl $1 2> dcopidlng.stderr.$$
+ RET=$?
+ if [ $RET -ne 0 ]
+ then