]> git.pld-linux.org Git - packages/forgate.git/commitdiff
- initial import
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 24 Jan 2004 16:39:59 +0000 (16:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    forgate-bpf.patch -> 1.1
    forgate.spec -> 1.1

forgate-bpf.patch [new file with mode: 0644]
forgate.spec [new file with mode: 0644]

diff --git a/forgate-bpf.patch b/forgate-bpf.patch
new file mode 100644 (file)
index 0000000..ee7c16d
--- /dev/null
@@ -0,0 +1,22 @@
+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>
diff --git a/forgate.spec b/forgate.spec
new file mode 100644 (file)
index 0000000..ab014db
--- /dev/null
@@ -0,0 +1,50 @@
+# 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}/*
This page took 0.066705 seconds and 4 git commands to generate.