mirror of
https://github.com/nmap/nmap.git
synced 2026-01-26 16:19:03 +00:00
Add a workaround for Python packaging difficulties on Ubuntu. Specifically, cache the value of self.prefix before calling install.finalize_options, which on Ubuntu modifies self.prefix. Without this change, the path definitions in the installed Paths.py are wrong. (They refer to /usr/share/zenmap when they should refer to /usr/local/share/zenmap.)
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Zenmap] Added a workaround for a Ubuntu Python packaging idiosyncrasy.
|
||||
As of version python2.6-2.6.4-0ubuntu3, Ubuntu's distutils modifies
|
||||
self.prefix, a variable we use in the setup.py script. This would
|
||||
cause Zenmap to look in the wrong place for its configuration files,
|
||||
and show the dialog "Error creating the per-user configuration
|
||||
directory" with the specific error "[Errno 2] No such file or
|
||||
directory: '/usr/share/zenmap/config'". This problem was reported by
|
||||
Chris Clements, who also helped debug. [David]
|
||||
|
||||
o Added better match lines for MIT Kerberos from Matt Selsky.
|
||||
|
||||
o [NSE] Added 5 new NSE scripts and a library for use with MySQL.
|
||||
|
||||
Reference in New Issue
Block a user