2299aea
Name:           yersinia
2299aea
Version:        0.7.1
8a3dc46
Release:        4%{?dist}
2299aea
Summary:        Network protocols tester and attacker
2299aea
2299aea
Group:          Applications/Internet
2299aea
License:        GPLv2+
2299aea
URL:            http://www.yersinia.net/
2299aea
Source0:        http://www.yersinia.net/download/%{name}-%{version}.tar.gz
2299aea
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2299aea
2299aea
BuildRequires:  libpcap-devel
2299aea
BuildRequires:  libnet-devel
2299aea
BuildRequires:  gtk2-devel
2299aea
BuildRequires:  ncurses-devel
2299aea
2299aea
2299aea
%description
2299aea
Yersinia is a network tool designed to take advantage of some weakeness
2299aea
in different network protocols. It pretends to be a solid framework for
2299aea
analyzing and testing the deployed networks and systems.
2299aea
2299aea
Currently, there are some network protocols implemented, but others are 
2299aea
coming (tell us which one is your preferred). Attacks for the following
2299aea
network protocols are implemented (but of course you are free for 
2299aea
implementing new ones):
2299aea
2299aea
* Spanning Tree Protocol (STP)
2299aea
* Cisco Discovery Protocol (CDP)
2299aea
* Dynamic Trunking Protocol (DTP)
2299aea
* Dynamic Host Configuration Protocol (DHCP)
2299aea
* Hot Standby Router Protocol (HSRP)
2299aea
* IEEE 802.1Q and IEEE 802.1X
2299aea
* Inter-Switch Link Protocol (ISL)
2299aea
* VLAN Trunking Protocol (VTP)
2299aea
2299aea
2299aea
%prep
2299aea
%setup -q
2299aea
2299aea
2299aea
%build
2299aea
%configure
2299aea
make %{?_smp_mflags} CFLAGS="%{optflags}"
2299aea
2299aea
%install
2299aea
rm -rf %{buildroot}
2299aea
make install DESTDIR=%{buildroot} INSTALL="install -p"
2299aea
# Convert to utf-8
2299aea
for file in THANKS; do
2299aea
    mv $file timestamp
2299aea
    iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
2299aea
    touch -r timestamp $file
2299aea
done
2299aea
2299aea
2299aea
%clean
2299aea
rm -rf %{buildroot}
2299aea
2299aea
2299aea
%files
2299aea
%defattr(-,root,root,-)
2299aea
%doc AUTHORS ChangeLog COPYING FAQ README THANKS TODO
2299aea
%{_mandir}/man?/%{name}.*
2299aea
%{_bindir}/%{name}
2299aea
2299aea
2299aea
%changelog
8a3dc46
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4
8a3dc46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8a3dc46
c2e5a9f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
c2e5a9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c2e5a9f
2299aea
* Fri Dec 26 2008 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-2
2299aea
- Added CFLAGS
2299aea
2299aea
* Thu Dec 23 2008 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-1
2299aea
- Initial spec for Fedora