--- packit-1.0.orig/man/packit.8.in +++ packit-1.0/man/packit.8.in @@ -1,5 +1,5 @@ .\" -.\" $Id: packit v@PACKIT_VERSION@ 2002/10/20 22:26:03 pzn Exp $ +.\" $Id: packit.8.in,v 1.1.1.2 2003/10/03 09:57:51 lamont Exp $ .\" .\" Copyright (c) 2002 Darren Bounds .\" --- packit-1.0.orig/src/Makefile.am +++ packit-1.0/src/Makefile.am @@ -61,7 +61,7 @@ INCLUDES=@INCLUDES@ all: - strip @BINS@ + #strip @BINS@ cp @BINS@ $(top_srcdir) clean: --- packit-1.0.orig/src/Makefile.in +++ packit-1.0/src/Makefile.in @@ -450,7 +450,7 @@ all: - strip @BINS@ + #strip @BINS@ cp @BINS@ $(top_srcdir) clean: --- packit-1.0.orig/src/contrib/pcap-int.h +++ packit-1.0/src/contrib/pcap-int.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.33 2001/08/24 07:46:52 guy Exp $ (LBL) + * @(#) $Header: /var/cvs/packit/src/contrib/pcap-int.h,v 1.1.1.1 2003/06/03 02:15:16 lamont Exp $ (LBL) */ #ifndef pcap_int_h --- packit-1.0.orig/src/globals.h +++ packit-1.0/src/globals.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include #include --- packit-1.0.orig/src/main.h +++ packit-1.0/src/main.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include --- packit-1.0.orig/configure +++ packit-1.0/configure @@ -3359,7 +3359,7 @@ -for ac_header in signal.h net/bpf.h sys/time.h +for ac_header in signal.h pcap-bpf.h sys/time.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then --- packit-1.0.orig/debian/changelog +++ packit-1.0/debian/changelog @@ -0,0 +1,45 @@ +packit (1.0-2) unstable; urgency=low + + * build: honor DEB_BUILD_OPTIONS=nostrip. Closes: #437731 + * build: switch to debhelper 5, update standards version + * build: bpf.h moved. Closes: #439482 + * control: document git repository + * copyright: upstream website moved + + -- LaMont Jones Mon, 10 Sep 2007 15:57:03 -0600 + +packit (1.0-1) unstable; urgency=low + + * New upstream + + -- LaMont Jones Fri, 16 Apr 2004 15:50:19 -0600 + +packit (0.7.1-1) unstable; urgency=low + + * New upstream version + + -- LaMont Jones Fri, 23 Jan 2004 20:12:25 -0700 + +packit (0.7-1) unstable; urgency=low + + * New upstream version + + -- LaMont Jones Thu, 13 Nov 2003 11:51:32 -0700 + +packit (0.6.0d-1) unstable; urgency=low + + * New upstream version + + -- LaMont Jones Thu, 24 Jul 2003 18:48:24 -0600 + +packit (0.6.0c-1) unstable; urgency=low + + * New upstream version + + -- LaMont Jones Thu, 5 Jun 2003 21:16:57 -0600 + +packit (0.6.0b-1) unstable; urgency=low + + * New package. Closes: #195879 + + -- LaMont Jones Mon, 2 Jun 2003 21:14:59 -0600 --- packit-1.0.orig/debian/control +++ packit-1.0/debian/control @@ -0,0 +1,19 @@ +Source: packit +Priority: optional +Maintainer: LaMont Jones +Build-Depends: debhelper (>> 5.0.0), libnet1-dev (>=1.1.2.1), libpcap-dev, autotools-dev +Standards-Version: 3.7.2 +XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/packit.git +XS-Vcs-Git: git://git.debian.org/~lamont/packit.git + +Package: packit +Section: net +Architecture: any +Depends: ${shlibs:Depends} ${misc:Depends} +Description: Network Injection and Capture + Packit is a network auditing tool. Its value is derived from its ability + to customize, inject, monitor, and manipulate IP traffic. By allowing you + to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet + header options, Packit can be useful in testing firewalls, intrusion + detection systems, port scanning, simulating network traffic, and general + TCP/IP auditing. Packit is also an excellent tool for learning TCP/IP. --- packit-1.0.orig/debian/rules +++ packit-1.0/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + cp /usr/share/misc/config.guess /usr/share/misc/config.sub . + chmod u+x ./configure + STRIP=/bin/true ./configure --prefix=/usr --mandir=/usr/share/man + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install prefix=$$(pwd)/debian/packit/usr \ + mandir=$$(pwd)/debian/packit/usr/share/man + + +# 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_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# d_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- packit-1.0.orig/debian/copyright +++ packit-1.0/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by LaMont Jones + +It was downloaded from http://www.intrusense.com/software/packit/ . + +Upstream Author: Darren Bounds + +Copyright: + +This program is copyright under the GNU Public License 2 (GPL), a copy +of which may be found in /usr/share/common-licenses/GPL-2 --- packit-1.0.orig/debian/compat +++ packit-1.0/debian/compat @@ -0,0 +1 @@ +5 --- packit-1.0.orig/configure.in +++ packit-1.0/configure.in @@ -130,7 +130,7 @@ AC_CHECK_TYPE(u_int64_t, unsigned long long) dnl Checks for header files. -AC_CHECK_HEADERS(signal.h net/bpf.h sys/time.h) +AC_CHECK_HEADERS(signal.h pcap-bpf.h sys/time.h) AC_ARG_WITH(libnet_includes, [ --with-libnet-includes=DIR libnet include directory],