From 147b254d4d222ee9aa02246904fac06a79097c90 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:42:38 +0200 Subject: Merging debian version 7.94+git20230807.3be01efb1+dfsg-3. Signed-off-by: Daniel Baumann --- debian/patches/0001-use-su-to-root.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/patches/0001-use-su-to-root.patch (limited to 'debian/patches/0001-use-su-to-root.patch') 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 +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 -- cgit v1.2.3