/[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.8 - (show annotations) (download)
Sat Sep 5 14:47:16 2009 UTC (15 years, 2 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-qmail-2_0_0-4_el4_sme, HEAD
Changes since 1.7: +7 -2 lines
* Sat Sep 05 2009 Gavin Weight <gweight@gmail.com> 2.0.0-4
- SMTPSmartHost template incorrectly uses brackets to avoid MX lookups. [SME: 5455]

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

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