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

Contents 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.10 - (show annotations) (download)
Thu Oct 14 21:25:06 2010 UTC (14 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-qmail-2_2_0-5_el5_sme
Changes since 1.9: +7 -2 lines
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme
- Read number of log files to keep from the DB [SME: 5855]

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

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