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

Diff of /rpms/qpsmtpd/sme8/qpsmtpd.spec

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

Revision 1.6 by slords, Tue Jun 26 18:35:59 2007 UTC Revision 1.33 by burnat, Thu Apr 25 01:54:19 2013 UTC
# Line 1  Line 1 
1    # $Id: qpsmtpd.spec,v 1.32 2013/04/23 05:30:06 burnat Exp $
2    
3  Name: qpsmtpd  Name: qpsmtpd
4  Version: 0.40  Version: 0.84
5  Release: 1.4%{?dist}  Release: 5%{?dist}
6  %define orig_version 0.40  Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async
7  Summary: qpsmtpd  License: MIT
 License: distributable  
8  Group: System Environment/Daemons  Group: System Environment/Daemons
9  URL: http://smtpd.develooper.com/  URL: http://smtpd.develooper.com/
10  BuildRoot: %{_tmppath}/%{name}-root  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11  BuildRequires: perl >= 0:5.00503  BuildRequires: perl >= 0:5.00503
12  BuildArchitectures: noarch  BuildArch: noarch
13  Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP)  Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP)
14    Requires(pre): coreutils, shadow-utils, perl
15    
16  Source0: qpsmtpd-%{orig_version}.tar.gz  Source0: %{name}-%{version}.tar.gz
17  Source1: qpsmtpd-forkserver.rc  Source1: qpsmtpd-forkserver.rc
18  Source2: qpsmtpd-forkserver.sysconfig  Source2: qpsmtpd-forkserver.sysconfig
19  Source3: qpsmtpd-plugin-file_connection  Source3: qpsmtpd-plugin-file_connection
20  Source4: qpsmtpd-xinetd  Source4: qpsmtpd-xinetd
21  Source5: in.qpsmtpd  Source5: in.qpsmtpd
22    Source6: qpsmtpd.conf
23    Source7: README.selinux
24    
25  Patch1: qpsmtpd-0.31-config.patch  Patch1: 0001-Misc-documentation-updates.patch
26  Patch2: qpsmtpd-0.33-xinetd.patch  Patch2: 0002-added-ClamAV-version-to-the-X-Virus-Checked-header.patch
27  Patch3: qpsmtpd-0.33-af_inet6.patch  Patch3: 0003-new-plugin-check_bogus_bounce.patch
28  Patch4: qpsmtpd-0.31.1-queue.patch  Patch4: 0004-microoptimizations-replace-regex-with-lc-eq.patch
29  Patch5: qpsmtpd-0.33-smtp-loginfo.patch  Patch5: 0005-remove-vestiges-of-a-bygone-RCS.patch
30  Patch6: qpsmtpd-0.33-hook-logdebug.patch  Patch6: 0006-added-definedness-test-to-local_port-as-it-was-emitt.patch
31  Patch7: qpsmtpd-0.32-dnsbl-checkanswer.patch  Patch7: 0007-Add-guidelines-for-commit-messages.patch
32  Patch8: qpsmtpd-0.32-dns-random-id.patch  Patch8: 0008-added-auth_checkpassword-plugin.patch
33  Patch100: qpsmtpd-0.40-badhelo_disconnect.patch  Patch9: 0009-updates-to-auth_vpopmail_sql-module.patch
34  Patch101: qpsmtpd-0.40-badrcptto_allowrelay.patch  Patch10: 0010-new-plugin-auth_vpopmaild.patch
35  Patch102: qpsmtpd-0.40-clamav_fix.patch  Patch11: 0011-start-working-on-Changes-file-for-0.84-next.patch
36  Patch103: qpsmtpd-0.40-peer_hooks.patch  Patch12: 0012-fix-copy-paste-error-in-auth_flat_file.patch
37  Patch104: qpsmtpd-0.40-clamd_conf.patch  Patch13: 0013-added-auth_vpopmail-plugin.patch
38  Patch105: qpsmtpd-0.40-denysoft.patch  Patch14: 0014-rewrote-sender_permitted_from.patch
39    Patch15: 0015-add-TCPLOCAL-variables-to-qp-connection.patch
40    Patch16: 0016-added-local_ip-option-to-p0f-plugin.patch
41    Patch17: 0017-added-p0f-support-to-greylist-plugin.patch
42    Patch18: 0018-packaging-updates.patch
43    Patch19: 0019-Check-for-the-exact-string-resonses-from-vpopmaild-r.patch
44    Patch20: 0020-new-plugin-check_badmailfrom_patterns.patch
45    Patch21: 0021-ignore-search-path-in-DNS-lookups.patch
46    Patch22: 0022-don-t-create-homedir-in-RPM.patch
47    Patch23: 0023-corrected-email-address.patch
48    Patch24: 0024-increased-default-TLS-security-setting.patch
49    Patch25: 0025-give-badrcptto-a-reasonable-name.patch
50    Patch26: 0026-add-test-name-to-test-output.patch
51    Patch27: 0027-renamed-test-from-foo-to-rcpt_ok.patch
52    Patch28: 0028-Shorten-clarify-Connection-and-Transaction-notes.patch
53    Patch29: 0029-Run-hook_reset_transaction-after-all-connections.patch
54    Patch30: 0030-Add-support-for-multiple-postfix-cleanup-sockets.patch
55    Patch31: 0031-Adds-the-ability-to-have-multiple-instances-each-wit.patch
56    Patch32: 0032-I-forgot-to-sync-the-code-that-calls-the-original-co.patch
57    Patch33: 0033-new-plugin-rcpt_map.patch
58    Patch34: 0034-plugins-rcpt_map-cleanup.patch
59    Patch35: 0035-Fix-for-plugins-returning-DONE-from-HELO-EHLO.patch
60    Patch36: 0036-prefork-use-new-instance-instead-of-cloning.patch
61    Patch37: 0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch
62    Patch38: 0038-Patch-FATAL-PLUGIN-ERROR-check_basicheaders.patch
63    Patch39: 0039-qpsmtpd-0.84-spamassassin_size_limit.patch
64    Patch40: 0040-qpsmtpd-forkserver_fix_Net_DNS_update_breaks_qpsmtpd.patch
65    
66    Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch
67    Patch101: qpsmtpd-0.83-peer_hooks.patch
68    Patch102: qpsmtpd-0.83-loginit.patch
69    Patch103: qpsmtpd-forkserver-keepalive.patch
70    
71  %description  %description
72  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 42  qpsmtpd was originally written as a drop Line 77  qpsmtpd was originally written as a drop
77  now it also includes a smtp forward and a postfix "backend".  now it also includes a smtp forward and a postfix "backend".
78    
79  %package apache  %package apache
80    Requires: perl(mod_perl2)
81  Summary: mod_perl-2 connection handler for qpsmtpd  Summary: mod_perl-2 connection handler for qpsmtpd
82  Group: System Environment/Daemons  Group: System Environment/Daemons
83    
# Line 60  qpsmtd to handle many connections in a s Line 96  qpsmtd to handle many connections in a s
96  qpsmpd-async which uses it.  qpsmpd-async which uses it.
97    
98  %prep  %prep
99  %setup -q -n qpsmtpd-%{orig_version}  %setup -q
100  # XXX - doesn't apply cleanly any more but may still be needed for empty  %patch1 -p1
101  # configs.  %patch2 -p1
102  #%patch1 -p0 -b .config  %patch3 -p1
103  # Merged into upstream:  %patch4 -p1
104  #%patch2 -p0 -b .xinetd  %patch5 -p1
105  #%patch3 -p0 -b .af_inet6  %patch6 -p1
106  %patch4 -p0 -b .queue  %patch7 -p1
107  #%patch5 -p0 -b .smtp-loginfo  %patch8 -p1
108  #%patch6 -p0 -b .hook-logdebug  %patch9 -p1
109  #%patch7 -p0 -b .dnsbl-checkanswer  %patch10 -p1
110  #%patch8 -p0 -b .dns-random-id  %patch11 -p1
111    %patch12 -p1
112    %patch13 -p1
113    %patch14 -p1
114    %patch15 -p1
115    %patch16 -p1
116    %patch17 -p1
117    %patch18 -p1
118    %patch19 -p1
119    %patch20 -p1
120    %patch21 -p1
121    #%patch22 -p1
122    %patch23 -p1
123    %patch24 -p1
124    %patch25 -p1
125    %patch26 -p1
126    %patch27 -p1
127    %patch28 -p1
128    %patch29 -p1
129    %patch30 -p1
130    %patch31 -p1
131    %patch32 -p1
132    %patch33 -p1
133    %patch34 -p1
134    %patch35 -p1
135    %patch36 -p1
136    %patch37 -p1
137    %patch38 -p1
138    %patch39 -p1
139    %patch40 -p1
140    
141  %patch100 -p1  %patch100 -p1
142  %patch101 -p1  %patch101 -p1
143  #%patch102 -p1  %patch102 -p1
144  %patch103 -p1  %patch103 -p0
 %patch104 -p1  
 %patch105 -p1  
