debian/0000755000000000000000000000000011716251507007173 5ustar debian/dirs0000644000000000000000000000003311716246607010060 0ustar usr/bin usr/share/man/man8 debian/patches/0000755000000000000000000000000011716251455010624 5ustar debian/patches/series0000644000000000000000000000002311716247461012036 0ustar fhsify fix_manpage debian/patches/fhsify0000644000000000000000000000066511716247446012053 0ustar Index: sma-1.4/Makefile =================================================================== --- sma-1.4.orig/Makefile 2012-02-13 09:56:50.954199395 -0800 +++ sma-1.4/Makefile 2012-02-13 09:57:54.914138159 -0800 @@ -2,8 +2,8 @@ # $Id: Makefile,v 1.3 2001/10/29 10:24:37 jt Exp $ # -BINDIR = /usr/local/bin -MANDIR = /usr/local/man/man8 +BINDIR = /usr/bin +MANDIR = /usr/man/man8 CC = gcc # XPG3 regular expressions (GNU/BSD/SVR4) debian/patches/fix_manpage0000644000000000000000000000204511716251455013026 0ustar Index: sma-1.4/docs/sma.8 =================================================================== --- sma-1.4.orig/docs/sma.8 2012-02-13 10:02:22.000000000 -0800 +++ sma-1.4/docs/sma.8 2012-02-13 10:14:46.232849408 -0800 @@ -130,6 +130,7 @@ Print some debugging information for each parsed line. .It Fl w Format the report as HTML. +.El .Sh KEYWORDS .Nm configuration file consists of keyword-value pairs. @@ -164,9 +165,9 @@ consists of ordinary characters and various two-character sequencies which are replaced with built-in variables as follows: .Bl -tag -width indent -.It Nm %U +.It Nm \&%U time in UNIX time format -.It Nm %D +.It Nm \&%D time in form "Wed Jun 30 21:49:08 1993" .It Nm %y year, four digits @@ -192,7 +193,7 @@ envelope recipient .It Nm %F relay sender -.It Nm %\T +.It Nm \&%T relay recipient .It Nm %S status (1 = sent, 0 = error) @@ -429,6 +430,7 @@ .It Nm TbColor Ar RGB Set HTML report table corner color as .Ar RGB. +.El .Sh FILES .Nm sma can as an option use a configuration file. It's default location can be debian/rules0000755000000000000000000000375411716250176010265 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. $(MAKE) #docbook-to-man debian/sma.sgml > sma.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. [ -f Makefile ] && $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/sma. $(MAKE) install BINDIR=$(CURDIR)/debian/sma/usr/bin MANDIR=$(CURDIR)/debian/sma/usr/share/man/man8 # 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_installchangelogs dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs 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 debian/docs0000644000000000000000000000002111716246607010044 0ustar BUGS README TODO debian/control0000644000000000000000000000106411716250044010572 0ustar Source: sma Section: mail Priority: optional Maintainer: Andrew Pollock Build-Depends: debhelper (>= 4.0.0) Standards-Version: 3.9.2 Homepage: http://www.klake.org/sma/ Package: sma Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Sendmail log analyser SMA is a program that analyses Sendmail log entries. . Features: . - Support for all recent Sendmail versions - Flexible output formatting - HTML, ASCII and a custom log - Regular expression filtering of messages - Multiple hosts in the same report debian/changelog0000644000000000000000000000120411716251507011042 0ustar sma (1.4-2) unstable; urgency=low * Convert to 3.0 (quilt) format - move upstream source modifications from the diff to debian/patches * Bumped debhelper compatibility level to 7 * debian/rules: added build-{indep,arch} targets * debian/control: added Homepage * debian/rules: substituted dh_prep for dh_clean -k * debian/control: bumped Standards-Version * Updated manpage patch to fix one more error -- Andrew Pollock Mon, 13 Feb 2012 10:15:21 -0800 sma (1.4-1) unstable; urgency=low * Initial release Closes: #435306 -- Andrew Pollock Sun, 9 Apr 2006 22:43:11 -0700 debian/compat0000644000000000000000000000000211716247545010400 0ustar 7 debian/source/0000755000000000000000000000000011716247111010467 5ustar debian/source/format0000644000000000000000000000001411716247111011675 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000273011716246607011135 0ustar This package was debianized by Andrew Pollock on Sun, 9 Apr 2006 22:43:11 -0700. It was downloaded from http://www.klake.org/sma/ Copyright Holder: Jarkko Turkulainen License: Copyright (c) 2000 - 2003 Jarkko Turkulainen. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY JARKKO TURKULAINEN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JARKKO TURKULAINEN BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.