--- sntop-1.4.3.orig/debian/watch +++ sntop-1.4.3/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://heanet.dl.sourceforge.net/sourceforge/sntop/\ +sntop-([\d.]*).tar.gz debian uupdate --- sntop-1.4.3.orig/debian/control +++ sntop-1.4.3/debian/control @@ -0,0 +1,18 @@ +Source: sntop +Section: net +Priority: optional +Maintainer: Fredrik Steen +Build-Depends: debhelper (>= 7), libncurses5-dev, quilt (>= 0.40) +Homepage: http://sourceforge.net/projects/sntop +Standards-Version: 3.8.0 + +Package: sntop +Architecture: any +Depends: ${shlibs:Depends}, fping +Description: A curses-based utility that polls hosts to determine connectivity + Simple network top (sntop) is a curses-based console utility, + in the spirit of top, that polls network hosts at a regular interval to + determine their connectivity and displays the results in a pretty format. + Advanced features, such as automatic HTML generation of results, + secure terminal mode, execution of external file on connectivity change, + and user/system configure files, are supported. --- sntop-1.4.3.orig/debian/changelog +++ sntop-1.4.3/debian/changelog @@ -0,0 +1,91 @@ +sntop (1.4.3-4) unstable; urgency=low + + * Fix paths in manpage (Closes:#364987) + * Upped standards version + + -- Fredrik Steen Wed, 22 Oct 2008 22:58:55 +0200 + +sntop (1.4.3-3) unstable; urgency=low + + * Fix for ia64 (Closes:#311253) + - Thanks goes to Dann Frazier for patch. + + -- Fredrik Steen Mon, 30 May 2005 13:34:11 +0200 + +sntop (1.4.3-2) unstable; urgency=low + + * Fixed global configuration path bug (Closes:#311043) + - Thanks goes to Bernd Schubert for discovering this. + + -- Fredrik Steen Sun, 29 May 2005 20:48:58 +0200 + +sntop (1.4.3-1) unstable; urgency=low + + * New upstream release (Closes:#262153) + + -- Fredrik Steen Tue, 10 Aug 2004 13:35:41 +0200 + +sntop (1.4.2-4) unstable; urgency=low + * Added default sntoprc file in /etc + * rules clean now removes sntop binary + * Fixed sntop short-option list is wrong, Closes:#131647 + * Fixed sntop log/alarm functions, Closes:#131651 + - Thanks goes to Mark W. Eichin for submitting bugs! + + -- Fredrik Steen Sat, 16 Feb 2002 14:31:11 +0100 + +sntop (1.4.2-3) unstable; urgency=low + + * Fixed description lines to not exceed 81 chars, Closes:#131011. + + -- Fredrik Steen Tue, 29 Jan 2002 04:52:12 +0100 + +sntop (1.4.2-2) unstable; urgency=low + + * Lintian clean + + -- Fredrik Steen Sun, 30 Dec 2001 13:18:25 +0100 + +sntop (1.4.2-1) unstable; urgency=low + + * New upstream release + + -- Fredrik Steen Fri, 23 Mar 2001 15:57:54 +0100 + +sntop (1.3.3-1) unstable; urgency=low + + * New upstream release + + -- Fredrik Steen Tue, 27 Feb 2001 18:36:01 +0100 + +sntop (1.3.1-4) unstable; urgency=low + + * Closed bug (closes: Bug#86243) wich caused fping to fail on alpha + + -- Fredrik Steen Fri, 23 Feb 2001 14:21:09 +0100 + +sntop (1.3.1-3) unstable; urgency=low + + * Fixed missing build-depends on libncurses-dev (closes: Bug#86553) + + -- Fredrik Steen Mon, 19 Feb 2001 16:00:12 +0100 + +sntop (1.3.1-2) unstable; urgency=low + + * This upload closes the wnpp bug (closes: Bug#82397) + + -- Fredrik Steen Thu, 15 Feb 2001 16:29:43 +0100 + +sntop (1.3.1-1) unstable; urgency=low + + * New upstream release + + -- Fredrik Steen Mon, 15 Jan 2001 11:53:18 +0100 + +sntop (1.3.0-1) unstable; urgency=low + + * Changed the compression level of the manpage from -6 to -9 + * Initial Release. + + -- Fredrik Steen Tue, 31 Oct 2000 13:30:47 +0100 + --- sntop-1.4.3.orig/debian/compat +++ sntop-1.4.3/debian/compat @@ -0,0 +1 @@ +5 --- sntop-1.4.3.orig/debian/rules +++ sntop-1.4.3/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f +# debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +configure: configure-stamp +configure-stamp: patch + dh_testdir + # Commands to configure the package. + ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --sysconfdir=/etc + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + # Add here commands to compile the package. + $(MAKE) + touch build-stamp +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + # Add here commands to clean up after the build process. + # Not enough: $(MAKE) clean + rm -f sntop config.cache config.status config.log sntop.o getopt_long.o + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # Commands to install the package into debian/tmp. + if [ ! -d `pwd`/debian/sntop/etc ]; then mkdir -p `pwd`/debian/sntop/etc; fi + $(MAKE) install ETCDIR=`pwd`/debian/sntop/etc prefix=`pwd`/debian/sntop/usr + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples sntoprc.EXAMPLE alarm.sh + dh_installmanpages + dh_installchangelogs ChangeLog + 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 --- sntop-1.4.3.orig/debian/docs +++ sntop-1.4.3/debian/docs @@ -0,0 +1 @@ +TODO --- sntop-1.4.3.orig/debian/dirs +++ sntop-1.4.3/debian/dirs @@ -0,0 +1 @@ +usr/bin --- sntop-1.4.3.orig/debian/copyright +++ sntop-1.4.3/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Fredrik Steen on +Tue, 31 Oct 2000 13:30:47 +0100. + +It was downloaded from ftp://sntop.sourceforge.net/pub/sntop/ + +Upstream Authors: + Copyright (C) 2000-2001 Chris Rivera + Copyright (C) 2000-2001 Robert M. Love + +Copyright: GPL (see /usr/share/common-licenses/GPL) --- sntop-1.4.3.orig/debian/patches/sntop.c.patch +++ sntop-1.4.3/debian/patches/sntop.c.patch @@ -0,0 +1,21 @@ +Index: sntop/sntop.c +=================================================================== +--- sntop.orig/sntop.c 2008-10-22 23:16:01.000000000 +0200 ++++ sntop/sntop.c 2008-10-22 23:16:14.000000000 +0200 +@@ -29,6 +29,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -410,6 +411,8 @@ + if (pid == -1) return; + if (pid == 0) { + char *argv[5]; ++ /* fixes debian bug: #131651 */ ++ argv[0] = command; + argv[1] = name; + argv[2] = host; + argv[3] = status; --- sntop-1.4.3.orig/debian/patches/series +++ sntop-1.4.3/debian/patches/series @@ -0,0 +1,2 @@ +sntop.c.patch +sntop.1.patch --- sntop-1.4.3.orig/debian/patches/sntop.1.patch +++ sntop-1.4.3/debian/patches/sntop.1.patch @@ -0,0 +1,43 @@ +Index: sntop/sntop.1 +=================================================================== +--- sntop.orig/sntop.1 2008-10-22 22:48:11.000000000 +0200 ++++ sntop/sntop.1 2008-10-22 22:48:26.000000000 +0200 +@@ -3,12 +3,14 @@ + .\" sntop.1 + .\" + .\" Author: Robert M. Love , Chris M. Rivera ++.\" Author: Fredrik Steen + .\" + .\" Copyright (C) Robert M. Love and Chris M. Rivera ++.\" Copyright (C) 2008 Fredrik Steen + .\" + .\" Created: Tue Jul 18 2000 + .\" +-.Dd March 6, 2001 ++.Dd October 22, 2008 + .Dt SNTOP 1 + .Sh NAME + .Nm sntop +@@ -114,17 +116,18 @@ + .Pa /etc/sntoprc + if a user's config is not found, this system-wide one is read + .Pp +-.Pa /usr/man/man1/sntop.1.gz ++.Pa /usr/share/man/man1/sntop.1.gz + the man page + .Pp +-.Pa alarm.sh ++.Pa /usr/share/doc/sntop/examples/alarm.sh + sample alarm-execute script + .Pp + .Pp +-.Pa /usr/local/bin/sntop ++.Pa /usr/bin/sntop + the sntop executable + .Sh CONFIG FILE +-An example config file, sntoprc.EXAMPLE, is included in the standard distribution. ++An example config file, /usr/share/doc/sntop/examplessntoprc.EXAMPLE, ++is included in the standard distribution. + However, the config file syntax is simple. Entries are RETURN + terminated. Trailing whitespace is ignored. '#' signifies a comment + and can be used inline. By default, upto 32 characters will be read,