/[smeserver]/rpms/e-smith-qmail/sme8/e-smith-qmail.spec
ViewVC logotype

Annotation of /rpms/e-smith-qmail/sme8/e-smith-qmail.spec

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


Revision 1.11 - (hide annotations) (download)
Mon Jan 16 16:21:30 2012 UTC (12 years, 9 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-qmail-2_2_0-6_el5_sme
Changes since 1.10: +7 -2 lines
Allow groups with dots, by Filippo Carletti [SME: 6694]

1 wellsi 1.11 # $Id: e-smith-qmail.spec,v 1.10 2010/10/14 21:25:06 vip-ire Exp $
2 slords 1.5
3 slords 1.1 Summary: startup scripts for Dan Bernstein's qmail package
4     %define name e-smith-qmail
5     Name: %{name}
6 slords 1.5 %define version 2.2.0
7 wellsi 1.11 %define release 6
8 slords 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.gz
13 filippocarletti 1.6 Patch0: e-smith-qmail-2.2.0_no-workaround.patch
14 bytegw 1.8 Patch1: e-smith-qmail-2.2.0-IncorrectUseOfBrackets.patch
15 bytegw 1.9 Patch2: e-smith-qmail-2.2.0-IncorrectUseOfBrackets2.patch
16 vip-ire 1.10 Patch3: e-smith-qmail-2.2.0-configure_number_of_log_files_to_keep.patch.patch
17 wellsi 1.11 Patch4: e-smith-qmail-2.2.0-DotGroupFix.patch
18 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19     BuildRequires: e-smith-devtools >= 1.13.0-04
20     BuildArchitectures: noarch
21     Requires: qmail
22     Requires: dot-forward
23     Requires: fastforward
24     Requires: runit
25     Requires: e-smith-email
26 filippocarletti 1.6 Requires: qmail >= 1.03-17
27 slords 1.1 Provides: e-smith-mta
28     Conflicts: runit < 1.7
29     Obsoletes: qmail-initscripts
30 filippocarletti 1.6 Obsoletes: qmail-workaround
31 slords 1.1 AutoReqProv: no
32    
33     %changelog
34 wellsi 1.11 * Sun Jan 15 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme
35     - Allow groups with dots, by Filippo Carletti [SME: 6694]
36    
37 vip-ire 1.10 * Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme
38     - Read number of log files to keep from the DB [SME: 5855]
39    
40 bytegw 1.9 * Sat Sep 05 2009 Gavin Weight <gweight@gmail.com> 2.2.0-4
41     - SMTPSmartHost template incorrectly uses brackets to avoid MX lookups. [SME: 5456]
42    
43 bytegw 1.7 * Mon May 18 2009 Gavin Weight <gweight@gmail.com> 2.2.0-3
44     - smtproutes template incorrectly uses brackets to avoid MX lookups. [SME: 5257]
45    
46 filippocarletti 1.6 * Tue May 12 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2
47     - Remove qmail-workaround and obsolete it after patch to treat 0.0.0.0 as a
48     local ip [SME: 5171]
49    
50 slords 1.5 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
51     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
52    
53 slords 1.4 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.10.0-16
54     - Create tcpto lockfile in run script [SME: 3055]
55    
56 bytegw 1.3 * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.10.0-15
57     - Domain catchall Redirection to Account [SME:1922]
58    
59 slords 1.2 * Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com>
60     - Apply a code tidyup patch from Gordon. [SME: 871]
61    
62 slords 1.1 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
63     - Clean up spec so package can be built by koji/plague
64    
65     * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.10.0-13
66     - Change ownership/perms on /var/qmail/alias directory [SME: 2709]
67    
68     * Thu Feb 15 2007 Charlie Brady <charlie_brady@mitel.com>
69     - Use sv rather than deprecated runsvctrl in ip-up script. [SME: 2486]
70    
71     * Mon Jan 22 2007 Shad L. Lords <slords@mail.com> 1.10.0-11
72     - Allow admin user to be configured via users panel. [SME: 827]
73    
74     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
75     - Update to new release naming. No functional changes.
76     - Make Packager generic
77    
78     * Fri Aug 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-10
79     - Force creation of junkmail folder as some users like to delete
80     it [SME: 1130]
81    
82     * Mon Aug 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-09
83     - Allow optional EveryoneEmail property of user and 'admin' accounts
84     If set to 'no', do not include this user in the shared/everyone
85     email alias [SME: 1842]
86    
87     * Thu Aug 3 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-08
88     - Allow optional $smtpd{HeloHost} value for configuring HELO host,
89     defaulting to $DomainName [SME: 1790]
90    
91     * Thu Jun 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-07
92     - Default qmail{MaxMessageSize} to 15,000,000 bytes [SME: 1624]
93    
94     * Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-06
95     - Bump version only [SME: 1415]
96    
97     * Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-05sme01
98     - Allow optional MailServer property of domains db records and
99     deliver mail in this order of preference:
100     - As per the MailServer property of the domain
101     - $DelegateMailServer
102     - localhost (i.e. locally)
103     NOTE:
104     - If DelegateMailServer is not set, the users must exist on the
105     gateway or mail will be rejected
106     - If DelegateMailServer is set, all mail for the domain will be
107     forwarded to the relevant internal mail server [SME: 1253]
108    
109     * Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-04sme01
110     - Remove virtualdomains entries for hosts db entries. We only
111     handle mail for domains without customisation [SME: 1415]
112    
113     * Sat Apr 8 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-03
114     - Update group .qmail files when deleting/modifying users. [SME: 1200]
115    
116     * Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02
117     - Use shared library to block 0.0.0.0 MX mail loops. [SME: 1116]
118    
119     * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-01
120     - Roll stable stream version. [SME: 1016]
121    
122     * Fri Mar 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.9.1-05
123     - Add ~alias/.qmail-shared-default symlink. [SME: 764]
124    
125     * Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-04
126     - Fix migration when AdminEmail is not set. [SME: 818]
127    
128     * Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-03
129     - Use standard user .qmail template for admin user. Migrate
130     AdminEmail setting to $admin{ForwardAddress}. [SME: 818]
131    
132     * Tue Jan 24 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-02
133     - Fix duplicate symlink creation attempt in bootstrap-console-save
134     directory (during RPM build). [SME: 555]
135    
136     * Wed Jan 11 2006 Gordon Rowell <gordonr@gormand.com.au> 1.9.1-01
137     - Roll patches to 1.9.0-16
138     - Change ~alias/.qmail{default,localdelivery-default,shared} into
139     directory templates [SME: 440]
140    
141     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-16
142     - Bump release number only
143    
144     * Tue Nov 22 2005 Charlie Brady <charlieb@e-smith.com>
145     - [1.9.0-15]
146     - Fix broken symlink in group-delete event. Delete -default .qmail file
147     when deleting group. [SF: 1363973]
148    
149     * Tue Nov 1 2005 Charlie Brady <charlieb@e-smith.com>
150     - [1.9.0-14]
151     - Improve /var/qmail/users/assign/70pseudonyms error handling. [SF: 1337029]
152     - Fix error text from 60users template fragment. [SF: 1345206]
153    
154     * Fri Oct 21 2005 Gordon Rowell <gordonr@e-smith.com>
155     - [1.9.0-13]
156     - Add quotes around 'Recipient unknown' when calling bouncesaying.
157     Otherwise we're trying to call a program called 'unknown' [SF: 1334002]
158    
159     * Wed Oct 19 2005 Charlie Brady <charlieb@e-smith.com>
160     - [1.9.0-12]
161     - Ensure failsafe .qmail file if EmailForward property is not set.
162     [SF: 1330452]
163    
164     * Fri Oct 7 2005 Charlie Brady <charlieb@e-smith.com>
165     - [1.9.0-11]
166     - Expand virtualdomains in pseudonym-* events. Replace use of control/1
167     by generic actions, plus qmail-newu symlinked into event directories.
168     [SF: 1311349]
169    
170     * Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au>
171     - [1.9.0-10]
172     - Split up templates-user/.qmail into fragments which return
173     one or zero lines. It's much cleaner and helps with add-ons.
174     Move .qmail/20Forward -> 70Forward to leave more room for
175     add-ons [SF: 1252336]
176     - Minor fixups - thanks Stephen Noble [SF: 1252336]
177     - TODO: Remove the 10Filter stuff and migrate
178     qmail{DeliveryInstruction} and qmail{DeliveryType}
179    
180     * Mon Sep 19 2005 Gordon Rowell <gordonr@e-smith.com>
181     - [1.9.0-09]
182     - Correct /var/qmail/users/assign/50system fragment so that
183     mail for system accounts is delivered to admin [SF: 1284311]
184    
185     * Tue Sep 13 2005 Gordon Rowell <gordonr@gormand.com.au>
186     - [1.9.0-08]
187     - Add extension address handling for pseudonyms and groups.
188     [SF: 1286823]
189    
190     * Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com>
191     - [1.9.0-07]
192     - Make correct /service symlink, so that a runit finds the
193     run files. [SF: 1264668]
194    
195     * Wed Aug 10 2005 Shad Lords <slords@mail.com>
196     - [1.9.0-06]
197     - Add empty template-begin header for users/assign
198     - Add requires for e-smith-email
199     - Add provides e-smith-mta
200    
201     * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
202     - [1.9.0-05]
203     - Add in all qmail specific code from e-smith-email. [SF: 1255261]
204    
205     * Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com>
206     - [1.9.0-04]
207     - Remove dangling conf-migrate-* symlink [charlieb MN00062545]
208    
209     * Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com>
210     - [1.9.0-03]
211     - Remove no longer needed conf-migrate-* action [charlieb MN00062545]
212     - Replace deprecated Copyright header with License header.
213    
214     * Thu Feb 12 2004 Michael Soulier <msoulier@e-smith.com>
215     - [1.9.0-02]
216     - Updating with esmith::Build::CreateLinks, and the new genfilelist options.
217     - Yanked migrate-qmail-logfiles, as it was causing problems.
218     [msoulier dpar-20522]
219    
220     * Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com>
221     - [1.9.0-01]
222     - rolling to dev - 1.9.0
223    
224     * Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com>
225     - [1.8.0-02]
226     - Adding K* init symlinks in runlevels 0, 1 and 6. [msoulier 9761]
227    
228     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
229     - [1.8.0-01]
230     - Changing version to stable stream number - 1.8.0
231    
232     * Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com>
233     - [1.7.0-01]
234     - Rolling development stream version to 1.7.0
235    
236     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
237     - [1.6.0-01]
238     - Roll to maintained version number to 1.6.0
239    
240     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
241     - [1.6.0-01]
242     - Roll to maintained version number to 1.6.0
243    
244     * Wed Aug 21 2002 Charlie Brady <charlieb@e-smith.com>
245     - [1.5.1-01]
246     - Remove bogus e-smith-base dependency, which shows as an unmet
247     dependency on our workstations.
248     - Add rc7.d symlink [charlieb 4458]
249    
250     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
251     - [1.5.0-01]
252     - Changing version to development stream number to 1.5.0
253    
254     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
255     - [1.4.0-01]
256     - Changing version to maintained stream number to 1.4.0
257    
258     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
259     - [1.3.9-01]
260     - RPM rebuild forced by cvsroot2rpm
261    
262     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
263     - [1.3.8-01]
264     - testing co2rpm --force
265    
266     * Thu May 23 2002 Charlie Brady <charlieb@e-smith.com>
267     - [1.3.7-01]
268     - Remove world read and execute permission from qmail log directory.
269    
270     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
271     - [1.3.6-01]
272     - /supervise/qmail -> /service/qmail [gordonr 3044]
273    
274     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
275     - [1.3.5-01]
276     - Added /bin, /usr/bin and /usr/local/bin to qmail's path [gordonr 3044]
277    
278     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
279     - [1.3.4-01]
280     - And create /var/log/qmail [gordonr 3044]
281    
282     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
283     - [1.3.3-01]
284     - And create directory for pipes to be written to [gordonr 3044]
285    
286     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
287     - [1.3.2-01]
288     - Created pipes, symlinks and empty files in SPEC file [gordonr 3044]
289    
290     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
291     - [1.3.1-01]
292     - Initial CVS import
293    
294     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
295     - [1.3.0-01]
296     - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-02.
297    
298     * Fri Aug 17 2001 gordonr
299     - [1.2.0-02]
300     - Autorebuild by rebuildRPM
301    
302     * Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com>
303     - [1.2.0-01]
304     - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-04.
305    
306     * Tue May 1 2001 Peter Samuel <peters@e-smith.com>
307     - [1.1.0-04]
308     - added /var/log/qmail to filelist
309    
310     * Tue May 1 2001 Peter Samuel <peters@e-smith.com>
311     - [1.1.0-03]
312     - added migrate-qmail-logfiles action to post-upgrade
313    
314     * Mon Apr 30 2001 Peter Samuel <peters@e-smith.com>
315     - [1.1.0-02]
316     - added conf-migrate-qmail-variables actions to migrate qmail.init
317     configuration variable to qmail
318     - added e-smith header to files
319    
320     * Mon Apr 30 2001 Peter Samuel <peters@e-smith.com>
321     - [1.1.0-01]
322     - initial release
323    
324     %description
325     Startup scripts for Dan Bernstein's qmail package.
326    
327     %prep
328     %setup
329 filippocarletti 1.6 %patch0 -p1
330 bytegw 1.7 %patch1 -p1
331 bytegw 1.9 %patch2 -p1
332 vip-ire 1.10 %patch3 -p1
333 wellsi 1.11 %patch4 -p1
334 slords 1.1
335     %build
336     perl createlinks
337    
338     mkdir -p root/service
339     ln -s ../var/service/qmail root/service/qmail
340     mkdir -p root/var/service/qmail/supervise
341     touch root/var/service/qmail/down
342     mkdir -p root/var/service/qmail/log/supervise
343     mkdir -p root/var/log/qmail
344    
345     mkdir -p root/etc/e-smith/templates/var/qmail/users/assign
346     touch root/etc/e-smith/templates/var/qmail/users/assign/template-begin
347    
348     %install
349     rm -rf $RPM_BUILD_ROOT
350     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
351     rm -f %{name}-%{version}-%{release}-filelist
352     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
353     --dir '/var/service/qmail' 'attr(1755,root,root)' \
354     --file '/var/service/qmail/down' 'attr(0644,root,root)' \
355     --file '/var/service/qmail/run' 'attr(0755,root,root)' \
356     --file '/var/service/qmail/control/1' 'attr(0750,root,root)' \
357     --dir '/var/service/qmail/supervise' 'attr(0700,root,root)' \
358     --dir '/var/service/qmail/log' 'attr(0755,root,root)' \
359     --file '/var/service/qmail/log/run' 'attr(0755,root,root)' \
360     --dir '/var/service/qmail/log/supervise' 'attr(0700,root,root)' \
361     --dir '/var/log/qmail' 'attr(2750,qmaill,nofiles)' \
362     --dir '/var/qmail/alias' 'attr(2755,alias,qmail)' \
363     > %{name}-%{version}-%{release}-filelist
364     echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
365    
366     %clean
367     rm -rf $RPM_BUILD_ROOT
368    
369     %pre
370     %preun
371     %post
372     %postun
373    
374     %files -f %{name}-%{version}-%{release}-filelist
375     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed