aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/05_note-README-when-running-as-root.patch
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2014-06-05 17:30:41 +0700
committerBalint Reczey <balint@balintreczey.hu>2014-06-08 15:32:10 +0000
commit97e1491aa8f418a7f5bd7fdd92561d2403c187f6 (patch)
treeeadecb1b66ac3900a7e5db76eb2b993693ba0b9f /debian/patches/05_note-README-when-running-as-root.patch
parent9b4991098f42bfe10da9ce34c4c7711fbcf87ca7 (diff)
Sync .deb packaging from Debian
The sync makes CMake the build system for the .deb package and starts providing wireshark-qt in the wireshark-qt package. The package structure, i.e. the libraries are shipped in separate packages is also sync-ed. Wireshark-qt uses the Qt 4 libraries, but it is easy to switch it to Qt 5. Change-Id: I849d18bdb8ca6ebf4072cf1d73d749080ac5dac2 Reviewed-on: https://code.wireshark.org/review/1986 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Balint Reczey <balint@balintreczey.hu> Tested-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'debian/patches/05_note-README-when-running-as-root.patch')
-rw-r--r--debian/patches/05_note-README-when-running-as-root.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/05_note-README-when-running-as-root.patch b/debian/patches/05_note-README-when-running-as-root.patch
new file mode 100644
index 0000000000..7c3c63f97b
--- /dev/null
+++ b/debian/patches/05_note-README-when-running-as-root.patch
@@ -0,0 +1,15 @@
+Description: Note about README.Debian when running wireshark as root.
+Forwarded: not-needed
+Author: Balint Reczey <balint@balintreczey.hu>
+
+--- a/ui/gtk/main.c
++++ b/ui/gtk/main.c
+@@ -2085,7 +2085,7 @@
+ "This could be dangerous.\n\n"
+ "If you're running Wireshark this way in order to perform live capture, "
+ "you may want to be aware that there is a better way documented at\n"
+- "http://wiki.wireshark.org/CaptureSetup/CapturePrivileges", cur_user, cur_group);
++ "/usr/share/doc/wireshark-common/README.Debian", cur_user, cur_group);
+ g_free(cur_user);
+ g_free(cur_group);
+ simple_dialog_check_set(priv_warning_dialog, "Don't show this message again.");