1 |
# $Id: qmail.spec,v 1.4 2017/04/13 16:06:04 unnilennium Exp $ |
# $Id: qmail.spec,v 1.6 2019/02/28 03:57:36 jpp 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.4 2017/04/13 16:06:04 unnilennium Exp $ |
# $Id: qmail.spec,v 1.6 2019/02/28 03:57:36 jpp 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 21 |
%define release 23 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
#Author: Daniel J. Bernstein |
#Author: Daniel J. Bernstein |
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 |
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 |
Patch5: http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/qmail-1.03-moreipme-0.6.patch |
26 |
Patch6: qmail-1.03-tls-20021228-renato_v2-remote.patch |
Patch6: netqmail-1.06-tls-20160918-remote.patch |
27 |
#from http://inoa.net/qmail-tls/qmail-1.03-tls-20021228-renato_v2.patch |
#from http://inoa.net/qmail-tls/netqmail-1.06-tls-20160918.patch |
28 |
URL: http://cr.yp.to/%{name}.html |
URL: http://cr.yp.to/%{name}.html |
29 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
30 |
Provides: smtpdaemon |
Provides: smtpdaemon |
81 |
transparently by your current UAs. |
transparently by your current UAs. |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Fri Mar 01 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-23.sme |
85 |
|
- update using last patch for netqmail, only qmail-remote part [SME: 9349] |
86 |
|
- add DEBUG flag for the moment to help configuring -DDEBUG=1 |
87 |
|
|
88 |
|
* Wed Feb 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-22.sme |
89 |
|
- fixed compilation line in spec file [SME: 9349] |
90 |
|
- now TLS and EHLO are defined to allow proper compilation |
91 |
|
|
92 |
* Sun Feb 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-21.sme |
* Sun Feb 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-21.sme |
93 |
- add remote tls transport for qmail-remote [SME: 9349] |
- add remote tls transport for qmail-remote [SME: 9349] |
94 |
- used qmail-1.03-tls-20021228-renato_v2.patch without qmail-smtpd parts |
- used qmail-1.03-tls-20021228-renato_v2.patch without qmail-smtpd parts |
237 |
%patch6 -p1 |
%patch6 -p1 |
238 |
|
|
239 |
%build |
%build |
240 |
echo gcc -O2 --include /usr/include/errno.h > conf-cc |
#echo gcc -O2 --include /usr/include/errno.h > conf-cc |
241 |
|
#cc -O2 -DTLS=20021228 -I/usr/local/ssl/include |
242 |
|
echo gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include -DEHLO=1 -DDEBUG=1 --include /usr/include/errno.h > conf-cc |
243 |
make |
make |
244 |
|
|
245 |
%install |
%install |