/[smeserver]/rpms/qpsmtpd/sme10/qpsmtpd.spec
ViewVC logotype

Diff of /rpms/qpsmtpd/sme10/qpsmtpd.spec

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

Revision 1.1 by stephdl, Sun Feb 7 20:49:54 2016 UTC Revision 1.5 by vip-ire, Sat Apr 16 11:31:50 2016 UTC
# Line 1  Line 1 
1  # $Id: qpsmtpd.spec,v 1.21 2016/01/07 18:08:47 vip-ire Exp $  # $Id: qpsmtpd.spec,v 1.4 2016/04/16 11:27:05 vip-ire Exp $
2    
3  Name: qpsmtpd  Name: qpsmtpd
4  Version: 0.84  Version: 0.96
5  Release: 18%{?dist}  Release: 1%{?dist}
6  Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async  Summary: qpsmtpd + qpsmtpd-apache
7  License: MIT  License: MIT
8  Group: System Environment/Daemons  Group: System Environment/Daemons
9  URL: http://smtpd.develooper.com/  URL: http://smtpd.develooper.com/
# Line 18  Requires(pre): coreutils, shadow-utils, Line 18  Requires(pre): coreutils, shadow-utils,
18  Source0: %{name}-%{version}.tar.gz  Source0: %{name}-%{version}.tar.gz
19  Source1: qpsmtpd-forkserver.rc  Source1: qpsmtpd-forkserver.rc
20  Source2: qpsmtpd-forkserver.sysconfig  Source2: qpsmtpd-forkserver.sysconfig
21  Source3: qpsmtpd-plugin-file_connection  Source3: qpsmtpd-xinetd
22  Source4: qpsmtpd-xinetd  Source4: in.qpsmtpd
23  Source5: in.qpsmtpd  Source5: qpsmtpd.conf
24  Source6: qpsmtpd.conf  Source6: README.selinux
25  Source7: README.selinux  
26    Patch1: qpsmtpd-0.95-spamassassin_size_limit.patch
27  Patch1: 0001-Misc-documentation-updates.patch  Patch2: qpsmtpd-0.95-qpsmtpd_forserver_keepalive.patch
28  Patch2: 0002-added-ClamAV-version-to-the-X-Virus-Checked-header.patch  Patch3: qpsmtpd-0.95-notls_conf.patch
29  Patch3: 0003-new-plugin-check_bogus_bounce.patch  Patch4: qpsmtpd-0.95-allow_tls_proto_from_conf.patch
30  Patch4: 0004-microoptimizations-replace-regex-with-lc-eq.patch  Patch5: qpsmtpd-0.96-set_hooks.patch
31  Patch5: 0005-remove-vestiges-of-a-bygone-RCS.patch  Patch6: qpsmtpd-0.96-warn_implicit_split.patch
 Patch6: 0006-added-definedness-test-to-local_port-as-it-was-emitt.patch  
 Patch7: 0007-Add-guidelines-for-commit-messages.patch  
 Patch8: 0008-added-auth_checkpassword-plugin.patch  
 Patch9: 0009-updates-to-auth_vpopmail_sql-module.patch  
 Patch10: 0010-new-plugin-auth_vpopmaild.patch  
 Patch11: 0011-start-working-on-Changes-file-for-0.84-next.patch  
 Patch12: 0012-fix-copy-paste-error-in-auth_flat_file.patch  
 Patch13: 0013-added-auth_vpopmail-plugin.patch  
 Patch14: 0014-rewrote-sender_permitted_from.patch  
 Patch15: 0015-add-TCPLOCAL-variables-to-qp-connection.patch  
 Patch16: 0016-added-local_ip-option-to-p0f-plugin.patch  
 Patch17: 0017-added-p0f-support-to-greylist-plugin.patch  
 Patch18: 0018-packaging-updates.patch  
 Patch19: 0019-Check-for-the-exact-string-resonses-from-vpopmaild-r.patch  
 Patch20: 0020-new-plugin-check_badmailfrom_patterns.patch  
 Patch21: 0021-ignore-search-path-in-DNS-lookups.patch  
 Patch22: 0022-don-t-create-homedir-in-RPM.patch  
 Patch23: 0023-corrected-email-address.patch  
 Patch24: 0024-increased-default-TLS-security-setting.patch  
 Patch25: 0025-give-badrcptto-a-reasonable-name.patch  
 Patch26: 0026-add-test-name-to-test-output.patch  
 Patch27: 0027-renamed-test-from-foo-to-rcpt_ok.patch  
 Patch28: 0028-Shorten-clarify-Connection-and-Transaction-notes.patch  
 Patch29: 0029-Run-hook_reset_transaction-after-all-connections.patch  
 Patch30: 0030-Add-support-for-multiple-postfix-cleanup-sockets.patch  
 Patch31: 0031-Adds-the-ability-to-have-multiple-instances-each-wit.patch  
 Patch32: 0032-I-forgot-to-sync-the-code-that-calls-the-original-co.patch  
 Patch33: 0033-new-plugin-rcpt_map.patch  
 Patch34: 0034-plugins-rcpt_map-cleanup.patch  
 Patch35: 0035-Fix-for-plugins-returning-DONE-from-HELO-EHLO.patch  
 Patch36: 0036-prefork-use-new-instance-instead-of-cloning.patch  
 Patch37: 0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch  
 Patch38: 0038-Patch-FATAL-PLUGIN-ERROR-check_basicheaders.patch  
 Patch39: 0039-qpsmtpd-0.84-spamassassin_size_limit.patch  
 Patch40: 0040-qpsmtpd-forkserver_fix_Net_DNS_update_breaks_qpsmtpd.patch  
   
 Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch  
 Patch101: qpsmtpd-0.83-peer_hooks.patch  
 Patch102: qpsmtpd-0.83-loginit.patch  
 Patch103: qpsmtpd-forkserver-keepalive.patch  
 Patch104: qpsmtpd-0.84-accept-empty-email.patch  
 Patch105: qpsmtpd-0.84-fix_eq_operator.patch  
 Patch106: qpsmtpd-0.84-remove_denysoft_on_spf_softfail.patch  
 Patch107: qpsmtpd-0.84-notls_conf.patch  
 Patch108: qpsmtpd-0.84-disable_sslv3.patch  
 Patch109: qpsmtpd-0.84-make-dnsbl-more-whitelist_soft-aware.patch  
 Patch110: qpsmtpd-0.84-disable_tlsv1.patch  
 Patch111: qpsmtpd-0.84-deny_login_with_null.patch  
 Patch112: qpsmtpd-0.84-allow_tls_proto_from_config.patch  
