diff options
author | lofi <lofi@FreeBSD.org> | 2005-02-24 00:10:02 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-02-24 00:10:02 +0800 |
commit | 003a3767e5043f121b67a54a1237b9eae361edeb (patch) | |
tree | 42b42abdd7c5aff452c6cc593be4a771cc4752cd /x11 | |
parent | 6f034f2920dd348d57450ea24029c62ceafe736f (diff) | |
download | freebsd-ports-gnome-003a3767e5043f121b67a54a1237b9eae361edeb.tar.gz freebsd-ports-gnome-003a3767e5043f121b67a54a1237b9eae361edeb.tar.zst freebsd-ports-gnome-003a3767e5043f121b67a54a1237b9eae361edeb.zip |
Patch dcopidl to not create output in /tmp.
Security: Fixes CAN-2005-0365 / 29dd0065-81fa-11d9-a9e7-0001020eed82
Obtained from: KDE CVS
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibs3/Makefile | 2 | ||||
-rw-r--r-- | x11/kdelibs3/files/patch-dcop_dcopidlng_dcopidlng | 16 | ||||
-rw-r--r-- | x11/kdelibs4/Makefile | 2 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-dcop_dcopidlng_dcopidlng | 16 |
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 |