--- rpms/qmail/sme10/qmail.spec 2017/04/10 20:32:17 1.4 +++ rpms/qmail/sme10/qmail.spec 2021/04/12 21:50:15 1.7 @@ -1,27 +1,30 @@ -# $Id: qmail.spec,v 1.3 2016/12/05 15:50:39 vip-ire Exp $ +# $Id: qmail.spec,v 1.6 2017/04/13 15:55:52 unnilennium Exp $ # # RPM spec file for Dan Bernstein's qmail package # -# $Id: qmail.spec,v 1.3 2016/12/05 15:50:39 vip-ire Exp $ +# $Id: qmail.spec,v 1.6 2017/04/13 15:55:52 unnilennium Exp $ # Summary: A modern, fast, secure replacement for sendmail %define name qmail Name: %{name} %define version 1.03 -%define release 19 +%define release 25 Version: %{version} Release: %{release}%{?dist} #Author: Daniel J. Bernstein License: Public Domain Group: Networking/Daemons Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz +Source1: http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/moreipme.README Patch0: qmail-1.03-echouser.patch Patch1: http://homepages.tesco.net./~J.deBoynePollard/Softwares/qmail/any-to-cname.patch Patch2: qmail-103-dns_response_buffer.patch #Patch3: http://www.suspectclass.com/sgifford/qmail/qmail-0.0.0.0.patch Patch4: qmail-inject-null-sender.patch Patch5: http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/qmail-1.03-moreipme-0.6.patch +Patch6: netqmail-1.06-tls-20190517-remote.patch +#adapted from http://inoa.net/qmail-tls/netqmail-1.06-tls-20190517.patch URL: http://cr.yp.to/%{name}.html BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Provides: smtpdaemon @@ -76,7 +79,17 @@ also includes a drop-in ``sendmail'' wra transparently by your current UAs. %changelog -* Mon Apr 10 2017 Jean-Philipe Pialasse 1.03-19.sme +* Mon Apr 12 2021 Jean-Philippe Pialasse 1.03-25.sme +- add remote tls transport for qmail-remote [SME: 9349] +- updated release number higher than SME9 +- now TLS and EHLO are defined to allow proper compilation +- add DEBUG flag for the moment to help configuring -DDEBUG=1 + +* Thu Apr 13 2017 Jean-Philipe Pialasse 1.03-21.sme +- added documentation [SME: 9705] +- added binaries ipmetest et ipmeprint to help configuration + +* Mon Apr 10 2017 Jean-Philipe Pialasse 1.03-20.sme - add moreip to avoid loop [SME: 9705] - patch from Scott Gifford - remove qmail-0.0.0.0.patch as it is included @@ -213,9 +226,12 @@ transparently by your current UAs. #%patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build -echo gcc -O2 --include /usr/include/errno.h > conf-cc +#echo gcc -O2 --include /usr/include/errno.h > conf-cc +#gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include +echo gcc -O2 -DTLS=20021228 -I/usr/local/ssl/include -DEHLO=1 -DDEBUG=1 --include /usr/include/errno.h > conf-cc make %install @@ -251,7 +267,7 @@ for i in \ qmail-qmqpd qmail-qmtpd qmail-smtpd sendmail tcp-env qreceipt \ qsmhook qbiff forward preline condredirect \ bouncesaying except maildirmake maildir2mbox maildirwatch \ - qail elq pinq + qail elq pinq ipmetest ipmeprint do mv $i $RPM_BUILD_ROOT/var/qmail/bin/ done @@ -273,6 +289,7 @@ for i in \ do mv $i $RPM_BUILD_ROOT/var/qmail/doc/ done +%{__install} -Dp %{SOURCE1} %{buildroot}/var/qmail/doc/ for i in 1 5 7 8 do @@ -498,6 +515,8 @@ rm -rf $RPM_BUILD_ROOT %attr(700,qmails,qmail) %dir /var/qmail/queue/remote/21 %attr(700,qmails,qmail) %dir /var/qmail/queue/remote/22 %attr(750,qmailq,qmail) %dir /var/qmail/queue/lock +%attr(755,root,qmail) /var/qmail/bin/ipmetest +%attr(755,root,qmail) /var/qmail/bin/ipmeprint %attr(4711,qmailq,qmail) /var/qmail/bin/qmail-queue %attr(700,root,qmail) /var/qmail/bin/qmail-lspawn %attr(700,root,qmail) /var/qmail/bin/qmail-start @@ -575,6 +594,7 @@ rm -rf $RPM_BUILD_ROOT %attr(644,root,qmail) /var/qmail/doc/PIC.relaybad %attr(644,root,qmail) /var/qmail/doc/PIC.relaygood %attr(644,root,qmail) /var/qmail/doc/PIC.rem2local +%attr(644,root,qmail) /var/qmail/doc/moreipme.README %attr(644,root,qmail) /var/qmail/man/cat1/forward.0 %attr(644,root,qmail) /var/qmail/man/cat1/condredirect.0 %attr(644,root,qmail) /var/qmail/man/cat1/bouncesaying.0