aboutsummaryrefslogtreecommitdiffstats
path: root/net/ettercap
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-10 23:04:21 +0800
committersobomax <sobomax@FreeBSD.org>2001-03-10 23:04:21 +0800
commit8b14997f1e47b15a59fd05c0c02e052de98f7ddc (patch)
treeed9abf770d63236b4dc8e29dc3d5e8a6142c2d07 /net/ettercap
parent8fd95dddb337a6f4a121f64f1bba61566b9fdda5 (diff)
downloadfreebsd-ports-gnome-8b14997f1e47b15a59fd05c0c02e052de98f7ddc.tar.gz
freebsd-ports-gnome-8b14997f1e47b15a59fd05c0c02e052de98f7ddc.tar.zst
freebsd-ports-gnome-8b14997f1e47b15a59fd05c0c02e052de98f7ddc.zip
Add ettercap 0.2.4, a network sniffer/interceptor/injector/logger
for switched LANs. PR: 25641 Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Diffstat (limited to 'net/ettercap')
-rw-r--r--net/ettercap/Makefile23
-rw-r--r--net/ettercap/distinfo1
-rw-r--r--net/ettercap/files/patch-aa26
-rw-r--r--net/ettercap/pkg-comment1
-rw-r--r--net/ettercap/pkg-descr15
-rw-r--r--net/ettercap/pkg-plist12
6 files changed, 78 insertions, 0 deletions
diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile
new file mode 100644
index 000000000000..3d99ee0bd24a
--- /dev/null
+++ b/net/ettercap/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: ettercap
+# Date created: 19 February 2001
+# Whom: George Reid <greid@ukug.uk.freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ettercap
+PORTVERSION= 0.2.4
+CATEGORIES= net
+MASTER_SITES= http://ettercap.sourceforge.net/download/
+
+MAINTAINER= greid@ukug.uk.freebsd.org
+
+GNU_CONFIGURE= yes
+
+.if !defined(NOPORTDOCS)
+INSTALL_TARGET= install install-doc
+.endif
+
+MAN8= ettercap.8
+
+.include <bsd.port.mk>
diff --git a/net/ettercap/distinfo b/net/ettercap/distinfo
new file mode 100644
index 000000000000..441ef39696f0
--- /dev/null
+++ b/net/ettercap/distinfo
@@ -0,0 +1 @@
+MD5 (ettercap-0.2.4.tar.gz) = 26fceaafde5a9a17477ccff465fc074c
diff --git a/net/ettercap/files/patch-aa b/net/ettercap/files/patch-aa
new file mode 100644
index 000000000000..69e654f6b695
--- /dev/null
+++ b/net/ettercap/files/patch-aa
@@ -0,0 +1,26 @@
+--- Makefile.in.orig Fri Mar 9 03:49:52 2001
++++ Makefile.in Fri Mar 9 22:45:22 2001
+@@ -12,7 +12,7 @@
+
+ BINDIR = @bindir@
+ MANDIR = @mandir@
+-DOCDIR = ${prefix}/doc/@PROG@-@VERSION@
++DOCDIR = ${prefix}/share/doc/@PROG@-@VERSION@
+ DOC = COPYING README README.PLUGINS CHANGELOG HISTORY AUTHORS TODO THANKS KNOWN-BUGS PORTINGS
+
+ DEBUG = @DEBUG@
+@@ -39,11 +39,12 @@
+ install: @PROG@ strip
+ $(INSTALL) -d $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 700 $(PROG) $(DESTDIR)$(BINDIR)
+- $(INSTALL) -d $(DESTDIR)$(DOCDIR)
+- $(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
+ $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
+ $(INSTALL) -m 644 $(PROG).8 $(DESTDIR)$(MANDIR)/man8/$(PROG).8
+
++install-doc:
++ $(INSTALL) -d $(DESTDIR)$(DOCDIR)
++ $(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
+
+ plug-ins:
+ cd plugins && make && cd ..
diff --git a/net/ettercap/pkg-comment b/net/ettercap/pkg-comment
new file mode 100644
index 000000000000..a3e009bbc485
--- /dev/null
+++ b/net/ettercap/pkg-comment
@@ -0,0 +1 @@
+A network sniffer/interceptor/injector/logger for switched LANs
diff --git a/net/ettercap/pkg-descr b/net/ettercap/pkg-descr
new file mode 100644
index 000000000000..a86a7a1239bd
--- /dev/null
+++ b/net/ettercap/pkg-descr
@@ -0,0 +1,15 @@
+Ettercap is a network sniffer/interceptor/logger for switched LAN.
+It uses ARP poisoning and the man-in-the-middle technique to sniff all
+the connections between two host.
+
+It's possible to sniff in three modes:
+
+ + IP Based, the packets are filtered on IP source and dest
+ + MAC Based, packets filtered on mac address, useful to sniff
+ connections through gateway
+ + ARP based, uses arp poisoning to sniff in switched lan.
+
+Ettercap also supports character injection and plugins.
+
+- George Reid
+greid@ukug.uk.freebsd.org
diff --git a/net/ettercap/pkg-plist b/net/ettercap/pkg-plist
new file mode 100644
index 000000000000..c02fe670111b
--- /dev/null
+++ b/net/ettercap/pkg-plist
@@ -0,0 +1,12 @@
+bin/ettercap
+%%PORTDOCS%%share/doc/ettercap-0.2.4/AUTHORS
+%%PORTDOCS%%share/doc/ettercap-0.2.4/CHANGELOG
+%%PORTDOCS%%share/doc/ettercap-0.2.4/COPYING
+%%PORTDOCS%%share/doc/ettercap-0.2.4/HISTORY
+%%PORTDOCS%%share/doc/ettercap-0.2.4/KNOWN-BUGS
+%%PORTDOCS%%share/doc/ettercap-0.2.4/PORTINGS
+%%PORTDOCS%%share/doc/ettercap-0.2.4/README
+%%PORTDOCS%%share/doc/ettercap-0.2.4/README.PLUGINS
+%%PORTDOCS%%share/doc/ettercap-0.2.4/THANKS
+%%PORTDOCS%%share/doc/ettercap-0.2.4/TODO
+%%PORTDOCS%%@dirrm share/doc/ettercap-0.2.4