--- yersinia-0.5.6.orig/debian/changelog +++ yersinia-0.5.6/debian/changelog @@ -0,0 +1,6 @@ +yersinia (0.5.6-0ubuntu1) edgy; urgency=low + + * Initial release from sources + + -- DUNNEWIND Maxence Sun, 14 May 2006 19:40:31 +0200 + --- yersinia-0.5.6.orig/debian/compat +++ yersinia-0.5.6/debian/compat @@ -0,0 +1 @@ +5 --- yersinia-0.5.6.orig/debian/control +++ yersinia-0.5.6/debian/control @@ -0,0 +1,21 @@ +Source: yersinia +Section: utils +Priority: optional +Maintainer: DUNNEWIND Maxence +Build-Depends: debhelper (>= 5.0.0), autotools-dev, libpcap0.8-dev, libnet1-dev, libncurses5-dev +Standards-Version: 3.7.2 + +Package: yersinia +Architecture: any +Depends: ${shlibs:Depends} +Description: Network vulnerabilities check software + yersinia is a framework for performing layer 2 attacks. + The following protocols have been implemented in Yersinia current version: + - Spanning Tree Protocol (STP) + - Virtual Trunking Protocol (VTP) + - Hot Standby Router Protocol (HSRP) + - Dynamic Trunking Protocol (DTP) + - IEEE 802.1Q + - Cisco Discovery Protocol (CDP) + - Dynamic Host Configuration Protocol (DHCP) + --- yersinia-0.5.6.orig/debian/copyright +++ yersinia-0.5.6/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by DUNNEWIND Maxence on +Sun, 14 May 2006 00:33:48 +0200. + +It was downloaded from http://yersinia.sf.net + +Copyright (C) 2005 Alfredo Andres Omella , David Barroso Berrueta + +src/*: + Copyright (C) 2005 Alfredo Andres Omella + Copyright (C) 2005 David Barroso Berrueta + +src/getopt.c: + Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. + +src/getopt.h: + Copyright (C) 1989,90,91,92,93,94,96,97 Free Software Foundation, Inc. + +src/getopt1.c: + Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. + +src/md5.c: + Written by Colin Plumb in 1993, no copyright is claimed. + +License: + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- yersinia-0.5.6.orig/debian/rules +++ yersinia-0.5.6/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/yersinia.sgml > yersinia.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/yersinia. + $(MAKE) install DESTDIR=$(CURDIR)/debian/yersinia + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- yersinia-0.5.6.orig/debian/docs +++ yersinia-0.5.6/debian/docs @@ -0,0 +1,4 @@ +FAQ +NEWS +README +TODO