1 |
# $Id: qmail.spec,v 1.3 2017/04/12 22:36:08 unnilennium Exp $ |
# $Id: qmail.spec,v 1.4 2017/04/13 16:06:04 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.3 2017/04/12 22:36:08 unnilennium Exp $ |
# $Id: qmail.spec,v 1.4 2017/04/13 16:06:04 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 20 |
%define release 21 |
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 |
27 |
|
#from http://inoa.net/qmail-tls/qmail-1.03-tls-20021228-renato_v2.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 |
31 |
Requires: /bin/cut, /bin/grep, /usr/bin/id |
Requires: /bin/cut, /bin/grep, /usr/bin/id |
32 |
Requires: /usr/sbin/useradd, /usr/sbin/groupadd |
Requires: /usr/sbin/useradd, /usr/sbin/groupadd |
33 |
|
Requires: openssl |
34 |
BuildRequires: groff |
BuildRequires: groff |
35 |
|
BuildRequires: openssl openssl-devel |
36 |
Conflicts: sendmail |
Conflicts: sendmail |
37 |
AutoReqProv: no |
AutoReqProv: no |
38 |
|
|
81 |
transparently by your current UAs. |
transparently by your current UAs. |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Sun Feb 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-21.sme |
85 |
|
- add remote tls transport for qmail-remote [SME: 9349] |
86 |
|
- used qmail-1.03-tls-20021228-renato_v2.patch without qmail-smtpd parts |
87 |
|
|
88 |
* Thu Apr 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-20.sme |
* Thu Apr 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-20.sme |
89 |
- added documentation [SME: 9704] |
- added documentation [SME: 9704] |
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 |
265 |
qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \ |
qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \ |
266 |
qsmhook qbiff forward preline condredirect \ |
qsmhook qbiff forward preline condredirect \ |
267 |
bouncesaying except maildirmake maildir2mbox maildirwatch \ |
bouncesaying except maildirmake maildir2mbox maildirwatch \ |
268 |
qail elq pinq ipmetest ipmeprint |
qail elq pinq ipmetest ipmeprint |
269 |
do |
do |
270 |
mv $i $RPM_BUILD_ROOT/var/qmail/bin/ |
mv $i $RPM_BUILD_ROOT/var/qmail/bin/ |
271 |
done |
done |