--- itop-0.1.orig/src/config.h +++ itop-0.1/src/config.h @@ -1,2 +1,2 @@ #define MAX_NAME_LEN 18 -#define MAX_INTS 256 +#define MAX_INTS 1024 --- itop-0.1.orig/debian/watch +++ itop-0.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.hunz.org/ itop-(.*)\.tar\.bz2 --- itop-0.1.orig/debian/rules +++ itop-0.1/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/itop install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_installexamples + dh_installman debian/itop.1 + dh_link + 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 configure --- itop-0.1.orig/debian/dirs +++ itop-0.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- itop-0.1.orig/debian/changelog +++ itop-0.1/debian/changelog @@ -0,0 +1,26 @@ +itop (0.1-1ubuntu1) hardy; urgency=low + + [ Siegfried-Angel Gevatter Pujals (RainCT) ] + * Fix debian/watch (Closes: #450026) + * Remove debian/docs; TODO and README have no interesting content. + + [ Albert Damen ] + * src/config.h: increase MAX_INTS from 256 to 1024, to really + fix the segfault (LP: #188897) + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- Albert Damen Mon, 04 Feb 2008 20:25:52 +0100 + +itop (0.1-1build1) hardy; urgency=low + + * Rebuild against hardy to not segfault + + -- Emmet Hikory Sun, 03 Feb 2008 21:58:56 +0900 + +itop (0.1-1) unstable; urgency=low + + * Initial release (Closes: #408871) + + -- Jose Parrella Sun, 28 Jan 2007 15:17:35 -0400 + --- itop-0.1.orig/debian/copyright +++ itop-0.1/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Jose Parrella on +Sun, 28 Jan 2007 15:17:35 -0400. + +It was downloaded from http://hunz.org/ + +Upstream Author: Benedikt Heinz (hunz@hunz.org) + +Copyright 2001 Benedikt 'Hunz' Heinz + +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 can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Jose Parrella and +is licensed under the GPL, see above. --- itop-0.1.orig/debian/compat +++ itop-0.1/debian/compat @@ -0,0 +1 @@ +5 --- itop-0.1.orig/debian/itop.1 +++ itop-0.1/debian/itop.1 @@ -0,0 +1,47 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH ITOP 1 "enero 28, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +itop \- simple top-like interrupt load monitor +.SH SYNOPSIS +.B itop +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B itop +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBitop\fP is a simple interrupt load monitor which opens and +monitors /proc/interrupts in a top-like way. It can be set +to monitor the file a specific number of times and monitor all +interrupts, not only the ones being used. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-n +Number of iterations. +.TP +.B \-a +Show all ints, not just the ones in use. +.SH AUTHOR +itop was written by Benedikt Heinz (hunz@hunz.org). +.PP +This manual page was written by Jose Parrella , +for the Debian project (but may be used by others). --- itop-0.1.orig/debian/control +++ itop-0.1/debian/control @@ -0,0 +1,18 @@ +Source: itop +Section: admin +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Jose Parrella +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2.2 + +Package: itop +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: simple top-like interrupt load monitor + itop is a simple interrupt load monitor which opens and + monitors /proc/interrupts in a top-like way. It can be set + to monitor the file a specific number of times and monitor all + interrupts, not only the ones currently in use. + . + Homepage: http://hunz.org --- itop-0.1.orig/Makefile +++ itop-0.1/Makefile @@ -0,0 +1,12 @@ +CC=gcc + +all: itop + +itop: + (cd src/ ; make) + +clean: + rm -f src/itop src/*.o src/*~ + +install: itop + cp src/itop $(DESTDIR)/usr/bin