1 |
# $Id: qmail.spec,v 1.5 2019/02/25 04:29:22 jpp Exp $ |
# $Id: qmail.spec,v 1.7 2019/03/02 03:43:52 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.5 2019/02/25 04:29:22 jpp Exp $ |
# $Id: qmail.spec,v 1.7 2019/03/02 03:43:52 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 22 |
%define release 24 |
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-20190517-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-20190517.patch |
28 |
|
#netqmail-1.06-tls-20160918-remote.patch |
29 |
|
#from http://inoa.net/qmail-tls/netqmail-1.06-tls-20160918.patch |
30 |
URL: http://cr.yp.to/%{name}.html |
URL: http://cr.yp.to/%{name}.html |
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
Provides: smtpdaemon |
Provides: smtpdaemon |
83 |
transparently by your current UAs. |
transparently by your current UAs. |
84 |
|
|
85 |
%changelog |
%changelog |
86 |
|
* Mon Sep 02 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-24.sme |
87 |
|
- update to last version of patch [SME: 9349] |
88 |
|
|
89 |
|
* Fri Mar 01 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-23.sme |
90 |
|
- update using last patch for netqmail, only qmail-remote part [SME: 9349] |
91 |
|
- add DEBUG flag for the moment to help configuring -DDEBUG=1 |
92 |
|
|
93 |
* Wed Feb 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-22.sme |
* Wed Feb 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-22.sme |
94 |
- fixed compilation line in spec file [SME: 9349] |
- fixed compilation line in spec file [SME: 9349] |
95 |
- now TLS and EHLO are defined to allow proper compilation |
- now TLS and EHLO are defined to allow proper compilation |
244 |
%build |
%build |
245 |
#echo gcc -O2 --include /usr/include/errno.h > conf-cc |
#echo gcc -O2 --include /usr/include/errno.h > conf-cc |
246 |
#cc -O2 -DTLS=20021228 -I/usr/local/ssl/include |
#cc -O2 -DTLS=20021228 -I/usr/local/ssl/include |
247 |
echo gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include -DEHLO=1 --include /usr/include/errno.h > conf-cc |
echo gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include -DEHLO=1 -DDEBUG=1 --include /usr/include/errno.h > conf-cc |
248 |
make |
make |
249 |
|
|
250 |
%install |
%install |