--- libtrace3-3.0.7.orig/debian/libtrace3.dirs
+++ libtrace3-3.0.7/debian/libtrace3.dirs
@@ -0,0 +1 @@
+usr/lib
--- libtrace3-3.0.7.orig/debian/libtrace3.install
+++ libtrace3-3.0.7/debian/libtrace3.install
@@ -0,0 +1 @@
+usr/lib/libtrace*.so.*
--- libtrace3-3.0.7.orig/debian/libtrace-tools.install
+++ libtrace3-3.0.7/debian/libtrace-tools.install
@@ -0,0 +1,2 @@
+usr/bin/*
+usr/share/man/man1/*
--- libtrace3-3.0.7.orig/debian/control
+++ libtrace3-3.0.7/debian/control
@@ -0,0 +1,89 @@
+Source: libtrace3
+Priority: optional
+Maintainer: Matt Brown <mattb@debian.org>
+Build-Depends: debhelper (>= 5.0.0), autoconf, automake, libtool, autotools-dev,
+ libpcap0.8-dev, zlib1g-dev, flex, bison
+Build-Conflicts: autoconf2.13, automake1.4
+Standards-Version: 3.9.1
+Section: libs
+Homepage: http://research.wand.net.nz/software/libtrace.php
+
+Package: libtrace3-dev
+Section: libdevel
+Architecture: any
+Depends: libtrace3 (= ${binary:Version}), libpcap0.8-dev, zlib1g-dev,
+ ${misc:Depends}
+Provides: libtrace-dev
+Conflicts: libtrace-dev
+Description: development headers for the libtrace network processing library
+ This package contains development headers and other ancillary files for
+ the libtrace library.
+ .
+ libtrace is a library for trace processing. It supports multiple input
+ methods, including device capture, raw and gz-compressed trace, and sockets;
+ and mulitple input formats, including pcap and DAG.
+ .
+ libtrace is developed by the WAND Network Research Group at Waikato
+ University in New Zealand.
+
+Package: libtrace3
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: network trace processing library supporting many input formats
+ libtrace is a library for trace processing. It supports multiple input
+ methods, including device capture, raw and gz-compressed trace, and sockets;
+ and multiple input formats.
+ .
+ libtrace is developed by the WAND Network Research Group at Waikato
+ University in New Zealand.
+
+Package: libpacketdump3-dev
+Section: libdevel
+Architecture: any
+Depends: libpacketdump3 (= ${binary:Version}), ${misc:Depends}
+Provides: libpacketdump-dev
+Conflicts: libpacketdump-dev
+Description: development headers for the libtrace network processing library
+ This package contains development headers and other ancillary files for
+ the libpacketdump library.
+ .
+ libtrace is a library for trace processing. It supports multiple input
+ methods, including device capture, raw and gz-compressed trace, and sockets;
+ and mulitple input formats, including pcap and DAG.
+ .
+ libpacketdump provides decoders to dump the contents of packets in human
+ readable form.
+ .
+ libtrace is developed by the WAND Network Research Group at Waikato
+ University in New Zealand.
+
+Package: libpacketdump3
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: network trace processing library supporting many input formats
+ libtrace is a library for trace processing. It supports multiple input
+ methods, including device capture, raw and gz-compressed trace, and sockets;
+ and multiple input formats.
+ .
+ libpacketdump provides decoders to dump the contents of packets in human
+ readable form.
+ .
+ libtrace is developed by the WAND Network Research Group at Waikato
+ University in New Zealand.
+
+
+Package: libtrace-tools
+Section: net
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: helper utilities for use with the libtrace process library
+ libtrace is a library for trace processing. These tools perform many common
+ tasks that are required when analysing and manipulating network traces.
+ .
+ Multiple input methods and formats are supported including device capture,
+ raw and gz-compressed traces, and sockets.
+ .
+ libtrace is developed by the WAND Network Research Group at Waikato
+ University in New Zealand.
--- libtrace3-3.0.7.orig/debian/libtrace-tools.dirs
+++ libtrace3-3.0.7/debian/libtrace-tools.dirs
@@ -0,0 +1 @@
+usr/bin
--- libtrace3-3.0.7.orig/debian/libpacketdump3.install
+++ libtrace3-3.0.7/debian/libpacketdump3.install
@@ -0,0 +1,3 @@
+usr/lib/libpacketdump*.so.*
+usr/lib/libpacketdump/*.so.*
+usr/lib/libpacketdump/*.protocol
--- libtrace3-3.0.7.orig/debian/libpacketdump3-dev.dirs
+++ libtrace3-3.0.7/debian/libpacketdump3-dev.dirs
@@ -0,0 +1,3 @@
+usr/lib
+usr/lib/libpacketdump
+usr/include
--- libtrace3-3.0.7.orig/debian/autogen.sh
+++ libtrace3-3.0.7/debian/autogen.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# debian autogen.sh glue for libtrace3
+#
+set -e
+
+# Refresh GNU autotools toolchain.
+echo Cleaning autotools files...
+find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \;
+find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
+ -o -name depcomp -o -name ltmain.sh -o -name configure \
+ -o -name config.sub -o -name config.guess \
+ -o -name Makefile.in \) -print0 | xargs -0 rm -f
+
+echo Running autoreconf...
+mkdir m4
+autoreconf --force --install
+
+# For the Debian package build
+test -d debian && {
+ # link these in Debian builds
+ rm -f config.sub config.guess
+ ln -s /usr/share/misc/config.sub .
+ ln -s /usr/share/misc/config.guess .
+}
+exit 0
--- libtrace3-3.0.7.orig/debian/libtrace3-dev.dirs
+++ libtrace3-3.0.7/debian/libtrace3-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- libtrace3-3.0.7.orig/debian/libtrace3-dev.install
+++ libtrace3-3.0.7/debian/libtrace3-dev.install
@@ -0,0 +1,4 @@
+usr/include/libtrace*
+usr/lib/libtrace*.so
+usr/lib/libtrace*.a
+usr/lib/libtrace*.la
--- libtrace3-3.0.7.orig/debian/copyright
+++ libtrace3-3.0.7/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Matt Brown <debian@mattb.net.nz> on
+Thu, 13 Oct 2005 00:28:25 +1300.
+
+It was downloaded from http://research.wand.net.nz/software/libtrace.php
+
+Copyright Holder:
+
+Copyright (c) 2004 The University of Waikato, Hamilton, New Zealand.
+
+License:
+
+ This package 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 package 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 package; 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'.
+
--- libtrace3-3.0.7.orig/debian/libpacketdump3-dev.install
+++ libtrace3-3.0.7/debian/libpacketdump3-dev.install
@@ -0,0 +1,7 @@
+usr/include/libpacketdump*
+usr/lib/libpacketdump*.so
+usr/lib/libpacketdump*.a
+usr/lib/libpacketdump*.la
+usr/lib/libpacketdump/*.a
+usr/lib/libpacketdump/*.la
+usr/lib/libpacketdump/*.so
--- libtrace3-3.0.7.orig/debian/compat
+++ libtrace3-3.0.7/debian/compat
@@ -0,0 +1 @@
+5
--- libtrace3-3.0.7.orig/debian/libpacketdump3.dirs
+++ libtrace3-3.0.7/debian/libpacketdump3.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/lib/libpacketdump
--- libtrace3-3.0.7.orig/debian/rules
+++ libtrace3-3.0.7/debian/rules
@@ -0,0 +1,114 @@
+#!/usr/bin/make -f
+
+# 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)
+CONFFLAGS =
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+ CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
+else
+ CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+libtrace_backup.h:
+ # libtrace.h is modified by the build, so back it up so it can be restored
+ # by the clean target
+ cp lib/libtrace.h libtrace_backup.h
+
+configure:
+ chmod +x debian/autogen.sh
+ debian/autogen.sh
+
+configure-stamp: configure libtrace_backup.h
+ dh_testdir
+
+ ln -sf /usr/share/misc/config.sub .
+ ln -sf /usr/share/misc/config.guess .
+ rm -f config.cache
+
+ CFLAGS="$(CFLAGS)" ./configure $(CONFFLAGS) \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info
+
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ [ ! -f Makefile ] || $(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) distclean
+ find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \;
+ -rm -f platform.h auto-include.h
+ find -type d -name build -o -name m4 -print0 | xargs -0 -r rm -rf \;
+ find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
+ -o -name depcomp -o -name ltmain.sh -o -name configure \
+ -o -name config.sub -o -name config.guess -o -name config.log \
+ -o -name Makefile.in \) -print0 | xargs -0 rm -f
+
+ [ ! -f libtrace_backup.h ] || mv libtrace_backup.h lib/libtrace.h
+ rm -rf docs/doxygen
+
+ 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 DESTDIR=$(CURDIR)/debian/tmp
+
+
+# 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_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_install --sourcedir=debian/tmp
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ 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
--- libtrace3-3.0.7.orig/debian/changelog
+++ libtrace3-3.0.7/debian/changelog
@@ -0,0 +1,57 @@
+libtrace3 (3.0.7-1) unstable; urgency=low
+
+ * New upstream release
+ - Improved IO subsystem performance
+ - Many, many bugfixes and improvements
+ - Full details at http://wand.net.nz/trac/libtrace/wiki/ChangeLog
+ * Add missing ${misc:Depends} Depends for libtrace3-dev and
+ libpacketdump3-dev
+ * Update Standards-Version to 3.9.1 (no changes required).
+
+ -- Matt Brown <mattb@debian.org> Sat, 07 Aug 2010 16:37:12 +0100
+
+libtrace3 (3.0.6-1) unstable; urgency=low
+
+ * New upstream release
+ - extra stblib.h includes. (Closes: #521985)
+ * Reworked debian/rules and autotools handling per the recommendations in
+ the autotools-dev package to assist porters. (Closes: #529463)
+
+ -- Matt Brown <mattb@debian.org> Wed, 27 May 2009 00:31:54 +0100
+
+libtrace3 (3.0.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Split libpacketdump out into it's own library.
+ * Update Standards-Version to 3.7.3 (no changes required).
+
+ -- Matt Brown <mattb@debian.org> Sun, 20 Jan 2008 01:16:13 +0000
+
+libtrace3 (3.0.3-1) unstable; urgency=low
+
+ * New upstream release
+ * tracedump renamed to tracepktdump to avoid conflicting with ltt-vizualizer
+ (Closes: #414999)
+
+ -- Matt Brown <mattb@debian.org> Sat, 29 Sep 2007 19:44:14 +0100
+
+libtrace3 (3.0.0-2) unstable; urgency=low
+
+ * Move /usr/lib/libpacketdump/*.{a,la} to the -dev package
+ * Install /usr/lib/libpacketdump/*.so symlinks in the -dev package
+
+ -- Matt Brown <mattb@debian.org> Thu, 15 Feb 2007 23:13:05 +1300
+
+libtrace3 (3.0.0-1) unstable; urgency=low
+
+ * New upstream release. Now out of beta status.
+ * Initial upload to Debian. (Closes: #394825)
+
+ -- Matt Brown <mattb@debian.org> Mon, 12 Feb 2007 19:44:08 +1300
+
+libtrace3 (3.0.0~beta6-1) unstable; urgency=low
+
+ * New upstream release
+ * Renumber package with ~ so that the final release is bigger.
+
+ -- Matt Brown <mattb@debian.org> Thu, 26 Oct 2006 18:07:45 +1300