--- clamassassin-1.2.4.orig/debian/changelog +++ clamassassin-1.2.4/debian/changelog @@ -0,0 +1,34 @@ +clamassassin (1.2.4-1.1) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Sun, 03 Jan 2021 12:58:25 +0100 + +clamassassin (1.2.4-1) unstable; urgency=low + + * New upstream release. + * Allow configuration via /etc/default/clamassassin. + + -- Robert S. Edmonds Sun, 27 May 2007 02:27:24 -0400 + +clamassassin (1.2.3-2) unstable; urgency=low + + * Acknowledge NMU, closes: #412832. + * Add the system hostname to the clamassassin version header, based on a + patch from Karl Chen; closes: #415096. + + -- Robert S. Edmonds Sat, 17 Mar 2007 08:23:31 -0400 + +clamassassin (1.2.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove obsolete --mbox option from clamscan call + + -- Stephen Gran Wed, 28 Feb 2007 13:22:00 +0000 + +clamassassin (1.2.3-1) unstable; urgency=low + + * Initial release, closes: #300996. + + -- Robert S. Edmonds Mon, 11 Dec 2006 20:06:47 -0500 --- clamassassin-1.2.4.orig/debian/clamassassin.1 +++ clamassassin-1.2.4/debian/clamassassin.1 @@ -0,0 +1,15 @@ +.TH CLAMASSASSIN "1" "December 2006" "clamassassin" "User Commands" +.SH NAME +clamassassin \- email virus filter wrapper for ClamAV for use in procmail and other applications +.SH SYNOPSIS +.B clamassassin +.SH DESCRIPTION +.PP +clamassassin is a simple script for virus scanning an e-mail message as a +filter. An email message is read on stdin, scanned for viruses with the ClamAV +antivirus engine, and annotated with the results of the scan on stdout. +.PP +If a message is virus infected, the X-Virus-Status header is set to Yes and +the X-Virus-Report header is set to the virus(es) found. +.PP +If the message is fine, it is passed through with X-Virus-Status set to No. --- clamassassin-1.2.4.orig/debian/compat +++ clamassassin-1.2.4/debian/compat @@ -0,0 +1 @@ +5 --- clamassassin-1.2.4.orig/debian/control +++ clamassassin-1.2.4/debian/control @@ -0,0 +1,16 @@ +Source: clamassassin +Section: mail +Priority: optional +Maintainer: Robert S. Edmonds +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: clamassassin +Architecture: all +Depends: clamav, procmail +Description: email virus filter wrapper for ClamAV + clamassassin is a simple virus filter wrapper for ClamAV for use in procmail + filters and similar applications. clamassassin's interface is similar to + that of spamassassin, making it easy to implement for those familiar with that + tool. clamassassin is designed with an emphasis on security, robustness and + simplicity. --- clamassassin-1.2.4.orig/debian/copyright +++ clamassassin-1.2.4/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Robert S. Edmonds on +Sat, 14 Oct 2006 20:36:39 -0400. + +It was downloaded from http://drivel.com/clamassassin/ + +Copyright Holder: + +Copyright (c) 2003-2006, James Lick + +License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + + * 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. + + * Neither the name of James Lick nor the names of its contributors may +be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER OR +CONTRIBUTORS 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. --- clamassassin-1.2.4.orig/debian/default +++ clamassassin-1.2.4/debian/default @@ -0,0 +1,17 @@ +# Modify Subject line with a header ala spamassassin with rewrite_subject on +# You'll want to add a trailing space before the old subject +#SUBJECTHEAD="" + +# Configure your full path to clamscan or clamdscan +# (If you use clamdscan, see the README for directions) +#CLAMSCAN=clamscan + +# Configure options passed to clamscanner +#CLAMSCANOPT="--no-summary --stdout" + +# Configure flag to add clamscanner to version header +#ADDSCANNERFLAG=1 + +# Configure whether or not the virus signature version is added +# Default: 0.80 and higher: off, others: on +#SIGVERSFLAG=0 --- clamassassin-1.2.4.orig/debian/patch +++ clamassassin-1.2.4/debian/patch @@ -0,0 +1,13 @@ +--- clamassassin.orig 2007-05-27 02:18:00.971409000 -0400 ++++ clamassassin 2007-05-27 02:18:32.591409000 -0400 +@@ -82,6 +82,10 @@ + SED=sed + ECHO=echo + ++if [ -r /etc/default/clamassassin ]; then ++ . /etc/default/clamassassin ++fi ++ + # END CONFIGURATION + + # DO NOT MAKE CHANGES PAST THIS LINE --- clamassassin-1.2.4.orig/debian/rules +++ clamassassin-1.2.4/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +PKG = clamassassin + +build: + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + + mkdir -p debian/$(PKG)/usr/bin debian/$(PKG)/etc/default + sed -f debian/sedscript clamassassin.in > \ + debian/$(PKG)/usr/bin/clamassassin + cd debian/$(PKG)/usr/bin && patch -p0 < $(CURDIR)/debian/patch + install -m 0644 debian/default debian/$(PKG)/etc/default/clamassassin + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs README + dh_installman debian/clamassassin.1 + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep + +.PHONY: build clean install binary-arch binary-indep binary --- clamassassin-1.2.4.orig/debian/sedscript +++ clamassassin-1.2.4/debian/sedscript @@ -0,0 +1,17 @@ +#!/bin/sed -f +# This script is in the public domain. +s%@CONF_TMP@%/tmp% +s%@CONF_SUBJECTHEAD@%% +s%@CONF_FORMAIL@%formail% +s%@CONF_CLAMSCANNER@%clamscan% +s%@CONF_CLAMSCANOPT@%--no-summary --stdout% +s%@CONF_ADDSCANNERFLAG@%1% +s%@CONF_SIGTOOL@%sigtool% +s%@CONF_SIGLOC@%/var/lib/clamav% +s%@CONF_SIGVERSFLAG@%0% +s%@CONF_MKTEMP@%mktemp% +s%@CONF_RM@%rm% +s%@CONF_CAT@%cat% +s%@CONF_SED@%sed% +s%@CONF_ECHO@%echo% +s%@PACKAGE_STRING@%clamassassin 1.2.4%