[Forensics-changes] [chaosreader] 01/01: debian directory - first commit.

Eriberto Mota eriberto-guest at moszumanska.debian.org
Sun Dec 29 02:46:55 UTC 2013


This is an automated email from the git hooks/post-receive script.

eriberto-guest pushed a commit to branch debian
in repository chaosreader.

commit 349c0d91fc1a0f9ba37a80b015c69b2aa0a0e013
Author: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
Date:   Sun Dec 29 00:45:42 2013 -0200

    debian directory - first commit.
---
 debian/README.source                 |  2 ++
 debian/changelog                     | 21 ++++++++++++++++++
 debian/chaosreader.1.t2t             | 33 ++++++++++++++++++++++++++++
 debian/chaosreader.manpages          |  1 +
 debian/compat                        |  1 +
 debian/control                       | 29 +++++++++++++++++++++++++
 debian/copyright                     | 42 ++++++++++++++++++++++++++++++++++++
 debian/manpages/chaosreader.1        | 34 +++++++++++++++++++++++++++++
 debian/patches/01-fix-division.patch | 14 ++++++++++++
 debian/patches/02-fix-old-perl.patch | 15 +++++++++++++
 debian/patches/series                |  2 ++
 debian/rules                         |  7 ++++++
 debian/upstream.changelog            | 13 +++++++++++
 debian/watch                         |  2 ++
 14 files changed, 216 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..e539a12
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+This package uses quilt to fix some errors. To know more about quilt see
+/usr/share/doc/quilt/README.source file.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5782a87
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,21 @@
+chaosreader (0.94-1) unstable; urgency=low
+
+  [ Joao Eriberto Mota Filho ]
+  * Initial release (Closes: #496228).
+
+  [ Daniel Baumann ]
+  * Prefixing debhelper files with package name.
+  * Using quilt rather than dpatch.
+  * Simply install target in rules file.
+  * Adding missing targets in rules file to make it policy conformant.
+  * Sorting package relations in control file.
+  * Adding manual depends on perl.
+  * Adding vcs fields in control file.
+  * Forgot to adjust series file.
+  * Adding lintian overrides.
+  * Using dedicated manpage debhelper file to install manpages.
+  * Rewriting copyright file in machine-interpretable format.
+  * Minimizing rules file.
+  * Simplify install target override.
+
+ -- Daniel Baumann <daniel at debian.org>  Tue, 28 Jul 2009 14:23:07 +0200
diff --git a/debian/chaosreader.1.t2t b/debian/chaosreader.1.t2t
new file mode 100644
index 0000000..250c476
--- /dev/null
+++ b/debian/chaosreader.1.t2t
@@ -0,0 +1,33 @@
+CHAOSREADER
+
+August 23, 2008
+
+= NAME =
+
+chaosreader - trace network sessions and export it to html format
+
+
+= DESCRIPTION =
+
+Chaosreader traces TCP/UDP/others sessions and fetches application data from
+snoop or tcpdump logs. This is a type of "any-snarf" program, as it will
+fetch telnet sessions, FTP files, HTTP transfers (HTML, GIF, JPEG etc) and
+SMTP emails from the captured data inside network traffic logs. A html index
+file is created to that links to all the session details, including realtime
+replay programs for telnet, rlogin, IRC, X11 and VNC sessions. Chaosreader
+reports such as image reports and HTTP GET/POST content reports.
+
+Chaosreader can also run in standalone mode, where it invokes tcpdump to
+create the log files and then processes them.
+
+
+= SEE ALSO =
+
+tcpdump(8), chaosreader help page.
+
+
+= AUTHORS =
+
+**chaosreader** was written by Brendan Gregg.
+
+This manual page was written by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>, using txt2tags (http://txt2tags.sourceforge.net), for the Debian project (but may be used by others).
diff --git a/debian/chaosreader.manpages b/debian/chaosreader.manpages
new file mode 100644
index 0000000..2fb19fb
--- /dev/null
+++ b/debian/chaosreader.manpages
@@ -0,0 +1 @@
+debian/manpages/*
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f75d8dc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: chaosreader
+Section: net
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
+Uploaders: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+Build-Depends: debhelper (>= 7), quilt
+Standards-Version: 3.8.2
+Homepage: http://chaosreader.sourceforge.net
+Vcs-Browser: http://git.debian.net/?p=debian-forensics/chaosreader.git
+Vcs-Git: git://git.debian.net/git/debian-forensics/chaosreader.git
+
+Package: chaosreader
+Architecture: all
+Depends: ${misc:Depends}, perl
+Recommends: tcpdump
+Suggests: wireshark
+Description: trace network sessions and export it to html format
+ Chaosreader traces TCP/UDP/others sessions and fetches application data from
+ snoop or tcpdump logs. This is a type of "any-snarf" program, as it will
+ fetch telnet sessions, FTP files, HTTP transfers (HTML, GIF, JPEG etc) and
+ SMTP emails from the captured data inside network traffic logs. A html index
+ file is created to that links to all the session details, including realtime
+ replay programs for telnet, rlogin, IRC, X11 and VNC sessions. Chaosreader
+ reports such as image reports and HTTP GET/POST content reports.
+ .
+ Chaosreader can also run in standalone mode, where it invokes tcpdump to
+ create the log files and then processes them.
+ .
+ Screenshots: http://www.brendangregg.com/chaosreader.html
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1487876
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Author: Brendan Gregg <brendan at sun.com>
+Download: http://chaosreader.sourceforge.net
+
+Files: *
+Copyright: (C) 2003-2004 Brendan Gregg <brendan at sun.com>
+License: GPL-2+
+ 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 Street, 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-2 file.
+
+Files: debian/*
+Copyright: (C) 2008-2009 Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+License: GPL-2+
+ 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 Street, 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-2 file.
diff --git a/debian/manpages/chaosreader.1 b/debian/manpages/chaosreader.1
new file mode 100644
index 0000000..5a629b4
--- /dev/null
+++ b/debian/manpages/chaosreader.1
@@ -0,0 +1,34 @@
+.TH "CHAOSREADER" 1 "August 23, 2008" ""
+
+.SH NAME
+.P
+chaosreader \- trace network sessions and export it to html format
+
+.SH DESCRIPTION
+.P
+Chaosreader traces TCP/UDP/others sessions and fetches application data from
+snoop or tcpdump logs. This is a type of "any\-snarf" program, as it will
+fetch telnet sessions, FTP files, HTTP transfers (HTML, GIF, JPEG etc) and
+SMTP emails from the captured data inside network traffic logs. A html index
+file is created to that links to all the session details, including realtime
+replay programs for telnet, rlogin, IRC, X11 and VNC sessions. Chaosreader
+reports such as image reports and HTTP GET/POST content reports.
+
+.P
+Chaosreader can also run in standalone mode, where it invokes tcpdump to
+create the log files and then processes them.
+
+.SH SEE ALSO
+.P
+tcpdump(8), chaosreader help page.
+
+.SH AUTHORS
+.P
+\fBchaosreader\fR was written by Brendan Gregg.
+
+.P
+This manual page was written by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>, 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 chaosreader.1.t2t
diff --git a/debian/patches/01-fix-division.patch b/debian/patches/01-fix-division.patch
new file mode 100644
index 0000000..02481d4
--- /dev/null
+++ b/debian/patches/01-fix-division.patch
@@ -0,0 +1,14 @@
+Author: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+Description: Avoid an error because a division by zero.
+
+diff -Naurp chaosreader.orig/chaosreader0.94 chaosreader/chaosreader0.94
+--- chaosreader.orig/chaosreader0.94	2009-07-09 12:15:01.000000000 +0000
++++ chaosreader/chaosreader0.94	2009-07-09 13:43:00.000000000 +0000
+@@ -4028,6 +4028,7 @@ END
+ 	   ### This causes the replay program to pause
+ 	   print REPLAY "ms($timediff1);\n";
+ 	}
++	$duration = 0.01 if $duration == 0;     # avoid divide by 0,
+ 	$speed = sprintf("%.2f",$bytes / (1024 * $duration));
+ 	print REPLAY "print \"\n\n" .
+ 	 "Summary: $duration2 seconds, $bytes bytes, $speed Kb/sec\\n\";";
diff --git a/debian/patches/02-fix-old-perl.patch b/debian/patches/02-fix-old-perl.patch
new file mode 100644
index 0000000..34e2d5c
--- /dev/null
+++ b/debian/patches/02-fix-old-perl.patch
@@ -0,0 +1,15 @@
+Author: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+Description: Remove line used by old perl.
+
+diff -Naurp chaosreader.orig/chaosreader0.94 chaosreader/chaosreader0.94
+--- chaosreader.orig/chaosreader0.94	2009-07-09 12:15:01.000000000 +0000
++++ chaosreader/chaosreader0.94	2009-07-09 13:43:24.000000000 +0000
+@@ -262,7 +262,7 @@ $| = 1;					# flush output
+ #  The following is needed for old perl5 multiline matching. New perl5 uses
+ #  a "/s" on the RE (which is used in this program as well).
+ #
+-$* = 1;					# old perl5
++#$* = 1;					# old perl5
+ 
+ #
+ #  These ports have been selected to be saved as coloured 2-way HTML files
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..93c32fc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01-fix-division.patch
+02-fix-old-perl.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..090e3f6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh ${@} --with quilt
+
+override_dh_auto_install:
+	install -D -m 0755 chaosreader0.94 debian/chaosreader/usr/bin/chaosreader
diff --git a/debian/upstream.changelog b/debian/upstream.changelog
new file mode 100644
index 0000000..3c1c6c7
--- /dev/null
+++ b/debian/upstream.changelog
@@ -0,0 +1,13 @@
+# Extracted from chaosreader source code
+# 28-Sep-2003	Brendan Gregg	Began writing this.
+# 08-Oct-2003	   "      "	Released version 0.7 beta
+# 09-Oct-2003	   "      "  	Added telnet replays
+# 12-Oct-2003	   "      "  	Added IRC ports and replays
+# 19-Oct-2003	   "      "  	Made code more robust on different OSs
+# 01-Nov-2003	   "	  "	Code cleanup, complex data types, IPv6, ICMP
+# 03-Nov-2003	   "	  "	Added Standalone mode, standalone redo, ...
+# 05-Nov-2003	   "	  "	Added Image indexes, GETPOST indexes
+# 15-Nov-2003	   "	  "	Added HTTP proxy style log, hex dumps
+# 27-Jan-2004	   "	  "	Released experimental X11 & VNC processing
+# 30-Mar-2004	   "	  "	802.11b, sorts, less RAM used, tun packets.
+# 01-May-2004	   "	  "	CLI enhanced, faster, SSH analysis.
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3d30a23
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/chaosreader/chaosreader-(.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/chaosreader.git



More information about the forensics-changes mailing list