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

Diff of /rpms/qpsmtpd/sme7/qpsmtpd.spec

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

Revision 1.3 by slords, Thu Jun 14 20:01:08 2007 UTC Revision 1.9 by slords, Sat Jun 30 16:52:23 2007 UTC
# Line 1  Line 1 
1  Name: qpsmtpd  Name: qpsmtpd
2  Version: 0.40  Version: 0.40
3  Release: 1.0%{?dist}  Release: 1.6%{?dist}
4  %define orig_version 0.40  %define orig_version 0.40
5  Summary: qpsmtpd  Summary: qpsmtpd
6  License: distributable  License: distributable
# Line 30  Patch100: qpsmtpd-0.40-badhelo_disconnec Line 30  Patch100: qpsmtpd-0.40-badhelo_disconnec
30  Patch101: qpsmtpd-0.40-badrcptto_allowrelay.patch  Patch101: qpsmtpd-0.40-badrcptto_allowrelay.patch
31  Patch102: qpsmtpd-0.40-clamav_fix.patch  Patch102: qpsmtpd-0.40-clamav_fix.patch
32  Patch103: qpsmtpd-0.40-peer_hooks.patch  Patch103: qpsmtpd-0.40-peer_hooks.patch
33    Patch104: qpsmtpd-0.40-clamd_conf.patch
34    Patch105: qpsmtpd-0.40-denysoft.patch
35    Patch106: qpsmtpd-0.40-clamav-headers.patch
36    
37  %description  %description
38  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 72  qpsmpd-async which uses it. Line 75  qpsmpd-async which uses it.
75  #%patch8 -p0 -b .dns-random-id  #%patch8 -p0 -b .dns-random-id
76  %patch100 -p1  %patch100 -p1
77  %patch101 -p1  %patch101 -p1
78  %patch102 -p1  #%patch102 -p1
79  %patch103 -p1  %patch103 -p1
80    %patch104 -p1
81    %patch105 -p1
82    %patch106 -p1
83    
84  %build  %build
85  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLSITELIB=/usr/lib/perl5/site_perl  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLSITELIB=/usr/lib/perl5/site_perl
# Line 234  find $RPM_BUILD_ROOT/usr -type f -path ' Line 240  find $RPM_BUILD_ROOT/usr -type f -path '
240  %config(noreplace) /etc/qpsmtpd/*  %config(noreplace) /etc/qpsmtpd/*
241  %config(noreplace) /etc/xinetd.d/smtp  %config(noreplace) /etc/xinetd.d/smtp
242  %config(noreplace) /etc/sysconfig/qpsmtpd-forkserver  %config(noreplace) /etc/sysconfig/qpsmtpd-forkserver
 %attr(0700,smtpd,smtpd) %dir /var/spool/qpsmtpd  
 %attr(0750,smtpd,smtpd) %dir /var/log/qpsmtpd  
243    
244  %files apache -f qpsmtpd-apache-%{version}-filelist  %files apache -f qpsmtpd-apache-%{version}-filelist
245  %defattr(-,root,root)  %defattr(-,root,root)
# Line 251  find $RPM_BUILD_ROOT/usr -type f -path ' Line 255  find $RPM_BUILD_ROOT/usr -type f -path '
255  /usr/share/qpsmtpd/plugins/async/dnsbl  /usr/share/qpsmtpd/plugins/async/dnsbl
256  /usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost  /usr/share/qpsmtpd/plugins/async/require_resolvable_fromhost
257    
258    %changelog
259    * Thu Jun 30 2007 Gavin Weight <gweight@gmail.com> 0.40-1.6.sme
260    - Move clamav headers to top to not mess up message signing.
261    
262    * Thu Jun 28 2007 Gavin Weight <gweight@gmail.com> 0.40-1.5.sme
263    - Remove the scriptlets within the .spec file. [SME: 3112]
264    
265    * Mon Jun 25 2007 Shad L. Lords <slords@mail.com> 0.40-1.4.sme
266    - Deny soft if clamscan fails [SME: 3098]
267    
268    * Fri Jun 15 2007 Shad L. Lords <slords@mail.com> 0.40-1.3.sme
269    - Fix clamd.conf path for clamav plugin [SME: 3067]
270    
271    * Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 0.40-1.2.sme
272    - Fix clamav patch so service starts [SME: 3065]
273    
274  %pre  * Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 0.40-1.1.sme
275  if ! id smtpd >/dev/null 2>&1  - Update for smeserver [SME: 3065]
 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  
276    
 %post  
 /sbin/chkconfig --add qpsmtpd-forkserver  
   
 %changelog  
277  * Tue Jun 12 2007 <hjp@hjp.at> 0.40-1.0  * Tue Jun 12 2007 <hjp@hjp.at> 0.40-1.0
278  - updated to 0.40 - no code change.  - updated to 0.40 - no code change.
279    


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