145    
146  %build  %build
147  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLSITELIB=/usr/lib/perl5/site_perl  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLSITELIB=%{_prefix}/lib/perl5/site_perl
148  make  make
149    
   
150  %clean  %clean
151  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
152  %install  %install
# Line 93  eval `perl '-V:installarchlib'` Line 156  eval `perl '-V:installarchlib'`
156  mkdir -p $RPM_BUILD_ROOT/$installarchlib  mkdir -p $RPM_BUILD_ROOT/$installarchlib
157  if grep -q DESTDIR Makefile  if grep -q DESTDIR Makefile
158  then  then
159          make DESTDIR=$RPM_BUILD_ROOT          make DESTDIR=$RPM_BUILD_ROOT
160          find blib/lib -name '*.pm.*' -exec rm -f {} \;          find blib/lib -name '*.pm.*' -exec rm -f {} \;
161          make DESTDIR=$RPM_BUILD_ROOT install          make DESTDIR=$RPM_BUILD_ROOT install
162    
163  else  else
164          make PREFIX=$RPM_BUILD_ROOT/usr          make PREFIX=$RPM_BUILD_ROOT/usr
165          find blib/lib -name '*.pm.*' -exec rm -f {} \;          find blib/lib -name '*.pm.*' -exec rm -f {} \;
166          make PREFIX=$RPM_BUILD_ROOT/usr install          make PREFIX=$RPM_BUILD_ROOT/usr install
167  fi  fi
168  mkdir -p $RPM_BUILD_ROOT/usr/sbin  mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name}
169  cp qpsmtpd-async $RPM_BUILD_ROOT/usr/sbin  rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/plugins/*.*
170  mkdir -p $RPM_BUILD_ROOT/usr/share/qpsmtpd  cp -r plugins ${RPM_BUILD_ROOT}%{_datadir}/%{name}/plugins
171  cp -r plugins $RPM_BUILD_ROOT/usr/share/qpsmtpd/plugins  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}
172  rm -f $RPM_BUILD_ROOT/usr/share/qpsmtpd/plugins/*.*  rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/*.*
173  mkdir -p $RPM_BUILD_ROOT/etc  cp -r config.sample/* ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/
174  cp -r config.sample $RPM_BUILD_ROOT/etc/qpsmtpd  echo %{_datadir}/%{name}/plugins > ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/plugin_dirs
175  rm -f $RPM_BUILD_ROOT/etc/qpsmtpd/*.*  echo %{_localstatedir}/spool/qpsmtpd > ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/spool_dir
176  echo /usr/share/qpsmtpd/plugins > $RPM_BUILD_ROOT/etc/qpsmtpd/plugin_dirs  echo logging/file_connection loglevel LOGINFO %{_localstatedir}/log/qpsmtpd/%Y-%m-%d > ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/logging
177  echo /var/spool/qpsmtpd > $RPM_BUILD_ROOT/etc/qpsmtpd/spool_dir  mkdir -p ${RPM_BUILD_ROOT}%{_initrddir}
178  echo logging/file_connection loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d > $RPM_BUILD_ROOT/etc/qpsmtpd/logging  cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_initrddir}/qpsmtpd-forkserver
179  mkdir -p $RPM_BUILD_ROOT/etc/init.d/  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
180  cp %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/qpsmtpd-forkserver  cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/qpsmtpd-forkserver
181  mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/  cp %{SOURCE3} ${RPM_BUILD_ROOT}%{_datadir}/%{name}/plugins/logging/file_connection
182  cp %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/qpsmtpd-forkserver  mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/spool/qpsmtpd
183  cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/qpsmtpd/plugins/logging/file_connection  mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/log/qpsmtpd
184  mkdir -p $RPM_BUILD_ROOT/var/spool/qpsmtpd  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d
185  mkdir -p $RPM_BUILD_ROOT/var/log/qpsmtpd  cp %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/smtp
186  mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d  mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
187  cp %{SOURCE4} $RPM_BUILD_ROOT/etc/xinetd.d/smtp  cp %{SOURCE5} ${RPM_BUILD_ROOT}%{_sbindir}/in.smtp
188  mkdir -p $RPM_BUILD_ROOT/usr/sbin  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d
189  cp %{SOURCE5} $RPM_BUILD_ROOT/usr/sbin/in.smtp  cp %{SOURCE6} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d
190    mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-apache-%{version}
191    cp %{SOURCE7} $RPM_BUILD_ROOT%{_docdir}/%{name}-apache-%{version}
192    
193  [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress  [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
194    
195  find $RPM_BUILD_ROOT/usr \( -name perllocal.pod -o -name .packlist \) -exec rm {} \;  find ${RPM_BUILD_ROOT}%{_prefix} \( -name perllocal.pod -o -name .packlist \) -exec rm {} \;
196  find $RPM_BUILD_ROOT/usr -type f -print | \  find ${RPM_BUILD_ROOT}%{_prefix} -type f -print | \
197          sed "s@^$RPM_BUILD_ROOT@@g"     | \          sed "s@^$RPM_BUILD_ROOT@@g"     | \
198          grep -v /Apache                 |          grep -v [Aa]sync                | \
199          grep -v /Danga                  |          grep -v packaging               | \
200          grep -v Qpsmtpd/ConfigServer.pm |          grep -v README.selinux          | \
201          grep -v Qpsmtpd/PollServer.pm   > qpsmtpd-%{version}-filelist          grep -v /Apache                 | \
202  if [ "$(cat qpsmtpd-%{version}-filelist)X" = "X" ] ; then          grep -v /Danga                  | \
203            grep -v Qpsmtpd/ConfigServer.pm | \
204            grep -v Qpsmtpd/PollServer.pm   > %{name}-%{version}-%{release}-filelist
205    if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
206      echo "ERROR: EMPTY FILE LIST"      echo "ERROR: EMPTY FILE LIST"
207      exit -1      exit -1
208  fi  fi
 find $RPM_BUILD_ROOT/usr -type f -path '*/Apache*' -print | \  
         sed "s@^$RPM_BUILD_ROOT@@g"      > qpsmtpd-apache-%{version}-filelist  
