1 |
# $Id: qmail.spec,v 1.5 2017/04/10 20:33:21 unnilennium Exp $ |
# $Id: qmail.spec,v 1.6 2017/04/13 15:55:52 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.5 2017/04/10 20:33:21 unnilennium Exp $ |
# $Id: qmail.spec,v 1.6 2017/04/13 15:55:52 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 21 |
%define release 25 |
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: netqmail-1.06-tls-20190517-remote.patch |
27 |
|
#adapted from http://inoa.net/qmail-tls/netqmail-1.06-tls-20190517.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 |
79 |
transparently by your current UAs. |
transparently by your current UAs. |
80 |
|
|
81 |
%changelog |
%changelog |
82 |
|
* Mon Apr 12 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.03-25.sme |
83 |
|
- add remote tls transport for qmail-remote [SME: 9349] |
84 |
|
- updated release number higher than SME9 |
85 |
|
- now TLS and EHLO are defined to allow proper compilation |
86 |
|
- add DEBUG flag for the moment to help configuring -DDEBUG=1 |
87 |
|
|
88 |
* Thu Apr 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-21.sme |
* Thu Apr 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-21.sme |
89 |
- added documentation [SME: 9705] |
- added documentation [SME: 9705] |
90 |
- added binaries ipmetest et ipmeprint to help configuration |
- added binaries ipmetest et ipmeprint to help configuration |
226 |
#%patch3 -p1 |
#%patch3 -p1 |
227 |
%patch4 -p1 |
%patch4 -p1 |
228 |
%patch5 -p1 |
%patch5 -p1 |
229 |
|
%patch6 -p1 |
230 |
|
|
231 |
%build |
%build |
232 |
echo gcc -O2 --include /usr/include/errno.h > conf-cc |
#echo gcc -O2 --include /usr/include/errno.h > conf-cc |
233 |
|
#gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include |
234 |
|
echo gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include -DEHLO=1 -DDEBUG=1 --include /usr/include/errno.h > conf-cc |
235 |
make |
make |
236 |
|
|
237 |
%install |
%install |