--- syslog-summary-1.14.orig/debian/rules +++ syslog-summary-1.14/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export DESTDIR=$(CURDIR)/debian/syslog-summary + +%: + dh --with quilt $@ --- syslog-summary-1.14.orig/debian/install +++ syslog-summary-1.14/debian/install @@ -0,0 +1,2 @@ +syslog-summary /usr/bin +ignore.rules /etc/syslog-summary/ --- syslog-summary-1.14.orig/debian/dirs +++ syslog-summary-1.14/debian/dirs @@ -0,0 +1,2 @@ +/usr/bin +/etc/syslog-summary --- syslog-summary-1.14.orig/debian/pyversions +++ syslog-summary-1.14/debian/pyversions @@ -0,0 +1 @@ +2.5- --- syslog-summary-1.14.orig/debian/watch +++ syslog-summary-1.14/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://github.com/dpaleino/syslog-summary/downloads \ + http://cloud.github.com/downloads/dpaleino/syslog-summary/syslog-summary-(\d+.*)\.tar\.gz --- syslog-summary-1.14.orig/debian/manpages +++ syslog-summary-1.14/debian/manpages @@ -0,0 +1 @@ +syslog-summary.1 --- syslog-summary-1.14.orig/debian/compat +++ syslog-summary-1.14/debian/compat @@ -0,0 +1 @@ +7 --- syslog-summary-1.14.orig/debian/control +++ syslog-summary-1.14/debian/control @@ -0,0 +1,24 @@ +Source: syslog-summary +Maintainer: David Paleino +Section: admin +Priority: optional +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7), + quilt (>= 0.46-7~), + python-support, + python +Vcs-Git: git://git.debian.org/collab-maint/syslog-summary.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/syslog-summary.git + +Package: syslog-summary +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Recommends: python-magic +Description: summarize the contents of a syslog log file + This program summarizes the contents of a log file written by syslog, + by displaying each unique (except for the time) line once, and also + the number of times such a line occurs in the input. The lines are + displayed in the order they occur in the input. + . + It is also possible to define some "ignore rules" using regular + expressions. --- syslog-summary-1.14.orig/debian/copyright +++ syslog-summary-1.14/debian/copyright @@ -0,0 +1,20 @@ +Source: http://sourceforge.net/projects/syslog-summary + +Files: debian/* +Copyright: © 2008, David Paleino + © 2001-2007, Tommi Virtanen + © 1998-2000, Lars Wirzenius +License: GPL-3+ + This program 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 3 of the License, or + (at your option) any later version. + +Files: * +Copyright: © 2008, David Paleino + © 2001-2007, Tommi Virtanen + © 1998-2000, Lars Wirzenius +License: GPL-3+ + +On a Debian system, the complete text of the licenses can be found in: +GPL - `/usr/share/common-licenses/GPL' --- syslog-summary-1.14.orig/debian/changelog +++ syslog-summary-1.14/debian/changelog @@ -0,0 +1,183 @@ +syslog-summary (1.14-2) unstable; urgency=low + + * debian/control: + - updated my email address + - DMUA removed + * debian/patches/01-fix_shebang.patch added: use /usr/bin/python + instead of hardcoding python2.5 (Closes: #588524) + * debian/pyversions: required version bumped to >= 2.5 + + -- David Paleino Mon, 27 Sep 2010 22:34:09 +0200 + +syslog-summary (1.14-1) unstable; urgency=low + + * New upstream release: + - implemented automatic decompression of .gz files (Closes: #284708) + - refactored hashing code, not to use py2.6 deprecated libraries + (Closes: #534451) + - check lines against regex earlier in the code (Closes: #241712) + * debian/watch updated + * debian/TODO removed, that should really be an upstream file + * debian/compat bumped to 7 + * debian/rules: + - now uses dh7-tiny layout + - manually set DESTDIR to fix FTBFS + - use --with quilt + * debian/control: + - Build-Depends on debhelper bumped to >= 7 + - Build-Depends added on quilt >= 0.46-7~ + - Build-Depends added on python-support + - Build-Depends added on python + - Standards-Version bumped to 3.8.3, no changes needed + - Vcs-* fields updated + - added ${misc:Depends} and ${python:Depends} to Dependency field + - removed "python" dependency (should come from python:Depends) + - added Recommends on python-magic (for gz-compression detection) + - DMUA set + * debian/patches/00-fix_Makefile.patch added, fixes FTBFS + * debian/manpages added + * debian/README.source added + * debian/pyversions added (only tested upstream with 2.5) + + -- David Paleino Fri, 18 Sep 2009 11:15:40 +0200 + +syslog-summary (1.13-1) unstable; urgency=low + + * This package is no longer Debian native. + * New upstream release: + - Implemented a "usage" output message (Closes: #416154) + * Adopting the package (Closes: #455005) + * Acknowledged previous NMU (Closes: #266423) + * Standards-Version updated to 3.7.3 (no changes needed) + * debian/watch added + + -- David Paleino Thu, 21 Feb 2008 19:07:22 +0100 + +syslog-summary (1.12-0.1) unstable; urgency=high + + * Non-maintainer upload. + * Set urgency to high due to RC bugfix. + * Remove harcoded python2.2 dependency in syslog-summary to help fixing RC + bugs (Closes: #266423). + * Update Build-Depends (Closes: #370031, #364900). + * Bump Standards-Version. + + -- Julien Louis Sun, 4 Jun 2006 13:09:08 +0200 + +syslog-summary (1.12) unstable; urgency=low + + * Switch to Python 2.2. (Closes: #171043) + * Updated Debian standards version. + * No longer provide /usr/doc symlinks. This also removes the + cut-and-paste error that caused a symlink for freecdb to be + created. This should require no cleanup, as that code was only + activated if freecdb was installed, and in that case the symlink will + eventually get cleaned by freecdb's prerm. (Closes: #183050) + + -- Tommi Virtanen Sun, 20 Apr 2003 18:05:41 +0300 + +syslog-summary (1.11) unstable; urgency=low + + * Use re instead the obsolete regex library. This changes all + ignore-file regexps from Emacs-style to Perl-style. See + http://py-howto.sourceforge.net/regex-to-re/node4.html + for help on converting. (Closes: #126727, #124129) + * Support "last message repeated n times" messages, count them + in the total times seen. Lines processed still shows physical + lines of log. (Closes: #67608) + * Optimized: analyzing 10000 lines goes from 9 seconds + to <1 second. Use python2.1 explicitly due to xreadlines. + + -- Tommi Virtanen Fri, 28 Dec 2001 23:13:08 +0200 + +syslog-summary (1.10.2) unstable; urgency=low + + * debian/control: Follow the new Python policy. + + -- Tommi Virtanen Mon, 5 Nov 2001 20:02:14 +0200 + +syslog-summary (1.10.1) unstable; urgency=low + + * Adopted the package. + * Lintian clean, up-to-date Standards-Version, and + no more debhelper. + + -- Tommi Virtanen Mon, 17 Sep 2001 18:14:33 +0300 + +syslog-summary (1.10) unstable; urgency=low + + * Updated to standards version 3.1.1.1. + * Added sample-ignore file in examples directory. + * Section and Priority fields added to .deb. + + -- Lars Wirzenius Wed, 3 May 2000 09:39:52 +0300 + +syslog-summary (1.9) unstable; urgency=low + + * Added support for "Ddd Mmm DD HH:MM:SS" -style dates, which seem to be + the format in which iplogger outputs them. Suggestion from Tomas Ogren. + * Rewrote debian/rules to use debhelper. + + -- Lars Wirzenius Sat, 29 Apr 2000 16:39:43 +0300 + +syslog-summary (1.8) unstable; urgency=low + + * Added support for "Ddd Mmm DD HH:MM" -style dates, which seem to be + the format in which ippl outputs them. This fixes bug #35366. + + -- Lars Wirzenius Sat, 7 Aug 1999 22:33:17 +0300 + +syslog-summary (1.7) unstable; urgency=low + + * Made sure md5obj was defined when not using states. + + -- Lars Wirzenius Fri, 30 Oct 1998 14:51:04 +0200 + +syslog-summary (1.6) unstable; urgency=low + + * Fixed --state so that it actually works: bug caused the beginning of + the file to be ignored when computing the md5 of the file, and the + beginning matched the saved state. + + -- Lars Wirzenius Thu, 29 Oct 1998 13:31:20 +0200 + +syslog-summary (1.5) unstable; urgency=low + + * Manual page is now compressed. + * Fixed name of changelog in /usr/doc. + * Fixed so that it works without --state. + + -- Lars Wirzenius Wed, 28 Oct 1998 18:49:28 +0200 + +syslog-summary (1.4) unstable; urgency=low + + * Added --state option to allow syslog-summary to only report lines once. + + -- Lars Wirzenius Mon, 19 Oct 1998 12:52:06 +0300 + +syslog-summary (1.3.1) unstable; urgency=low + + * Manual page actually installed into the .deb. + + -- Lars Wirzenius Sun, 9 Aug 1998 22:36:04 +0300 + +syslog-summary (1.3) unstable; urgency=low + + * Added options --quiet and --ignore, to make it less painful to run + syslog-summary every hour via cron. + * Added a manual page. + + -- Lars Wirzenius Sat, 8 Aug 1998 17:41:51 +0300 + +syslog-summary (1.2) unstable; urgency=low + + * Fixed the regular expression for matching the name of a month. + + -- Lars Wirzenius Tue, 7 Apr 1998 16:29:16 +0300 + +syslog-summary (1.0) unstable; urgency=low + + * First release. + + -- Lars Wirzenius Mon, 23 Feb 1998 16:03:54 +0200 + --- syslog-summary-1.14.orig/debian/README.source +++ syslog-summary-1.14/debian/README.source @@ -0,0 +1,8 @@ +Using quilt with debhelper +-------------------------- +If you use the dh command provided by debhelper 7, you can simply +call it with "dh --with quilt" and dh_quilt_patch/dh_quilt_unpatch +will be called at the right time. + +Otherwise you can manually call dh_quilt_patch / dh_quilt_unpatch +at the right place, see their respective manpages for examples. --- syslog-summary-1.14.orig/debian/NEWS +++ syslog-summary-1.14/debian/NEWS @@ -0,0 +1,8 @@ +syslog-summary (1.13-1) unstable; urgency=low + + The "ignore" file has been moved from /usr/share/doc/syslog-summary/examples/ + to /etc/syslog-summary/ignore.rules . Please update it as needed. + Comments are now allowed into this file: just prepend a "#" to the line + you want to comment! :) + + -- David Paleino Thu, 20 Feb 2008 10:22:05 +0100 --- syslog-summary-1.14.orig/debian/patches/series +++ syslog-summary-1.14/debian/patches/series @@ -0,0 +1,2 @@ +00-fix_Makefile.patch +01-fix_shebang.patch --- syslog-summary-1.14.orig/debian/patches/01-fix_shebang.patch +++ syslog-summary-1.14/debian/patches/01-fix_shebang.patch @@ -0,0 +1,16 @@ +From: David Paleino +Subject: don't hardcode python2.5 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588524 + +--- + syslog-summary | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- syslog-summary.orig/syslog-summary ++++ syslog-summary/syslog-summary +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.5 ++#!/usr/bin/python + # -*- coding: utf-8 -*- + + # Copyright © 2008-2009, David Paleino --- syslog-summary-1.14.orig/debian/patches/00-fix_Makefile.patch +++ syslog-summary-1.14/debian/patches/00-fix_Makefile.patch @@ -0,0 +1,16 @@ +Create directories before installing anything (already fixed upstream) +--- + Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +--- syslog-summary.orig/Makefile ++++ syslog-summary/Makefile +@@ -6,6 +6,8 @@ XP = xsltproc --nonet \ + version = $(shell grep ^version syslog-summary | cut -d\" -f2) + + install: ++ install -d $(DESTDIR)/usr/bin/ ++ install -d $(DESTDIR)/etc/syslog-summary/ + install -m 755 syslog-summary $(DESTDIR)/usr/bin/syslog-summary + install -m 644 ignore.rules $(DESTDIR)/etc/syslog-summary/ignore.rules +