--- swatch-3.2.3.orig/debian/examples +++ swatch-3.2.3/debian/examples @@ -0,0 +1 @@ +examples/* --- swatch-3.2.3.orig/debian/README.source +++ swatch-3.2.3/debian/README.source @@ -0,0 +1,3 @@ +This debian package uses quilt to manage changes to the upstream +sources. To get the sources that will be built, run "quilt push +-a". For more information see /usr/share/doc/quilt/README.source . --- swatch-3.2.3.orig/debian/changelog +++ swatch-3.2.3/debian/changelog @@ -0,0 +1,107 @@ +swatch (3.2.3-1) unstable; urgency=low + + * New maintainer (Closes: #499509) + * Fixed watch file (Closes: #450095) + * New upstream release + * Cleaned up rules a bit + - switch to quilt + - other minor stuff + * Removed README.Debian, as it doesn't contain any information + that isn't already implied + * Update to version 3.8.0 of debian policy + - added README.source + * Use Build-Depends-Indep + * added upstream copyright statement to debian/copyright, and + added me for the debian packaging + * Document backslash in email addresses (Closes: #464087) + * Added Homepage field + * Made it stop adding empty dirs + * don't ignore make errors + * fix pod errors while generating man page + * fix punctuation in short description + * update copyright statement + + -- Ryan Niebur Tue, 28 Oct 2008 20:52:30 -0700 + +swatch (3.2.1-1) unstable; urgency=medium + + * New upstream release. (Fixes many bugs) + - This version is the newest swatch version + - Fixes "threshold not actually implemented as per Debian docs" (Closes: #367526) + - Fixes "Swatch always crashes when using threshold" (Closes: #292584) + - Fixes "man page lists action "inverse" which is not supported" (Closes: #294302) + - Fixes "swatch: exec option doesn't honor $N" (Closes: #308414) + + * For more info check http://www.debian.org/Bugs/ + + -- Nikolay Kokalichev Fri, 22 Sep 2006 21:25:52 +0300 + + +swatch (3.1.1-1) unstable; urgency=medium + + * New upstream release. (Fixes some bugs) + - This version is the newest version (Closes: #194052) + - "Throttle does not work" is fixed (Closes: #254648) + + * For other fixed bugs see the upstream changelog (orig. CHANGES) file + + -- Nikolay Kokalichev Mon, 02 Aug 2004 00:00:23 +0300 + + +swatch (3.1-1) unstable; urgency=low + + * New maintainer (Closes: #244455) + + * New upstream release. (Fixes some bugs and some additions) + - The code to write the pid file is fixed. (Closes: #139938) + - Fixes 'Using "mail addresses=blah@blah.com" does not work correctly + "mail addresses=blah\@blah.com" is needed'. (Closes: #197042) + - "perlcode" (before this version written as "PERLCODE") and "threshold" + directives are already standart parts of this version. + + * For more details see the upstream changelog (orig. CHANGES) file + + -- Nikolay Kokalichev Mon, 26 Apr 2004 19:27:23 +0300 + + +swatch (3.0.4-1) unstable; urgency=low + + * New upstream release. (Fixes problem with throttle command.) + + -- Rene Weber Sun, 18 Nov 2001 16:20:11 -0500 + + +swatch (3.0.3-1) unstable; urgency=low + + * New upstream release. (Fixes some internal bugs.) + * Documented PERLCODE directive in man page. + * Added "threshold" directive with documentation. + * Am finally releasing these modifications after receiving word from the + upstrem author that they (or a work-alike) will be included with the + release of swatch. + * Fixed Build-Depends problem (changed to Build-Depends-Indep). + + -- Rene Weber Tue, 30 Oct 2001 18:26:50 -0500 + + +swatch (3.0.2-2) unstable; urgency=low + + * Fixed custom code (PERLCODE directive) so that multiple uses of it + actually work (instead of clobbering each other). The future of the + PERLCODE directive is still murky, but I am discussing it with upstream. + * Never uploaded. + + -- Rene Weber Wed, 10 Oct 2001 17:58:54 -0400 + + +swatch (3.0.2-1) unstable; urgency=low + + * Initial Release. (Closes: #105247) + * Includes custom code (PERLCODE directive in config file) not in upstream + and not documented except for in the source. Upstream has not responded + to me yet, so it is not integrated there yet. Barring strenuous + objection from upstream, I intend to preserve the PERLCODE directive in + future releases and document it, but for now it is undocumented because + its future is not known. + + -- Rene Weber Mon, 16 Jul 2001 21:43:21 -0400 --- swatch-3.2.3.orig/debian/docs +++ swatch-3.2.3/debian/docs @@ -0,0 +1,2 @@ +README +KNOWN_BUGS --- swatch-3.2.3.orig/debian/watch +++ swatch-3.2.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/swatch/swatch-(.*)\.tar\.gz --- swatch-3.2.3.orig/debian/rules +++ swatch-3.2.3/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + perl Makefile.PL INSTALLDIRS=vendor + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + $(MAKE) test + #/usr/bin/docbook-to-man debian/swatch.sgml > swatch.1 + + 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. + [ ! -f Makefile ] || $(MAKE) realclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/swatch. + $(MAKE) pure_install DESTDIR=$(CURDIR)/debian/swatch + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_installexamples + dh_installman + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- swatch-3.2.3.orig/debian/copyright +++ swatch-3.2.3/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Nikolay Kokalichev on +Fri, 22 Sep 2006 21:25:52 +0300. + +It was downloaded from + +Upstream Author: Todd Atkins +Old maintainer: Rene Weber + +Copyright (C) 1993-2008 E. Todd Atkins + +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) 2006 Nikolay Kokalichev +, (C) 2008 Ryan Niebur , +and is licensed under the GPL, see above. --- swatch-3.2.3.orig/debian/compat +++ swatch-3.2.3/debian/compat @@ -0,0 +1 @@ +5 --- swatch-3.2.3.orig/debian/control +++ swatch-3.2.3/debian/control @@ -0,0 +1,24 @@ +Source: swatch +Section: admin +Priority: optional +Maintainer: Ryan Niebur +Build-Depends: debhelper (>= 5), quilt +Build-Depends-Indep: perl (>=5.6.1), libtimedate-perl, libtime-hires-perl, libdate-calc-perl, libfile-tail-perl, libdate-manip-perl +Standards-Version: 3.8.0 +Homepage: http://swatch.sourceforge.net/ + +Package: swatch +Architecture: all +Depends: perl (>=5.6.1), libtimedate-perl, libtime-hires-perl, libdate-calc-perl, libfile-tail-perl, libdate-manip-perl +Description: Log file viewer with regexp matching, highlighting & hooks + Swatch is designed to monitor system activity. It reads a configuration + file which contains pattern(s) to look for and action(s) to perform when + each pattern is found. + . + A typical action is echoing the matched line in a variety of colours and + formats including reverse video, bold, underline, and normal, which swatch + knows how to do internally. Other actions include sending mail or + executing an arbitrary program on the line. + . + Swatch is written in Perl and uses Perl regular expressions for line + matching. --- swatch-3.2.3.orig/debian/patches/series +++ swatch-3.2.3/debian/patches/series @@ -0,0 +1,3 @@ +patch1.diff +document_backslash_in_addresses +fix-pod-errors --- swatch-3.2.3.orig/debian/patches/fix-pod-errors +++ swatch-3.2.3/debian/patches/fix-pod-errors @@ -0,0 +1,11 @@ +--- a/swatch ++++ b/swatch +@@ -1349,6 +1349,8 @@ + but any valid Perl is permitted. Remember the semicolon, and make judicious + use of the B<--dump-script> option if you run into trouble. + ++=back ++ + =head1 CONFIGURATION EXAMPLE + + =begin text --- swatch-3.2.3.orig/debian/patches/patch1.diff +++ swatch-3.2.3/debian/patches/patch1.diff @@ -0,0 +1,35 @@ +--- swatch-3.2.1/swatch 2006-07-21 23:55:00.000000000 +0300 ++++ swatch-3.2.1-patched/swatch 2006-09-08 17:59:18.000000000 +0300 +@@ -1185,14 +1185,13 @@ + + =item B + +-Echo the matched line. The text mode may be I, +-I, I, I, I, +-I, I, I, I, I, I, I, I, +-I, I, I, I, I, +-I, I, and/or I. The I<_h> colors specify +-a highlighting color. The other colors are assigned to the letters. +-Some modes may not work on some terminals. B +-is the default. ++Echo the matched line. The text mode may be I, I, I, I ++I, I, I, I, I, I, I ++I, I, I, I, I, I, I ++I, I, I, I, I. The colors ++specify a highlighting color. Some modes may not work on some terminals. B ++is the default. ++For B changes and additions check perl module Term::ANSIColor man page. + + =item B + +@@ -1202,8 +1201,8 @@ + + Execute I. The I may contain variables which are + substituted with fields from the matched line. A I<$N> will be replaced +-by the I field in the line. A I<$0> or I<$*> will be replaced by the +-entire line. ++by the I field in the line. A I<$_> will be replaced by the entire ++line. Variable I<$0> will show the name of the executed script. + + =item B + --- swatch-3.2.3.orig/debian/patches/document_backslash_in_addresses +++ swatch-3.2.3/debian/patches/document_backslash_in_addresses @@ -0,0 +1,12 @@ +--- a/swatch ++++ b/swatch +@@ -1218,6 +1218,9 @@ + Send I to I containing the matched lines as + they appear (default address is the user who is running the program). + ++Note that the @ sign in the email addresses must be escaped with a ++backslash, like "user\@example.com". ++ + =item B + + Pipe matched lines into I. Use the B option to