diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:42:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:42:38 +0000 |
commit | 147b254d4d222ee9aa02246904fac06a79097c90 (patch) | |
tree | 105bae5fbb8ce1799b4772f8ad3053bcacd97153 /debian/patches/0001-use-su-to-root.patch | |
parent | Releasing progress-linux version 7.94+git20230807.3be01efb1+dfsg-2~progress7.... (diff) | |
download | nmap-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.patch | 23 |
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 |