--- /dev/null
+diff -burN forgate-0.9.orig/src/globals.h forgate-0.9/src/globals.h
+--- forgate-0.9.orig/src/globals.h 2004-01-24 13:22:46.587160912 +0100
++++ forgate-0.9/src/globals.h 2004-01-24 13:22:58.578337976 +0100
+@@ -31,7 +31,6 @@
+ #include <libnet.h>
+ #include <pcap.h>
+ #include <sys/types.h>
+-#include <net/bpf.h>
+ #include <signal.h>
+ #include <time.h>
+ #include <stdio.h>
+diff -burN forgate-0.9.orig/src/main.h forgate-0.9/src/main.h
+--- forgate-0.9.orig/src/main.h 2004-01-24 13:22:46.586161064 +0100
++++ forgate-0.9/src/main.h 2004-01-24 13:53:56.948822720 +0100
+@@ -26,7 +26,6 @@
+ #include <libnet.h>
+ #include <pcap.h>
+ #include <sys/types.h>
+-#include <net/bpf.h>
+ #include <signal.h>
+ #include <time.h>
+ #include <stdio.h>
--- /dev/null
+# ToDo:
+# - pl description
+Summary: A Packet Redirection Tool For Interception On Switched Networks
+Summary(pl): Narzêdzie przechwytuj±ce pakiety w sieciach opratych na switchach.
+Name: forgate
+Version: 0.9
+Release: 1
+License: GPL
+Group: Applications/Network
+Vendor: Darren Bounds <dbounds@intrusense.com>
+Source0: http://dl.sourceforge.net/forgate/%{name}-%{version}.tgz
+# Source0-md5: b5455f0c83547769bd486877362f9553
+Patch0: %{name}-bpf.patch
+URL: http://forgate.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libnet-devel >= 1.1
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Forgate was written as a proof of concept in one method of capturing
+traffic flows from a 3rd party on a switched network. Forgate uses ARP cache
+poisoning, packet capture and packet reconstruction to perform it's task. It
+should work with nearly all TCP, ICMP and UDP IPv4 traffic.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%attr(755,root,root) %{_sbindir}/*