1 |
# $Id: qmail.spec,v 1.7 2009/05/12 16:26:10 filippocarletti Exp $ |
# $Id: qmail.spec,v 1.3 2017/04/12 22:36:08 unnilennium Exp $ |
2 |
|
|
3 |
# |
# |
4 |
# RPM spec file for Dan Bernstein's qmail package |
# RPM spec file for Dan Bernstein's qmail package |
5 |
# |
# |
6 |
# $Id: qmail.spec,v 1.7 2009/05/12 16:26:10 filippocarletti Exp $ |
# $Id: qmail.spec,v 1.3 2017/04/12 22:36:08 unnilennium Exp $ |
7 |
# |
# |
8 |
Summary: A modern, fast, secure replacement for sendmail |
Summary: A modern, fast, secure replacement for sendmail |
9 |
%define name qmail |
%define name qmail |
10 |
Name: %{name} |
Name: %{name} |
11 |
%define version 1.03 |
%define version 1.03 |
12 |
%define release 17 |
%define release 20 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
#Author: Daniel J. Bernstein |
#Author: Daniel J. Bernstein |
16 |
License: Public Domain |
License: Public Domain |
17 |
Group: Networking/Daemons |
Group: Networking/Daemons |
18 |
Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz |
Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz |
19 |
|
Source1: http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/moreipme.README |
20 |
Patch0: qmail-1.03-echouser.patch |
Patch0: qmail-1.03-echouser.patch |
21 |
Patch1: http://homepages.tesco.net./~J.deBoynePollard/Softwares/qmail/any-to-cname.patch |
Patch1: http://homepages.tesco.net./~J.deBoynePollard/Softwares/qmail/any-to-cname.patch |
22 |
Patch2: qmail-103-dns_response_buffer.patch |
Patch2: qmail-103-dns_response_buffer.patch |
23 |
Patch3: http://www.suspectclass.com/sgifford/qmail/qmail-0.0.0.0.patch |
#Patch3: http://www.suspectclass.com/sgifford/qmail/qmail-0.0.0.0.patch |
24 |
|
Patch4: qmail-inject-null-sender.patch |
25 |
|
Patch5: http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/qmail-1.03-moreipme-0.6.patch |
26 |
URL: http://cr.yp.to/%{name}.html |
URL: http://cr.yp.to/%{name}.html |
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
Provides: smtpdaemon |
Provides: smtpdaemon |
77 |
transparently by your current UAs. |
transparently by your current UAs. |
78 |
|
|
79 |
%changelog |
%changelog |
80 |
|
* Thu Apr 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-20.sme |
81 |
|
- added documentation [SME: 9704] |
82 |
|
- added binaries ipmetest et ipmeprint to help configuration |
83 |
|
|
84 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-19.sme |
85 |
|
- add moreip to avoid loop [SME: 9704] |
86 |
|
- patch from Scott Gifford |
87 |
|
- remove qmail-0.0.0.0.patch as it is included |
88 |
|
|
89 |
|
* Mon Dec 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.03-18 |
90 |
|
- Consider literal <> as null sender [SME: 9883] |
91 |
|
|
92 |
* Tue May 12 2009 Filippo Carletti <filippo.carletti@gmail.com> 1.03-17 |
* Tue May 12 2009 Filippo Carletti <filippo.carletti@gmail.com> 1.03-17 |
93 |
- Add Scott Gifford patch to treat 0.0.0.0 as a local ip [SME: 5171] |
- Add Scott Gifford patch to treat 0.0.0.0 as a local ip [SME: 5171] |
94 |
|
|
215 |
%patch0 -p1 |
%patch0 -p1 |
216 |
%patch1 -p1 |
%patch1 -p1 |
217 |
%patch2 -p1 |
%patch2 -p1 |
218 |
%patch3 -p1 |
#%patch3 -p1 |
219 |
|
%patch4 -p1 |
220 |
|
%patch5 -p1 |
221 |
|
|
222 |
%build |
%build |
223 |
echo gcc -O2 --include /usr/include/errno.h > conf-cc |
echo gcc -O2 --include /usr/include/errno.h > conf-cc |
256 |
qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \ |
qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \ |
257 |
qsmhook qbiff forward preline condredirect \ |
qsmhook qbiff forward preline condredirect \ |
258 |
bouncesaying except maildirmake maildir2mbox maildirwatch \ |
bouncesaying except maildirmake maildir2mbox maildirwatch \ |
259 |
qail elq pinq |
qail elq pinq ipmetest ipmeprint |
260 |
do |
do |
261 |
mv $i $RPM_BUILD_ROOT/var/qmail/bin/ |
mv $i $RPM_BUILD_ROOT/var/qmail/bin/ |
262 |
done |
done |
278 |
do |
do |
279 |
mv $i $RPM_BUILD_ROOT/var/qmail/doc/ |
mv $i $RPM_BUILD_ROOT/var/qmail/doc/ |
280 |
done |
done |
281 |
|
%{__install} -Dp %{SOURCE1} %{buildroot}/var/qmail/doc/ |
282 |
|
|
283 |
for i in 1 5 7 8 |
for i in 1 5 7 8 |
284 |
do |
do |
504 |
%attr(700,qmails,qmail) %dir /var/qmail/queue/remote/21 |
%attr(700,qmails,qmail) %dir /var/qmail/queue/remote/21 |
505 |
%attr(700,qmails,qmail) %dir /var/qmail/queue/remote/22 |
%attr(700,qmails,qmail) %dir /var/qmail/queue/remote/22 |
506 |
%attr(750,qmailq,qmail) %dir /var/qmail/queue/lock |
%attr(750,qmailq,qmail) %dir /var/qmail/queue/lock |
507 |
|
%attr(755,root,qmail) /var/qmail/bin/ipmetest |
508 |
|
%attr(755,root,qmail) /var/qmail/bin/ipmeprint |
509 |
%attr(4711,qmailq,qmail) /var/qmail/bin/qmail-queue |
%attr(4711,qmailq,qmail) /var/qmail/bin/qmail-queue |
510 |
%attr(700,root,qmail) /var/qmail/bin/qmail-lspawn |
%attr(700,root,qmail) /var/qmail/bin/qmail-lspawn |
511 |
%attr(700,root,qmail) /var/qmail/bin/qmail-start |
%attr(700,root,qmail) /var/qmail/bin/qmail-start |
583 |
%attr(644,root,qmail) /var/qmail/doc/PIC.relaybad |
%attr(644,root,qmail) /var/qmail/doc/PIC.relaybad |
584 |
%attr(644,root,qmail) /var/qmail/doc/PIC.relaygood |
%attr(644,root,qmail) /var/qmail/doc/PIC.relaygood |
585 |
%attr(644,root,qmail) /var/qmail/doc/PIC.rem2local |
%attr(644,root,qmail) /var/qmail/doc/PIC.rem2local |
586 |
|
%attr(644,root,qmail) /var/qmail/doc/moreipme.README |
587 |
%attr(644,root,qmail) /var/qmail/man/cat1/forward.0 |
%attr(644,root,qmail) /var/qmail/man/cat1/forward.0 |
588 |
%attr(644,root,qmail) /var/qmail/man/cat1/condredirect.0 |
%attr(644,root,qmail) /var/qmail/man/cat1/condredirect.0 |
589 |
%attr(644,root,qmail) /var/qmail/man/cat1/bouncesaying.0 |
%attr(644,root,qmail) /var/qmail/man/cat1/bouncesaying.0 |