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

Contents of /rpms/e-smith-qmail/sme7/e-smith-qmail.spec

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


Revision 1.7 - (show annotations) (download)
Mon May 18 16:24:15 2009 UTC (15 years, 6 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-qmail-2_0_0-3_el4_sme
Changes since 1.6: +7 -2 lines
See changelog

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

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