1 |
Name: qpsmtpd |
Name: qpsmtpd |
2 |
Version: 0.40 |
Version: 0.40 |
3 |
Release: 1.4%{?dist} |
Release: 1.6%{?dist} |
4 |
%define orig_version 0.40 |
%define orig_version 0.40 |
5 |
Summary: qpsmtpd |
Summary: qpsmtpd |
6 |
License: distributable |
License: distributable |
32 |
Patch103: qpsmtpd-0.40-peer_hooks.patch |
Patch103: qpsmtpd-0.40-peer_hooks.patch |
33 |
Patch104: qpsmtpd-0.40-clamd_conf.patch |
Patch104: qpsmtpd-0.40-clamd_conf.patch |
34 |
Patch105: qpsmtpd-0.40-denysoft.patch |
Patch105: qpsmtpd-0.40-denysoft.patch |
35 |
|
Patch106: qpsmtpd-0.40-clamav-headers.patch |
36 |
|
|
37 |
%description |
%description |
38 |
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 |
79 |
%patch103 -p1 |
%patch103 -p1 |
80 |
%patch104 -p1 |
%patch104 -p1 |
81 |
%patch105 -p1 |
%patch105 -p1 |
82 |
|
%patch106 -p1 |
83 |
|
|
84 |
%build |
%build |
85 |
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 |
255 |
/usr/share/qpsmtpd/plugins/async/dnsbl |
/usr/share/qpsmtpd/plugins/async/dnsbl |
256 |
/usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost |
/usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost |
257 |
|
|
258 |
|
%changelog |
259 |
|
* Thu Jun 30 2007 Shad L. Lords <slords@mail.com> 0.40-1.6.sme |
260 |
|
- Move clamav headers to top to not mess up message signing. |
261 |
|
|
262 |
|
* Thu Jun 28 2007 Gavin Weight <gweight@gmail.com> 0.40-1.5.sme |
263 |
|
- Remove the scriptlets within the .spec file. [SME: 3112] |
264 |
|
|
|
|
|
|
|
|
|
|
|
|
%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 |
|
|
|
|
|
%post |
|
|
/sbin/chkconfig --add qpsmtpd-forkserver |
|
|
|
|
|
%changelog |
|
265 |
* Mon Jun 25 2007 Shad L. Lords <slords@mail.com> 0.40-1.4.sme |
* Mon Jun 25 2007 Shad L. Lords <slords@mail.com> 0.40-1.4.sme |
266 |
- Deny soft if clamscan fails [SME: 3098] |
- Deny soft if clamscan fails [SME: 3098] |
267 |
|
|