Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 7a4fc6c1a94f8e43fd4c010b81634844 > files > 3

cutter-1.02-3mdk.src.rpm

%define	name		cutter
%define version 1.02
%define release 3mdk

Summary:		Aborts TCP/IP connections
Name:			%{name}
Version:		%{version}
Release:		%{release}
URL:			http://www.lowth.com/cutter
License:		GPL
Source0:		%{name}-%{version}.tar.bz2
Group:			Networking/Other
BuildRoot:		%{_tmppath}/%{name}-%{version}-root
Patch1:			%{name}-%{version}-fixnonnatted.patch.bz2

%description
Cutter is an open source program that allows Linux firewall
administrators to abort TCP/IP connections routed over the
firewall or router on which it is run.

%prep

%setup -q
%patch1 -p1 -b .fixnonnatted

%build

%{__cc} %{optflags} -o cutter cutter.c

%install
%{__rm} -rf %{buildroot}

%{__install} -d %{buildroot}%{_sbindir}
%{__install} -m755 %{name} %{buildroot}%{_sbindir}/%{name}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README
%attr(0755,root,root) %{_sbindir}/%{name}

%changelog
* Fri Oct 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.02-3mdk
- rpmbuildupdated

* Sat Aug 23 2003 Ben Reser <ben@reser.org> 1.02-2mdk
- Fix to work with connections that are not NAT'ed
- Fix group it's not a Monitoring tool.
- Macroize

* Fri Jun 27 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.02-1mdk
- initial cooker contrib