--- ettercap-0.7.3.orig/debian/changelog
+++ ettercap-0.7.3/debian/changelog
@@ -0,0 +1,124 @@
+ettercap (1:0.7.3-1.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Removed debconf dependency since this program does not use debconf.
+ (Closes: #331818)
+ * Updated dependency on libssl to libssl0.9.8. (Closes: #333637)
+ * Bumped compat to 5.
+ * Bumped Standards-Version to 3.7.2, no changes required.
+
+ -- Ana Beatriz Guerrero Lopez <ana@debian.org> Sat, 4 Nov 2006 19:27:51 +0100
+
+ettercap (1:0.7.3-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Remove the unneccesary Build-Depends on automake. (Closes: #376621)
+
+ -- Eric Dorland <eric@debian.org> Sat, 2 Sep 2006 18:52:51 -0400
+
+ettercap (1:0.7.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #270978 #156770 #312226 #205624)
+ * It's forwarded current ettercap developers long time ago (Closes: #241913)
+
+ -- Murat Demirten <murat@debian.org> Mon, 06 Jun 2005 14:07:06 +0300
+
+ettercap (1:0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Murat Demirten <murat@debian.org> Mon, 11 Oct 2004 20:24:00 +0300
+
+ettercap (1:0.7.0-1) unstable; urgency=low
+
+ * New upstream release
+ * Package splitting notes now included in NEWS.Debian (Closes: #205172)
+ * New version doesn't segfault on exit (Closes: #254675)
+
+ -- Murat Demirten <murat@debian.org> Wed, 07 Jul 2004 11:35:20 +0300
+
+ettercap (1:0.6.b-2) unstable; urgency=low
+
+ * Added autoconf and automake entry in Build-Depends field to build
+ ettercap for other architectures.
+
+ -- Murat Demirten <murat@debian.org> Mon, 21 Jun 2003 19:57:18 +0200
+
+ettercap (1:0.6.b-1) unstable; urgency=low
+
+ * New upstream release
+ * Package moved into main from non-us archive (See LICENSE.OPENSSL)
+ * Ettercap split into three package (Closes: #197451)
+ ettercap-common includes configuration files, documentation and
+ plugins. ettercap-gtk compiled with gtk support and ettercap
+ compiled with ncurses support (Closes: #195799)
+ * Ettercap packages now install localized man pages (Closes: #181760)
+
+ -- Murat Demirten <murat@debian.org> Sun, 12 Jun 2003 14:07:27 +0200
+
+ettercap (1:0.6.a-2) unstable; urgency=low
+
+ * Fixed important packaging problem (Closes: #193704)
+
+ -- Murat Demirten <murat@debian.org> Sun, 18 May 2003 12:16:39 +0200
+
+ettercap (1:0.6.a-1) unstable; urgency=low
+
+ * New upstream release.
+ * Ettercap-plugins package replaced by ettercap.
+ * Ettercap properly reset its terminal when exit (Closes: #179465)
+ * Removed duplicate changelog file (Closes: #176321)
+ * Gtk option enabled (Closes: #185799)
+
+ -- Murat Demirten <murat@debian.org> Sun, 11 May 2003 19:27:46 +0200
+
+ettercap (1:0.6.9-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Murat Demirten <murat@debian.org> Fri, 31 Jan 2003 00:48:25 +0200
+
+ettercap (1:0.6.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Murat Demirten <murat@debian.org> Tue, 02 Jul 2002 21:53:38 +0200
+
+ettercap (1:0.6.6.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Murat Demirten <murat@debian.org> Mon, 03 Jun 2002 17:43:20 +0200
+
+ettercap (1:0.6.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Murat Demirten <murat@debian.org> Tue, 23 Apr 2002 12:01:39 +0200
+
+ettercap (1:0.6.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fixes long description line bug of ettercap. (Closes: #130953)
+ * Fixes long description line bug of ettercap-plugins. (Closes: #130952)
+
+ -- Murat Demirten <murat@debian.org> Fri, 21 Feb 2002 22:36:17 +0200
+
+ettercap (0.6.4.cvs20020101-1) unstable; urgency=low
+
+ * Fixed packaging problems which prevents automatic rebuilding for
+ ports other than mipsel.
+ * Configuration files go to /etc/ettercap directory.
+ * Better description field
+ * CVS snapshot used which doesn't have some plugin config file problems.
+
+ -- Murat Demirten <murat@debian.org> Tue, 1 Jan 2002 18:11:41 +0200
+
+ettercap (0.6.3.1-1) unstable; urgency=low
+
+ * Initial Release (Closes: #112980)
+
+ -- Murat Demirten <murat@debian.org> Wed, 19 Dec 2001 13:08:46 +0200
+
+
+
--- ettercap-0.7.3.orig/debian/control
+++ ettercap-0.7.3/debian/control
@@ -0,0 +1,65 @@
+Source: ettercap
+Section: net
+Priority: optional
+Maintainer: Murat Demirten <murat@debian.org>
+Build-Depends: debhelper (>> 5), autoconf, libncurses-dev, libgtk2.0-dev, libltdl3-dev, libssl0.9.8, libssl-dev, libpcap0.8-dev, libnet1-dev, libpcre3-dev
+Standards-Version: 3.7.2
+
+Package: ettercap-common
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: ettercap | ettercap-gtk
+Replaces: ettercap-plugins, ettercap (<= 1:0.6.a-2)
+Conflicts: ettercap-plugins, ettercap (<= 1:0.6.a-2)
+Description: Common support files and plugins for ettercap
+ It includes all of the configuration files, plugins and documentation.
+
+Package: ettercap
+Architecture: any
+Depends: ${shlibs:Depends}, ettercap-common (= ${Source-Version})
+Replaces: ettercap-gtk
+Conflicts: ettercap-gtk
+Description: Multipurpose sniffer/interceptor/logger for switched LAN
+ Ettercap supports active and passive dissection of many protocols
+ (even ciphered ones) and includes many feature for network and host
+ analysis.
+ .
+ Data injection in an established connection and filtering (substitute
+ or drop a packet) on the fly is also possible, keeping the connection
+ synchronized.
+ .
+ Many sniffing modes were implemented to give you a powerful and complete
+ sniffing suite. It's possible to sniff in four modes: IP Based, MAC Based,
+ ARP Based (full-duplex) and PublicARP Based (half-duplex).
+ .
+ It has the ability to check whether you are in a switched LAN or
+ not, and to use OS fingerprints (active or passive) to let you know the
+ geometry of the LAN.
+
+Package: ettercap-gtk
+Architecture: any
+Depends: ${shlibs:Depends}, ettercap-common (= ${Source-Version})
+Replaces: ettercap
+Conflicts: ettercap
+Recommends: gksu
+Description: Multipurpose sniffer/interceptor/logger for switched LAN
+ .
+ This package includes gtk enabled version of ettercap. It also
+ includes ncurses support.
+ .
+ Ettercap supports active and passive dissection of many protocols
+ (even ciphered ones) and includes many feature for network and host
+ analysis.
+ .
+ Data injection in an established connection and filtering (substitute
+ or drop a packet) on the fly is also possible, keeping the connection
+ synchronized.
+ .
+ Many sniffing modes were implemented to give you a powerful and complete
+ sniffing suite. It's possible to sniff in four modes: IP Based, MAC Based,
+ ARP Based (full-duplex) and PublicARP Based (half-duplex).
+ .
+ It has the ability to check whether you are in a switched LAN or
+ not, and to use OS fingerprints (active or passive) to let you know the
+ geometry of the LAN.
+
--- ettercap-0.7.3.orig/debian/copyright
+++ ettercap-0.7.3/debian/copyright
@@ -0,0 +1,17 @@
+This package was debianized by Murat Demirten <murat@debian.org> on
+Wed, 12 Jul 2003 12:50:15 +0200.
+
+It was downloaded from http://ettercap.sourceforge.net
+
+Upstream Authors: Alberto Ornaghi <alor@users.sourceforge.net>
+ Marco Valleri <crwm@freemail.it>
+
+Copyright:
+
+Ettercap is licensed under the terms of the GNU GPL.
+
+This program is released under the GPL with the additional exemption
+that compiling, linking, and/or using OpenSSL is allowed.
+
+The GPL licence can be found in /usr/share/common-licenses on modern
+Debian systems.
--- ettercap-0.7.3.orig/debian/rules
+++ ettercap-0.7.3/debian/rules
@@ -0,0 +1,126 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=5
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ ## To build ettercap.fr.8 added AC_OUTPUT entry
+ # sed -e 's/AC_OUTPUT(ettercap.spec ettercap.8 Makefile $makeplug win32\/ettercap.nsi)/AC_OUTPUT(docs\/fr\/ettercap.fr.8 ettercap.spec ettercap.8 Makefile $makeplug win32\/ettercap.nsi)/' configure.in > .debian.configure.in
+ #mv .debian.configure.in configure.in
+ #autoconf
+
+ # Add here commands to compile the package.
+ ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
+ --exec-prefix=/usr --enable-https --enable-gtk --enable-plugins \
+ --sysconfdir=/etc
+
+ $(MAKE)
+
+ cp src/ettercap ettercap-gtk
+
+ make clean
+
+ ./configure --disable-gtk --enable-plugins \
+ --prefix=/usr --mandir=/usr/share/man --enable-https \
+ --sysconfdir=/etc
+
+ $(MAKE)
+
+# dh_testdir
+# cd plugins && $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+
+ rm -f ettercap-gtk
+ dh_clean
+
+install: DH_OPTIONS=
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/ettercap.
+ $(MAKE) DATADIR=/etc/ettercap DESTDIR=$(CURDIR)/debian/ettercap-common install
+ #/usr/bin/install -m 700 ettercap debian/ettercap/usr/sbin/
+ rm -rf debian/ettercap-common/usr/share/doc/ettercap
+ rm -f debian/ettercap-common/etc/ettercap/AUTHORS
+ rm -f debian/ettercap-common/etc/ettercap/THANKS
+ rm -f debian/ettercap-common/usr/share/man/man8/ettercap.8
+ rm -f debian/ettercap/usr/share/doc/ettercap-common/CHANGELOG
+ rm -f debian/ettercap/usr/share/doc/ettercap-common/ettercap.8
+
+ rm -f debian/ettercap-common/usr/bin/ettercap
+
+ install -m 700 ettercap-gtk debian/ettercap-gtk/usr/sbin/ettercap
+ install -m 700 src/ettercap debian/ettercap/usr/sbin/ettercap
+
+ # dh_testdir
+ cd plug-ins && $(MAKE) DATADIR=/etc/ettercap DESTDIR=$(CURDIR)/debian/ettercap-common install
+
+# dh_movefiles
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir -a
+ dh_testroot -a
+# dh_installdebconf -a
+ dh_installdocs -a
+# dh_installexamples -a
+ dh_installmenu -a
+# dh_installlogrotate -a
+# dh_installemacsen -a
+# dh_installpam -a
+# dh_installmime -a
+# dh_installinit -a
+# dh_installcron -a
+ dh_installman -pettercap-gtk man/ettercap.8
+ dh_installman -pettercap man/ettercap.8
+ dh_installinfo -a
+# dh_undocumented -a
+ dh_installchangelogs CHANGELOG -a
+ dh_strip -a
+ dh_link -a
+ dh_compress -a
+ dh_fixperms -a
+# dh_makeshlibs -a
+ dh_installdeb -a
+# dh_perl -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- ettercap-0.7.3.orig/debian/ettercap.dirs
+++ ettercap-0.7.3/debian/ettercap.dirs
@@ -0,0 +1,2 @@
+usr/sbin
+
--- ettercap-0.7.3.orig/debian/ettercap-gtk.dirs
+++ ettercap-0.7.3/debian/ettercap-gtk.dirs
@@ -0,0 +1 @@
+usr/sbin
--- ettercap-0.7.3.orig/debian/ettercap-common.dirs
+++ ettercap-0.7.3/debian/ettercap-common.dirs
@@ -0,0 +1,2 @@
+usr/sbin
+
--- ettercap-0.7.3.orig/debian/ettercap-common.docs
+++ ettercap-0.7.3/debian/ettercap-common.docs
@@ -0,0 +1,12 @@
+doc/*
+CHANGELOG
+README
+README.BINARIES
+README.BUGS
+README.CVS
+README.PLATFORMS
+THANKS
+TODO.TESTING
+TODO
+debian/NEWS.Debian
+
--- ettercap-0.7.3.orig/debian/ettercap-gtk.menu
+++ ettercap-0.7.3/debian/ettercap-gtk.menu
@@ -0,0 +1,7 @@
+?package(ettercap-gtk):needs="X11" section="Apps/Net" \
+ title="ettercap" command="/usr/sbin/ettercap --gtk" \
+ longtitle="Multipurpose sniffer/interceptor/logger"
+
+?package(ettercap-gtk):needs="X11" section="Apps/Net" \
+ title="ettercap (as root)" command="gksu -u root \"/usr/sbin/ettercap --gtk\"" \
+ longtitle="Multipurpose sniffer/interceptor/logger"
--- ettercap-0.7.3.orig/debian/ettercap-common.preinst
+++ ettercap-0.7.3/debian/ettercap-common.preinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+set -e
+
+case "$1" in
+ upgrade)
+ if [ -L /usr/share/ettercap ]; then
+ rm -f /usr/share/ettercap
+ fi
+ exit 0 ;;
+esac
+
+exit
--- ettercap-0.7.3.orig/debian/ettercap-common.postrm
+++ ettercap-0.7.3/debian/ettercap-common.postrm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+if [ "$1" = purge ]; then
+ rm -f /usr/share/ettercap
+fi
--- ettercap-0.7.3.orig/debian/NEWS.Debian
+++ ettercap-0.7.3/debian/NEWS.Debian
@@ -0,0 +1,10 @@
+ettercap (1:0.7.0-1) unstable; urgency=low
+
+ * Ettercap package does not include GTK+ support anymore. You should
+ install ettercap-gtk package for GTK+ support.
+ You can also use ettercap-gtk in console mode.
+
+ * Old configuration directory /etc/ettercap doesn't used anymore.
+ /etc/etter.conf file should be used.
+
+-- Murat Demirten <murat@debian.org> Wed, 07 Jul 2004 11:32:02 +0300