Changeset 3434

Show
Ignore:
Timestamp:
08/14/08 18:21:55 (5 years ago)
Author:
luis
Message:

Security bugs fixed, and adminstrative functions now inside umit

Location:
branch/ubuntu/debian
Files:
4 added
12 modified

Legend:

Unmodified
Added
Removed
  • branch/ubuntu/debian/changelog

    r3195 r3434  
    1 umit (0.9.5~RC2-0ubuntu1) intrepid; urgency=low 
     1umit (0.9.5-0ubuntu1) intrepid; urgency=low 
    22 
    33  * Initial release (LP: #243532) 
    44 
    5  -- Luis <luis.kop@gmail.com>  Mon, 12 May 2008 21:08:14 +0100 
    6  
     5 -- Luis A. Bastiao Silva <luis.kop@gmail.com>  Tue, 05 Aug 2008 18:48:42 +0100 
  • branch/ubuntu/debian/control

    r3195 r3434  
    33Priority: optional 
    44Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com> 
    5 Build-Depends: debhelper (>= 5), python, python-central (>= 0.6.1) 
    6 Build-Depends-Indep: python-central 
     5Build-Depends: debhelper (>= 5), python, cdbs (>= 0.4.49) 
     6Build-Depends-Indep: python-central (>= 0.6.1) 
    77XSBC-Original-Maintainer: Luis A. Bastiao Silva <luis.kop@gmail.com> 
    88XS-Python-Version: current 
    9 XB-Python-Version: current 
    109Standards-Version: 3.8.0 
    1110Homepage: http://www.umitproject.org 
     
    1312Package: umit 
    1413Architecture: all 
    15 Depends: ${python:Depends}, nmap (>=4.50), python, python (>= 2.5) | python-pysqlite2, python-gobject 
     14Depends: ${python:Depends}, python-gnome2-extras, nmap (>= 4.50), python-gtk2, python-pysqlite2, python-gobject 
    1615XB-Python-Version: ${python:Versions} 
    17 Suggests: python-psyco 
    18 Description: Network tool and graphical frontend for nmap 
    19  Scan the hosts in your network discovering open ports,  
    20  services and operating systems they're running. 
    21  With Umit, you have all the power provided by Nmap through its regular  
    22  command line interface, and a lot more in a highly usable and portable  
    23  Graphical Interface. 
    24  
     16Recommends: python-psyco 
     17Description: network tool and graphical frontend for nmap 
     18 Scan the hosts in your network discovering open ports and the services and 
     19 operating systems that they are running. 
     20 . 
     21 With umit, you have all the power provided by nmap through its regular 
     22 command line interface, and a lot more, in a highly usable and portable 
     23 graphical interface. 
  • branch/ubuntu/debian/copyright

    r3195 r3434  
    1 This package was debianized by Luis <luis.kop@gmail.com> on 
    2 Mon, 12 May 2008 21:08:14 +0100. 
     1This package was debianized by Luis A. Bastião Silva <luis.kop@gmail.com> on 
     2Mon, 05 Aug 2008 21:08:14 +0100. 
    33 
    44It was downloaded from http://downloads.sourceforge.net/umit/ 
    55 
    6 Upstream Author:  
     6Upstream Author: 
    77 
    88    Adriano Monteiro Marques <adriano@umitproject.org> 
     
    1010    Frederico Silva Ribeiro <ribeiro.fsilva@gmail.com> 
    1111    Guilherme Polo <ggpolo@gmail.com> 
     12    Martin v. Löwis <loewis@informatik.hu-berlin.de> 
    1213 
    1314 
     15Copyright: 
    1416 
    15 Copyright:  
    16     Copyright (C) 2005-2006 Insecure.Com LLC. 
    17     Copyright (C) 2007-2008 Adriano Monteiro Marques 
     17    Copyright © 2005-2006 Insecure.Com LLC. 
     18    Copyright © 2007-2008 Adriano Monteiro Marques 
    1819 
    1920 
     
    3839Public License can be found in `/usr/share/common-licenses/GPL-2'. 
    3940 
    40 Files inside higwidgets/ are under LGPLv2 
     41Files inside higwidgets/ are under LGPLv2.1 
    4142On Debian/Ubuntu systems the full text of the LGPL version 2.1 can be found in   
    4243/usr/share/common-licenses/LGPL-2.1 
    4344 
     45File utils/msgfmt.py is under PSF LICENSE v2, which is reproduced below: 
     46 
     47PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 
     48-------------------------------------------- 
     49 
     501. This LICENSE AGREEMENT is between the Python Software Foundation 
     51("PSF"), and the Individual or Organization ("Licensee") accessing and 
     52otherwise using this software ("Python") in source or binary form and 
     53its associated documentation. 
     54 
     552. Subject to the terms and conditions of this License Agreement, PSF 
     56hereby grants Licensee a nonexclusive, royalty-free, world-wide 
     57license to reproduce, analyze, test, perform and/or display publicly, 
     58prepare derivative works, distribute, and otherwise use Python 
     59alone or in any derivative version, provided, however, that PSF's 
     60License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 
     612001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation; 
     62All Rights Reserved" are retained in Python alone or in any derivative 
     63version prepared by Licensee. 
     64 
     653. In the event Licensee prepares a derivative work that is based on 
     66or incorporates Python or any part thereof, and wants to make 
     67the derivative work available to others as provided herein, then 
     68Licensee hereby agrees to include in any such work a brief summary of 
     69the changes made to Python. 
     70 
     714. PSF is making Python available to Licensee on an "AS IS" 
     72basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 
     73IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND 
     74DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 
     75FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT 
     76INFRINGE ANY THIRD PARTY RIGHTS. 
     77 
     785. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 
     79FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 
     80A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, 
     81OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 
     82 
     836. This License Agreement will automatically terminate upon a material 
     84breach of its terms and conditions. 
     85 
     867. Nothing in this License Agreement shall be deemed to create any 
     87relationship of agency, partnership, or joint venture between PSF and 
     88Licensee.  This License Agreement does not grant permission to use PSF 
     89trademarks or trade name in a trademark sense to endorse or promote 
     90products or services of Licensee, or any third party. 
     91 
     928. By copying, installing or otherwise using Python, Licensee 
     93agrees to be bound by the terms and conditions of this License 
     94Agreement. 
    4495 
    4596 
     97The Debian packaging is © 2008, Luis A. Bastião Silva <luis.kop@gmail.com> and 
     98is licensed under version 2 of the GPL, see `/usr/share/common-licenses/GPL-2'. 
  • branch/ubuntu/debian/files

    r2963 r3434  
    1 umit_0.9.5-1_all.deb net optional 
     1umit_0.9.5-0ubuntu1_all.deb net optional 
  • branch/ubuntu/debian/install

    r3202 r3434  
    1 debian/umit.desktop  usr/share/applications/ 
    2 debian/umit-root.desktop usr/share/applications/ 
     1debian/*.desktop usr/share/applications/ 
  • branch/ubuntu/debian/menu

    r3202 r3434  
    1 ?package(umit):needs="X11" section="Applications/Network/Communication"\ 
    2   title="umit" command="/usr/bin/umit"\ 
     1?package(umit): needs="X11" section="Applications/Network" \ 
     2  title="Umit Network Scanner" command="/usr/bin/umit" \ 
    33  icon="/usr/share/pixmaps/umit/umit-menu.xpm" 
    4  
  • branch/ubuntu/debian/rules

    r3195 r3434  
    11#!/usr/bin/make -f 
    22 
    3 PYDEF=$(shell pyversions -d) 
    4 PYVERS=$(shell pyversions -d) 
     3DEB_PYTHON_SYSTEM=pycentral 
    54 
    6 patch: patch-stamp 
    7 patch-stamp: 
    8         dh_testdir 
    9         @patches=debian/patches/*.patch; for patch in $$patches; do \ 
    10                 test -f $$patch || continue; \ 
    11                 echo "Applying $$patch"; \ 
    12                 patch -stuN -p1 < $$patch || exit 1; \ 
    13         done 
    14         touch $@ 
     5include /usr/share/cdbs/1/rules/debhelper.mk 
     6include /usr/share/cdbs/1/class/python-distutils.mk 
     7include /usr/share/cdbs/1/rules/simple-patchsys.mk 
    158 
    16 unpatch: 
    17         dh_testdir 
    18         @if test -f patch-stamp; then \ 
    19                 patches=debian/patches/*.patch; \ 
    20                 for patch in $$patches; do \ 
    21                         reversepatches="$$patch $$reversepatches"; \ 
    22                 done; \ 
    23                 for patch in $$reversepatches; do \ 
    24                         test -f $$patch || continue; \ 
    25                         echo "Reversing $$patch"; \ 
    26                         patch -suRf -p1 < $$patch || exit 1; \ 
    27                 done; \ 
    28                 rm -f patch-stamp; \ 
    29         fi 
     9DEB_INSTALL_MANPAGES_umit = debian/umit.1 
     10DEB_PYTHON_INSTALL_ARGS_ALL = --install-lib=usr/share/umit 
    3011 
    31  
    32  
    33  
    34 configure: configure-stamp 
    35 configure-stamp:  
    36         dh_testdir 
    37         touch configure-stamp 
    38  
    39 build: patch-stamp build-stamp 
    40  
    41 build-stamp: configure-stamp 
    42         dh_testdir 
    43         set -e; \ 
    44         for python in $(PYVERS); do \ 
    45                 python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \ 
    46                 $$python setup.py build; \ 
    47         done 
    48         touch build-stamp 
    49  
    50 clean: clean-source unpatch 
    51 clean-source:    
    52         dh_testdir 
    53         dh_testroot 
    54         rm -f build-stamp configure-stamp 
    55         dh_clean  
    56  
    57         for python in $(PYVERS); do \ 
    58                 python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \ 
    59                 $$python setup.py clean; \ 
    60         done 
    61         find . -name "*.pyc" -exec rm {} \; 
     12clean:: 
     13        rm -rf build 
    6214        find share/locale -name "umit.mo" -exec rm {} \; 
    63  
    64  
    65 install:build 
    66         dh_testdir 
    67         dh_clean -k 
    68         dh_installdirs 
    69  
    70         mkdir -p $(CURDIR)/debian/umit 
    71         set -e; \ 
    72  
    73  
    74         for python in $(PYVERS); do \ 
    75                 python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \ 
    76                 $$python setup.py install --prefix=/usr --root=$(CURDIR)/debian/umit --install-lib=usr/share/umit; \ 
    77         done 
    78  
    79         dh_install 
    8015         
    81         # Silent Warnings: 
    82         find . -name "*.pyc" -exec rm {} \; 
    83         find $(CURDIR)/debian/umit/usr/share -type f -exec chmod -x {} \; 
    84         rm -rf $(CURDIR)/debian/umit/usr/lib 
    85  
    86 binary-arch: build install 
    87  
    88 binary-indep: build install 
    89          
    90         dh_testdir 
    91         dh_testroot 
    92         dh_installchangelogs debian/changelog 
    93         dh_installmenu 
    94         dh_desktop 
    95         dh_installman debian/umit.1 
    96         dh_installdocs 
    97         dh_pycentral 
    98         dh_compress 
    99         dh_fixperms 
    100         dh_installdeb 
    101         dh_gencontrol 
    102         dh_md5sums 
    103         dh_builddeb 
    104  
    105 binary: binary-indep 
    106  
    107 get-orig-source: 
    108         uscan --verbose --force-download --no-symlink 
    109  
    110  
    111 .PHONY: patch unpatch get-orig-source build clean binary-indep binary install configure 
     16install/umit:: 
     17        # Silent lintian warnings  
     18        chmod -x debian/umit/usr/share/pixmaps/umit/* 
     19        chmod -x debian/umit/usr/share/umit/config/* 
     20        chmod -x debian/umit/usr/share/umit/misc/* 
     21        chmod -x debian/umit/usr/share/umit/umitCore/* 
     22        chmod -x debian/umit/usr/share/umit/*egg* 
     23        find debian/umit/usr/share/locale -name "umit.mo" -exec chmod -x {} \; 
     24        rm -rf debian/umit/usr/lib/python-support 
  • branch/ubuntu/debian/umit.1

    r3202 r3434  
    1 .TH "Umit" 1 
     1.TH UMIT 1 "August 07, 2008" 
     2 
    23.SH NAME 
    3 Umit \- Network tool and port scanner 
     4umit \- network tool and port scanner 
     5 
    46.SH SYNOPSIS 
    5 .B umit 
     7\fBumit\fP 
     8 
    69.SH DESCRIPTION 
    7  
    8 Scan the hosts in your network discovering open ports, 
    9 services and operating systems they're running. 
    10 With Umit, you have all the power provided by Nmap through its regular 
    11 command line interface, and a lot more in a highly usable and portable 
    12 Graphical Interface. 
    13 A regular user will also be able to construct powerful scans with Umit command creator wizards. 
     10\fBumit\fP scans the hosts in your network discovering open ports and the 
     11services and operating systems that they are running. 
     12.PP 
     13With \fBumit\fP, you have all the power provided by \fBnmap\fP 
     14through its regular command line interface, and a lot more, in a highly usable 
     15and portable graphical interface. A regular user will be able to 
     16construct powerful scans with \fBumit\fP's command creatiop wizards. 
    1417 
    1518.SH FILES 
     19.TP 
    1620~/.umit 
     21Stores configuration settings for \fBumit\fP. 
    1722 
    18 Stores configuration settings for Umit 
     23.SH BUGS 
     24Please report bugs at http://trac.umitproject.org. 
    1925 
    20 .SH "SEE ALSO" 
     26.SH SEE ALSO 
    2127http://www.umitproject.org 
    2228 
    23 .SH BUGS 
    24 Please report bugs at http://trac.umitproject.org 
    25  
    26 .SH AUTHOR 
    27  
     29.SH AUTHORS 
    2830Adriano Monteiro Marques <adriano@umitproject.org> 
    2931 
  • branch/ubuntu/debian/umit.postinst.debhelper

    r2963 r3434  
    1 # Automatically added by dh_python 
    2 PYTHON=python2.5 
    3 if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; then 
    4         DIRLIST=" /usr/lib/python2.5/site-packages" 
    5         for i in $DIRLIST ; do 
    6                 $PYTHON /usr/lib/$PYTHON/compileall.py -q $i 
    7         done 
     1# Automatically added by dh_installmenu 
     2if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then 
     3        update-menus 
    84fi 
    95# End automatically added section 
  • branch/ubuntu/debian/umit.prerm.debhelper

    r2963 r3434  
    1 # Automatically added by dh_python 
    2 dpkg -L umit | 
    3         awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | 
    4         xargs rm -f >&2 
    5 # End automatically added section 
    61# Automatically added by dh_pycentral 
    72case "$1" in remove|upgrade) 
  • branch/ubuntu/debian/umit.substvars

    r2963 r3434  
    1 python:Versions=2.5 
    2 python:Depends=python (>= 2.5), python-central (>= 0.6.5), python (<< 2.6) 
     1python:Versions=current 
     2python:Depends=python, python-central (>= 0.6.5) 
  • branch/ubuntu/debian/watch

    r3202 r3434  
    11version=3 
    2 http://sf.net/umit/umit-0(.*)\.tar\.gz 
     2http://sf.net/umit/umit-(0|1)\.([0-9])\.([0-9])\.tar\.gz