summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-use-su-to-root.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:42:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:42:38 +0000
commit147b254d4d222ee9aa02246904fac06a79097c90 (patch)
tree105bae5fbb8ce1799b4772f8ad3053bcacd97153 /debian/patches/0001-use-su-to-root.patch
parentReleasing progress-linux version 7.94+git20230807.3be01efb1+dfsg-2~progress7.... (diff)
downloadnmap-147b254d4d222ee9aa02246904fac06a79097c90.tar.xz
nmap-147b254d4d222ee9aa02246904fac06a79097c90.zip
Merging debian version 7.94+git20230807.3be01efb1+dfsg-3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/0001-use-su-to-root.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0001-use-su-to-root.patch b/debian/patches/0001-use-su-to-root.patch
new file mode 100644
index 0000000..1f06979
--- /dev/null
+++ b/debian/patches/0001-use-su-to-root.patch
@@ -0,0 +1,23 @@
+From: Hilko Bengen <bengen@debian.org>
+Date: Fri, 25 Apr 2014 09:51:17 +0200
+Subject: use su-to-root
+
+---
+ zenmap/install_scripts/unix/zenmap-root.desktop | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/zenmap/install_scripts/unix/zenmap-root.desktop b/zenmap/install_scripts/unix/zenmap-root.desktop
+index c5f4c10..f50029d 100644
+--- a/zenmap/install_scripts/unix/zenmap-root.desktop
++++ b/zenmap/install_scripts/unix/zenmap-root.desktop
+@@ -1,8 +1,8 @@
+ [Desktop Entry]
+ Name=Zenmap (as root)
+ GenericName=GUI Port Scanner
+-TryExec=su-to-zenmap.sh
+-Exec=su-to-zenmap.sh %F
++TryExec=pkexec
++Exec=pkexec /usr/bin/zenmap %F
+ Terminal=false
+ Icon=zenmap
+ Type=Application