/[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.4 - (show annotations) (download)
Thu Apr 3 03:46:31 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-qmail-1_10_0-16_el4_sme
Changes since 1.3: +6 -1 lines
* Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.10.0-16
- Create tcpto lockfile in run script [SME: 3055]

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

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