1 |
|
# $Id: qpsmtpd.spec,v 1.16 2008/08/11 20:43:35 charliebrady Exp $ |
2 |
|
|
3 |
Name: qpsmtpd |
Name: qpsmtpd |
4 |
Version: 0.40 |
Version: 0.40 |
5 |
Release: 1.0%{?dist} |
Release: 1.11%{?dist} |
6 |
%define orig_version 0.40 |
%define orig_version 0.40 |
7 |
Summary: qpsmtpd |
Summary: qpsmtpd |
8 |
License: distributable |
License: distributable |
32 |
Patch101: qpsmtpd-0.40-badrcptto_allowrelay.patch |
Patch101: qpsmtpd-0.40-badrcptto_allowrelay.patch |
33 |
Patch102: qpsmtpd-0.40-clamav_fix.patch |
Patch102: qpsmtpd-0.40-clamav_fix.patch |
34 |
Patch103: qpsmtpd-0.40-peer_hooks.patch |
Patch103: qpsmtpd-0.40-peer_hooks.patch |
35 |
|
Patch104: qpsmtpd-0.40-clamd_conf.patch |
36 |
|
Patch105: qpsmtpd-0.40-denysoft.patch |
37 |
|
Patch106: qpsmtpd-0.40-clamav-headers.patch |
38 |
|
Patch107: qpsmtpd-0.40-rhsbl_disconnect.patch |
39 |
|
Patch108: qpsmtpd-0.40-badrcpttoPlugin.patch |
40 |
|
Patch109: qpsmtpd-0.40-spamassassin.patch |
41 |
|
Patch110: qpsmtpd-0.40-resolvable_fromhost.patch |
42 |
|
Patch111: qpsmtpd-0.40-fixClamscanParameterChange.patch |
43 |
|
|
44 |
%description |
%description |
45 |
qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core |
qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core |
46 |
SMTP features, all functionality is implemented in small "extension |
SMTP features, all functionality is implemented in small "extension |
82 |
#%patch8 -p0 -b .dns-random-id |
#%patch8 -p0 -b .dns-random-id |
83 |
%patch100 -p1 |
%patch100 -p1 |
84 |
%patch101 -p1 |
%patch101 -p1 |
85 |
%patch102 -p1 |
#%patch102 -p1 |
86 |
%patch103 -p1 |
%patch103 -p1 |
87 |
|
%patch104 -p1 |
88 |
|
%patch105 -p1 |
89 |
|
%patch106 -p1 |
90 |
|
%patch107 -p1 |
91 |
|
%patch108 -p1 |
92 |
|
%patch109 -p1 |
93 |
|
%patch110 -p1 |
94 |
|
%patch111 -p1 |
95 |
|
|
96 |
%build |
%build |
97 |
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLSITELIB=/usr/lib/perl5/site_perl |
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLSITELIB=/usr/lib/perl5/site_perl |
252 |
%config(noreplace) /etc/qpsmtpd/* |
%config(noreplace) /etc/qpsmtpd/* |
253 |
%config(noreplace) /etc/xinetd.d/smtp |
%config(noreplace) /etc/xinetd.d/smtp |
254 |
%config(noreplace) /etc/sysconfig/qpsmtpd-forkserver |
%config(noreplace) /etc/sysconfig/qpsmtpd-forkserver |
|
%attr(0700,smtpd,smtpd) %dir /var/spool/qpsmtpd |
|
|
%attr(0750,smtpd,smtpd) %dir /var/log/qpsmtpd |
|
255 |
|
|
256 |
%files apache -f qpsmtpd-apache-%{version}-filelist |
%files apache -f qpsmtpd-apache-%{version}-filelist |
257 |
%defattr(-,root,root) |
%defattr(-,root,root) |
267 |
/usr/share/qpsmtpd/plugins/async/dnsbl |
/usr/share/qpsmtpd/plugins/async/dnsbl |
268 |
/usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost |
/usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost |
269 |
|
|
270 |
|
%changelog |
271 |
|
* Sat Mar 28 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.40-1.11.sme |
272 |
|
- Adapt to Clamscan parameter change, fixing a log noice issue [SME: 5108] |
273 |
|
|
274 |
|
* Mon Aug 11 2008 Charlie Brady <charlie_brady@mitel.com> 0.40-1.10.sme |
275 |
|
- Fix resolvable_fromhost bug where one or more MX records points |
276 |
|
to unreachable hosts. [SME: 4403] |
277 |
|
|
278 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 0.40-1.9.sme |
279 |
|
- fix uninitialized value in spamassassin plugin [SME: 3340] |
280 |
|
|
281 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 0.40-1.8.sme |
282 |
|
- change to badrcptto plugin [SME: 3476] |
283 |
|
|
284 |
|
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 0.40-1.7.sme |
285 |
|
- Add support for disconnect option in rhsbl plugin [SME: 3390] |
286 |
|
|
287 |
%pre |
* Sat Jun 30 2007 Shad L. Lords <slords@mail.com> 0.40-1.6.sme |
288 |
if ! id smtpd >/dev/null 2>&1 |
- Move clamav headers to top to not mess up message signing. |
|
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 |
|
289 |
|
|
290 |
%post |
* Thu Jun 28 2007 Gavin Weight <gweight@gmail.com> 0.40-1.5.sme |
291 |
/sbin/chkconfig --add qpsmtpd-forkserver |
- Remove the scriptlets within the .spec file. [SME: 3112] |
292 |
|
|
293 |
|
* Mon Jun 25 2007 Shad L. Lords <slords@mail.com> 0.40-1.4.sme |
294 |
|
- Deny soft if clamscan fails [SME: 3098] |
295 |
|
|
296 |
|
* Fri Jun 15 2007 Shad L. Lords <slords@mail.com> 0.40-1.3.sme |
297 |
|
- Fix clamd.conf path for clamav plugin [SME: 3067] |
298 |
|
|
299 |
|
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 0.40-1.2.sme |
300 |
|
- Fix clamav patch so service starts [SME: 3065] |
301 |
|
|
302 |
|
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 0.40-1.1.sme |
303 |
|
- Update for smeserver [SME: 3065] |
304 |
|
|
|
%changelog |
|
305 |
* Tue Jun 12 2007 <hjp@hjp.at> 0.40-1.0 |
* Tue Jun 12 2007 <hjp@hjp.at> 0.40-1.0 |
306 |
- updated to 0.40 - no code change. |
- updated to 0.40 - no code change. |
307 |
|
|