Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
qmail-scanner
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 23
[-]
[+]
Changed
qmail-scanner.spec
@@ -8,7 +8,7 @@ Name: qmail-scanner Summary: Content Scanner for Qmail Version: 2.04 -Release: 1 +Release: 2 License: GNU Group: Productivity/Networking/Email/Servers Source0: %{name}-%{version}.tgz @@ -42,7 +42,7 @@ --qmaildir %{qdir} \ --bindir %{qdir}/bin \ --spooldir %{qspool} \ - --qmail-queue-binary /usr/sbin/qmail-queue \ + --qmail-queue-binary %{qdir}/bin/qmail-queue \ --admin hostmaster \ --notify none \ --silent-viruses auto \ @@ -69,13 +69,18 @@ mkdir -p %{buildroot}%{qspool}/working/tmp %{buildroot}%{qspool}/working/cur %{buildroot}%{qspool}/working/new mkdir -p %{buildroot}%{qspool}/archive/tmp %{buildroot}%{qspool}/archive/cur %{buildroot}%{qspool}/archive/new mkdir -p %{buildroot}/%{qdir}/supervise/qmail-smtpd/env/ +mkdir -p %{buildroot}/%{_defaultdocdir}/%{name} +cp %{S:1} %{buildroot}/%{_defaultdocdir}/%{name}/%{name}.sql cp quarantine-events.txt %{buildroot}%{qspool}/ -ls -al cp qmail-scanner-queue.pl %{buildroot}%{qdir}/bin/qmail-scanner-queue.pl echo "%{qdir}/bin/qmail-scanner-queue.pl" > %{buildroot}/%{qdir}/supervise/qmail-smtpd/env/QMAILQUEUE %post if [ "$1" == "1" ]; then +%{fillup_and_insserv -fy spamd} +%{fillup_and_insserv -fy freshclam} +%{fillup_and_insserv -fy clamd} +chmod 4755 %{_bindir}/suidperl ½{qdir}/bin/qmail-scanner-queue.pl -z %{qdir}/bin/qmail-scanner-queue.pl -g fi @@ -85,6 +90,7 @@ %files %doc *.php README* CHANGES COPYING +%{_docdir} %defattr(4755,vpopmail,vchkpw) %{qdir}/bin/qmail-scanner-queue.pl %defattr(-,vpopmail,vchkpw) @@ -93,6 +99,10 @@ %{qdir}/supervise/qmail-smtpd/env/QMAILQUEUE %changelog +* Sat May 10 2008 Carsten Schoene <cs@linux-administrator.com> - 2.04-2 +- fix qmail-queue binary path +- initialize qmail-scanner after install + * Fri May 09 2008 Carsten Schoene <cs@linux-administrator.com> - 2.04-1 - new release 2.04 - Regex bug fixed in message-id check.