diff --git a/xdg-open-be-more-paranoid-in-escaping.patch b/xdg-open-be-more-paranoid-in-escaping.patch deleted file mode 100644 index 5d366e3..0000000 --- a/xdg-open-be-more-paranoid-in-escaping.patch +++ /dev/null @@ -1,50 +0,0 @@ -From: Jiri Slaby -Date: Mon, 20 May 2013 13:53:04 +0200 -Subject: xdg-open: be more paranoid in escaping -Patch-mainline: not yet, submitted 2013/05/20 -References: bnc#811959 - -When trying to open URLs like: - http://www.google.com/search?hl=en&q=HTTP+'M-SEARCH * HTTP/1.1\r\n' -we fail terribly in the generic case. \r and \n are replaced by line -feed+CR, * is replaced by the contents of the current directory. - -So escape all those before used and expanded by sed. And also later -when invoking. - -Signed-off-by: Jiri Slaby ---- - scripts/xdg-open.in | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in -index eda1cfb..0934142 100644 ---- a/scripts/xdg-open.in -+++ b/scripts/xdg-open.in -@@ -135,16 +135,16 @@ search_desktop_file() - command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" - command_exec=`which $command 2>/dev/null` - arguments="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | last_word`" -- arg_one="`echo $arg | sed 's/&/\\\\&/g'`" -- arguments_exec="`echo $arguments | sed -e 's*%[fFuU]*"'"$arg_one"'"*g'`" -+ arg_one="`echo "$arg" | sed 's/[&*\\]/\\\\&/g'`" -+ arguments_exec="`echo "$arguments" | sed -e 's*%[fFuU]*"'"$arg_one"'"*g'`" - - if [ -x "$command_exec" ] ; then -- if echo $arguments | grep -iq '%[fFuU]' ; then -- echo START $command_exec $arguments_exec -- eval $command_exec $arguments_exec -+ if echo "$arguments" | grep -iq '%[fFuU]' ; then -+ echo START "$command_exec" "$arguments_exec" -+ eval "$command_exec" "$arguments_exec" - else -- echo START $command_exec $arguments_exec "$arg" -- eval $command_exec $arguments_exec "$arg" -+ echo START "$command_exec" "$arguments_exec" "$arg" -+ eval "$command_exec" "$arguments_exec" "$arg" - fi - - if [ $? -eq 0 ]; then --- -1.8.2.3 - diff --git a/xdg-utils-20121008.tar.xz b/xdg-utils-20121008.tar.xz deleted file mode 100644 index 0bd3a25..0000000 --- a/xdg-utils-20121008.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9958811bc3b145b4e5cbbbd810d5784fe40faffb4ff3ed31f1d938c3e26d8b4 -size 272688 diff --git a/xdg-utils-20140109.tar.xz b/xdg-utils-20140109.tar.xz new file mode 100644 index 0000000..37c2e86 --- /dev/null +++ b/xdg-utils-20140109.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e0497f7a2659d7447c37f623e40fb0a844dd9559395560f861fad0604229de3 +size 266420 diff --git a/xdg-utils.changes b/xdg-utils.changes index 4f44a53..84b61a2 100644 --- a/xdg-utils.changes +++ b/xdg-utils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Jan 9 13:51:11 UTC 2014 - jslaby@suse.com + +- update to 20140109 + * xdg-mime: generic, handle filenames with colon (bnc#854777) + * xdg-desktop-menu: improperly check for vendor prefix ... + * xdg-screensaver: Support MATE desktop part 2 + * xdg-desktop-menu: Unquoted file name (BR69399) + * xdg-open: Detect Enlightenment and make use of it + * xdg-open: be more paranoid in escaping +- xdg-open-be-more-paranoid-in-escaping.patch: remove + ------------------------------------------------------------------- Wed Oct 2 15:34:42 UTC 2013 - fcrozat@suse.com diff --git a/xdg-utils.spec b/xdg-utils.spec index de880e9..ee3d1ad 100644 --- a/xdg-utils.spec +++ b/xdg-utils.spec @@ -1,7 +1,7 @@ # # spec file for package xdg-utils # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # + Name: xdg-utils BuildRequires: make BuildRequires: xmlto @@ -25,7 +26,7 @@ BuildRequires: w3m Summary: Utilities to uniformly interface desktop environments License: MIT Group: System/GUI/Other -Version: 20121008 +Version: 20140109 Release: 0 BuildArch: noarch Url: http://portland.freedesktop.org/ @@ -33,7 +34,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build # http://portland.freedesktop.org/download/xdg-utils-%%{version}.tgz Source0: xdg-utils-%{version}.tar.xz Patch0: install-some-more-scripts.diff -Patch1: xdg-open-be-more-paranoid-in-escaping.patch Patch8: xdg-screensaver-gnome-perl.diff Requires: perl Requires: perl-Net-DBus @@ -58,7 +58,6 @@ these utilities work properly in their environment. %prep %setup -q -n %name-%{version} %patch0 -p1 -%patch1 -p1 %patch8 -p1 %build