Your message dated Sat, 23 Nov 2013 18:06:02 +0900
with message-id <[email protected]>
and subject line Re: Bug#608342: [mime-support] Please add cautious-launcher
support to work with Wine.
has caused the Debian Bug report #608342,
regarding [mime-support] Please add cautious-launcher support to work with Wine.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
608342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608342
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mime-support
Version: 3.51-1
Severity: wishlist
Tags: patch
--- Please enter the report below this line. ---
Please add support for cautious-launcher from Ubuntu.
Some applications like Wine or Java may run executable files which have not the
executable bit in their permissions, this patch adds cautious-launcher: a
handler for these kind of applications.
Future wine uploads might require this new feature to handle the .exe files
execution.
I have the patch with this work done by me, it is a quilt patch.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.32-5-686
Debian Release: squeeze/sid
500 testing security.debian.org
500 testing deb.opera.com
500 testing cdn.debian.net
--- Package information. ---
Package's Depends field is empty.
Recommends (Version) | Installed
==========================-+-============
file (>= 3.27-3) | 5.04-5
Package's Suggests field is empty.
Some applications like Wine or Java may run executable files which have not the executable bit in their permissions,
this patch adds cautious-launcher: a handler for these kind of applications.
Future wine uploads might require this new feature to handle the .exe files execution.
--- a/debian/cautious-launcher
+++ b/debian/cautious-launcher
@@ -7,8 +7,9 @@
if [ -n "$exe" ] && [ ! -x "$exe" ] && \
[ "${exe:0:5}" != "/usr/" ] && [ "${exe:0:5}" != "/opt/" ]
then
- if [ -n "$DISPLAY" ] && [ -x /usr/bin/zenity ]; then
- /usr/bin/zenity --error --title "Blocked: $*" --text "The file '$exe' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the <a href=\"https://wiki.ubuntu.com/Security/ExecutableBit\">executable bit</a>."
+ if [ -n "$DISPLAY" ] && [ -x /usr/bin/xmessage ]; then
+ xmessage -center "$* The file '$exe' is not marked as executable. If this was downloaded or copied from an
+untrusted source, it may be dangerous to run. For more details, read: https://wiki.ubuntu.com/Security/ExecutableBit"
else
echo "$*: '$exe' is not executable. Aborting." >&2
fi
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mime-support (3.51-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Backmerge from Ubuntu natty:
+ - Added "cautious-launcher" for handling execution of files that are
+ outside /usr and /opt (LP: #506702).
+
+ -- Rafael Belmonte <[email protected]> Wed, 29 Dec 2010 22:49:27 +0100
+
mime-support (3.51-1) unstable; urgency=medium
* added numerous new mime.types (closes: 585040, 563067, 578392, 599216)
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,7 @@
install -m 755 update-mime debian/tmp/usr/sbin/
install -m 644 update-mime.man debian/tmp/usr/share/man/man8/update-mime.8
install -m 755 run-mailcap debian/tmp/usr/bin/
+ install -m 755 debian/cautious-launcher debian/tmp/usr/bin/
install -m 644 run-mailcap.man debian/tmp/usr/share/man/man1/run-mailcap.1
install -m 644 rfcs/* debian/tmp/usr/share/doc/$(package)/
install -m 644 debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian
--- End Message ---
--- Begin Message ---
Le Sat, Nov 23, 2013 at 09:35:07AM +0100, Rafael Belmonte a écrit :
> I thought some years ago that it would be useful to help users to run
> Windows applications via Wine. Also Wine was very unnattended in Debian and
> I was thinking in request Ubuntu mantainers tu help with it, and they used
> to work with cautious-launcher.
> Nowadays, we are in a reversed situation, Debian Wine packages are better
> attended than the Ubuntu ones, and we may not need cautious-launcher now.
Thanks for the feedback. Closing accordingly.
--
Charles
--- End Message ---