209    
210  %files  %files -f %{name}-%{version}-%{release}-filelist
211  %defattr(-,root,root)  %defattr(-,root,root)
 /usr/sbin/in.smtp  
 /usr/bin/qpsmtpd  
 /usr/bin/qpsmtpd-forkserver  
 /usr/lib/perl5/site_perl/Qpsmtpd.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Plugin.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Constants.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Command.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/TcpServer.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Connection.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Transaction.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Postfix/Constants.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Postfix/pf2qp.pl  
 /usr/lib/perl5/site_perl/Qpsmtpd/TcpServer/Prefork.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Auth.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Utils.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/SelectServer.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/DSN.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/SMTP/Prefork.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/SMTP.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Address.pm  
 /usr/lib/perl5/site_perl/Qpsmtpd/Postfix.pm  
 /usr/share/man/man3/Qpsmtpd::Command.3pm.gz  
 /usr/share/man/man3/Qpsmtpd.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::Transaction.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::Constants.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::ConfigServer.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::DSN.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::Postfix.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::Address.3pm.gz  
 /usr/share/man/man3/Qpsmtpd::Connection.3pm.gz  
 /usr/share/qpsmtpd/plugins/check_loop  
 /usr/share/qpsmtpd/plugins/check_relay  
 /usr/share/qpsmtpd/plugins/sender_permitted_from  
 /usr/share/qpsmtpd/plugins/count_unrecognized_commands  
 /usr/share/qpsmtpd/plugins/spamassassin  
 /usr/share/qpsmtpd/plugins/check_badrcptto  
 /usr/share/qpsmtpd/plugins/rcpt_ok  
 /usr/share/qpsmtpd/plugins/domainkeys  
 /usr/share/qpsmtpd/plugins/virus/klez_filter  
 /usr/share/qpsmtpd/plugins/virus/check_for_hi_virus  
 /usr/share/qpsmtpd/plugins/virus/uvscan  
 /usr/share/qpsmtpd/plugins/virus/kavscanner  
 /usr/share/qpsmtpd/plugins/virus/hbedv  
 /usr/share/qpsmtpd/plugins/virus/clamav  
 /usr/share/qpsmtpd/plugins/virus/clamdscan  
 /usr/share/qpsmtpd/plugins/virus/aveclient  
 /usr/share/qpsmtpd/plugins/virus/sophie  
 /usr/share/qpsmtpd/plugins/virus/bitdefender  
 /usr/share/qpsmtpd/plugins/queue/smtp-forward  
 /usr/share/qpsmtpd/plugins/queue/qmail-queue  
 /usr/share/qpsmtpd/plugins/queue/maildir  
 /usr/share/qpsmtpd/plugins/queue/exim-bsmtp  
 /usr/share/qpsmtpd/plugins/queue/postfix-queue  
 /usr/share/qpsmtpd/plugins/http_config  
 /usr/share/qpsmtpd/plugins/quit_fortune  
 /usr/share/qpsmtpd/plugins/milter  
 /usr/share/qpsmtpd/plugins/auth/authnull  
 /usr/share/qpsmtpd/plugins/auth/authdeny  
 /usr/share/qpsmtpd/plugins/auth/auth_flat_file  
 /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local  
 /usr/share/qpsmtpd/plugins/auth/auth_vpopmail_sql  
 /usr/share/qpsmtpd/plugins/auth/auth_ldap_bind  
 /usr/share/qpsmtpd/plugins/tls_cert  
 /usr/share/qpsmtpd/plugins/logging/warn  
 /usr/share/qpsmtpd/plugins/logging/syslog  
 /usr/share/qpsmtpd/plugins/logging/adaptive  
 /usr/share/qpsmtpd/plugins/logging/file  
 /usr/share/qpsmtpd/plugins/logging/devnull  
 /usr/share/qpsmtpd/plugins/logging/file_connection  
 /usr/share/qpsmtpd/plugins/content_log  
 /usr/share/qpsmtpd/plugins/tls  
 /usr/share/qpsmtpd/plugins/check_spamhelo  
 /usr/share/qpsmtpd/plugins/check_norelay  
 /usr/share/qpsmtpd/plugins/check_earlytalker  
 /usr/share/qpsmtpd/plugins/hosts_allow  
 /usr/share/qpsmtpd/plugins/check_badmailfrom  
 /usr/share/qpsmtpd/plugins/dns_whitelist_soft  
 /usr/share/qpsmtpd/plugins/dnsbl  
 /usr/share/qpsmtpd/plugins/ident/geoip  
 /usr/share/qpsmtpd/plugins/ident/p0f  
 /usr/share/qpsmtpd/plugins/relay_only  
 /usr/share/qpsmtpd/plugins/parse_addr_withhelo  
 /usr/share/qpsmtpd/plugins/require_resolvable_fromhost  
 /usr/share/qpsmtpd/plugins/rhsbl  
 /usr/share/qpsmtpd/plugins/dont_require_anglebrackets  
 /usr/share/qpsmtpd/plugins/check_badrcptto_patterns  
 /usr/share/qpsmtpd/plugins/greylisting  
 /usr/share/qpsmtpd/plugins/check_basicheaders  
 /usr/share/qpsmtpd/plugins/check_badmailfromto  
