/[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.6 - (show annotations) (download)
Wed May 13 15:11:42 2009 UTC (15 years, 5 months ago) by filippocarletti
Branch: MAIN
CVS Tags: e-smith-qmail-2_0_0-2_el4_sme
Changes since 1.5: +10 -3 lines
See changelog

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

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