1 |
# $Id: qpsmtpd.spec,v 1.21 2009/11/03 21:53:04 slords Exp $ |
# $Id: qpsmtpd.spec,v 1.25 2010/03/03 16:23:23 filippocarletti Exp $ |
2 |
|
|
3 |
Name: qpsmtpd |
Name: qpsmtpd |
4 |
Version: 0.83 |
Version: 0.83 |
5 |
Release: 0.5%{?dist} |
Release: 0.7%{?dist} |
6 |
Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async |
Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async |
7 |
License: distributable |
License: distributable |
8 |
Group: System Environment/Daemons |
Group: System Environment/Daemons |
9 |
URL: http://smtpd.develooper.com/ |
URL: http://smtpd.develooper.com/ |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
11 |
BuildRequires: perl >= 0:5.00503 |
BuildRequires: perl >= 0:5.00503 |
12 |
BuildArchitectures: noarch |
BuildArch: noarch |
13 |
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) |
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) |
14 |
Requires(pre): coreutils, shadow-utils, perl |
Requires(pre): coreutils, shadow-utils, perl |
15 |
|
|
23 |
Source7: README.selinux |
Source7: README.selinux |
24 |
|
|
25 |
Patch10: qpsmtpd-0.83-loginit.patch |
Patch10: qpsmtpd-0.83-loginit.patch |
26 |
|
Patch11: qpsmtpd-48d1a5b9febc96d2d3c4110500759e36fb4eabb6.patch |
27 |
|
Patch12: qpsmtpd-de3fbb565f711bc27e7bfa061e83c3020710dc16.patch |
28 |
|
|
29 |
Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch |
Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch |
30 |
Patch101: qpsmtpd-0.83-peer_hooks.patch |
Patch101: qpsmtpd-0.83-peer_hooks.patch |
61 |
%prep |
%prep |
62 |
%setup -q |
%setup -q |
63 |
%patch10 -p1 |
%patch10 -p1 |
64 |
|
%patch11 -p1 |
65 |
|
%patch12 -p1 |
66 |
%patch100 -p1 |
%patch100 -p1 |
67 |
%patch101 -p1 |
%patch101 -p1 |
68 |
%patch102 -p1 |
%patch102 -p1 |
141 |
%config(noreplace) %{_sysconfdir}/qpsmtpd/* |
%config(noreplace) %{_sysconfdir}/qpsmtpd/* |
142 |
%config(noreplace) %{_sysconfdir}/xinetd.d/smtp |
%config(noreplace) %{_sysconfdir}/xinetd.d/smtp |
143 |
%config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver |
%config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver |
|
%attr(2750,qpsmtpd,clamav) %dir %{_localstatedir}/spool/qpsmtpd |
|
|
%attr(2750,smelog,smelog) %dir %{_localstatedir}/log/qpsmtpd |
|
144 |
|
|
145 |
%files apache |
%files apache |
146 |
%defattr(-,root,root) |
%defattr(-,root,root) |
161 |
%{_datadir}/%{name}/plugins/async/* |
%{_datadir}/%{name}/plugins/async/* |
162 |
|
|
163 |
%pre |
%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 |
|
164 |
|
|
165 |
%changelog |
%changelog |
166 |
* Tue Nov 3 2009 <slords@lordsfam.net> 0.83-0.5.sme |
* Wed Mar 3 2010 <filippo.carletti@gmail.com> 0.83-0.7.sme |
167 |
|
- Remove spool and log dir from package (in smeserver-qpsmtpd) |
168 |
|
- Don't create smtpd user (unused in sme) [SME: 5815] |
169 |
|
|
170 |
|
* Thu Nov 5 2009 <smeserver-contribs@snetram.nl> 0.83-0.6.sme |
171 |
|
- Apply qpsmtpd git changesets to implement custom SPAM |
172 |
|
subject prefix [SME: 5031] |
173 |
|
|
174 |
|
* Tue Nov 3 2009 <slords@mail.com> 0.83-0.5.sme |
175 |
- Update pre requires so scripts don't fail on install [SME: 5558] |
- Update pre requires so scripts don't fail on install [SME: 5558] |
176 |
|
|
177 |
* Sat Oct 31 2009 <slords@lordsfam.net> 0.83-0.4.sme |
* Sat Oct 31 2009 <slords@mail.com> 0.83-0.4.sme |
178 |
- Rebase bad_rcptto patch to remove orig file [SME: 5548] |
- Rebase bad_rcptto patch to remove orig file [SME: 5548] |
179 |
- Change logging in tls init to prevent warnings [SME: 5551] |
- Change logging in tls init to prevent warnings [SME: 5551] |
180 |
|
|
181 |
* Thu Oct 29 2009 <slords@lordsfam.net> 0.83-0.3.sme |
* Thu Oct 29 2009 <slords@mail.com> 0.83-0.3.sme |
182 |
- Only run/initialize plugins once [SME: 5533] |
- Only run/initialize plugins once [SME: 5533] |
183 |
|
|
184 |
* Mon Oct 26 2009 <filippo.carletti@gmail.com> 0.83-0.2.sme |
* Mon Oct 26 2009 <filippo.carletti@gmail.com> 0.83-0.2.sme |
185 |
- Change spool dir permissions and owner to qpsmtpd:clamav |
- Change spool dir permissions and owner to qpsmtpd:clamav |
186 |
- Change log dir permissions and owner to smelog:smelog |
- Change log dir permissions and owner to smelog:smelog |
187 |
|
|
188 |
* Tue Sep 22 2009 <filippo.carletti@gmail.com> 0.83-0.2.sme |
* Tue Sep 22 2009 <filippo.carletti@gmail.com> 0.83-0.1.sme |
189 |
- add sme specific patches |
- add sme specific patches |
190 |
|
|
191 |
* Fri Sep 18 2009 <rpmbuild@robinbowes.com> 0.83-0.1 |
* Fri Sep 18 2009 <rpmbuild@robinbowes.com> 0.83-0.1 |