|
|
@@ -39,7 +39,7 @@ Distribution: OpenPKG [JUNK]
|
|
|
Group: Mail
|
|
|
License: GPL
|
|
|
Version: %{V_major}%{V_minor}
|
|
|
-Release: 20030628
|
|
|
+Release: 20030707
|
|
|
|
|
|
# package options
|
|
|
%option with_milter no
|
|
|
@@ -71,7 +71,7 @@ AutoReqProv: no
|
|
|
with any MTA as a SMTP relay.
|
|
|
|
|
|
%prep
|
|
|
- %setup -q -n %{name}-new-%{V_major}
|
|
|
+ %setup -q -n amavisd-new-%{V_major}
|
|
|
|
|
|
%build
|
|
|
%if "%{with_milter}" == "yes"
|
|
|
@@ -109,6 +109,9 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/sbin/
|
|
|
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
+ -e "s;'clamscan';%{l_prefix}/bin/clamscan;g" \
|
|
|
+ -e "s;'uvscan';%{l_prefix}/bin/uvscan;g" \
|
|
|
+ -e 's;/var/amavis/clamd;%{l_prefix}/var/clamav/clamd.sock;g' \
|
|
|
-e 's;/var/amavis;%{l_prefix}/var/amavisd;g' \
|
|
|
-e 's;/var/virusmails;%{l_prefix}/var/amavisd/virusmails;g' \
|
|
|
-e 's;/usr/bin/sendmail;%{l_prefix}/bin/sendmail;g' \
|