32    
33  %description  %description
34  qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core  qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core
# Line 92  Requires: perl(mod_perl2) Line 43  Requires: perl(mod_perl2)
43  Summary: mod_perl-2 connection handler for qpsmtpd  Summary: mod_perl-2 connection handler for qpsmtpd
44  Group: System Environment/Daemons  Group: System Environment/Daemons
45    
 %package async  
 Summary: qpsmtpd using async I/O in a single process  
 Group: System Environment/Daemons  
   
46  %description apache  %description apache
47    
48  This module implements a mod_perl/apache 2.0 connection handler  This module implements a mod_perl/apache 2.0 connection handler
49  that turns Apache into an SMTP server using Qpsmtpd.  that turns Apache into an SMTP server using Qpsmtpd.
50    
 %description async  
 This package contains the Qpsmtpd::PollServer module, which allows  
 qpsmtd to handle many connections in a single process and the  
 qpsmpd-async which uses it.  
51    
52  %prep  %prep
53  %setup -q  %setup -q
# Line 114  qpsmpd-async which uses it. Line 57  qpsmpd-async which uses it.
57  %patch4 -p1  %patch4 -p1
58  %patch5 -p1  %patch5 -p1
59  %patch6 -p1  %patch6 -p1
 %patch7 -p1  
 %patch8 -p1  
 %patch9 -p1  
 %patch10 -p1  
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
 %patch14 -p1  
 %patch15 -p1  
 %patch16 -p1  
 %patch17 -p1  
 %patch18 -p1  
 %patch19 -p1  
 %patch20 -p1  
 %patch21 -p1  
 #%patch22 -p1  
 %patch23 -p1  
 %patch24 -p1  
 %patch25 -p1  
 %patch26 -p1  
 %patch27 -p1  
 %patch28 -p1  
 %patch29 -p1  
 %patch30 -p1  
 %patch31 -p1  
 %patch32 -p1  
 %patch33 -p1  
 %patch34 -p1  
 %patch35 -p1  
 %patch36 -p1  
 %patch37 -p1  
 %patch38 -p1  
 %patch39 -p1  
 %patch40 -p1  
   
 %patch100 -p1  
 %patch101 -p1  
 %patch102 -p1  
 %patch103 -p0  
 %patch104 -p1  
 %patch105 -p1  
 %patch106 -p1  
 %patch107 -p1  
 %patch108 -p1  
 %patch109 -p1  
 %patch110 -p1  
 %patch111 -p1  
 %patch112 -p1  
60    
61  %build  %build
62  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
# Line 188  mkdir -p %{buildroot}%{_initrddir} Line 83  mkdir -p %{buildroot}%{_initrddir}
83  cp %{SOURCE1} %{buildroot}%{_initrddir}/qpsmtpd-forkserver  cp %{SOURCE1} %{buildroot}%{_initrddir}/qpsmtpd-forkserver
84  mkdir -p %{buildroot}%{_sysconfdir}/sysconfig  mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
85  cp %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/qpsmtpd-forkserver  cp %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/qpsmtpd-forkserver
 cp %{SOURCE3} %{buildroot}%{_datadir}/%{name}/plugins/logging/file_connection  
