diff -Nru umit-0.9.5/debian/changelog umit-0.9.5/debian/changelog --- umit-0.9.5/debian/changelog 2008-09-04 16:30:24.000000000 +0100 +++ umit-0.9.5/debian/changelog 2008-09-04 16:30:25.000000000 +0100 @@ -1,3 +1,10 @@ +umit (0.9.5-0ubuntu2) intrepid; urgency=low + + * Fixed higwidgets issue + * Fixed extraports warning + + -- Luis A. Bastiao Silva Thu, 04 Sep 2008 16:18:23 +0100 + umit (0.9.5-0ubuntu1) intrepid; urgency=low * Initial release (LP: #243532) diff -Nru umit-0.9.5/debian/patches/bugregister.patch umit-0.9.5/debian/patches/bugregister.patch --- umit-0.9.5/debian/patches/bugregister.patch 1970-01-01 01:00:00.000000000 +0100 +++ umit-0.9.5/debian/patches/bugregister.patch 2008-09-04 16:30:25.000000000 +0100 @@ -0,0 +1,13 @@ +Index: umitCore/BugRegister.py +=================================================================== +--- umitCore/BugRegister.py (revision 3378) ++++ umitCore/BugRegister.py (working copy) +@@ -86,6 +86,8 @@ + "cc":self.cc, + "reporter":self.reporter, + "attachment":self.input_file, ++ "status":"new", ++ "action":"create", + "submit":self.submit}) + + request = urllib2.Request(trac_new_ticket, data) diff -Nru umit-0.9.5/debian/patches/extraports.patch umit-0.9.5/debian/patches/extraports.patch --- umit-0.9.5/debian/patches/extraports.patch 1970-01-01 01:00:00.000000000 +0100 +++ umit-0.9.5/debian/patches/extraports.patch 2008-09-04 16:30:25.000000000 +0100 @@ -0,0 +1,20 @@ +Index: umitCore/NmapParser.py +=================================================================== +--- umitCore/NmapParser.py (revision 3610) ++++ umitCore/NmapParser.py (working copy) +@@ -331,6 +331,7 @@ + osmatch = property(get_osmatch, set_osmatch) + ports = property(get_ports, set_ports) + ports_used = property(get_ports_used, set_ports_used) ++ extraports = property(get_extraports, set_extraports) + uptime = property(get_uptime, set_uptime) + hostnames = property(get_hostnames, set_hostnames) + tcptssequence = property(get_tcptssequence, set_tcptssequence) +@@ -348,6 +349,7 @@ + _osmatch = [] + _ports = [] + _ports_used = [] ++ _extraports = [] + _uptime = {} + _hostnames = [] + _tcptssequence = {} diff -Nru umit-0.9.5/debian/patches/root.patch umit-0.9.5/debian/patches/root.patch --- umit-0.9.5/debian/patches/root.patch 2008-09-04 16:30:24.000000000 +0100 +++ umit-0.9.5/debian/patches/root.patch 2008-09-04 16:30:25.000000000 +0100 @@ -1,6 +1,6 @@ --- umitGUI/MainWindow.py.orig 2008-08-07 16:55:51.000000000 +0100 -+++ umitGUI/MainWindow.py 2008-08-07 17:51:09.000000000 +0100 -@@ -1016,11 +1016,32 @@ ++++ umitGUI/MainWindow.py 2008-08-07 22:56:41.000000000 +0100 +@@ -1016,11 +1016,34 @@ warning_text = _('''You are trying to run Umit with a non-root user!\n Some nmap options need root privileges to work.''') @@ -25,9 +25,11 @@ + def run_as_root(self, w): + + self.destroy() -+ import gksu2 -+ gksu2.sudo('umit') -+ ++ try: ++ import gksu2 ++ gksu2.sudo('umit') ++ except: ++ pass + sys.exit(0) + + def contin(self,w): diff -Nru umit-0.9.5/debian/patches/setup.patch umit-0.9.5/debian/patches/setup.patch --- umit-0.9.5/debian/patches/setup.patch 2008-09-04 16:30:24.000000000 +0100 +++ umit-0.9.5/debian/patches/setup.patch 2008-09-04 16:30:25.000000000 +0100 @@ -1,5 +1,5 @@ --- setup.py.orig 2008-08-05 18:42:17.000000000 +0100 -+++ setup.py 2008-08-07 01:09:45.000000000 +0100 ++++ setup.py 2008-08-09 20:28:29.000000000 +0100 @@ -44,6 +44,8 @@ icons_dir = os.path.join('share', 'icons', 'umit') locale_dir = os.path.join('share', 'locale') @@ -51,11 +51,14 @@ self.finish_banner() def create_uninstaller(self): -@@ -197,6 +199,7 @@ +@@ -197,8 +199,8 @@ if re_sys.match(ucontent[line]): uline = line + 1 break +- +- ucontent.insert(uline, "sys.path.append('%s')\n" % modules) + modules = "/usr/share/umit" ++ ucontent.insert(uline, "sys.path = ['%s'] + sys.path\n" % modules) - ucontent.insert(uline, "sys.path.append('%s')\n" % modules) - + ufile = open(umit, "w") + ufile.writelines(ucontent)