--- collectl-3.6.3.orig/debian/dirs
+++ collectl-3.6.3/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
--- collectl-3.6.3.orig/debian/copyright
+++ collectl-3.6.3/debian/copyright
@@ -0,0 +1,21 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Collectl
+Source: http://collectl.sourceforge.net/
+
+Files: *
+Copyright:	2003-2009 Hewlett-Packard Development Company, L.P.
+License: GPL-2 or Artistic
+
+License: GPL-2
+    On Debian systems, the complete text of the GNU General Public License can
+    be found in `/usr/share/common-licenses/GPL-2'.
+    
+License: Artistic
+    On Debian systems, the complete text of the Artistic Public License can be
+    found in `/usr/share/common-licenses/Artistic'
+
+Files: debian/*
+Copyright: 2011 Troy Heber <troyh@debian.org>
+License: GPL-2
+    On Debian systems, the complete text of the GNU General Public License can
+    be found in `/usr/share/common-licenses/GPL-2'.
--- collectl-3.6.3.orig/debian/changelog
+++ collectl-3.6.3/debian/changelog
@@ -0,0 +1,116 @@
+collectl (3.6.3-1.2.201403172203) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Mon, 17 Mar 2014 22:03:27 +0100
+
+collectl (3.6.3-1) unstable; urgency=low
+
+  * New upstream release 3.6.3
+  * finally remembered to remove readS from the kit 
+  * when filtering a process by the fill path with 'f', never include collec
+    itself
+  * documented utime in manpage
+  * if -i0 set $DefNetSpeed to 0 so we don't throw any 'bogus' network speed
+    messages
+  * new switches, --rawdiskfilt and --rawnetfilt, allow one to filter
+    disks/nets at time of data collection so they never appear in raw file
+  * added call to IntervalEnd() (if it exists) for --import
+  * add option timeout to --address when connecting back to explicit address
+  * moved code that deal with fractional intervals and !HiRes closer to othe
+    interval processing
+  * added 'strict' to snmp module as well as 'help' option: snmp,h
+  * fixed problems with --import
+  * if --import is used to generate detail data with -f and -P not specifi
+    collectl throws an error trying to close the detail log which clearly
+    hasn't been created
+  * when using interval other than the defaul AND -s-all, blank lines are
+    printed for standard intervals which don't have imported data.  this
+    applied to brief, verbose AND detail data
+  * added some more systems to envrules: Proliant SL230 /SL250 Gen 8 and SE1
+  * fixed serious bug introduced a number of versions ago, which during
+    playback of multiple files and specifying date/time caused collectl to
+    continue reading first timestamp in each file and generating 'uninit
+    variable' errors.  not harmful, but inefficient and ugly!
+  * added exit codes of 0/1 to all the exit points
+  * moved help text for --stats from basic to extended
+  * found $file=~/rawp/ near line 1440 clearing $1, $2 and $3 and so $prefix
+    $fileDate and $fileTime were not getting set correctly
+  * clarified 'No files processed' message to be a little more explicit
+  * broaden where collectl looks for lustre modules and also fixed a typo of
+    $lustops to $lustOpts
+  * procAnalize incorrectly totaling fault totals instead if interval values
+  * optimize new pid processing with --procfilt
+  * add new pids to pidSkip{} as appropriate
+  * undef pidSkip{} whenever pids wrap
+  * added hello.ph and graphite.ph to INSTALL
+  * was incorrectly setting DiskFilterFlag to 1 all the time, even when not
+    overridden in collectl.conf.  while not a bug, it does cause a slight
+    increase in overhead
+
+
+ -- Troy Heber <troyh@debian.org>  Thu, 24 May 2012 09:41:42 -0600
+
+collectl (3.6.1-1) unstable; urgency=low
+
+  * New upstream release 3.6.1
+  * removed --ssh switch, making detecting the parent going away the default
+    behavior
+  * added switch --nohup which will allows collectl to continue running if
+    parent exits, which is more consistent with how *-nohup itself works
+  * in logmsg ONLY write to STDERR when attached to a terminal
+  * serious problem when using --tworaw and a flush interval < that for the
+    process data occurs because newer versions of zlib will fail if you try to
+    flush to a file that has not been updated.  since I don't know which
+    version of zlib this started happening in and feel this is a relatively
+    rare case, we're just rejecting this combination regardless of zlib
+    version.  I do have an email out to the zlib author and if I ever get to
+    the bottom of this will be ble to relax this restriction.
+  * use getimeofday() for timestamps in logmsg()
+  * enhanced timing parameters when -i0 used.  if specified user 2nd/3rd
+    parameter as ratio to first making it possibily to measure loads of
+    different rations other than 1:6:30.
+  * discovered --import was missing from man pages and so added it
+  * when playing back a file, set $verboseFlag if user specified --verbose but
+    NEVER clear it
+  * experimental import: snmp, see http://collectl.sourceforge.net/Snmp.html
+    for details
+  * printf in record() blows up if formatting chars in command string!
+    [thanks mike]
+  * added accumulated time as a --top sort option
+  * changed formatting of accumulated time in process output to simply be
+    hh:mm:ss or mm::ss.ss when less than an hour to be more in line with top
+  * new swithes, --stats and --sumstats report stats in brief mode, the latter
+    only summary data
+  * during playback need to check $numProcessed before reporting none were
+    processed
+  * stats reporting logic wasn't processing 1st file, checking for
+    $numProcessed>1
+  * removed -oA and replaced/extended functionality with --stats/--statopts
+  * wasn't allowing --procopts playing back process data unless -sZ which was
+    silly
+  * subtle problem found: illegal 'last' in pidNew() because file disappeared
+    between initial -e and trying to open it a few usecs later!  can't exit a
+    sub via last so changed to return(0)
+  * our friends at OFED slightly changed the output of perfquery again [thanks
+    frederic]
+
+ -- Troy Heber <troyh@debian.org>  Mon, 05 Mar 2012 09:33:15 -0700
+
+collectl (3.6.0-1) unstable; urgency=low
+
+  * New upstream release 3.6.0
+  * New subsystem: -sM. memory detail now shows numa info
+  * Bunch of new/updated switches: --dskopts, --netopts, --xopts, --extract
+  * Enhanced disk/network output filtering, allowing for exclusion of instance
+    names
+  * Added new sections to documentation
+  * Finally dropped support for 2.4 kernels
+
+ -- Troy Heber <troyh@debian.org>  Fri, 16 Dec 2011 10:09:43 -0700
+
+collectl (3.5.1-1) unstable; urgency=low
+
+  * Initial Release (Closes: #535233)
+
+ -- Troy Heber <troyh@debian.org>  Fri, 29 Jul 2011 09:18:23 -0600
--- collectl-3.6.3.orig/debian/compat
+++ collectl-3.6.3/debian/compat
@@ -0,0 +1 @@
+7
--- collectl-3.6.3.orig/debian/rules
+++ collectl-3.6.3/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+%:
+	dh --with quilt $@
+
+override_dh_auto_install:
+	dh_auto_install
+	DESTDIR=$(CURDIR)/debian/collectl ./INSTALL
+	rm -f $(CURDIR)/debian/collectl/usr/share/doc/collectl/html/COPYING
+	mv $(CURDIR)/debian/collectl/etc/init.d/collectl  $(CURDIR)/debian/collectl.init
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f $(CURDIR)/debian/collectl.init
--- collectl-3.6.3.orig/debian/README.source
+++ collectl-3.6.3/debian/README.source
@@ -0,0 +1,6 @@
+This package uses quilt to manage patches to the upstream source code. Patches
+are stored in the source package as diffs in debian/patches and applied during
+the build. For detailed information please refer to the Debian quilt
+documentation:
+
+/usr/share/doc/quilt/README.source
--- collectl-3.6.3.orig/debian/control
+++ collectl-3.6.3/debian/control
@@ -0,0 +1,25 @@
+Source: collectl
+Section: admin
+Priority: optional
+Maintainer: Troy Heber <troyh@debian.org>
+Build-Depends-Indep: debhelper (>= 7.0.50~), quilt (>= 0.40)
+Standards-Version: 3.9.3.1
+
+Package: collectl
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, pciutils, libtime-hires-perl, libio-compress-perl
+Recommends: ethtool
+Homepage: http://collectl.sourceforge.net
+Description: Utility to collect Linux performance data
+ Collectl is a performance monitoring and benchmark tool that tries to do it
+ all.  You can choose to monitor any of a broad set of subsystems which
+ currently include buddyinfo, cpu, disk, inodes, infiniband, lustre, memory,
+ network, nfs, processes, quadrics, slabs, sockets and tcp.
+ .
+ Output can also be saved in a rolling set of logs for later playback or
+ displayed interactively in a variety of formats. If all that isn't enough
+ there are additional mechanisms for supplying data to external tools by
+ generating output as s-expressions, a format of choice for some tools such as
+ supermon or in another format called list-expressions. This output can be
+ written to a file or sent over a socket. You can even create files in
+ space-separated format for plotting with external packages like gnuplot.
--- collectl-3.6.3.orig/debian/docs
+++ collectl-3.6.3/debian/docs
@@ -0,0 +1 @@
+docs
--- collectl-3.6.3.orig/debian/manpages
+++ collectl-3.6.3/debian/manpages
@@ -0,0 +1 @@
+man1/collectl.1
--- collectl-3.6.3.orig/debian/watch
+++ collectl-3.6.3/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/collectl/collectl-(.*)\.src\.tar\.gz
--- collectl-3.6.3.orig/debian/patches/02_MAN_PAGE_ESCAPE_CHAR.patch
+++ collectl-3.6.3/debian/patches/02_MAN_PAGE_ESCAPE_CHAR.patch
@@ -0,0 +1,12 @@
+diff -urpN collectl-3.6.1.ori/man1/collectl.1 collectl-3.6.1/man1/collectl.1
+--- collectl-3.6.1.ori/man1/collectl.1	2012-02-20 06:31:27.000000000 -0700
++++ collectl-3.6.1/man1/collectl.1	2012-03-05 10:36:12.795989105 -0700
+@@ -992,7 +992,7 @@ Multiple filters may be specified if sep
+ .br
+ c \- substring of the command being executed as explicitly read from /proc/pid/stat.
+ Note that this can actually be a perl expression, so if you want a command that ends
+-in a particular string all you need to is append a \$ to the end of the string.
++in a particular string all you need to is append a \e$ to the end of the string.
+ Otherwise it would match any commands containing that string.
+ .br
+ C \- any command that starts with the specified string
--- collectl-3.6.3.orig/debian/patches/01_INSTALL_DORDIR.patch
+++ collectl-3.6.3/debian/patches/01_INSTALL_DORDIR.patch
@@ -0,0 +1,12 @@
+diff -urpN collectl-3.5.1.ori//INSTALL collectl-3.5.1.new/INSTALL
+--- collectl-3.5.1.ori//INSTALL	2011-05-27 08:43:26.000000000 -0600
++++ collectl-3.5.1.new/INSTALL	2011-07-29 12:14:57.000000000 -0600
+@@ -3,7 +3,7 @@
+ DESTDIR=${DESTDIR:="/"}
+ 
+ BINDIR=$DESTDIR/usr/bin
+-DOCDIR=$DESTDIR/usr/share/doc/collectl
++DOCDIR=$DESTDIR/usr/share/doc/collectl/html
+ SHRDIR=$DESTDIR/usr/share/collectl
+ MANDIR=$DESTDIR/usr/share/man/man1
+ ETCDIR=$DESTDIR/etc
--- collectl-3.6.3.orig/debian/patches/series
+++ collectl-3.6.3/debian/patches/series
@@ -0,0 +1,3 @@
+# Series file
+01_INSTALL_DORDIR.patch
+02_MAN_PAGE_ESCAPE_CHAR.patch