86  mkdir -p %{buildroot}%{_localstatedir}/spool/qpsmtpd  mkdir -p %{buildroot}%{_localstatedir}/spool/qpsmtpd
87  mkdir -p %{buildroot}%{_localstatedir}/log/qpsmtpd  mkdir -p %{buildroot}%{_localstatedir}/log/qpsmtpd
88  mkdir -p %{buildroot}%{_sysconfdir}/xinetd.d  mkdir -p %{buildroot}%{_sysconfdir}/xinetd.d
89  cp %{SOURCE4} %{buildroot}%{_sysconfdir}/xinetd.d/smtp  cp %{SOURCE3} %{buildroot}%{_sysconfdir}/xinetd.d/smtp
90  mkdir -p %{buildroot}%{_sbindir}  mkdir -p %{buildroot}%{_sbindir}
91  cp %{SOURCE5} %{buildroot}%{_sbindir}/in.smtp  cp %{SOURCE4} %{buildroot}%{_sbindir}/in.smtp
92  mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d  mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
93  cp %{SOURCE6} %{buildroot}%{_sysconfdir}/httpd/conf.d  cp %{SOURCE5} %{buildroot}%{_sysconfdir}/httpd/conf.d
94  mkdir -p %{buildroot}%{_docdir}/%{name}-apache-%{version}  mkdir -p %{buildroot}%{_docdir}/%{name}-apache-%{version}
95  cp %{SOURCE7} %{buildroot}%{_docdir}/%{name}-apache-%{version}  cp %{SOURCE6} %{buildroot}%{_docdir}/%{name}-apache-%{version}
96    
97  [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress  [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
98    
# Line 210  find %{buildroot}%{_prefix} -type f -pri Line 104  find %{buildroot}%{_prefix} -type f -pri
104          grep -v README.selinux          | \          grep -v README.selinux          | \
105          grep -v /Apache                 | \          grep -v /Apache                 | \
106          grep -v /Danga                  | \          grep -v /Danga                  | \
         grep -v Qpsmtpd/ConfigServer.pm | \  
107          grep -v Qpsmtpd/PollServer.pm   > %{name}-%{version}-%{release}-filelist          grep -v Qpsmtpd/PollServer.pm   > %{name}-%{version}-%{release}-filelist
108  if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then  if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
109      echo "ERROR: EMPTY FILE LIST"      echo "ERROR: EMPTY FILE LIST"
# Line 219  fi Line 112  fi
112    
113  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
114  %defattr(-,root,root)  %defattr(-,root,root)
115  %doc CREDITS Changes LICENSE README README.plugins STATUS  %doc CREDITS Changes LICENSE README.md README.plugins.md STATUS
116  %{_initrddir}/qpsmtpd-forkserver  %{_initrddir}/qpsmtpd-forkserver
117  %config(noreplace) %{_sysconfdir}/qpsmtpd/*  %config(noreplace) %{_sysconfdir}/qpsmtpd/*
118  %config(noreplace) %{_sysconfdir}/xinetd.d/smtp  %config(noreplace) %{_sysconfdir}/xinetd.d/smtp
# Line 232  fi Line 125  fi
125  %config(noreplace) %{_sysconfdir}/httpd/conf.d/*  %config(noreplace) %{_sysconfdir}/httpd/conf.d/*
126  %doc %{_docdir}/%{name}-apache-%{version}/README.selinux  %doc %{_docdir}/%{name}-apache-%{version}/README.selinux
127    
 %files async  
 %defattr(-,root,root)  
 %{_bindir}/qpsmtpd-async  
 %{_prefix}/share/perl5/vendor_perl/Danga/Client.pm  
 %{_prefix}/share/perl5/vendor_perl/Danga/TimeoutSocket.pm  
 %{_prefix}/share/perl5/vendor_perl/Qpsmtpd/ConfigServer.pm  
 %{_prefix}/share/perl5/vendor_perl/Qpsmtpd/Plugin/Async/DNSBLBase.pm  
 %{_prefix}/share/perl5/vendor_perl/Qpsmtpd/PollServer.pm  
 %{_mandir}/man1/qpsmtpd-async.1.gz  
 %{_datadir}/%{name}/plugins/async/*  
   
128  %pre  %pre
129    
130    
131  %changelog  %changelog
132  * Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.84-18.sme  * Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-1.sme
133    - Update to 0.96 [SME: 9460]
134    
135    * Fri Mar 25 2016 Charlie Brady <charlieb@charliebrady.org> 0.84-20.sme
136    - Fix startup warnings due to Socket6 symbol import. [SME: 9386]
137    
138    * Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.84-19.sme
139  - Build new rpm for sme10  - Build new rpm for sme10
140    
141  * Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 0.84-18.sme  * Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 0.84-18.sme


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