--- netsniff-ng-0.5.4.1.orig/debian/docs +++ netsniff-ng-0.5.4.1/debian/docs @@ -0,0 +1,6 @@ +README +AUTHORS +CREDITS +TODO +src/doc/architecture_overview.dia +src/doc/bpf-usenix93.ps --- netsniff-ng-0.5.4.1.orig/debian/control +++ netsniff-ng-0.5.4.1/debian/control @@ -0,0 +1,20 @@ +Source: netsniff-ng +Section: net +Priority: optional +Maintainer: Daniel Borkmann +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7) +Homepage: http://code.google.com/p/netsniff-ng/ + +Package: netsniff-ng +Architecture: i386 ia64 alpha amd64 arm armeb armel hppa m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc +Depends: ${shlibs:Depends} +Description: a high performance network sniffer for packet inspection + netsniff-ng is a high performance Linux network sniffer + for packet inspection. It can be used for protocol analysis + and reverse engineering, network debugging, measurement of + performance throughput or network statistics creation of + incoming packets on central network nodes like routers + or firewalls. It works similar to tcpdump, but a 'zero-copy' + mechanism for network packets results in better performance + than libpcap-based sniffers. --- netsniff-ng-0.5.4.1.orig/debian/rules +++ netsniff-ng-0.5.4.1/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f +# +# debian/rules for netsniff-ng +# by Daniel Borkmann + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + cd src; $(MAKE) DESTDIR=$(CURDIR)/debian/netsniff-ng all + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + cd src; $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + cd src; $(MAKE) install DESTDIR=$(CURDIR)/debian/netsniff-ng + +# 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_installdocs + dh_installexamples + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install --- netsniff-ng-0.5.4.1.orig/debian/watch +++ netsniff-ng-0.5.4.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~// \ + http://www.imn.htwk-leipzig.de/~dborkman/netsniff-ng/tarballs/netsniff-ng-(.*)\.tar\.gz --- netsniff-ng-0.5.4.1.orig/debian/changelog +++ netsniff-ng-0.5.4.1/debian/changelog @@ -0,0 +1,27 @@ +netsniff-ng (0.5.4.1-1) unstable; urgency=low + + * New (minor) upstream release with security fix in netsniff-ng.c: + A memset with a 4 Byte length overhead on 32-Bit systems could + run into a possible buffer overflow. Relevant sections have been fixed. + * debian/control: + + Changed architecture, because netsniff-ng is not written for + non-linux archs as kfreebsd-* + + -- Daniel Borkmann Fri, 02 Jan 2010 11:18:03 +0200 + +netsniff-ng (0.5.4.0-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Corrected package description + * debian/watchfile: + + Changed URL to watch for, because the googlecode site denies access, + mirrored tarball archive at htwk-leipzig.de + + -- Daniel Borkmann Fri, 01 Jan 2010 19:07:23 +0200 + +netsniff-ng (0.5.3.1-1) unstable; urgency=low + + * Initial release for Debian, closes ITP bug. Closes: #561528 + + -- Daniel Borkmann Thu, 17 Dec 2009 22:55:51 +0200 --- netsniff-ng-0.5.4.1.orig/debian/compat +++ netsniff-ng-0.5.4.1/debian/compat @@ -0,0 +1 @@ +7 --- netsniff-ng-0.5.4.1.orig/debian/netsniff-ng.examples +++ netsniff-ng-0.5.4.1/debian/netsniff-ng.examples @@ -0,0 +1 @@ +examples/*.sh --- netsniff-ng-0.5.4.1.orig/debian/copyright +++ netsniff-ng-0.5.4.1/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Daniel Borkmann on +Thu, 17 Dec 2009 22:55:51 +0200. + +Copyright: Copyright © 2009, 2010 Daniel Borkmann + +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 GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'.