Imported Debian patch 1.0.1-9

parent 5ab10b26
tcpxtract for Debian
--------------------
You can add new file patterns inside /etc/tcpxtract.conf to allow the
tcpxtract finds new files.
There are several homepages listing file patterns. As a suggestion,
you can try the following sites:
- http://www.garykessler.net/library/file_sigs.html
- http://www.filesignatures.net
- http://www.file-recovery.com/signatures.htm
-- Joao Eriberto Mota Filho <eriberto@debian.org> Sun, 25 Oct 2015 17:24:26 -0200
The changes to the upstream source of this Debian package are managed by the
patch management system 'quilt'. See the dpatch documentation at
/usr/share/doc/quilt/README.source for further information on how to
comfortably create new patches or edit existing ones.
-- Nico Golde, 17 October 2010
tcpxtract (1.0.1-9) unstable; urgency=medium
* New maintainer. Thanks to Nico Golde for all work around this package.
(Closes: #800754)
* Migrations:
- debian/copyright to 1.0 format.
- debian/rules to new (reduced) format.
- DH level to 9.
- Using dh-autoreconf now. (Closes: #727984)
* debian/control:
- Added the Vcs-* fields.
- Bumped Standards-Version to 3.9.6.
- Improved the long description.
- Removed quilt from Build-Depends field.
* debian/copyright: updated all information.
* debian/patches:
- Renamed:
~ 01_fixmanpage.patch to 10_fixmanpage.patch.
~ tcpxtract-fix-segfault.patch to 20_tcpxtract-fix-segfault.patch.
~ fix-excessive-sync.patch to 30_fix-excessive-sync.patch.
~ 02-fix_png_header_bytes.patch to 40_fix_png_header_bytes.patch.
- Added the 'Last-Update' field to 10_fixmanpage.patch.
- Remade the header of the 20_tcpxtract-fix-segfault.patch,
30_fix-excessive-sync.patch and 40_fix_png_header_bytes.patch.
* debian/README.Debian: added to provide a new tip for users.
* debian/README.source: the notice in this file is (now) obsolete. Removed.
* debian/watch: improved.
-- Joao Eriberto Mota Filho <eriberto@debian.org> Sun, 25 Oct 2015 17:24:26 -0200
tcpxtract (1.0.1-8) unstable; urgency=low
* Fix incorrect PNG header magic values (Closes: #649249).
......@@ -19,7 +49,7 @@ tcpxtract (1.0.1-6) unstable; urgency=low
- Adapted README.source.
* Switch to dpkg-source 3.0 (quilt) format
* Add patch by Chow Loong Jin to prevent segfaults due to missing
null initilizations (Closes: #599746).
null initializations (Closes: #599746).
-- Nico Golde <nion@debian.org> Sun, 17 Oct 2010 18:26:09 +0200
......
Source: tcpxtract
Section: net
Priority: optional
Maintainer: Nico Golde <nion@debian.org>
Build-Depends: debhelper (>= 7.0.0), autotools-dev, libpcap0.8-dev, flex, quilt
Standards-Version: 3.9.2
Maintainer: Joao Eriberto Mota Filho <eriberto@debian.org>
Build-Depends: debhelper (>= 9), dh-autoreconf, flex, libpcap0.8-dev
Standards-Version: 3.9.6
Homepage: http://tcpxtract.sf.net
Vcs-Git: git://anonscm.debian.org/collab-maint/tcpxtract.git
Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/tcpxtract.git
Package: tcpxtract
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: extracts files from network traffic based on file signatures
Description: extract files from network traffic based on file signatures
tcpxtract is a fast console tool to extract files from network traffic
based on file headers and footers (so called carving).
26 file formats are supported out of the box by tcpxtract but new formats
can be added without problems.
Foremost configurations are simple to convert to tcpxtracts configuration
files.
based on file headers and footers and its patterns (so called carving).
.
It uses libpcap and it can be used with tcpdump files.
Currently, 26 file formats are supported out of the box by tcpxtract but
new formats can be added without problems. Foremost configurations are
simple to convert to tcpxtract configuration files.
.
tcpxtract uses libpcap. So, it can read network dumps generated by tcpdump
or wireshark or similar programs. tcpxtract is useful in network auditing
and for forensics investigations.
This package was debianized by Nico Golde <nion@debian.org> on
Sun, 16 Oct 2005 19:49:29 +0200.
It was downloaded from http://tcpxtract.sf.net
Upstream Author: Nick Harbour <nickharbour@gmail.com>
Copyright: Copyright (C) 2005 Nick Harbour <nickharbour@gmail.com>
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; version 2 dated June, 1991.
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 GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
The Debian packaging is Copyright (C) 2005-2009, Nico Golde <nion@debian.org> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tcpxtract
Source: http://tcpxtract.sf.net
Files: *
Copyright: 2005 Nicholas Harbour <nickharbour@gmail.com, harbourn@users.sf.net>
License: GPL-2+
Files: confy.c
confy.h
Copyright: 1984-2003 Free Software Foundation, Inc.
2005 Nicholas Harbour <nickharbour@gmail.com, harbourn@users.sf.net>
License: GPL-2+
Files: debian/*
Copyright: 2005-2011 Nico Golde <nion@debian.org>
2015 Joao Eriberto Mota Filho <eriberto@debian.org>
License: GPL-2+
License: GPL-2+
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 program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
From: Nico Golde <nion@debian.org>
Description: Remove version and upstream specific notes from manual page
diff -urNad tcpxtract-1.0.1~/tcpxtract.1 tcpxtract-1.0.1/tcpxtract.1
--- tcpxtract-1.0.1~/tcpxtract.1 2005-10-06 03:53:57.000000000 +0200
+++ tcpxtract-1.0.1/tcpxtract.1 2009-10-01 19:04:07.000000000 +0200
Description: remove version and upstream specific notes from manual page.
Author: Nico Golde <nion@debian.org>
Last-Update: 2009-10-01
Index: tcpxtract-1.0.1/tcpxtract.1
===================================================================
--- tcpxtract-1.0.1.orig/tcpxtract.1
+++ tcpxtract-1.0.1/tcpxtract.1
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
.TH TCPXTRACT "1" "October 2005" "tcpxtract v1.0.1" "User Commands"
......@@ -12,7 +14,7 @@ diff -urNad tcpxtract-1.0.1~/tcpxtract.1 tcpxtract-1.0.1/tcpxtract.1
.SH SYNOPSIS
.B tcpxtract
[\fIOPTIONS\fR] [[\fI-d <DEVICE>\fR] [\fI-f <FILE>\fR]]
@@ -25,15 +25,3 @@
@@ -25,15 +25,3 @@ display the version number of this progr
.TP
\fB\-\-help\fR, \fB\-h\fR
display this lovely screen
......
From: Chow Loong Jin <hyperair@ubuntu.com>
Description: fix segfaults due to uninitialized variables.
Bug: http://bugs.debian.org/599746
Description: fix segfaults due to uninitialized variables
--- tcpxtract-1.0.1/sessionlist.c 2005-10-04 22:50:03.000000000 +0800
+++ tcpxtract-1.0.1-new/sessionlist.c 2010-10-11 03:14:18.071445668 +0800
@@ -62,6 +62,10 @@
Author: Chow Loong Jin <hyperair@ubuntu.com>
Last-Update: 2010-10-11
Index: tcpxtract-1.0.1/sessionlist.c
===================================================================
--- tcpxtract-1.0.1.orig/sessionlist.c
+++ tcpxtract-1.0.1/sessionlist.c
@@ -62,6 +62,10 @@ slist_t *add_session(slist_t **slist, co
(*last_slist)->prev = slist_ptr;
(*last_slist)->next = NULL;
(*last_slist)->srchptr_list = NULL;
......@@ -15,9 +17,11 @@ Description: fix segfaults due to uninitialized variables
return *last_slist;
}
--- tcpxtract-1.0.1/tcpxtract.c 2005-10-06 09:44:39.000000000 +0800
+++ tcpxtract-1.0.1-new/tcpxtract.c 2010-10-11 03:03:52.741420701 +0800
@@ -237,7 +237,7 @@
Index: tcpxtract-1.0.1/tcpxtract.c
===================================================================
--- tcpxtract-1.0.1.orig/tcpxtract.c
+++ tcpxtract-1.0.1/tcpxtract.c
@@ -237,7 +237,7 @@ int main(int argc, char *argv[])
{
int c;
char *capfname = NULL; /* Capture file for input */
......@@ -26,7 +30,7 @@ Description: fix segfaults due to uninitialized variables
char errbuf[PCAP_ERRBUF_SIZE]; /* Error buffer */
struct bpf_program filter; /* hold compiled program */
@@ -283,7 +283,7 @@
@@ -283,7 +283,7 @@ int main(int argc, char *argv[])
break;
case 'o':
if (optarg[strlen(optarg) - 1] != '/') {
......
From: Nico Golde <nion@debian.org>
Description: remove excessive sync calls causing lots of disk activity and
replace by fsync on closing the file.
Bug: http://bugs.debian.org/623140
Description: remove excessive sync calls causing lots of disk activity and replace by fsync on closing the file.
Author: Nico Golde <nion@debian.org>
Last-Update: 2011-04-19
Index: tcpxtract-1.0.1/extract.c
===================================================================
--- tcpxtract-1.0.1.orig/extract.c 2011-04-19 16:07:25.000000000 +0200
+++ tcpxtract-1.0.1/extract.c 2011-04-19 16:10:21.000000000 +0200
@@ -163,7 +163,6 @@
--- tcpxtract-1.0.1.orig/extract.c
+++ tcpxtract-1.0.1/extract.c
@@ -163,7 +163,6 @@ static void extract_segment(extract_list
error("Quiting.");
}
elist->nwritten += nbytes;
......@@ -14,7 +15,7 @@ Index: tcpxtract-1.0.1/extract.c
}
/* remove all finished extracts from the list */
@@ -182,6 +181,8 @@
@@ -182,6 +181,8 @@ static void sweep_extract_list(extract_l
eptr->next->prev = eptr->prev;
if (*elist == eptr)
*elist = eptr->next;
......
Fix incorrect magic byte values for png headers
Description: fix incorrect magic byte values for png headers.
Bug: #649249
Author: Nico Golde <nion@debian.org>
Last-Update: 2011-11-19
Index: tcpxtract-1.0.1/tcpxtract.conf
===================================================================
--- tcpxtract-1.0.1.orig/tcpxtract.conf 2011-11-19 12:50:13.000000000 +0100
+++ tcpxtract-1.0.1/tcpxtract.conf 2011-11-19 12:50:35.000000000 +0100
@@ -30,7 +30,7 @@
--- tcpxtract-1.0.1.orig/tcpxtract.conf
+++ tcpxtract-1.0.1/tcpxtract.conf
@@ -30,7 +30,7 @@ jpg(1000000, \xff\xd8\xff\xe0\x00\x10, \
jpg(1000000, \xff\xd8\xff\xe1);
# PNG (used in web pages)
......
01_fixmanpage.patch
tcpxtract-fix-segfault.patch
fix-excessive-sync.patch
02-fix_png_header_bytes.patch
10_fixmanpage.patch
20_tcpxtract-fix-segfault.patch
30_fix-excessive-sync.patch
40_fix_png_header_bytes.patch
#!/usr/bin/make -f
#export DH_VERBOSE=1
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -DDEFAULT_CONFIG_FILE=\"/etc/tcpxtract.conf\"
CFLAGS += -DDEFAULT_CONFIG_FILE=\\\"/etc/tcpxtract.conf\\\" -Wall -g -Wl,-z,defs
include /usr/share/quilt/quilt.make
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
config.status: patch configure
dh_testdir
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --bindir=/usr/sbin
build: build-stamp
build-stamp: config.status
dh_testdir
$(MAKE)
touch build-stamp
clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp config.guess
#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
# cp -f /usr/share/misc/config.sub config.sub
#endif
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/tcpxtract
# Build architecture-independent files here.
binary-indep: build install
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs AUTHORS
dh_installman
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
%:
dh $@ --with autoreconf
version=3
http://sf.net/tcpxtract/tcpxtract-(.+)\.tar\.gz
http://sf.net/tcpxtract/tcpxtract-(\d\S+)\.tar\.(?:bz2|gz|xz)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment