atoppatch (1:1.23-1) debian-dir only changes

Summary

 debian/NEWS                           |   14 +++++
 debian/README.Debian                  |   16 ++++++
 debian/changelog                      |   56 +++++++++++++++++++++
 debian/compat                         |    1 
 debian/control                        |   39 +++++++++++++++
 debian/copyright                      |   12 ++++
 debian/dirs                           |    2 
 debian/docs                           |    1 
 debian/kernel-patch-atopacct.kpatches |   49 +++++++++++++++++++
 debian/kernel-patch-atopcnt.kpatches  |   48 ++++++++++++++++++
 debian/rules                          |   87 ++++++++++++++++++++++++++++++++++
 debian/watch                          |    7 ++
 12 files changed, 332 insertions(+)

    
download this patch

Patch contents

--- atoppatch-1.23.orig/debian/NEWS
+++ atoppatch-1.23/debian/NEWS
@@ -0,0 +1,14 @@
+atoppatch (1:1.14-1) unstable; urgency=low
+
+    After discussion with the upstream author i changed the architecture
+    from i386 to all. Due to lack of necessary hardware Gerlof can test
+    the patches only on i386 hardware. No cpu-architecture specific code
+    should be modified by these patches so they should run fine on non-
+    i386 CPUs. If you run one or both patches one such a system and have
+    any problems/issues, Gerlof and me welcome any comments, hints,
+    patches etc. 
+    If you run these patches successfully on such a system, a short note
+    about your hardware and the version of atoppatch used is also welcome.
+
+ -- Edelhard Becker <edelhard@debian.org>  Mon, 17 Jan 2005 23:33:59 +0100
+
--- atoppatch-1.23.orig/debian/dirs
+++ atoppatch-1.23/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- atoppatch-1.23.orig/debian/docs
+++ atoppatch-1.23/debian/docs
@@ -0,0 +1 @@
+README.patch
--- atoppatch-1.23.orig/debian/control
+++ atoppatch-1.23/debian/control
@@ -0,0 +1,39 @@
+Source: atoppatch
+Section: admin
+Priority: optional
+Maintainer: Edelhard Becker <edelhard@debian.org>
+Build-Depends: debhelper (>= 4.0.0), dh-kpatches
+Standards-Version: 3.7.3
+Homepage: http://www.atconsultancy.nl/atop/kernpatch.html
+
+Package: kernel-patch-atopcnt
+Architecture: all
+Depends: ${kpatch:Depends}
+Enhances: atop
+Description: additional statistical counters for atop
+ This patch takes care that statistical counters are added to the
+ process-administration (task_struct) and that these counters are incremented
+ per process.  The additional counters are shown via the file /proc/pid/stat as
+ a second line of counters. When this patch is installed, atop automatically
+ shows another layout for the generic screen (including disk- and
+ network-transfers for active processes). However for terminated process these
+ additional counters are not shown, because the conventional layout of the
+ process-accounting record has not been adapted.
+ .
+  Author: Gerlof Langeveld <gerlof@ATComputing.nl>
+
+Package: kernel-patch-atopacct
+Architecture: all
+Depends: ${kpatch:Depends}, kernel-patch-atopcnt
+Enhances: kernel-patch-atopcnt
+Description: save additional statistical counters for atop in the record
+ This patch takes care that the additional statistical counters are added to
+ the process-accounting record (yes, this means an incompatible layout of this
+ record).  When this patch is installed, ATOP automatically shows the
+ additional counters for terminated processes as well.  Since the pid of
+ processes is also stored in the modified process-accounting record, matching
+ this info with the formerly running process is less time-consuming compared to
+ the conventional process-accounting record.
+ .
+  Author: Gerlof Langeveld <gerlof@ATComputing.nl>
+
--- atoppatch-1.23.orig/debian/rules
+++ atoppatch-1.23/debian/rules
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper. 
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that can build a kernel modules
+# architecture-dependant package via make-kpkg, as well as an
+# architecture-independent module source package, and other packages
+# either dep/indep for things like common files or userspace components
+# needed for the kernel modules.
+
+# 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)
+DEB_BUILD_ARCH      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+#build-arch:  config.status build-arch-stamp
+build-arch:                 build-arch-stamp
+build-arch-stamp:
+	dh_testdir
+	# nothing to do here
+	touch build-arch-stamp
+
+#build-indep: config.status  build-indep-stamp
+build-indep:                 build-indep-stamp
+build-indep-stamp:
+	dh_testdir
+	touch build-indep-stamp
+
+build: build-arch build-indep
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp kdist_config-stamp \
+		debian/rtai-source.tar.bz2 \
+		rtai-core/arch/mipsel rtai-core/arch/powerpc
+	# Add here commands to clean up after the build process.
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_installkpatches
+	dh_install
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installkpatches
+	dh_installdocs
+	dh_installchangelogs
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	## nothing to do here, with change to "Architecture: all" moved everything to binary-indep
+	#dh_testdir -s
+	#dh_testroot -s
+	#dh_installkpatches -s
+	#dh_installdocs -s
+	#dh_installchangelogs -s
+	#dh_link -s
+	#dh_compress -s
+	#dh_fixperms -s
+	#dh_installdeb -s
+	#dh_gencontrol -s
+	#dh_md5sums -s
+	#dh_builddeb -s
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install  binary-modules kdist kdist_config kdist_image kdist_clean
--- atoppatch-1.23.orig/debian/watch
+++ atoppatch-1.23/debian/watch
@@ -0,0 +1,7 @@
+# debian/watch for atoppatch
+version=2
+
+# This is a variant HTTP format with more possibilities:
+# Homepage  Pattern  [Version  [Action]]
+http://www.atconsultancy.nl/atop/download.html packages/atoppatch-kernel-([\d\.]*).tar.gz
+
--- atoppatch-1.23.orig/debian/kernel-patch-atopacct.kpatches
+++ atoppatch-1.23/debian/kernel-patch-atopacct.kpatches
@@ -0,0 +1,49 @@
+Patch-name: atop process-accounting
+Patch-id: atopacct
+Depends: atopcnt
+
+Patch-file: 02patch-2.6.8_atopacct
+Kernel-version: 2.6.8
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.13_atopacct
+Kernel-version: 2.6.13
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.15_atopacct
+Kernel-version: 2.6.15
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.16_atopacct
+Kernel-version: 2.6.16
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.17_atopacct
+Kernel-version: 2.6.17
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.18_atopacct
+Kernel-version: 2.6.18
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.20_atopacct
+Kernel-version: 2.6.20
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.21_atopacct
+Kernel-version: 2.6.21
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 02patch-2.6.24_atopacct
+Kernel-version: 2.6.24
+Architecture: i386
+Path-strip-level: 1
+
--- atoppatch-1.23.orig/debian/changelog
+++ atoppatch-1.23/debian/changelog
@@ -0,0 +1,56 @@
+atoppatch (1:1.23-1) unstable; urgency=low
+
+  * New upstream release
+  * bump standards to 3.7.3 (no changes)
+  * moved homepage from description to control field
+
+ -- Edelhard Becker <edelhard@debian.org>  Fri, 07 Mar 2008 22:36:43 +0100
+
+atoppatch (1:1.21-1) unstable; urgency=low
+
+  * New upstream release
+  * updated watch file
+
+ -- Edelhard Becker <edelhard@debian.org>  Sun, 02 Sep 2007 13:52:21 +0200
+
+atoppatch (1:1.20-1) unstable; urgency=low
+
+  * New upstream release (Closes: #392654)
+  * bumped standards to 3.7.2
+
+ -- Edelhard Becker <edelhard@debian.org>  Wed, 02 May 2007 23:40:48 +0200
+
+atoppatch (1:1.15-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Edelhard Becker <edelhard@debian.org>  Mon,  7 Nov 2005 23:15:38 +0100
+
+atoppatch (1:1.14-2) unstable; urgency=low
+
+  * added 2.6.11 to the supported kernel versions (not approved by upstream,
+    just my test)
+
+ -- Edelhard Becker <edelhard@debian.org>  Mon, 28 Mar 2005 19:30:13 +0200
+
+atoppatch (1:1.14-1) unstable; urgency=low
+
+  * New upstream release
+  * added epoch since upstream decided to change numbering scheme to
+    correspond with atop instead of kernel version
+  * adopt the change in archive layout (patches/ subdir is gone)
+  * added debian/watch file
+  * changed architecture to all, updated rules accordingly
+  * added debian/NEWS with a note about the change of architecture to "all"
+    and the wish for comments about atoppatch on non-i386 cpus
+
+ -- Edelhard Becker <edelhard@debian.org>  Mon, 17 Jan 2005 23:56:13 +0100
+
+atoppatch (2.6.8-1) unstable; urgency=low
+
+  * Initial Release. Made two seperate packages from the source archive
+    because one may use atopcnt without atopacct.
+  * Initial upload (Closes: #286237, #286238).
+
+ -- Edelhard Becker <edelhard@debian.org>  Sun, 19 Dec 2004 14:37:29 +0100
+
--- atoppatch-1.23.orig/debian/compat
+++ atoppatch-1.23/debian/compat
@@ -0,0 +1 @@
+4
--- atoppatch-1.23.orig/debian/README.Debian
+++ atoppatch-1.23/debian/README.Debian
@@ -0,0 +1,16 @@
+atoppatch for Debian
+--------------------
+
+The Debian atoppatch source package provides two packages,
+
+ (1) kernel-patch-atopcnt
+ (2) kernel-patch-atopacct
+
+Please see ./README.patch or the homepage for a description of the atoppatch
+software. The original source archive consists of two patches, where (1) can be
+used without (2), but (2) depends on (1). Using only (1), atop writes the same
+raw data format into its log as without any kernel path.
+
+Homepage: http://www.atconsultancy.nl/atop/home.html 
+
+ -- Edelhard Becker <edelhard@debian.org>, Sat, 18 Dec 2004 14:24:08 +0100
--- atoppatch-1.23.orig/debian/copyright
+++ atoppatch-1.23/debian/copyright
@@ -0,0 +1,12 @@
+This package was debianized by Edelhard Becker <edelhard@debian.org> on
+Sat, 18 Dec 2004 15:37:59 +0100
+
+It was downloaded from http://www.atconsultancy.nl/atop/home.html
+
+Upstream Author: Gerlof Langeveld <gerlof@ATComputing.nl>
+
+Copyright: Gerlof Langeveld, AT Computing (gerlof@ATComputing.nl)
+
+You are free to distribute this software under the terms of the GNU General
+Public License.  On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL'.
--- atoppatch-1.23.orig/debian/kernel-patch-atopcnt.kpatches
+++ atoppatch-1.23/debian/kernel-patch-atopcnt.kpatches
@@ -0,0 +1,48 @@
+Patch-name: atop additional statistical counters
+Patch-id: atopcnt
+
+Patch-file: 01patch-2.6.8_atopcnt
+Kernel-version: 2.6.8
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.13_atopcnt
+Kernel-version: 2.6.13
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.15_atopcnt
+Kernel-version: 2.6.15
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.16_atopcnt
+Kernel-version: 2.6.16
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.17_atopcnt
+Kernel-version: 2.6.17
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.18_atopcnt
+Kernel-version: 2.6.18
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.20_atopcnt
+Kernel-version: 2.6.20
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.21_atopcnt
+Kernel-version: 2.6.21
+Architecture: i386
+Path-strip-level: 1
+
+Patch-file: 01patch-2.6.24_atopcnt
+Kernel-version: 2.6.24
+Architecture: i386
+Path-strip-level: 1
+