Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
nmap
nmap-4.75-desktop_files.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nmap-4.75-desktop_files.patch of Package nmap
--- nmap-4.75/zenmap/install_scripts/unix/zenmap-root.desktop +++ nmap-4.75/zenmap/install_scripts/unix/zenmap-root.desktop @@ -7,5 +7,5 @@ Terminal=false Icon=zenmap Type=Application -Categories=Application;Network; +Categories=Application;Network;System;Security;GTK Comment=A cross-platform GUI for the Nmap Security Scanner. --- nmap-4.75/zenmap/install_scripts/unix/zenmap.desktop +++ nmap-4.75/zenmap/install_scripts/unix/zenmap.desktop @@ -1,11 +1,11 @@ [Desktop Entry] Encoding=UTF-8 Name=Zenmap -GenericName=GUI Port Scanner +GenericName=Port Scanner +Comment=A Graphical Interface for the Nmap Security Scanner. TryExec=zenmap Exec=zenmap %F Terminal=false Icon=zenmap Type=Application -Categories=Application;Network; -Comment=A cross-platform GUI for the Nmap Security Scanner. +Categories=Application;Network;System;Security;GTK --- nmap-4.75/zenmap/setup.py +++ nmap-4.75/zenmap/setup.py @@ -319,18 +319,6 @@ for f in installed_files: if re.search("%s$" % re.escape("zenmap-root.desktop"), f): root_desktop_filename = f - elif re.search("%s$" % re.escape("zenmap.desktop"), f): - desktop_filename = f - - if desktop_filename is not None: - df = open(desktop_filename, "r") - dcontent = df.read() - df.close() - regex = re.compile("^(Icon *= *).*$", re.MULTILINE) - dcontent = regex.sub("\\1%s" % icon_filename, dcontent) - df = open(desktop_filename, "w") - df.write(dcontent) - df.close() if root_desktop_filename is not None: df = open(root_desktop_filename, "r") @@ -338,8 +326,6 @@ df.close() regex = re.compile("^((?:Exec|TryExec) *= *).*su-to-zenmap.sh(.*)$", re.MULTILINE) dcontent = regex.sub("\\1%s\\2" % su_filename, dcontent) - regex = re.compile("^(Icon *= *).*$", re.MULTILINE) - dcontent = regex.sub("\\1%s" % icon_filename, dcontent) df = open(root_desktop_filename, "w") df.write(dcontent) df.close()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor