/[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.17 by slords, Fri Oct 16 22:45:26 2009 UTC Revision 1.25 by filippocarletti, Wed Mar 3 16:23:23 2010 UTC
# Line 1  Line 1 
1  # $Id: qpsmtpd.spec,v 1.16 2009/03/28 08:05:49 snetram Exp $  # $Id: qpsmtpd.spec,v 1.24 2009/11/05 18:06:59 snetram Exp $
2    
3  Name: qpsmtpd  Name: qpsmtpd
4  Version: 0.83  Version: 0.83
5  Release: 0.1%{?dist}  Release: 0.7%{?dist}
6  Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async  Summary: qpsmtpd + qpsmtpd-apache + qpsmtpd-async
7  License: distributable  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}-%{version}-%{release}-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: %{name}-%{version}.tar.gz  Source0: %{name}-%{version}.tar.gz
17  Source1: qpsmtpd-forkserver.rc  Source1: qpsmtpd-forkserver.rc
# Line 21  Source5: in.qpsmtpd Line 22  Source5: in.qpsmtpd
22  Source6: qpsmtpd.conf  Source6: qpsmtpd.conf
23  Source7: README.selinux  Source7: README.selinux
24    
25    Patch10: qpsmtpd-0.83-loginit.patch
26    Patch11: qpsmtpd-48d1a5b9febc96d2d3c4110500759e36fb4eabb6.patch
27    Patch12: qpsmtpd-de3fbb565f711bc27e7bfa061e83c3020710dc16.patch
28    
29  Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch  Patch100: qpsmtpd-0.40-badrcptto_allowrelay.patch
30  Patch101: qpsmtpd-0.83-peer_hooks.patch  Patch101: qpsmtpd-0.83-peer_hooks.patch
31  Patch102: qpsmtpd-0.83-clamd_conf.patch  Patch102: qpsmtpd-0.83-clamd_conf.patch
# Line 55  qpsmpd-async which uses it. Line 60  qpsmpd-async which uses it.
60    
61  %prep  %prep
62  %setup -q  %setup -q
63    %patch10 -p1
64    %patch11 -p1
65    %patch12 -p1
66  %patch100 -p1  %patch100 -p1
67  %patch101 -p1  %patch101 -p1
68  %patch102 -p1  %patch102 -p1
# Line 133  fi Line 141  fi
141  %config(noreplace) %{_sysconfdir}/qpsmtpd/*  %config(noreplace) %{_sysconfdir}/qpsmtpd/*
142  %config(noreplace) %{_sysconfdir}/xinetd.d/smtp  %config(noreplace) %{_sysconfdir}/xinetd.d/smtp
143  %config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver  %config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver
 %attr(0700,smtpd,smtpd) %dir %{_localstatedir}/spool/qpsmtpd  
 %attr(0750,smtpd,smtpd) %dir %{_localstatedir}/log/qpsmtpd  
144    
145  %files apache  %files apache
146  %defattr(-,root,root)  %defattr(-,root,root)
# Line 155  fi Line 161  fi
161  %{_datadir}/%{name}/plugins/async/*  %{_datadir}/%{name}/plugins/async/*
162    
163  %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  
164    
165  %changelog  %changelog
166  * Fri Sep 18 2009 <rpmbuild@robinbowes.com> 0.83-0.1.sme  * Wed Mar 3 2010 <filippo.carletti@gmail.com> 0.83-0.7.sme
167  - Update to 0.83  - Remove spool and log dir from package (in smeserver-qpsmtpd)
168    - Don't create smtpd user (unused in sme) [SME: 5815]
169    
170    * Thu Nov 5 2009 <smeserver-contribs@snetram.nl> 0.83-0.6.sme
171    - Apply qpsmtpd git changesets to implement custom SPAM
172      subject prefix [SME: 5031]
173    
174    * Tue Nov 3 2009 <slords@lordsfam.net> 0.83-0.5.sme
175    - Update pre requires so scripts don't fail on install [SME: 5558]
176    
177    * Sat Oct 31 2009 <slords@lordsfam.net> 0.83-0.4.sme
178    - Rebase bad_rcptto patch to remove orig file [SME: 5548]
179    - Change logging in tls init to prevent warnings [SME: 5551]
180    
181    * Thu Oct 29 2009 <slords@lordsfam.net> 0.83-0.3.sme
182    - Only run/initialize plugins once [SME: 5533]
183    
184    * Mon Oct 26 2009 <filippo.carletti@gmail.com> 0.83-0.2.sme
185    - Change spool dir permissions and owner to qpsmtpd:clamav
186    - Change log dir permissions and owner to smelog:smelog
187    
188    * Tue Sep 22 2009 <filippo.carletti@gmail.com> 0.83-0.1.sme
189  - add sme specific patches  - add sme specific patches
190    
191    * Fri Sep 18 2009 <rpmbuild@robinbowes.com> 0.83-0.1
192    - Update to 0.83
193    
194  * Sun Jul 12 2009 <rpmbuild@robinbowes.com> 0.82-0.1  * Sun Jul 12 2009 <rpmbuild@robinbowes.com> 0.82-0.1
195  - Update to latest release  - Update to latest release
196  - don't add qpsmtpd to start-up by default  - don't add qpsmtpd to start-up by default


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