--- libpcapnav-0.8.orig/debian/changelog +++ libpcapnav-0.8/debian/changelog @@ -0,0 +1,12 @@ +libpcapnav (0.8-1ubuntu1) trusty; urgency=medium + + * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by + getting new libtool macros (still updates config.{sub,guess}). + + -- Logan Rosen Sat, 04 Jan 2014 17:20:00 -0500 + +libpcapnav (0.8-1) unstable; urgency=low + + * Initial release (Closes: #535206) + + -- Joao Eriberto Mota Filho Tue, 30 Jun 2009 11:55:39 -0300 --- libpcapnav-0.8.orig/debian/compat +++ libpcapnav-0.8/debian/compat @@ -0,0 +1 @@ +7 --- libpcapnav-0.8.orig/debian/contrib/pcapnav-config.1.t2t +++ libpcapnav-0.8/debian/contrib/pcapnav-config.1.t2t @@ -0,0 +1,23 @@ +PCAPNAV-CONFIG + +June 30,2009 + += NAME = + +pcapnav-config - write libpcapnav compiler and linker flags to standard output + += SYNOPSIS = + +pcapnav-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] + += DESCRIPTION = + +When run with the --cflags option, pcapnav-config writes to the standard output the -I compiler flags required +to include libpcap’s header files. When run with the --libs option, pcapnav-config writes to the standard output +the -L and -l linker required to link with libpcapnav, including -l flags for libraries required by libpcapnav. + += AUTHORS = + +**libpcapnav** was written by Christian Kreibich. + +This manual page was written by Joao Eriberto Mota Filho , using txt2tags (http://txt2tags.sourceforge.net), for the Debian project (but may be used by others). --- libpcapnav-0.8.orig/debian/control +++ libpcapnav-0.8/debian/control @@ -0,0 +1,32 @@ +Source: libpcapnav +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Joao Eriberto Mota Filho +Build-Depends: debhelper (>= 7), dh-autoreconf, libpcap0.8-dev +Standards-Version: 3.8.2 +Section: libs +Homepage: http://netdude.sourceforge.net + +Package: libpcapnav0-dev +Section: libdevel +Architecture: any +Depends: libpcapnav0 (= ${binary:Version}) +Description: development files for libpcapnav + libpcap wrapper library that allows navigation to arbitrary packets in a + tcpdump trace file between reads, using timestamps or percentage offsets. + . + It was originally based on Vern Paxson's tcpslice tool. + . + This package contains the files needed to compile and link programs that + use libpcapnav. + +Package: libpcapnav0 +Architecture: any +Depends: ${shlibs:Depends} +Description: wrapper to libpcap + libpcap wrapper library that allows navigation to arbitrary packets in a + tcpdump trace file between reads, using timestamps or percentage offsets. + . + It was originally based on Vern Paxson's tcpslice tool. + . + This package contains the shared library. --- libpcapnav-0.8.orig/debian/copyright +++ libpcapnav-0.8/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Joao Eriberto Mota Filho + on Tue, 30 Jun 2009 11:55:39 -0300. + +It was downloaded from http://netdude.sourceforge.net/download.html + +Upstream Author: Christian Kreibich + +Copyright: (C) 2003-2007 Christian Kreibich, Vern Paxson and Aaron Turner. + +License: + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies of the Software and its documentation and acknowledgment shall be + given in the documentation and software packages that this Software was + used. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +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 version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2009 Joao Eriberto Mota Filho + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. --- libpcapnav-0.8.orig/debian/libpcapnav0-dev.docs +++ libpcapnav-0.8/debian/libpcapnav0-dev.docs @@ -0,0 +1,2 @@ +README +docs/html --- libpcapnav-0.8.orig/debian/libpcapnav0-dev.install +++ libpcapnav-0.8/debian/libpcapnav0-dev.install @@ -0,0 +1,5 @@ +usr/bin/pcapnav-config +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/*.la --- libpcapnav-0.8.orig/debian/libpcapnav0.install +++ libpcapnav-0.8/debian/libpcapnav0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libpcapnav-0.8.orig/debian/libpcapnav0.symbols +++ libpcapnav-0.8/debian/libpcapnav0.symbols @@ -0,0 +1,57 @@ +libpcapnav.so.0 libpcapnav0 #MINVER# + __pcapnav_buf_fill@Base 0.8 + __pcapnav_buf_free@Base 0.8 + __pcapnav_buf_get_offset@Base 0.8 + __pcapnav_buf_get_pointer_offset@Base 0.8 + __pcapnav_buf_get_size@Base 0.8 + __pcapnav_buf_move_end@Base 0.8 + __pcapnav_buf_move_pointer@Base 0.8 + __pcapnav_buf_new@Base 0.8 + __pcapnav_buf_pointer_valid@Base 0.8 + __pcapnav_buf_set_end@Base 0.8 + __pcapnav_buf_set_pointer@Base 0.8 + __pcapnav_header_extract@Base 0.8 + __pcapnav_header_reasonable@Base 0.8 + __pcapnav_header_search@Base 0.8 + __pcapnav_trace_find_end@Base 0.8 + __pcapnav_trace_find_packet_at_offset@Base 0.8 + __pcapnav_trace_find_packet_at_timestamp@Base 0.8 + __pcapnav_trace_find_start@Base 0.8 + __pcapnav_util_timeval_add@Base 0.8 + __pcapnav_util_timeval_diff@Base 0.8 + __pcapnav_util_timeval_less_than@Base 0.8 + __pcapnav_util_timeval_sub@Base 0.8 + pcapnav_append_fast@Base 0.8 + pcapnav_append_safe@Base 0.8 + pcapnav_close@Base 0.8 + pcapnav_debug_enter@Base 0.8 + pcapnav_debug_return@Base 0.8 + pcapnav_debuggable@Base 0.8 + pcapnav_dispatch@Base 0.8 + pcapnav_dump_open@Base 0.8 + pcapnav_get_current_timestamp@Base 0.8 + pcapnav_get_file_header@Base 0.8 + pcapnav_get_offset@Base 0.8 + pcapnav_get_pkthdr_size@Base 0.8 + pcapnav_get_size@Base 0.8 + pcapnav_get_space_fraction@Base 0.8 + pcapnav_get_span@Base 0.8 + pcapnav_get_time_fraction@Base 0.8 + pcapnav_get_timespan@Base 0.8 + pcapnav_get_timestamp@Base 0.8 + pcapnav_geterr@Base 0.8 + pcapnav_goto_fraction@Base 0.8 + pcapnav_goto_offset@Base 0.8 + pcapnav_goto_timestamp@Base 0.8 + pcapnav_has_next@Base 0.8 + pcapnav_init@Base 0.8 + pcapnav_loop@Base 0.8 + pcapnav_next@Base 0.8 + pcapnav_open_offline@Base 0.8 + pcapnav_pcap@Base 0.8 + pcapnav_runtime_options@Base 0.8 + pcapnav_set_offset@Base 0.8 + pcapnav_timeval_add@Base 0.8 + pcapnav_timeval_cmp@Base 0.8 + pcapnav_timeval_init@Base 0.8 + pcapnav_timeval_sub@Base 0.8 --- libpcapnav-0.8.orig/debian/pcapnav-config.3 +++ libpcapnav-0.8/debian/pcapnav-config.3 @@ -0,0 +1,26 @@ +.TH "PCAPNAV-CONFIG" 3 "June 30,2009" "" + +.SH NAME +.P +pcapnav\-config \- write libpcapnav compiler and linker flags to standard output + +.SH SYNOPSIS +.P +pcapnav\-config [\-\-prefix[=DIR]] [\-\-exec\-prefix[=DIR]] [\-\-version] [\-\-libs] [\-\-cflags] + +.SH DESCRIPTION +.P +When run with the \-\-cflags option, pcapnav\-config writes to the standard output the \-I compiler flags required +to include libpcap’s header files. When run with the \-\-libs option, pcapnav\-config writes to the standard output +the \-L and \-l linker required to link with libpcapnav, including \-l flags for libraries required by libpcapnav. + +.SH AUTHORS +.P +\fBlibpcapnav\fR was written by Christian Kreibich. + +.P +This manual page was written by Joao Eriberto Mota Filho , using txt2tags (http://txt2tags.sourceforge.net), for the Debian project (but may be used by others). + + +.\" man code generated by txt2tags 2.3 (http://txt2tags.sf.net) +.\" cmdline: txt2tags -t man pcapnav-config.1.t2t --- libpcapnav-0.8.orig/debian/rules +++ libpcapnav-0.8/debian/rules @@ -0,0 +1,61 @@ +#!/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) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +config.status: + dh_testdir + dh_autoreconf + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_autoreconf_clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + rm -rf $(CURDIR)/debian/tmp/usr/share/gtk-doc + +binary: binary-arch +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_install --fail-missing + dh_installman debian/pcapnav-config.3 + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: +.PHONY: build clean binary-indep binary-arch binary install --- libpcapnav-0.8.orig/debian/watch +++ libpcapnav-0.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/netdude/libpcapnav-(.*)\.tar\.gz