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

Diff of /rpms/qmail/sme7/qmail.spec

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

Revision 1.1 by slords, Tue Jun 12 17:10:22 2007 UTC Revision 1.5 by slords, Thu Apr 3 03:44:16 2008 UTC
# Line 7  Summary: A modern, fast, secure replacem Line 7  Summary: A modern, fast, secure replacem
7  %define name qmail  %define name qmail
8  Name: %{name}  Name: %{name}
9  %define version 1.03  %define version 1.03
10  %define release 13  %define release 16
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: Daniel J. Bernstein  #Author: Daniel J. Bernstein
14    License: Public Domain
15  Group: Networking/Daemons  Group: Networking/Daemons
16  Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz  Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz
17  Patch0: qmail-1.03-echouser.patch  Patch0: qmail-1.03-echouser.patch
18    Patch1: http://homepages.tesco.net./~J.deBoynePollard/Softwares/qmail/any-to-cname.patch
19    Patch2: qmail-103-dns_response_buffer.patch
20  URL: http://cr.yp.to/%{name}.html  URL: http://cr.yp.to/%{name}.html
21  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22  Provides: smtpdaemon  Provides: smtpdaemon
# Line 68  also includes a drop-in ``sendmail'' wra Line 71  also includes a drop-in ``sendmail'' wra
71  transparently by your current UAs.  transparently by your current UAs.
72    
73  %changelog  %changelog
74    * Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.03-16
75    - Create tcpto lockfile in post script [SME: 3055]
76    
77    * Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.03-15
78    - Increase the buffer size for DNS responses. Patch is from
79      http://www.ckdhr.com./ckd/qmail-103.patch [SME: 3827]
80    - Update License information - qmail is now public domain:
81      http://cr.yp.to/qmail/dist.html :
82    
83        I hereby place the qmail package (in particular, qmail-1.03.tar.gz,
84        with MD5 checksum 622f65f982e380dbe86e6574f3abcb7c) into the public
85        domain.
86    
87    * Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.03-14
88    - Use CNAME lookup, rather than ANY lookup, to reduce the risk of
89      oversized replies. [SME: 3827]
90    
91  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
92  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
93    
# Line 172  transparently by your current UAs. Line 192  transparently by your current UAs.
192    
193  %setup  %setup
194  %patch0 -p1  %patch0 -p1
195    %patch1 -p1
196    %patch2 -p1
197    
198  %build  %build
199  echo gcc -O2 --include /usr/include/errno.h > conf-cc  echo gcc -O2 --include /usr/include/errno.h > conf-cc
# Line 263  do Line 285  do
285  done  done
286    
287  mkfifo $RPM_BUILD_ROOT/var/qmail/queue/lock/trigger  mkfifo $RPM_BUILD_ROOT/var/qmail/queue/lock/trigger
 dd bs=1024 count=1 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/tcpto  
288  dd bs=1024 count=0 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/sendmutex  dd bs=1024 count=0 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/sendmutex
289    
290  # Create the relative installation directories for the symlinks.  # Create the relative installation directories for the symlinks.
# Line 330  user_check qmailq $qmailq $qmail   /var/ Line 351  user_check qmailq $qmailq $qmail   /var/
351  user_check qmailr $qmailr $qmail   /var/qmail       /bin/false  user_check qmailr $qmailr $qmail   /var/qmail       /bin/false
352  user_check qmails $qmails $qmail   /var/qmail       /bin/false  user_check qmails $qmails $qmail   /var/qmail       /bin/false
353    
354    %post
355    dd bs=1024 count=1 if=/dev/zero of=/var/qmail/queue/lock/tcpto &> /dev/null
356    chown qmailr:qmail /var/qmail/queue/lock/tcpto &> /dev/null
357    chmod 644 /var/qmail/queue/lock/tcpto &> /dev/null
358    exit 0
359    
360  %clean  %clean
361  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 632  rm -rf $RPM_BUILD_ROOT Line 658  rm -rf $RPM_BUILD_ROOT
658  %attr(644,root,qmail)        /var/qmail/man/man8/qmail-qmtpd.8  %attr(644,root,qmail)        /var/qmail/man/man8/qmail-qmtpd.8
659  %attr(644,root,qmail)        /var/qmail/man/man8/qmail-smtpd.8  %attr(644,root,qmail)        /var/qmail/man/man8/qmail-smtpd.8
660  %attr(644,root,qmail)        /var/qmail/man/man8/qmail-command.8  %attr(644,root,qmail)        /var/qmail/man/man8/qmail-command.8
 %attr(644,qmailr,qmail)      /var/qmail/queue/lock/tcpto  
661  %attr(600,qmails,qmail)      /var/qmail/queue/lock/sendmutex  %attr(600,qmails,qmail)      /var/qmail/queue/lock/sendmutex
662  %attr(622,qmails,qmail)      /var/qmail/queue/lock/trigger  %attr(622,qmails,qmail)      /var/qmail/queue/lock/trigger
663  %attr(777,root,root)         /usr/lib/sendmail  %attr(777,root,root)         /usr/lib/sendmail


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