From 5f4409ebc2c62b483d2559a9142d09bca7efd2dc Mon Sep 17 00:00:00 2001 From: david Date: Wed, 27 Jan 2010 00:37:17 +0000 Subject: [PATCH] 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.) --- CHANGELOG | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 157589fc3..5695d710c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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.