212  %doc CREDITS Changes LICENSE README README.plugins STATUS  %doc CREDITS Changes LICENSE README README.plugins STATUS
213  /etc/init.d/qpsmtpd-forkserver  %{_initrddir}/qpsmtpd-forkserver
214  %config(noreplace) /etc/qpsmtpd/*  %config(noreplace) %{_sysconfdir}/qpsmtpd/*
215  %config(noreplace) /etc/xinetd.d/smtp  %config(noreplace) %{_sysconfdir}/xinetd.d/smtp
216  %config(noreplace) /etc/sysconfig/qpsmtpd-forkserver  %config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver
217    
218  %files apache -f qpsmtpd-apache-%{version}-filelist  %files apache
219  %defattr(-,root,root)  %defattr(-,root,root)
220    %{_prefix}/lib/perl5/site_perl/Apache/Qpsmtpd.pm
221    %{_mandir}/man3/Apache::Qpsmtpd.3pm.gz
222    %config(noreplace) %{_sysconfdir}/httpd/conf.d/*
223    %doc %{_docdir}/%{name}-apache-%{version}/README.selinux
224    
225  %files async  %files async
226  %defattr(-,root,root)  %defattr(-,root,root)
227  /usr/sbin/qpsmtpd-async  %{_bindir}/qpsmtpd-async
228  /usr/lib/perl5/site_perl/Danga/Client.pm  %{_prefix}/lib/perl5/site_perl/Danga/Client.pm
229  /usr/lib/perl5/site_perl/Danga/TimeoutSocket.pm  %{_prefix}/lib/perl5/site_perl/Danga/TimeoutSocket.pm
230  /usr/lib/perl5/site_perl/Qpsmtpd/ConfigServer.pm  %{_prefix}/lib/perl5/site_perl/Qpsmtpd/ConfigServer.pm
231  /usr/lib/perl5/site_perl/Qpsmtpd/PollServer.pm  %{_prefix}/lib/perl5/site_perl/Qpsmtpd/Plugin/Async/DNSBLBase.pm
232  /usr/share/qpsmtpd/plugins/async/check_earlytalker  %{_prefix}/lib/perl5/site_perl/Qpsmtpd/PollServer.pm
233  /usr/share/qpsmtpd/plugins/async/dnsbl  %{_mandir}/man1/qpsmtpd-async.1.gz
234  /usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost  %{_datadir}/%{name}/plugins/async/*
   
   
   
   
   
235    
236  %pre  %pre
 if ! id smtpd >/dev/null 2>&1  
 then  
     # need to create smtpd user.  
     if perl -e 'exit ! defined(getgrnam("postdrop"))'  
     then  
         # if postfix is installed, we will probably use  
         # queue/postfix, which will need this:  
         supp="-G postdrop"  
     fi  
     useradd -r -m $supp smtpd  
 fi  
   
 %post  
 /sbin/chkconfig --add qpsmtpd-forkserver  
237    
238  %changelog  %changelog
239  * Mon Jun 25 2007 Shad L. Lords <slords@mail.com> 0.40-1.4.sme  * Thu Apr 25 2013 chris burnat <devlist@burnat.com> 0.84.5.sme
240  - Deny soft if clamscan fails [SME: 3098]  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7557]
241    
242  * Fri Jun 15 2007 Shad L. Lords <slords@mail.com> 0.40-1.3.sme  * Tue Apr 23 2013 chris burnat <devlist@burnat.com> 0.84-4.sme
243  - Fix clamd.conf path for clamav plugin [SME: 3067]  - qpsmtpd allows the spamassassin plugin to read the size limit
244      from its arguments, patch by Daniel [SME: 7541]
245    
246    * Fri May 04 2012 Charlie Brady <charlie_brady@mitel.com> 0.84-3.sme
247    - Set SO_KEEPALIVE option on client socket - to detect dead
248      connections. [SME: 6924]
249    
250    * Sun Nov 14 2010 <slords@mail.com> 0.84-2.sme
251    - Sync with upstream git repo.
252    - Fix require_resolvable_fromhost doesn't work [SME: 6369]
253    - Fix TLS security defaults [SME: 6241]
254    - Fix fatal errors when mail has no headers [SME: 6345]
255    
256    * Wed Apr 14 2010 <slords@mail.com> 0.84-0.1.sme
257    - Update to 0.84
258    - add sme specific patches
259    
260    * Wed Mar 3 2010 <filippo.carletti@gmail.com> 0.83-0.7.sme
261    - Remove spool and log dir from package (in smeserver-qpsmtpd)
262    - Don't create smtpd user (unused in sme) [SME: 5815]
263    
264    * Thu Nov 5 2009 <smeserver-contribs@snetram.nl> 0.83-0.6.sme
265    - Apply qpsmtpd git changesets to implement custom SPAM
266      subject prefix [SME: 5031]
267    
268    * Tue Nov 3 2009 <slords@mail.com> 0.83-0.5.sme
269    - Update pre requires so scripts don't fail on install [SME: 5558]
270    
271    * Sat Oct 31 2009 <slords@mail.com> 0.83-0.4.sme
272    - Rebase bad_rcptto patch to remove orig file [SME: 5548]
273    - Change logging in tls init to prevent warnings [SME: 5551]
274    
275    * Thu Oct 29 2009 <slords@mail.com> 0.83-0.3.sme
276    - Only run/initialize plugins once [SME: 5533]
277    
278    * Mon Oct 26 2009 <filippo.carletti@gmail.com> 0.83-0.2.sme
279    - Change spool dir permissions and owner to qpsmtpd:clamav
280    - Change log dir permissions and owner to smelog:smelog
281    
282    * Tue Sep 22 2009 <filippo.carletti@gmail.com> 0.83-0.1.sme
283    - add sme specific patches
284    
285    * Fri Sep 18 2009 <rpmbuild@robinbowes.com> 0.83-0.1
286    - Update to 0.83
287    
288    * Sun Jul 12 2009 <rpmbuild@robinbowes.com> 0.82-0.1
289    - Update to latest release
290    - don't add qpsmtpd to start-up by default
291    - add apache config file to qpsmtpd-apache package
292    - remove all patches
293    - use rpm macros for dirs
294    - use a filelist for main package instead of a long list of files
295    
296    * Tue Jul 15 2008 <rpmbuild@robinbowes.com> 0.43-0.7
297    - Removed SelectServer.pm from .spec file
298    
299    * Tue Mar 18 2008 <rpmbuild@robinbowes.com> 0.43-0.6
300    - moved config files back to /etc/qpsmtpd following some changes
301      to the qpsmtpd src
302    
303    * Tue Mar 18 2008 <rpmbuild@robinbowes.com> 0.43-0.5
304    - moved config files to /etc/qpsmtpd/config
305    
306    * Tue Mar 18 2008 <rpmbuild@robinbowes.com> 0.43-0.4
307    - Moved qpsmtpd-async to /usr/bin
308    - Added qpsmtpd-async man page to async package
309    - Added async smtproute plugin to async package
310      
311    * Wed Mar 12 2008 <rpmbuild@robinbowes.com> 0.43-0.3
312    - Makefile.PL now updated in svn, so remove hack
313    
314    * Wed Mar 12 2008 <rpmbuild@robinbowes.com> 0.43-0.2
315    - Added qpsmtpd-prefork to qpsmtpd RPM, inc. hack to work round
316      deficiency in Makefile.PL
317    
318  * Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 0.40-1.2.sme  * Mon Mar 10 2008 <rpmbuild@robinbowes.com> 0.43-0.1
319  - Fix clamav patch so service starts [SME: 3065]  - Updated to work with Makefile to build from svn
320    
321  * Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 0.40-1.1.sme  * Wed Sep 12 2007 <rpmbuild@robinbowes.com> 0.40-2.0
322  - Update for smeserver [SME: 3065]  - Updated to build trunk-r790
323    
324  * Tue Jun 12 2007 <hjp@hjp.at> 0.40-1.0  * Tue Jun 12 2007 <hjp@hjp.at> 0.40-1.0
325  - updated to 0.40 - no code change.  - updated to 0.40 - no code change.


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