--- nmap-5.00.orig/config.guess
+++ nmap-5.00/config.guess
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
 
-timestamp='2008-01-23'
+timestamp='2007-07-22'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -56,8 +56,8 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -532,7 +532,7 @@
 		echo rs6000-ibm-aix3.2
 	fi
 	exit ;;
-    *:AIX:*:[456])
+    *:AIX:*:[45])
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
@@ -799,9 +799,6 @@
 	    EM64T | authenticamd)
 		echo x86_64-unknown-interix${UNAME_RELEASE}
 		exit ;;
-	    IA64)
-		echo ia64-unknown-interix${UNAME_RELEASE}
-		exit ;;
 	esac ;;
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
 	echo i${UNAME_MACHINE}-pc-mks
@@ -836,14 +833,7 @@
 	echo ${UNAME_MACHINE}-pc-minix
 	exit ;;
     arm*:Linux:*:*)
-	eval $set_cc_for_build
-	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
-	    | grep -q __ARM_EABI__
-	then
-	    echo ${UNAME_MACHINE}-unknown-linux-gnu
-	else
-	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
-	fi
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     avr32*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -964,8 +954,8 @@
     x86_64:Linux:*:*)
 	echo x86_64-unknown-linux-gnu
 	exit ;;
-    xtensa*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+    xtensa:Linux:*:*)
+    	echo xtensa-unknown-linux-gnu
 	exit ;;
     i*86:Linux:*:*)
 	# The BFD linker knows what the default object file format is, so
@@ -1484,9 +1474,9 @@
 the operating system you are using. It is advised that you
 download the most up to date version of the config scripts from
 
-  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 and
-  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
 If the version you run ($0) is already up to date, please
 send the following data and any information you think might be
--- nmap-5.00.orig/config.sub
+++ nmap-5.00/config.sub
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
 
-timestamp='2008-01-16'
+timestamp='2007-06-28'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -72,8 +72,8 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -369,14 +369,10 @@
 	| v850-* | v850e-* | vax-* \
 	| we32k-* \
 	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
-	| xstormy16-* | xtensa*-* \
+	| xstormy16-* | xtensa-* \
 	| ymp-* \
 	| z8k-*)
 		;;
-	# Recognize the basic CPU types without company name, with glob match.
-	xtensa*)
-		basic_machine=$basic_machine-unknown
-		;;
 	# Recognize the various machine names and aliases which stand
 	# for a CPU type and a company and sometimes even an OS.
 	386bsd)
@@ -447,14 +443,6 @@
 		basic_machine=ns32k-sequent
 		os=-dynix
 		;;
-	blackfin)
-		basic_machine=bfin-unknown
-		os=-linux
-		;;
-	blackfin-*)
-		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
-		os=-linux
-		;;
 	c90)
 		basic_machine=c90-cray
 		os=-unicos
@@ -680,14 +668,6 @@
 		basic_machine=m68k-isi
 		os=-sysv
 		;;
-	m68knommu)
-		basic_machine=m68k-unknown
-		os=-linux
-		;;
-	m68knommu-*)
-		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
-		os=-linux
-		;;
 	m88k-omron*)
 		basic_machine=m88k-omron
 		;;
@@ -833,14 +813,6 @@
 		basic_machine=i860-intel
 		os=-osf
 		;;
-	parisc)
-		basic_machine=hppa-unknown
-		os=-linux
-		;;
-	parisc-*)
-		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
-		os=-linux
-		;;
 	pbd)
 		basic_machine=sparc-tti
 		;;
@@ -1049,10 +1021,6 @@
 		basic_machine=tic6x-unknown
 		os=-coff
 		;;
-	tile*)
-		basic_machine=tile-unknown
-		os=-linux-gnu
-		;;
 	tx39)
 		basic_machine=mipstx39-unknown
 		;;
