--- rpms/qpsmtpd/sme8/qpsmtpd.spec 2009/10/26 18:30:13 1.18 +++ rpms/qpsmtpd/sme8/qpsmtpd.spec 2010/03/03 16:23:23 1.25 @@ -1,16 +1,17 @@ -# $Id: qpsmtpd.spec,v 1.17 2009/10/16 22:45:26 slords Exp $ +# $Id: qpsmtpd.spec,v 1.24 2009/11/05 18:06:59 snetram Exp $ Name: qpsmtpd Version: 0.83 -Release: 0.2%{?dist} +Release: 0.7%{?dist} Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async License: distributable Group: System Environment/Daemons URL: http://smtpd.develooper.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl >= 0:5.00503 -BuildArchitectures: noarch +BuildArch: noarch Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) +Requires(pre): coreutils, shadow-utils, perl Source0: %{name}-%{version}.tar.gz Source1: qpsmtpd-forkserver.rc @@ -21,6 +22,10 @@ Source5: in.qpsmtpd Source6: qpsmtpd.conf Source7: README.selinux +Patch10: qpsmtpd-0.83-loginit.patch +Patch11: qpsmtpd-48d1a5b9febc96d2d3c4110500759e36fb4eabb6.patch +Patch12: qpsmtpd-de3fbb565f711bc27e7bfa061e83c3020710dc16.patch + Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch Patch101: qpsmtpd-0.83-peer_hooks.patch Patch102: qpsmtpd-0.83-clamd_conf.patch @@ -55,6 +60,9 @@ qpsmpd-async which uses it. %prep %setup -q +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 %patch100 -p1 %patch101 -p1 %patch102 -p1 @@ -133,8 +141,6 @@ fi %config(noreplace) %{_sysconfdir}/qpsmtpd/* %config(noreplace) %{_sysconfdir}/xinetd.d/smtp %config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver -%attr(2750,qpsmtpd,clamav) %dir %{_localstatedir}/spool/qpsmtpd -%attr(2750,smelog,smelog) %dir %{_localstatedir}/log/qpsmtpd %files apache %defattr(-,root,root) @@ -155,27 +161,36 @@ fi %{_datadir}/%{name}/plugins/async/* %pre -if ! id smtpd >/dev/null 2>&1 -then - # need to create smtpd user. - if perl -e 'exit ! defined(getgrnam("postdrop"))' - then - # if postfix is installed, we will probably use - # queue/postfix, which will need this: - supp="-G postdrop" - fi - useradd -r -m $supp smtpd -fi %changelog +* Wed Mar 3 2010 0.83-0.7.sme +- Remove spool and log dir from package (in smeserver-qpsmtpd) +- Don't create smtpd user (unused in sme) [SME: 5815] + +* Thu Nov 5 2009 0.83-0.6.sme +- Apply qpsmtpd git changesets to implement custom SPAM + subject prefix [SME: 5031] + +* Tue Nov 3 2009 0.83-0.5.sme +- Update pre requires so scripts don't fail on install [SME: 5558] + +* Sat Oct 31 2009 0.83-0.4.sme +- Rebase bad_rcptto patch to remove orig file [SME: 5548] +- Change logging in tls init to prevent warnings [SME: 5551] + +* Thu Oct 29 2009 0.83-0.3.sme +- Only run/initialize plugins once [SME: 5533] + * Mon Oct 26 2009 0.83-0.2.sme - Change spool dir permissions and owner to qpsmtpd:clamav - Change log dir permissions and owner to smelog:smelog -* Fri Sep 18 2009 0.83-0.1.sme -- Update to 0.83 +* Tue Sep 22 2009 0.83-0.1.sme - add sme specific patches +* Fri Sep 18 2009 0.83-0.1 +- Update to 0.83 + * Sun Jul 12 2009 0.82-0.1 - Update to latest release - don't add qpsmtpd to start-up by default