/[smeserver]/rpms/qmail/sme9/qmail.spec
ViewVC logotype

Diff of /rpms/qmail/sme9/qmail.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by vip-ire, Mon Dec 5 15:52:16 2016 UTC Revision 1.8 by jpp, Tue Sep 3 02:09:55 2019 UTC
# Line 1  Line 1 
1  # $Id: qmail.spec,v 1.1 2013/02/02 00:24:43 slords 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.1 2013/02/02 00:24:43 slords 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 18  %define release 24
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  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    Patch6: netqmail-1.06-tls-20190517-remote.patch
27    #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
33  Requires: /bin/cut, /bin/grep, /usr/bin/id  Requires: /bin/cut, /bin/grep, /usr/bin/id
34  Requires: /usr/sbin/useradd, /usr/sbin/groupadd  Requires: /usr/sbin/useradd, /usr/sbin/groupadd
35    Requires: openssl
36  BuildRequires: groff  BuildRequires: groff
37    BuildRequires: openssl openssl-devel
38  Conflicts: sendmail  Conflicts: sendmail
39  AutoReqProv: no  AutoReqProv: no
40    
# Line 75  also includes a drop-in ``sendmail'' wra Line 83  also includes a drop-in ``sendmail'' wra
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
94    - fixed compilation line in spec file [SME: 9349]
95    - now TLS and EHLO are defined to allow proper compilation
96    
97    * Sun Feb 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-21.sme
98    - add remote tls transport for qmail-remote [SME: 9349]
99    - used qmail-1.03-tls-20021228-renato_v2.patch without qmail-smtpd parts
100    
101    * Thu Apr 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-20.sme
102    - added documentation [SME: 9704]
103    - added binaries ipmetest et ipmeprint to help configuration
104    
105    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.03-19.sme
106    - add moreip to avoid loop [SME: 9704]
107    - patch from Scott Gifford
108    - remove qmail-0.0.0.0.patch as it is included
109    
110  * Mon Dec 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.03-18  * Mon Dec 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.03-18
111  - Consider literal <> as null sender [SME: 9883]  - Consider literal <> as null sender [SME: 9883]
112    
# Line 204  transparently by your current UAs. Line 236  transparently by your current UAs.
236  %patch0 -p1  %patch0 -p1
237  %patch1 -p1  %patch1 -p1
238  %patch2 -p1  %patch2 -p1
239  %patch3 -p1  #%patch3 -p1
240  %patch4 -p1  %patch4 -p1
241    %patch5 -p1
242    %patch6 -p1
243    
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
247    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
# Line 244  for i in \ Line 280  for i in \
280    qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \    qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \
281    qsmhook qbiff forward preline condredirect \    qsmhook qbiff forward preline condredirect \
282    bouncesaying except maildirmake maildir2mbox maildirwatch \    bouncesaying except maildirmake maildir2mbox maildirwatch \
283    qail elq pinq    qail elq pinq ipmetest ipmeprint
284  do  do
285    mv $i $RPM_BUILD_ROOT/var/qmail/bin/    mv $i $RPM_BUILD_ROOT/var/qmail/bin/
286  done  done
# Line 266  for i in \ Line 302  for i in \
302  do  do
303    mv $i $RPM_BUILD_ROOT/var/qmail/doc/    mv $i $RPM_BUILD_ROOT/var/qmail/doc/
304  done  done
305    %{__install} -Dp  %{SOURCE1} %{buildroot}/var/qmail/doc/
306    
307  for i in 1 5 7 8  for i in 1 5 7 8
308  do  do
# Line 491  rm -rf $RPM_BUILD_ROOT Line 528  rm -rf $RPM_BUILD_ROOT
528  %attr(700,qmails,qmail) %dir /var/qmail/queue/remote/21  %attr(700,qmails,qmail) %dir /var/qmail/queue/remote/21
529  %attr(700,qmails,qmail) %dir /var/qmail/queue/remote/22  %attr(700,qmails,qmail) %dir /var/qmail/queue/remote/22
530  %attr(750,qmailq,qmail) %dir /var/qmail/queue/lock  %attr(750,qmailq,qmail) %dir /var/qmail/queue/lock
531    %attr(755,root,qmail)        /var/qmail/bin/ipmetest
532    %attr(755,root,qmail)        /var/qmail/bin/ipmeprint
533  %attr(4711,qmailq,qmail)     /var/qmail/bin/qmail-queue  %attr(4711,qmailq,qmail)     /var/qmail/bin/qmail-queue
534  %attr(700,root,qmail)        /var/qmail/bin/qmail-lspawn  %attr(700,root,qmail)        /var/qmail/bin/qmail-lspawn
535  %attr(700,root,qmail)        /var/qmail/bin/qmail-start  %attr(700,root,qmail)        /var/qmail/bin/qmail-start
# Line 568  rm -rf $RPM_BUILD_ROOT Line 607  rm -rf $RPM_BUILD_ROOT
607  %attr(644,root,qmail)        /var/qmail/doc/PIC.relaybad  %attr(644,root,qmail)        /var/qmail/doc/PIC.relaybad
608  %attr(644,root,qmail)        /var/qmail/doc/PIC.relaygood  %attr(644,root,qmail)        /var/qmail/doc/PIC.relaygood
609  %attr(644,root,qmail)        /var/qmail/doc/PIC.rem2local  %attr(644,root,qmail)        /var/qmail/doc/PIC.rem2local
610    %attr(644,root,qmail)        /var/qmail/doc/moreipme.README
611  %attr(644,root,qmail)        /var/qmail/man/cat1/forward.0  %attr(644,root,qmail)        /var/qmail/man/cat1/forward.0
612  %attr(644,root,qmail)        /var/qmail/man/cat1/condredirect.0  %attr(644,root,qmail)        /var/qmail/man/cat1/condredirect.0
613  %attr(644,root,qmail)        /var/qmail/man/cat1/bouncesaying.0  %attr(644,root,qmail)        /var/qmail/man/cat1/bouncesaying.0


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed