Compare commits

...

4 Commits
master ... f9

Author SHA1 Message Date
Fedora Release Engineering ff480d6797 dist-git conversion 2010-07-29 16:21:34 +00:00
Bill Nottingham 6335a1adb8 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:25 +00:00
Fabian Affolter 86716fe081 Initial import 2008-12-28 20:44:19 +00:00
Kevin Fenzi 3308562b41 Initialize branch F-9 for yersinia 2008-12-28 19:12:36 +00:00
5 changed files with 75 additions and 21 deletions

View File

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
yersinia-0.7.1.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: yersinia
# $Id$
NAME := yersinia
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -0,0 +1 @@
dd3b79a625482961fe4e8bd96edff179 yersinia-0.7.1.tar.gz

73
yersinia.spec Normal file
View File

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