--- nmap-5.00.orig/nmap-4.90RC1-1.spec
+++ nmap-5.00/nmap-4.90RC1-1.spec
@@ -0,0 +1,109 @@
+# To build a static RPM, add
+#     --define "static 1"
+# to the rpmbuild command line. To build without Ncat, add
+#     --define "buildncat 0"
+#
+# To specify openssl dir, add something like:
+#     --define "openssl /usr/local/ssl"
+
+%define name nmap
+%define version 4.90RC1
+%define release 1
+%define _prefix /usr
+
+Summary: Network exploration tool and security scanner
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Epoch: 2
+License: http://nmap.org/man/man-legal.html
+Group: Applications/System
+Source0: http://nmap.org/dist/%{name}-%{version}.tgz
+URL: http://nmap.org
+
+# For Ndiff.
+Requires: python >= 2.4
+
+# RPM can't be relocatable until I stop storing path info in the binary.
+# Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+
+Nmap ("Network Mapper") is a free and open source utility
+for network exploration or security auditing. Many systems and network
+administrators also find it useful for tasks such as network
+inventory, managing service upgrade schedules, and monitoring host or
+service uptime. Nmap uses raw IP packets in novel ways to determine
+what hosts are available on the network, what services (application
+name and version) those hosts are offering, what operating systems
+(and OS versions) they are running, what type of packet
+filters/firewalls are in use, and dozens of other characteristics. It
+was designed to rapidly scan large networks, but works fine against
+single hosts. Nmap runs on all major computer operating systems, and
+both console and graphical versions are available.
+
+%prep
+%setup -q
+
+%build
+%configure --with-openssl=%{openssl} --without-zenmap --with-ndiff --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
+%if "%{buildncat}" == "0"
+%configure --without-ncat
+%endif
+%if "%{static}" == "1"
+make static
+%else
+make
+%endif
+
+%install
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+strip $RPM_BUILD_ROOT%{_bindir}/* || :
+gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || :
+
+%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
+%files 
+%defattr(-,root,root)
+%doc COPYING
+%doc docs/README
+%doc docs/nmap.usage.txt
+%doc %{_prefix}/share/man/man1/nmap.1.gz
+%{_bindir}/nmap
+%{_datadir}/nmap
+
+%{_bindir}/ndiff
+%doc %{_prefix}/share/man/man1/ndiff.1.gz
+
+# Ncat subpackage
+%if "%{buildncat}" != "0"
+%package -n ncat
+Summary: Nmap's Netcat replacement
+Group: Applications/System
+
+%description -n ncat
+Ncat is a feature packed networking utility which will read and
+write data across a network from the command line.  It uses both
+TCP and UDP for communication and is designed to be a reliable
+back-end tool to instantly provide network connectivity to other
+applications and users. Ncat will not only work with IPv4 and IPv6
+but provides the user with a virtually limitless number of potential
+uses.
+
+%files -n ncat
+%defattr(-,root,root)
+%doc %{_prefix}/share/man/man1/ncat.1.gz
+%{_bindir}/ncat
+%{_datadir}/ncat
+
+%endif
+
+%changelog
+
+* Sat Jun 06 2009 Fyodor (fyodor(a)insecure.org)
+- Removed changelog entries as SVN is a more authoritative source. Execute:
+- svn log --username guest --password "" svn://svn.insecure.org/nmap/nmap.spec.in
+
--- nmap-5.00.orig/libdnet-stripped/configure.in
+++ nmap-5.00/libdnet-stripped/configure.in
@@ -278,7 +278,12 @@
 	AC_LIBOBJ([tun-linux])
 elif test "$ac_cv_header_net_if_tun_h" = yes ; then
 	if test "$ac_cv_header_stropts_h" = yes ; then
-		AC_LIBOBJ([tun-solaris])
+		case "$host_os" in
+		*kfreebsd*)
+			AC_LIBOBJ([tun-bsd]);;
+		*)
+			AC_LIBOBJ([tun-solaris]);;
+		esac
 	else
 		AC_LIBOBJ([tun-bsd])
 	fi
--- nmap-5.00.orig/libdnet-stripped/configure
+++ nmap-5.00/libdnet-stripped/configure
@@ -23153,12 +23153,22 @@
 
 elif test "$ac_cv_header_net_if_tun_h" = yes ; then
 	if test "$ac_cv_header_stropts_h" = yes ; then
-		case " $LIBOBJS " in
+		case "$host_os" in
+		*kfreebsd*)
+			case " $LIBOBJS " in
+  *" tun-bsd.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS tun-bsd.$ac_objext"
+ ;;
+esac
+;;
+		*)
+			case " $LIBOBJS " in
   *" tun-solaris.$ac_objext "* ) ;;
   *) LIBOBJS="$LIBOBJS tun-solaris.$ac_objext"
  ;;
 esac
-
+;;
+		esac
 	else
 		case " $LIBOBJS " in
   *" tun-bsd.$ac_objext "* ) ;;
--- nmap-5.00.orig/debian/control
+++ nmap-5.00/debian/control
@@ -0,0 +1,41 @@
+Source: nmap
+Section: net
+Priority: extra
+Maintainer: LaMont Jones <lamont@debian.org>
+Uploaders: Gerfried Fuchs <rhonda@debian.at>
+Build-Depends: debhelper (>=5), libgtk2.0-dev, autoconf, flex, bison, libssl-dev, libpcap0.8-dev, libpcre3-dev, binutils-dev, python (>=2.3.5-7), python-all-dev, python-central, liblua5.1-dev
+Standards-Version: 3.7.2.2
+XS-Python-Version: all
+XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/nmap.git
+XS-Vcs-Git: git://git.debian.org/~lamont/nmap.git
+
+Package: nmap
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: ndiff
+Provides: ndiff
+Replaces: ndiff
+XB-Python-Version: ${python:Versions}
+Description: The Network Mapper
+ Nmap is a utility for network exploration or security auditing. It
+ supports ping scanning (determine which hosts are up), many port
+ scanning techniques, version detection (determine service protocols
+ and application versions listening behind ports), and TCP/IP
+ fingerprinting (remote host OS or device identification). Nmap also
+ offers flexible target and port specification, decoy/stealth scanning,
+ sunRPC scanning, and more. Most Unix and Windows platforms are
+ supported in both GUI and commandline modes. Several popular handheld
+ devices are also supported, including the Sharp Zaurus and the iPAQ.
+
+Package: zenmap
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, nmap, python (>= 2.5) | python-pysqlite2, python-gtk2, python-gobject
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}, nmapfe
+Conflicts: nmapfe
+Replaces: nmapfe
+Recommends: gksu
+Description: The Network Mapper Front End
+ Zenmap is an Nmap frontend. It is meant to be useful for advanced users
+ and to make Nmap easy to use by beginners. It was originally derived
+ from Umit, an Nmap GUI created as part of the Google Summer of Code.
--- nmap-5.00.orig/debian/rules
+++ nmap-5.00/debian/rules
@@ -0,0 +1,111 @@
+#!/usr/bin/make -f
+#	Debian rules file for nmap, requires the debhelper package.
+#	Crafted by Bdale Garbee, bdale@gag.com, 8 December 1997.
+#	Modified and maintained by LaMont Jones, lamont@debian.org.
+
+CFLAGS=-O2 -Wall -D_GNU_SOURCE
+CXXFLAGS=-O2 -Wall -D_GNU_SOURCE
+
+PYVERS:=$(shell pyversions -r)
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -g
+CXXFLAGS += -g
+endif
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+STRIP=y
+endif
+
+CONFIGURE_FLAGS=--prefix=/usr \
+	--mandir='$${prefix}/share/man' \
+	--enable-ipv6 \
+	--libexec='$${prefix}/lib' \
+	--with-liblua
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	cd libpcap && ln -sf ../config.sub ../config.guess .
+	cd nbase && ln -sf ../config.sub ../config.guess .
+	cd ncat && ln -sf ../config.sub ../config.guess .
+	cd nsock/src && ln -sf ../../config.sub ../../config.guess .
+	CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(CONFIGURE_FLAGS)
+	touch configure-stamp
+
+build: configure build-stamp
+build-stamp: configure-stamp
+	make 
+	touch build-stamp
+
+CLEANLIST=libdent-stripped libdnet-stripped/srv libpcap nbase ncat nsock/src
+clean: configure
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	-for dir in ${CLEANLIST}; do ( cd $$dir && make -i distclean ) ;done
+	for dir in ${CLEANLIST}; do ( cd $$dir && rm -f config.guess config.sub *.o *.la *.lo ); done
+	-make -i distclean
+	find zenmap -name '*.pyc' | xargs rm -f
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) prefix=`pwd`/debian/tmp/usr install
+	find debian/tmp/usr/lib/python* -type f | xargs sed -i "s:`pwd`/debian/tmp::g"
+	rm debian/tmp/usr/bin/uninstall_zenmap
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	dh_installman
+	mv debian/tmp/usr/lib/python* debian/zenmap/usr/lib/
+	cp debian/zenmap.desktop debian/zenmap/usr/share/applications
+	cp debian/zenmap-root.desktop debian/zenmap/usr/share/applications
+	cp debian/zenmap.xpm debian/zenmap/usr/share/zenmap/pixmaps
+	dh_installdocs docs/*.txt
+	dh_installchangelogs CHANGELOG
+	dh_movefiles
+	dh_undocumented
+	dh_desktop
+	dh_pycentral
+	dh_python
+	[ -n "$(STRIP)" ] || dh_strip
+	dh_compress
+	dh_fixperms 
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+# (Uncomment this next line if you have such packages.)
+#        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+# Any other binary targets build just one binary package at a time.
+binary-%: build install
+	make -f debian/rules binary-common DH_OPTIONS=-p$*
+
+binary: binary-indep binary-arch
+
+binary: binary-indep binary-arch
+.PHONY: build clean install binary-common binary-indep binary-arch binary
+
--- nmap-5.00.orig/debian/nmap.files
+++ nmap-5.00/debian/nmap.files
@@ -0,0 +1,104 @@
+usr/bin/ncat
+usr/bin/ndiff
+usr/bin/nmap
+usr/share/man/man1/ncat.1
+usr/share/man/man1/ndiff.1
+usr/share/man/man1/nmap.1
+usr/share/ncat/ca-bundle.crt
+usr/share/nmap/nmap.dtd
+usr/share/nmap/nmap-mac-prefixes
+usr/share/nmap/nmap-os-db
+usr/share/nmap/nmap-protocols
+usr/share/nmap/nmap-rpc
+usr/share/nmap/nmap-service-probes
+usr/share/nmap/nmap-services
+usr/share/nmap/nmap.xsl
+usr/share/nmap/nselib/base64.lua
+usr/share/nmap/nselib/comm.lua
+usr/share/nmap/nselib/datafiles.lua
+usr/share/nmap/nselib/dns.lua
+usr/share/nmap/nselib/http.lua
+usr/share/nmap/nselib/imap.lua
+usr/share/nmap/nselib/ipOps.lua
+usr/share/nmap/nselib/listop.lua
+usr/share/nmap/nselib/match.lua
+usr/share/nmap/nselib/msrpc.lua
+usr/share/nmap/nselib/msrpcperformance.lua
+usr/share/nmap/nselib/msrpctypes.lua
+usr/share/nmap/nselib/netbios.lua
+usr/share/nmap/nselib/nsedebug.lua
+usr/share/nmap/nselib/packet.lua
+usr/share/nmap/nselib/pop3.lua
+usr/share/nmap/nselib/shortport.lua
+usr/share/nmap/nselib/smbauth.lua
+usr/share/nmap/nselib/smb.lua
+usr/share/nmap/nselib/snmp.lua
+usr/share/nmap/nselib/ssh1.lua
+usr/share/nmap/nselib/ssh2.lua
+usr/share/nmap/nselib/stdnse.lua
+usr/share/nmap/nselib/strbuf.lua
+usr/share/nmap/nselib/tab.lua
+usr/share/nmap/nselib/unpwdb.lua
+usr/share/nmap/nselib/url.lua
+usr/share/nmap/nse_main.lua
+usr/share/nmap/scripts
+usr/share/nmap/scripts/asn-query.nse
+usr/share/nmap/scripts/auth-owners.nse
+usr/share/nmap/scripts/auth-spoof.nse
+usr/share/nmap/scripts/banner.nse
+usr/share/nmap/scripts/daytime.nse
+usr/share/nmap/scripts/dns-random-srcport.nse
+usr/share/nmap/scripts/dns-random-txid.nse
+usr/share/nmap/scripts/dns-recursion.nse
+usr/share/nmap/scripts/dns-zone-transfer.nse
+usr/share/nmap/scripts/finger.nse
+usr/share/nmap/scripts/ftp-anon.nse
+usr/share/nmap/scripts/ftp-bounce.nse
+usr/share/nmap/scripts/ftp-brute.nse
+usr/share/nmap/scripts/html-title.nse
+usr/share/nmap/scripts/http-auth.nse
+usr/share/nmap/scripts/http-iis-webdav-vuln.nse
+usr/share/nmap/scripts/http-open-proxy.nse
+usr/share/nmap/scripts/http-passwd.nse
+usr/share/nmap/scripts/http-trace.nse
+usr/share/nmap/scripts/iax2-version.nse
+usr/share/nmap/scripts/imap-capabilities.nse
+usr/share/nmap/scripts/irc-info.nse
+usr/share/nmap/scripts/ms-sql-info.nse
+usr/share/nmap/scripts/mysql-info.nse
+usr/share/nmap/scripts/nbstat.nse
+usr/share/nmap/scripts/p2p-conficker.nse
+usr/share/nmap/scripts/pop3-brute.nse
+usr/share/nmap/scripts/pop3-capabilities.nse
+usr/share/nmap/scripts/pptp-version.nse
+usr/share/nmap/scripts/realvnc-auth-bypass.nse
+usr/share/nmap/scripts/robots.txt.nse
+usr/share/nmap/scripts/rpcinfo.nse
+usr/share/nmap/scripts/script.db
+usr/share/nmap/scripts/skypev2-version.nse
+usr/share/nmap/scripts/smb-brute.nse
+usr/share/nmap/scripts/smb-check-vulns.nse
+usr/share/nmap/scripts/smb-enum-domains.nse
+usr/share/nmap/scripts/smb-enum-processes.nse
+usr/share/nmap/scripts/smb-enum-sessions.nse
+usr/share/nmap/scripts/smb-enum-shares.nse
+usr/share/nmap/scripts/smb-enum-users.nse
+usr/share/nmap/scripts/smb-os-discovery.nse
+usr/share/nmap/scripts/smb-pwdump.nse
+usr/share/nmap/scripts/smb-security-mode.nse
+usr/share/nmap/scripts/smb-server-stats.nse
+usr/share/nmap/scripts/smb-system-info.nse
+usr/share/nmap/scripts/smtp-commands.nse
+usr/share/nmap/scripts/smtp-open-relay.nse
+usr/share/nmap/scripts/smtp-strangeport.nse
+usr/share/nmap/scripts/sniffer-detect.nse
+usr/share/nmap/scripts/snmp-brute.nse
+usr/share/nmap/scripts/snmp-sysdescr.nse
+usr/share/nmap/scripts/socks-open-proxy.nse
+usr/share/nmap/scripts/sql-injection.nse
+usr/share/nmap/scripts/ssh-hostkey.nse
+usr/share/nmap/scripts/sshv1.nse
+usr/share/nmap/scripts/sslv2.nse
+usr/share/nmap/scripts/telnet-brute.nse
+usr/share/nmap/scripts/upnp-info.nse
+usr/share/nmap/scripts/whois.nse
--- nmap-5.00.orig/debian/changelog
+++ nmap-5.00/debian/changelog
@@ -0,0 +1,633 @@
+nmap (5.00-3~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Gerfried Fuchs <rhonda@debian.at>  Thu, 01 Oct 2009 20:57:42 +0200
+
+nmap (5.00-3) unstable; urgency=low
+
+  [Petr Salinger]
+
+  * fix FTBFS on GNU/kFreeBSD.  Closes: #542388
+
+  [LaMont Jones]
+
+  * Provide and Replace: ndiff
+
+ -- LaMont Jones <lamont@debian.org>  Fri, 28 Aug 2009 13:02:24 -0600
+
+nmap (5.00-2) unstable; urgency=low
+
+  * rules: fix dependencies for -j.  Closes: #541984
+  * Conflicts: ndiff.  Different enough to not warrant Replaces. 
+    Closes: #542054
+  * new config.guess, updated rules for same.  Closes: #542079
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 18 Aug 2009 06:48:52 -0600
+
+nmap (5.00-1) unstable; urgency=low
+
+  * new upstream
+
+ -- LaMont Jones <lamont@debian.org>  Sun, 16 Aug 2009 20:22:25 -0600
+
+nmap (4.76-0ubuntu4) jaunty; urgency=low
+
+  * No-change rebuild to fix lpia shared library dependencies.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 19 Mar 2009 13:35:25 +0000
+
+nmap (4.76-0ubuntu3) jaunty; urgency=low
+
+  * debian/{rules,zenmap.dirs}: install zenmap.xpm into the correct directory,
+    fixes broken icon in the menu (LP: #335169)
+  * debian/zenmap.files: the zenmap/pixmaps/radialnet/ directory was not
+    installed, fixes crash due to missing pixmap (LP: #335166)
+  * Makefile.in: added --install-layout=deb to setup.py install, fixes FTBFS
+
+ -- Adrien Cunin <adri2000@ubuntu.com>  Sun, 15 Mar 2009 02:02:17 +0100
+
+nmap (4.76-0ubuntu2) jaunty; urgency=low
+
+  * debian/nmap.files: Included missing 'UPnP-info.nse' file needed to fix
+    script scan (LP: #319656).
+
+ -- Jonathan Davies <jpds@ubuntu.com>  Fri, 30 Jan 2009 10:03:03 +0000
+
+nmap (4.76-0ubuntu1) jaunty; urgency=low
+
+  * New upstream release (LP: #268996)
+  * Edit broken links in debian/nmap.files, debian/zenmap.dirs, debian/zenmap.files
+  * Edit path to pixmaps in debian/rules
+
+ -- Petr E. Antonov <Petr.E.Antonov@gmail.com>  Mon, 19 Jan 2009 10:24:39 +0100
+
+nmap (4.62-1ubuntu1) intrepid; urgency=low
+
+  * Drop liblua5.1-dev build dependency, it's in universe.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 11 Aug 2008 22:02:35 +0200
+
+nmap (4.62-1) unstable; urgency=low
+
+  [fyodor]
+
+  * new upstream release
+
+  [Davide]
+
+  * create an desktop file for zenmap.  Closes: #457799
+  * remove useless file /usr/bin/uninstall_zenmap.  Closes: #474511
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 31 May 2008 22:55:14 -0600
+
+nmap (4.60-1) unstable; urgency=low
+
+  [bmenrigh]
+
+  * Tandberg MXP Video Conference appliance telnetd.  Thanks to Tom Sellers
+  * Dropping stray '*' on previous Tandberg MXP match line.
+
+  [doug]
+
+  * New match line for another version of VxWorks FTPd
+  * AXIS webcam ftpd standardisation. Thanks to Lionel Cons
+  * vsftpd 00PS->OOPS patch from Kris
+
+  [david]
+
+  * Fix a typo in MACLookup.cc: corolation -> correlation.
+
+ -- LaMont Jones <lamont@debian.org>  Fri, 04 Apr 2008 00:40:50 -0600
+
+nmap (4.60-0) unstable; urgency=low
+
+  * New upstream release.  Upstream URL changes to http://nmap.org/
+
+ -- LaMont Jones <lamont@debian.org>  Fri, 04 Apr 2008 00:40:50 -0600
+
+nmap (4.53-3) unstable; urgency=low
+
+  * zenmap: python 2.5 has python-pysqlite2
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 03 Apr 2008 22:16:11 -0600
+
+nmap (4.53-2) unstable; urgency=low
+
+  * zenmap: Depends: python-{gtk2,gobject}.  Closes: #466595
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 19 Feb 2008 21:23:46 -0700
+
+nmap (4.53-1) unstable; urgency=low
+
+  [LaMont Jones]
+  * Package New upstream release.
+  * Cherry pick post-4.53 patches from [fyodor].  Closes: #459884
+    - remove instances of .nse to prevent the docbook man page translation
+      from wrongly including that string at the beginning of lines, which causes
+      errors because nroff confuses it with the .ns nroff no-space mode command
+    - regenerate man page -- remove instances of .nse to prevent the
+      docbook man page translation from wrongly including that string at the
+      beginning of lines, which causes errors because nroff confuses it with
+      the .ns nroff no-space mode command
+
+  [stoiko]
+
+  * if nse's connect is issued on an open socket, close the old
+    connection before
+  * move the check, wheter a socket is open, before connecting it again to
+    l_nsock_queued() - otherwise there are problems with the returned values..
+
+  [fyodor]
+
+  * qualify fingerprint name
+  * spell-check, add 4.50 release announcement
+  * improve a mysql signature (suggested by Lionel Cons)
+  * sorting change, I think
+  * remove a duplicate for rpc number 536870916, userd or vtsk.  I kept vksd
+    though without much research.  I'm open to comments from people who think
+    we should keep userd instead.
+  * Added rpcinfo.nse script, which contacts a listening RPC portmapper
+  * improve nginx detection. patch from Sven Klemm.
+    See http://seclists.org/nmap-dev/2007/q4/0682.html
+  * remove claim that using -v more than twice has no extra effect
+  * o Fix a bunch of warning/error messages which contained an extra
+  * o Fixed our Winpcap installer so that it waits for a Winpcap uninstall
+  * o Fixed Winpcap installer to install the right version of Packet.dll
+  * Update changelog and version numbers in preparation for 4.51BETA release
+  * fix version number
+  * update some links
+  * update copyright line at the top of files from 1996-2006 to 1996-2008
+  * remove duplicate crediting in an entry
+  * o Fixed Nmap Winpcap installer to use CurrentVersion registry key on
+  * add _ to the allowed workgroup name regex for netbios-ssn matchlines.
+    Thanks to Bill Jaeger for the suggestion and partial patch
+  * Update changelog, version numbers in prep for Nmap 4.52 release
+  * trivial CHANGELOG adjustment
+  * applied an nginx http proxy signature patch from Sven Klemm
+  * Fix a problem which prevented proper port number matching in
+    port_or_service() because the port variable passed to portnumber is
+    shadowed by the variable passed during portrule check.  Report and
+    patch are from Sven Klemm
+  * o Improved rpcinfo.nse to better sort and display available RPC
+  * Remove own ntohl() and use packet.u32() instead.  Patch from Sven Klemm
+  * o Added UPnP-info NSE script by Thomas Buchanan. It gathers
+  * o Impoved Windows executable installer by making uninstall work better
+  * update version number and changelog in prep for upcoming 4.53 release
+
+  [kris]
+
+  * recommitting my r6499: "fix robots.nse output: remove robots.txt
+    comments on disallowed entry lines"
+  * Adding my strftime()-like conversion extensions to the logging functions
+    (-oA, -oX, etc).  This contains a CHANGELOG entry and refguide changes
+    which (hopefully) sum it up pretty well.
+  * okay, a change to r6530: the current %R and %T are being removed as
+    colons are invalid chracters in Windows and Mac OS X filenames (thanks to
+    jah for pointing out the problem on Windows).  What was %r and %t are now
+    the new %R and %T.  All this means is that %r and %t are gone, and %R/%T
+    are the same as with strftime() but without colons
+  * adding CHANGELOG entry for r6529 (robots.nse output fix)
+  * Add CHANGELOG entry for r6558: "Fix Zenmap crash when selecting Help from
+    the Compare Results window.  Path wasn't imported"
+  * Adding new MySQLinfo NSE script for printing MySQL server information
+  * Upgrading libpcre from version 7.2 to 7.4.  Tested on Linux and Windows
+  * Fixing build problem on Mac OS X; my mistake (typo)
+  * adding nmap.fetchfile() function so scripts can find the nmap-* data files
+  * updating rpcinfo.nse to use nmap.fetchfile() instead of having the huge
+    RPC table
+  * o Fixed multiple NSE scripts that weren't always properly closing their
+
+  [ejlbell]
+
+  * Traceroute bugfix for when the first hop of the first host in a
+    tracegroup (reference trace) times out. The previous patch did not
+    completely solve the issue due to an erronous check on the ttl, now we
+    use a dedicated boolean flag. Thanks to Sebastián García for the bug
+    report and testing.
+
+  [david]
+
+  * Document Zenmap r6535 in CHANGELOG.
+  * Escape OS fingerprints when writing them to an XML log. OS fingerprint don't
+  * Consider Windows paths starting with \ absolute when used with the
+    --script option.
+  * Document Zenmap r6539 in CHANGELOG.
+  * Give credit for some recent CHANGELOG entries.
+  * Use just PAGE_READWRITE, not PAGE_READONLY | PAGE_READWRITE in the call to
+  * Fix the message printed when a host is skipped, for example on Windows when
+  * Use the filename tag for file name extensions in zenmap.xml.
+  * Fixed an error that showed itself on Windows when attempting to scan
+
+  [doug]
+
+  * Small bug in Polycom ViewStation match line
+  * Changed some protocol names to remove trailing
+  * Updated the IRC server info script to handle services
+  * s modifiers added to many match lines.
+  * I've seen "OpenBSD identd" on a linux box so I
+  * Renamed irc-serv protocols to irc and added a couple
+  * Moved BIND match line above a "catch all" line.
+  * NSE --host-timeout support
+  * NSE run-time interaction support
+  * New OfficeScan probe from Tom Sellers
+
+ -- LaMont Jones <lamont@debian.org>  Sun, 13 Jan 2008 02:07:40 -0700
+
+nmap (4.50-4) unstable; urgency=low
+
+  * control: zenmap Depends: python-pysqlite2.  Closes: #457694
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 25 Dec 2007 09:06:55 -0700
+
+nmap (4.50-3) unstable; urgency=low
+
+  * use global copyright file for zenmap
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 22 Dec 2007 11:14:17 -0700
+
+nmap (4.50-2) unstable; urgency=low
+
+  * copyright: incorporate remaining copyright info from upstream
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 22 Dec 2007 09:37:25 -0700
+
+nmap (4.50-1) unstable; urgency=low
+
+  [Fyodor]
+
+  * New upstream release.  Many changes.  Closes: #456232
+
+  [LaMont Jones]
+
+  * debian/rules: nmapfe migration
+  * build: properly target install
+  * build: finish cleaning up the build process, I hope.
+  * meta: drop usr/share/pixmaps/ubuntu.svg, collides with gnome-screensaver
+  * meta: zenmap Conflicts/Replaces/Provides nmapfe
+  * rules: sed hack: remove build directory from python code
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 13 Dec 2007 13:39:44 -0700
+
+nmap (4.49~rc7-1) experimental; urgency=low
+
+  * New upstream
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 11 Dec 2007 07:25:17 -0700
+
+nmap (4.49~rc6-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 27 Nov 2007 06:07:37 -0700
+
+nmap (4.20-3) unstable; urgency=low
+
+  * build: make clean target really clean things.  Closes: #442687
+  * debian/rules: remove bashisms
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 08 Nov 2007 21:16:35 -0700
+
+nmap (4.20-2) unstable; urgency=low
+
+  * nmapfe: desktop file cleanup, validation, deliver icon.  Closes: #421347
+  * metadata: document git repository
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 11 Sep 2007 12:57:51 -0600
+
+nmap (4.20-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 12 Dec 2006 23:54:39 -0700
+
+nmap (4.11-2) unstable; urgency=low
+
+  * cleanup warnings
+
+ -- LaMont Jones <lamont@debian.org>  Tue,  1 Aug 2006 14:17:54 -0600
+
+nmap (4.11-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- LaMont Jones <lamont@debian.org>  Tue,  1 Aug 2006 07:57:34 -0600
+
+nmap (4.10-1) unstable; urgency=low
+
+  * New upsteam version
+
+ -- LaMont Jones <lamont@debian.org>  Tue, 13 Jun 2006 22:41:11 -0600
+
+nmap (4.03-3) unstable; urgency=low
+
+  * Add missing Replaces.  Closes: #365378
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 29 Apr 2006 22:09:02 -0600
+
+nmap (4.03-2) unstable; urgency=low
+
+  * deliver nmapfe.desktop as part of the nmapfe package.  Closes: #306373
+  * don't strip nmap in Makefile, let dh_strip do that in debian/rules.
+    Closes: #304202
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 26 Apr 2006 14:56:48 -0600
+
+nmap (4.03-1) unstable; urgency=low
+
+  * New upstream.
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 26 Apr 2006 14:18:25 -0600
+
+nmap (4.00-2) unstable; urgency=low
+
+  * uh... lets try "unstable"
+
+ -- LaMont Jones <lamont@debian.org>  Wed,  1 Feb 2006 12:32:06 -0700
+
+nmap (4.00-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- LaMont Jones <lamont@debian.org>  Wed,  1 Feb 2006 06:19:59 -0700
+
+nmap (3.9999-0) experimental; urgency=low
+
+  * New upstream version
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 28 Jan 2006 12:35:14 -0700
+
+nmap (3.95-2) unstable; urgency=low
+
+  * Use libpcap0.8-dev
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 19 Jan 2006 11:49:52 -0700
+
+nmap (3.95-1) unstable; urgency=low
+
+  * New upstream
+
+ -- LaMont Jones <lamont@debian.org>  Fri,  9 Dec 2005 13:50:57 -0700
+
+nmap (3.93-1) unstable; urgency=low
+
+  * New upstream
+
+ -- LaMont Jones <lamont@debian.org>  Mon, 12 Sep 2005 23:34:04 -0600
+
+nmap (3.90-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- LaMont Jones <lamont@debian.org>  Thu,  8 Sep 2005 10:39:09 -0600
+
+nmap (3.81-2) unstable; urgency=low
+
+  * Fix FTBFS when DEB_BUILD_OPTIONS specified.  Closes: #308583
+    Thanks Tollef Fog Heen.
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 11 May 2005 22:34:05 -0600
+
+nmap (3.81-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- LaMont Jones <lamont@debian.org>  Mon,  7 Mar 2005 19:32:55 -0700
+
+nmap (3.75-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #277924
+
+ -- LaMont Jones <lamont@debian.org>  Sun, 24 Oct 2004 17:43:06 -0600
+
+nmap (3.70-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #270697
+    Fixes build-detection for k*bsd-gnu.  Closes: #266901
+    Updated copyright.  Closes: #266205
+  * Update package description
+
+ -- LaMont Jones <lamont@debian.org>  Thu,  9 Sep 2004 10:49:20 -0600
+
+nmap (3.55-1) unstable; urgency=low
+
+  * New upstream.  Closes: #258757
+
+ -- LaMont Jones <lamont@debian.org>  Sun, 11 Jul 2004 18:57:47 -0600
+
+nmap (3.50-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #229275
+
+ -- LaMont Jones <lamont@debian.org>  Fri, 23 Jan 2004 20:08:35 -0700
+
+nmap (3.48-2) unstable; urgency=low
+
+  * Add missing build-depends.
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 22 Nov 2003 19:39:17 -0700
+
+nmap (3.48-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #217501
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 25 Oct 2003 14:15:36 -0600
+
+nmap (3.45-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #201777, #196418, #195463, #165621
+
+ -- LaMont Jones <lamont@debian.org>  Mon, 15 Sep 2003 18:47:48 -0600
+
+nmap (3.27-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #193909, #149393, #146581
+  * Fix CXXFLAGS.  Closes: #189021
+  * Change man page from \' to ' for quotes.  Closes: #143975
+
+ -- LaMont Jones <lamont@debian.org>  Mon, 19 May 2003 18:13:23 -0600
+
+nmap (3.20-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #184414, #188468, #172618, #144089, #164211
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 10 Apr 2003 23:12:25 -0600
+
+nmap (3.10.ALPHA4-1) unstable; urgency=low
+
+  * New upstream version
+  * Deliver upstream changelog.  Closes: #155836
+
+ -- LaMont Jones <lamont@debian.org>  Sun, 24 Nov 2002 13:26:43 -0700
+
+nmap (3.00-0.1) unstable; urgency=low
+
+  * New upstream version.  Use an NMU version number just for elmo.
+    Closes: #152907, #155598, #151375
+
+ -- LaMont Jones <lamont@debian.org>  Tue,  6 Aug 2002 13:59:51 -0600
+
+nmap (2.54.33.BETA-1) unstable; urgency=low
+
+  * New upstream version. Lots of OS fingerprint updates.  Closes: #145031
+
+ -- LaMont Jones <lamont@debian.org>  Sun,  5 May 2002 11:17:05 -0600
+
+nmap (2.54.32.BETA-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 20 Apr 2002 12:07:12 -0600
+
+nmap (2.54.31.BETA-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #117675, #132907.
+  * Remove /usr/share/doc/nmap/html.  Closes: #107358.
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 20 Mar 2002 10:49:25 -0700
+
+nmap (2.54.30.BETA-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #115797
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 17 Oct 2001 12:33:45 -0600
+
+nmap (2.54.28.BETA-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #102920
+  * Roll to current standards-version.
+  * Remove -g from options unless DEB_BUILD_OPTIONS includes 'debug'.
+
+ -- LaMont Jones <lamont@security.hp.com>  Sat, 28 Jul 2001 23:27:48 -0600
+
+nmap (2.54.27.BETA-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- LaMont Jones <lamont@security.hp.com>  Thu, 19 Jul 2001 19:42:36 -0600
+
+nmap (2.54.25.BETA-1) unstable; urgency=low
+  * New upstream version.
+
+ -- LaMont Jones <lamont@debian.org>  Mon, 11 Jun 2001 22:26:34 -0600
+
+nmap (2.54.22.BETA-2) unstable; urgency=low
+  * PARISC support.  New config.guess, config.sub, and printf fixes
+    for gcc 3.0.
+
+ -- LaMont Jones <lamont@debian.org>  Tue,  8 May 2001 09:13:24 -0600
+
+nmap (2.54.22.BETA-1) unstable; urgency=low
+  * New upstream beta.  Closes: #90553.
+  * Add Build-Depends: header.
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 21 Mar 2001 07:59:59 -0700
+
+nmap (2.54-0.beta7.1) unstable; urgency=low
+  * New upstream version (beta). Closes: #71642.
+  * Correct reference to X Window System.  Closes: #76076.
+  * Appears to fix segfault in nmapfe (unable to reproduce).
+    Closes: #76019.
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 30 Nov 2000 06:57:14 -0700
+
+nmap (2.53-5) unstable; urgency=low
+  * Fix xnmap man page.  Closes: #65016
+
+ -- LaMont Jones <lamont@debian.org>  Thu,  8 Jun 2000 18:50:58 -0600
+
+nmap (2.53-3) unstable; urgency=low
+  * Link with libgtk1.2 (not libgtk1).  Closes: #64705, #64709
+
+ -- LaMont Jones <lamont@debian.org>  Fri, 26 May 2000 07:19:25 -0600
+
+nmap (2.53-2) unstable; urgency=low
+  * Fix xnmap man page.  Closes: #64689.
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 25 May 2000 21:01:53 -0600
+
+nmap (2.53-1) unstable; urgency=low
+  * New upstream beta release, closes: #61350, #59955, #61043, #60588, #63709
+  * man pages for xnmap and nmapfe, closes: #62858
+  * 2.12-5 didn't make it into frozen.  closes: #59955
+  * switch from dh_dhelp to doc-base; makefile cleanup
+
+ -- LaMont Jones <lamont@debian.org>  Thu, 25 May 2000 09:15:49 -0600
+
+nmap (2.3BETA14-0) unstable; urgency=low
+  * New upstream beta release, closes: #60344
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 15 Mar 2000 11:27:13 -0600
+
+nmap (2.12-5) frozen; urgency=low
+  * Don't deliver man pages into /usr/man.  Closes: #59955
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 15 Mar 2000 09:21:38 -0600
+
+nmap (2.12-4) frozen; urgency=low
+  * New nmap-os-fingerprints and nmap-services files.  Closes #54143.
+
+ -- LaMont Jones <lamont@debian.org>  Sun, 20 Feb 2000 12:23:50 -0600
+
+nmap (2.12-3) unstable; urgency=low
+  * bad configure command for libpcap-possiblymodified (Bug#38739)
+
+ -- LaMont Jones <lamont@debian.org>  Sat, 24 Jul 1999 09:21:04 -0600
+
+nmap (2.12-2) unstable; urgency=low
+  * Add dhelp support: fixes 31162
+
+ -- LaMont Jones <lamont@debian.org>  Wed, 12 May 1999 17:15:23 -0600
+
+nmap (2.12-1) unstable; urgency=low
+
+  * new maintainer, many thanks to Bdale for packaging the previous versions.
+  * new upstream version, corrects 34039.
+  * Correct copyright file (closes 35848).
+
+ -- LaMont Jones <lamont@debian.org>  Mon, 26 Apr 1999 20:59:57 -0600
+
+nmap (2.02-1) unstable; urgency=low
+
+  * new upstream version
+  * merge README.debian into copyright file, update to reflect current source
+    location
+
+ -- Bdale Garbee <bdale@gag.com>  Thu,  7 Jan 1999 00:19:31 -0700
+
+nmap (1.51-2) unstable; urgency=low
+
+  * fixed file overlap created by new upstream source, closes 25347
+
+ -- Bdale Garbee <bdale@gag.com>  Mon,  3 Aug 1998 22:22:24 -0600
+
+nmap (1.51-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  Sat,  1 Aug 1998 22:49:04 -0600
+
+nmap (1.49-1) frozen unstable; urgency=low
+
+  * new upstream source, includes fix that closes 17115
+  * use existing libpcap shared lib instead of static linking a local copy
+  * fix dependency specification
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 10 Apr 1998 01:28:36 -0600
+
+nmap (1.36-1) frozen unstable; urgency=low
+
+  * new upstream source, mostly bug fixes and cleanups
+  * fix typos in control file, closes 18950
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 31 Mar 1998 23:09:19 -0700
+
+nmap (1.30-1) unstable; urgency=low
+
+  * initial release
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 16 Dec 1997 00:40:01 -0700
+
+Local variables:
+mode: debian-changelog
+End:
--- nmap-5.00.orig/debian/pycompat
+++ nmap-5.00/debian/pycompat
@@ -0,0 +1 @@
+2
--- nmap-5.00.orig/debian/prerm
+++ nmap-5.00/debian/prerm
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# Debian nmap prerm
+# LaMont Jones <lamont@debian.org>
+
+case "$1" in
+    remove|upgrade|deconfigure)
+	;;
+
+    failed-upgrade)
+	;;
+
+    *)
+	echo "prerm called with unknown argument \`$1'" >&2
+	exit 1
+	;;
+esac
+#DEBHELPER#
+exit 0
--- nmap-5.00.orig/debian/zenmap.dirs
+++ nmap-5.00/debian/zenmap.dirs
@@ -0,0 +1,6 @@
+usr/bin
+usr/lib
+usr/share/man/man1
+usr/share/applications
+usr/share/pixmaps
+usr/share/zenmap/pixmaps
--- nmap-5.00.orig/debian/zenmap.desktop
+++ nmap-5.00/debian/zenmap.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+# The format of this file is specified at
+# http://freedesktop.org/Standards/desktop-entry-spec/
+# The entries are in the order they are listed in version 0.9.4
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=Zenmap
+GenericName=The Network Mapper Front End
+GenericName[en_GB]=The Network Mapper Front End
+GenericName[it]=Interfaccia per il Network Mapper
+Comment=Network Mapper frontend
+Icon=zenmap.xpm
+TryExec=zenmap
+Exec=zenmap
+Path=
+Terminal=false
+MimeType=
+Categories=GNOME;Application;Network;
--- nmap-5.00.orig/debian/zenmap.xpm
+++ nmap-5.00/debian/zenmap.xpm
@@ -0,0 +1,66 @@
+/* XPM */
+static char *nmap-1[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 28 1",
+"  c #040404",
+". c #330000",
+"X c #333300",
+"o c #333366",
+"O c #663300",
+"+ c #663366",
+"@ c gray30",
+"# c gray40",
+"$ c #800000",
+"% c #993300",
+"& c #993366",
+"* c #996600",
+"= c #996666",
+"- c #CC6666",
+"; c #FF6666",
+": c #996699",
+"> c #CC6699",
+", c #FF6699",
+"< c #CC9966",
+"1 c #FF9966",
+"2 c #868686",
+"3 c #A0A0A4",
+"4 c #CC9999",
+"5 c #FF9999",
+"6 c #CCCC99",
+"7 c #FFCC99",
+"8 c #FFCCFF",
+"9 c #FFFBF0",
+/* pixels */
+"99977777777777797979799989998632",
+"4746666666666646466467647676763=",
+"=4=============:==-4->4<4<4544=#",
+"-==+O++O+O@O+O+OO++===------1-=#",
+"==#O@OOXOOOXOOXX+OOO+#*=---,--=#",
+"==+XOXO.X.X.oX+XXO+OO$+===:-->=#",
+"==OOXOXOX+XO.OX+XOXOOO@O+#==4-=#",
+"==++O+O++O+O@OOXOXOOXoOOOO@====#",
+">==O+O+OOO+%+O+O+@OoXOXoXOOO+&+O",
+"===O&O+++O+O&O+=O&O++OOOOoXXOO@@",
+">==+O+%O%+%+O+%O===*=+O+OOOOoOXO",
+"===O%+O++O+%+%+O&O+O+O+O+O+OXO.X",
+"-:=O+%+OO+$OO@OO@OO+O$O$+OO+O+OO",
+"=-=&O+O+OOX+OOoXO@@O++OOO@O+%O@O",
+">=-O&O+OXOOXoXXoXX@@+O@@OO$O++$O",
+"4===O+OO$+OXX.X=#@==#@XO@+O++OO@",
+"<4-==O+O+OO@OXX@+@9946-OXOO+O&@$",
+"4;---==OO+O#@@#@O479989=O+OO+OO@",
+"44=-=-=+$O+=#@+#>987878=+O+&O+$O",
+"<4-----=O++O#==679787974#O=*=&O@",
+"41=--=--==%+OO#=68989847-O===O+O",
+"44-------====+O@O@==-=-===-1-==+",
+"14;>---=-----===O&O++==--=-:-=+O",
+"444-->----=-------=-=-=-:-----=+",
+"41-5;1,4;------------=-=-=>=--=+",
+"45<-4-1-5>1>----->->-=>=-3-->==+",
+"<4,5;54515-5;5,5>14<-5<5-->---=+",
+"45<-4<51455<5<5<15155<,------==O",
+"4--=---=-==>=>=-:=:=-:========#O",
+"-=@@@@@+@#@@#@@@#@+@@O@@#@@@+OOo",
+"O@XOXOOX+XOXOXOOXOXOO+XOXOXOXoXX",
+"OXXoXo oXXoXoXo oXoXoXXo o o X  "
+};
--- nmap-5.00.orig/debian/zenmap.postinst
+++ nmap-5.00/debian/zenmap.postinst
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# Debian nmapfe postinst
+# LaMont Jones <lamont@debian.org>
+
+#DEBHELPER#
+
+case "$1" in
+    configure)
+        # see below
+        ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+        exit 0
+        ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+        ;;
+esac
--- nmap-5.00.orig/debian/zenmap.files
+++ nmap-5.00/debian/zenmap.files
@@ -0,0 +1,53 @@
+usr/bin/nmapfe
+usr/bin/xnmap
+usr/bin/zenmap
+usr/share/applications/zenmap.desktop
+usr/share/applications/zenmap-root.desktop
+usr/share/man/man1/zenmap.1
+usr/share/zenmap/config
+usr/share/zenmap/config/scan_profile.usp
+usr/share/zenmap/config/zenmap.conf
+usr/share/zenmap/config/zenmap_version
+usr/share/zenmap/docs
+usr/share/zenmap/docs/help.html
+usr/share/zenmap/locale
+usr/share/zenmap/misc
+usr/share/zenmap/misc/profile_editor.xml
+usr/share/zenmap/pixmaps/default_32.png
+usr/share/zenmap/pixmaps/default_75.png
+usr/share/zenmap/pixmaps/freebsd_32.png
+usr/share/zenmap/pixmaps/freebsd_75.png
+usr/share/zenmap/pixmaps/irix_32.png
+usr/share/zenmap/pixmaps/irix_75.png
+usr/share/zenmap/pixmaps/linux_32.png
+usr/share/zenmap/pixmaps/linux_75.png
+usr/share/zenmap/pixmaps/macosx_32.png
+usr/share/zenmap/pixmaps/macosx_75.png
+usr/share/zenmap/pixmaps/openbsd_32.png
+usr/share/zenmap/pixmaps/openbsd_75.png
+usr/share/zenmap/pixmaps/radialnet
+usr/share/zenmap/pixmaps/redhat_32.png
+usr/share/zenmap/pixmaps/redhat_75.png
+usr/share/zenmap/pixmaps/solaris_32.png
+usr/share/zenmap/pixmaps/solaris_75.png
+usr/share/zenmap/pixmaps/splash.png
+usr/share/zenmap/pixmaps/throbber.gif
+usr/share/zenmap/pixmaps/throbber.png
+usr/share/zenmap/pixmaps/ubuntu_32.png
+usr/share/zenmap/pixmaps/ubuntu_75.png
+usr/share/zenmap/pixmaps/unknown_32.png
+usr/share/zenmap/pixmaps/unknown_75.png
+usr/share/zenmap/pixmaps/vl_1_32.png
+usr/share/zenmap/pixmaps/vl_1_75.png
+usr/share/zenmap/pixmaps/vl_2_32.png
+usr/share/zenmap/pixmaps/vl_2_75.png
+usr/share/zenmap/pixmaps/vl_3_32.png
+usr/share/zenmap/pixmaps/vl_3_75.png
+usr/share/zenmap/pixmaps/vl_4_32.png
+usr/share/zenmap/pixmaps/vl_4_75.png
+usr/share/zenmap/pixmaps/vl_5_32.png
+usr/share/zenmap/pixmaps/vl_5_75.png
+usr/share/zenmap/pixmaps/win_32.png
+usr/share/zenmap/pixmaps/win_75.png
+usr/share/zenmap/pixmaps/zenmap.png
+usr/share/zenmap/su-to-zenmap.sh
--- nmap-5.00.orig/debian/nmap.dirs
+++ nmap-5.00/debian/nmap.dirs
@@ -0,0 +1,7 @@
+usr/bin
+usr/share/man/man1
+usr/share/doc/nmap
+usr/share/nmap
+usr/share/nmap/nselib
+usr/share/nmap/scripts
+usr/lib/nmap/nselib-bin
--- nmap-5.00.orig/debian/copyright
+++ nmap-5.00/debian/copyright
@@ -0,0 +1,214 @@
+This is the Debian GNU/Linux package of NMAP -- The Network Mapper, 
+by Fyodor <fyodor@insecure.org>.  Please see http://nmap.org/.
+
+This package was crafted by LaMont Jones <lamont@debian.org> using:
+
+	http://nmap.org/
+
+NMAP is copyright 1997-2003 by Fyodor <fyodor@insecure.org> and others,
+and distributed under the terms of the GNU General Public License, Version 2.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The actual Nmap license (minus the copy of GPL-2 mentioned above):
+
+  The main Nmap code is covered under the Nmap license, which is the GPL
+  with a few clarifications/exceptions. A copy of that can be found at
+  http://insecure.org/nmap/data/COPYING .
+
+  The Nmap Security Scanner also uses 3rd party open source libraries
+  for various functions. Some or all of these may be necessary or
+  desirable to distribute Nmap. All use BSD-style licenses. If they
+  are included, their license must be followed. This document briefly
+  describes how and when each library is used, and details the license
+  terms. The six libraries are the the LibPcap raw packet capture
+  library, WinPcap Windows Packet Capture Library, Libdnet raw
+  networking library, LibPCRE perl-compatable regular expression
+  library, Lua programming language, and the OpenSSL SSL encryption
+  library.
+
+  ==LibPcap Raw Packet Capture Library==
+
+  LibPcap is used by Nmap on UNIX for raw packet reading during host
+  discovery, port scanning, and OS detection. It is available from
+  http://www.tcpdump.org. It is bundled with the Nmap Security Scanner
+  in the libpcap-possiblymodified subdirectory. The BSD-style license
+  for version 0.8.3 follows:
+
+  License: BSD
+
+  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in
+       the documentation and/or other materials provided with the
+       distribution.
+
+    3. The names of the authors may not be used to endorse or promote
+       products derived from this software without specific prior
+       written permission.
+
+  THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+  WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+  ==WinPcap Windows Packet Library==
+
+  WinPcap is used by Nmap on Windows for raw packet reading during host
+  discovery, port scanning, and OS detection. It is available from
+  http://winpcap.polito.it/. It is a derivative of LibPcap, so that
+  license (above) must be followed as well. The BSD-style license terms
+  for WinPcap 3.1 follow:
+
+  Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy).
+  Copyright (c) 2005 CACE Technologies, Davis (California).
+  All rights reserved.
+
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are
+  met:
+
+     1. Redistributions of source code must retain the above copyright
+	notice, this list of conditions and the following disclaimer.
+
+     2. Redistributions in binary form must reproduce the above
+	copyright notice, this list of conditions and the following
+	disclaimer in the documentation and/or other materials provided
+	with the distribution.
+
+     3. Neither the name of the Politecnico di Torino, CACE Technologies
+	nor the names of its contributors may be used to endorse or
+	promote products derived from this software without specific
+	prior written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+  This product includes software developed by the University of
+  California, Lawrence Berkeley Laboratory and its contributors.
+
+  ==Libdnet raw networking library==
+
+  Libdnet (http://libdnet.sourceforge.net/) is bundled with Nmap and is
+  required on all platforms for low-level tasks such as sending raw
+  Ethernet frames. Version 1.10 is distributed under the following
+  BSD-style license:
+
+    Copyright (c) 2000-2004 Dug Song <dugsong_at_monkey.org>
+    All rights reserved, all wrongs reversed.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in
+       the documentation and/or other materials provided with the
+       distribution.
+
+    3. The names of the authors and copyright holders may not be used to
+       endorse or promote products derived from this software without
+       specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+    DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+    OF THE POSSIBILITY OF SUCH DAMAGE.
+
+  ==LibPCRE Perl-compatable Regular Expression Library==
+
+  LibPCRE is used as part of Nmap version detection. It is licensed
+  under a BSD license. It is bundled with Nmap in the libpcre
+  subdirectory. The license terms for LibPCRE 7.0 follows:
+
+  Written by: Philip Hazel
+  Copyright (c) 1997-2005 University of Cambridge
+  All rights reserved.
+
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are
+  met:
+
+      * Redistributions of source code must retain the above copyright
+	notice, this list of conditions and the following disclaimer.
+
+      * Redistributions in binary form must reproduce the above
+	copyright notice, this list of conditions and the following
+	disclaimer in the documentation and/or other materials provided
+	with the distribution.
+
+      * Neither the name of the University of Cambridge nor the name of
+	Google Inc. nor the names of their contributors may be used to
+	endorse or promote products derived from this software without
+	specific prior written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+  ==Lua programming language==
+
+  The LUA programming language may optionally be embedded into Nmap as
+  part of the Nmap Scripting Engine functionality. LUA will not be
+  included if the –without-liblua configuration option is given. If Lua
+  is included, Nmap also includes some LUA modules which also fall under
+  the free LUA license. The LUA license is as follows:
+
+  Copyright 1994-2007 Lua.org, PUC-Rio.
+
+  Permission is hereby granted, free of charge, to any person obtaining
+  a copy of this software and associated documentation files (the
+  "Software"), to deal in the Software without restriction, including
+  without limitation the rights to use, copy, modify, merge, publish,
+  distribute, sublicense, and/or sell copies of the Software, and to
+  permit persons to whom the Software is furnished to do so, subject to
+  the following conditions:
+
+  The above copyright notice and this permission notice shall be
+  included in all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+  ==OpenSSL SSL encryption library==
+
+  OpenSSL can optionally be used by Nmap Service Detection to
+  communicate with SSL-enabled protocols such as https, pop3-s, imaps,
+  etc. Its BSD-style license is too long to include here, but available
+  from http://www.openssl.org/ . OpenSSL is not bundled with Nmap.
--- nmap-5.00.orig/debian/zenmap.manpages
+++ nmap-5.00/debian/zenmap.manpages
@@ -0,0 +1 @@
+docs/zenmap.1
--- nmap-5.00.orig/debian/zenmap-root.desktop
+++ nmap-5.00/debian/zenmap-root.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+# The format of this file is specified at
+# http://freedesktop.org/Standards/desktop-entry-spec/
+# The entries are in the order they are listed in version 0.9.4
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=Zenmap (as root)
+GenericName=The Network Mapper Front End
+GenericName[en_GB]=The Network Mapper Front End
+GenericName[it]=Interfaccia per il Network Mapper
+Comment=Network Mapper frontend
+Icon=zenmap.xpm
+TryExec=su-to-root
+Exec=su-to-root -X -c /usr/bin/zenmap
+Path=
+Terminal=false
+MimeType=
+Categories=GNOME;Application;Network;
--- nmap-5.00.orig/debian/zenmap.prerm
+++ nmap-5.00/debian/zenmap.prerm
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# Debian nmapfe prerm
+# LaMont Jones <lamont@debian.org>
+
+case "$1" in
+    remove|upgrade|deconfigure)
+	;;
+
+    failed-upgrade)
+	;;
+
+    *)
+	echo "prerm called with unknown argument \`$1'" >&2
+	exit 1
+	;;
+esac
+#DEBHELPER#
+exit 0
--- nmap-5.00.orig/debian/compat
+++ nmap-5.00/debian/compat
@@ -0,0 +1 @@
+5
--- nmap-5.00.orig/debian/postinst
+++ nmap-5.00/debian/postinst
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# Debian nmap postinst
+# LaMont Jones <lamont@debian.org>
+
+#DEBHELPER#
+
+case "$1" in
+    configure)
+        # see below
+        ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+        exit 0
+        ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+        ;;
+esac
