From 5645dbcbe68fda2c7b71d5d93f387a80c64855bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 14 Apr 2006 14:29:52 +0000 Subject: [PATCH 1/1] - rel 7: fix build when sendmail binary is not present Changed files: amavisd.spec -> 1.61 --- amavisd.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/amavisd.spec b/amavisd.spec index a9f7359..ada8c59 100644 --- a/amavisd.spec +++ b/amavisd.spec @@ -6,7 +6,7 @@ Summary: A Mail Virus Scanner - Daemon Summary(pl): Antywirusowy skaner poczty elektronicznej - Demon Name: amavisd Version: 0.1 -Release: 6 +Release: 7 Epoch: 1 License: GPL Group: Applications/Mail @@ -61,6 +61,9 @@ Obsoletes: amavis Obsoletes: amavisd-new BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +# needs fix somewhere +%undefine with_ccache + %description AMaViS is a script that interfaces a mail transport agent (MTA) with one or more virus scanners. This is daemonized version of amavis. @@ -185,6 +188,7 @@ rm -f missing %{__automake} %{__autoconf} %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --enable-smtp \ --enable-postfix \ --enable-all \ @@ -199,6 +203,7 @@ rm -f missing mv amavis/amavisd amavis/amavisd.postfix %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --disable-smtp \ --enable-exim \ --enable-all \ @@ -214,6 +219,7 @@ mv amavis/amavisd amavis/amavisd.exim #NFY %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --disable-smtp \ --enable-qmail \ --enable-all \ @@ -229,6 +235,7 @@ mv amavis/amavisd amavis/amavisd.qmail mv amavis/amavis amavis/amavis.qmail-queue %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --disable-smtp \ --enable-sendmail \ --enable-all \ -- 2.44.0