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