c0b8e18
Name:		ArpON
511d4e9
Version:	2.7
afe2683
Release:	4%{?dist}
c0b8e18
Summary:	ARP handler inspection
c0b8e18
c0b8e18
Group:		Applications/Internet
c0b8e18
License:	BSD
c0b8e18
URL:		http://arpon.sourceforge.net/
c0b8e18
Source0:	http://downloads.sourceforge.net/project/arpon/arpon/ArpON-%{version}/ArpON-%{version}.tar.gz
c0b8e18
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
afe2683
Patch0:		arpon.8.patch
c0b8e18
c0b8e18
BuildRequires:	libpcap-devel
a0bc4e5
BuildRequires:	cmake
c0b8e18
BuildRequires:	libnet-devel
c0b8e18
BuildRequires:	libdnet-devel
2c1ed2d
c0b8e18
		
c0b8e18
%description
c0b8e18
%{name} is a portable handler daemon
c0b8e18
It has a lot of features and it makes ARP a bit safer.
c0b8e18
It uses static ARP inspection and dynamic ARP inspection
c0b8e18
as two kinds of anti ARP poisoning techniques.
c0b8e18
c0b8e18
%prep
c0b8e18
%setup -q
afe2683
cd man8
afe2683
%patch0 -p3
c0b8e18
c0b8e18
c0b8e18
%build
a0bc4e5
%{__cmake} .
a0bc4e5
%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"
c0b8e18
c0b8e18
%install
c0b8e18
%{__rm} -rf %{buildroot}
a0bc4e5
%{__install} -D -pm 755 src/arpon %{buildroot}%{_sbindir}/arpon
c0b8e18
%{__install} -D -pm 644 man8/arpon.8 %{buildroot}%{_mandir}/man8/arpon.8  
c0b8e18
c0b8e18
c0b8e18
%clean
c0b8e18
%{__rm} -rf %{buildroot}
c0b8e18
c0b8e18
c0b8e18
%files
c0b8e18
%defattr(-,root,root,-)
a0bc4e5
%doc AUTHOR CHANGELOG LICENSE doc/*
c0b8e18
%{_sbindir}/arpon
c0b8e18
%{_mandir}/man8/arpon.8*
c0b8e18
c0b8e18
c0b8e18
%changelog
afe2683
* Sun Jan 06 2013 Arun S A G <sagarun@gmail.com> - 2.7-4
afe2683
- Bug:856179 Fix spelling mistakes in man page
afe2683
 
d7fac70
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
d7fac70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d7fac70
819d79a
* Fri Mar 30 2012 Jon Ciesla <limburgher@gmail.com> - 2.7-2
819d79a
- libnet rebuild.
819d79a
511d4e9
* Sat Jan 21 2012 Arun SAG <sagarun@gmail.com> - 2.7-1
511d4e9
- Updated to latest upstream version 2.7
511d4e9
- Remove explicit requires on libraries
511d4e9
20e2e73
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
20e2e73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
20e2e73
2c1ed2d
* Sun Jul 31 2011 Arun SAG <sagarun [AT] gmail dot com> - 2.6-2
2c1ed2d
- Fix broken deps
2c1ed2d
a0bc4e5
* Sun Jul 17 2011 Arun SAG <sagarun [AT] gmail dot com> - 2.6-1
a0bc4e5
- Updated to version 2.6
a0bc4e5
b7c2d44
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-8
b7c2d44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b7c2d44
35d5821
* Fri Apr 02 2010 Arun SAG <sagarun [AT] gmail dot com> -  1.90-7
35d5821
- Bumping release to fix previous CVS commit.
35d5821
a66f99c
* Thu Mar 25 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-6
a66f99c
- Bumping release to fix previous CVS commit.
a66f99c
c0b8e18
* Tue Mar 9 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-5
c0b8e18
- Fixed mixed usage of capital letters and period in changelog. 
c0b8e18
- Fixed install so that arpon.8 gets copied in correct directory.
c0b8e18
c0b8e18
* Sun Mar 7 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-4
c0b8e18
- Optflags used instead of RPM_OPT_FLAGS.
c0b8e18
- Man dir corrected.
c0b8e18
c0b8e18
* Wed Jan 13 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-3
c0b8e18
- Source URL fixed.
c0b8e18
- Install part rewrittern.
c0b8e18
c0b8e18
* Sat Jan 2 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-2
c0b8e18
- Removed insignificant INSTALL file from binary package.
c0b8e18
- Changed build section to  use Fedora project flags.
c0b8e18
c0b8e18
* Sat Dec 20 2009 Arun SAG <sagarun [AT] gmail dot com> - 1.90-1
c0b8e18
- My initial release.
c0b8e18
c0b8e18
* Tue Dec 01 2009 Sandro Mathys <red at fedoraproject.org> - 1.90-1
c0b8e18
- Initial build.