1 |
# $Id: e-smith-quota.spec,v 1.10 2008/10/07 19:17:26 slords Exp $ |
2 |
|
3 |
Summary: e-smith server and gateway - quota module |
4 |
%define name e-smith-quota |
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: System Environment/Base |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-quota-2.0.0-badly-formmatted-html.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
16 |
Requires: e-smith-base >= 4.9.129, quota >= 3, perl-Quota |
17 |
Requires: e-smith-lib >= 1.13.1 |
18 |
Requires: e-smith-formmagick >= 1.4.0-12 |
19 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
20 |
BuildRequires: gettext |
21 |
AutoReqProv: no |
22 |
|
23 |
%description |
24 |
e-smith server and gateway software - quota module. |
25 |
|
26 |
%changelog |
27 |
* Wed Apr 28 2010 Ian Wells <esmith@wellsi.com> 2.0.0-2.sme |
28 |
- Improve the HTML formatting of the modify quota panel [SME: 5903] |
29 |
|
30 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
31 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
32 |
|
33 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.10.0-11 |
34 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4284] |
35 |
|
36 |
* Fri Mar 28 2008 Stephen Noble <support@dungog.net> 1.10.0-10 |
37 |
- Add spacing and localise 'files' [SME: 4133] |
38 |
|
39 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.10.0-9 |
40 |
- Remove <base> tags now in general [SME: 3927] |
41 |
|
42 |
* Tue Feb 12 2008 chris burnat <devlist@burnat.com> 1.10.0-8 |
43 |
- Fix deletion of usernames with one character [SME: 2451] |
44 |
|
45 |
* Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.10.0-7 |
46 |
- Enable quotas for all lvm partitions [SME: 3651] |
47 |
|
48 |
* Sun Oct 14 2007 Shad L. Lords <slords@mail.com> 1.10.0-6 |
49 |
- Remove unnecessary build dependency [SME: 3534] |
50 |
|
51 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
52 |
- Clean up spec so package can be built by koji/plague |
53 |
|
54 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
55 |
- Update to new release naming. No functional changes. |
56 |
- Make Packager generic |
57 |
|
58 |
* Sun Jul 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-04 |
59 |
- Fix sanity checking of hard/soft quota values, and fix "no limit" display |
60 |
text (fixes thanks to Robert van den Aker). [SME: 1462] |
61 |
|
62 |
* Sun Jul 16 2006 Gavin Weight <gweight@gmail.com> 1.10.0-03 |
63 |
- Fix quota.pm to allow account names with ".". [SME: 1702] |
64 |
|
65 |
* Mon May 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02 |
66 |
- Fix mis-sorting of users in quota table. [SME: 1346] |
67 |
|
68 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-01 |
69 |
- Roll stable stream version. [SME: 1016] |
70 |
|
71 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.2-05 |
72 |
- Bump release number only |
73 |
|
74 |
* Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com> |
75 |
- [1.9.2-04] |
76 |
- Add line break to over-quota email message to improve readability. |
77 |
|
78 |
* Wed Oct 19 2005 Charlie Brady <charlieb@e-smith.com> |
79 |
- [1.9.2-03] |
80 |
- Re-fix L10N in over-quota warning messages. [SF: 1312830] |
81 |
|
82 |
* Tue Oct 18 2005 Charlie Brady <charlieb@e-smith.com> |
83 |
- [1.9.2-02] |
84 |
- In warnquota, give Text::Template::fill_in an aliased reference to |
85 |
$conf, rather than a copy. [SF: 1312772] |
86 |
|
87 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
88 |
- [1.9.2-01] |
89 |
- Remove L10Ns from base packages [SF: 1309520] |
90 |
|
91 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
92 |
- [1.9.1-01] |
93 |
- New dev stream before relocating L10Ns |
94 |
|
95 |
* Tue Oct 4 2005 Charlie Brady <charlieb@e-smith.com> |
96 |
- [1.9.0-14] |
97 |
- Fix L10N in over-quota warning messages. [SF: 1312830] |
98 |
|
99 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
100 |
- [1.9.0-13] |
101 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
102 |
|
103 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
104 |
- [1.9.0-12] |
105 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
106 |
|
107 |
* Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com> |
108 |
- [1.9.0-11] |
109 |
- Update to current db access APIs (patches by Shad and Charlie) [SF: 1216546] |
110 |
|
111 |
* Wed Jul 13 2005 Charlie Brady <charlieb@e-smith.com> |
112 |
- [1.9.0-10] |
113 |
- Add quota setup in fstab templates (moved from e-smith-base). |
114 |
|
115 |
* Mon Jun 27 2005 Charlie Brady <charlieb@e-smith.com> |
116 |
- [1.9.0-09] |
117 |
- Really fix permissions of /etc/cron.d/warnquota. [SF: 1226700] |
118 |
|
119 |
* Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com> |
120 |
- [1.9.0-08] |
121 |
- Make perms of /etc/cron.d/warnquota acceptible to latest crond. |
122 |
[SF: 1226700] |
123 |
|
124 |
* Thu Mar 17 2005 Charlie Brady <charlieb@e-smith.com> |
125 |
- [1.9.0-07] |
126 |
- Fix some perl anachronisms which elicit warnings. [MN00075093] |
127 |
|
128 |
* Thu Mar 10 2005 Charlie Brady <charlieb@e-smith.com> |
129 |
- [1.9.0-06] |
130 |
- Update success and error messages to use new convention |
131 |
(patch submitted by Shad Lords). |
132 |
|
133 |
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
134 |
- [1.9.0-05] |
135 |
- Remount / with quota support before trying to create quota |
136 |
files. [MN00061221] |
137 |
|
138 |
* Fri Dec 24 2004 Charlie Brady <charlieb@e-smith.com> |
139 |
- [1.9.0-04] |
140 |
- Fix rc.quota_create's check for existing quota file, and add |
141 |
convertquota calls, in case of old style quota files. |
142 |
[MN00061221] |
143 |
|
144 |
* Thu Dec 16 2004 Charlie Brady <charlieb@e-smith.com> |
145 |
- [1.9.0-03] |
146 |
- Run /etc/rc.d/rc.quota_create before rc.sysinit, to enable |
147 |
filesystem quota support. [charlieb MN00061221] |
148 |
|
149 |
* Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com> |
150 |
- [1.9.0-02] |
151 |
- Untaint acct before using in system(). [charlieb MN00050161] |
152 |
|
153 |
* Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com> |
154 |
- [1.9.0-01] |
155 |
- Changing version to development stream number - 1.9.0 |
156 |
|
157 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
158 |
- [1.8.0-01] |
159 |
- Changing version to stable stream number - 1.8.0 |
160 |
|
161 |
* Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com> |
162 |
- [1.7.0-22] |
163 |
- Spanish nav bar [gordonr 9153] |
164 |
|
165 |
* Fri May 30 2003 Mark Knox <markk@e-smith.com> |
166 |
- [1.7.0-21] |
167 |
- Whoops. Don't need /usr/lib/e-smith-quota anymore. Removed [markk 8847] |
168 |
|
169 |
* Fri May 30 2003 Mark Knox <markk@e-smith.com> |
170 |
- [1.7.0-20] |
171 |
- Create template output dir in %build, and fragments need Locale::gettext |
172 |
[markk 8847] |
173 |
|
174 |
* Fri May 30 2003 Charlie Brady <charlieb@e-smith.com> |
175 |
- [1.7.0-19] |
176 |
- Move fstab fragment into e-smith-base. [charlieb 8868] |
177 |
|
178 |
* Tue May 6 2003 Lijie Deng <lijied@e-smith.com> |
179 |
- [1.7.0-18] |
180 |
- Add Spanish lexicon for quota [lijied 3793] |
181 |
|
182 |
* Thu Apr 17 2003 Lijie Deng <lijied@e-smith.com> |
183 |
- [1.7.0-17] |
184 |
- Standardize the Add/Remove/Save button name [lijied 7921] |
185 |
|
186 |
* Thu Apr 10 2003 Lijie Deng <lijied@e-smith.com> |
187 |
- [1.7.0-16] |
188 |
- Change $q->table back [lijied 8034] |
189 |
|
190 |
* Fri Apr 4 2003 Lijie Deng <lijied@e-smith.com> |
191 |
- [1.7.0-15] |
192 |
- Change $q->table to $q->start_table where necessary [lijied 8034] |
193 |
|
194 |
* Thu Apr 3 2003 Lijie Deng <lijied@e-smith.com> |
195 |
- [1.7.0-14] |
196 |
- Removed SME Server branding [lijied 8016] |
197 |
|
198 |
* Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com> |
199 |
- [1.7.0-13] |
200 |
- Modified /po/fr_CA to fr [lijied 6787] |
201 |
|
202 |
* Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com> |
203 |
- [1.7.0-12] |
204 |
- Modified French lexicon to use lang="fr", rename the lexicon |
205 |
directory to fr [lijied 6787] |
206 |
|
207 |
* Mon Mar 10 2003 Lijie Deng <lijied@e-smith.com> |
208 |
- [1.7.0-11] |
209 |
- Modified charset tag in .po file [lijied 3930] |
210 |
|
211 |
* Fri Mar 7 2003 Lijie Deng <lijied@e-smith.com> |
212 |
- [1.7.0-10] |
213 |
- Modified en-us and fr-ca panel title |
214 |
modified en-us and fr-ca nav bar label [lijied 7356] |
215 |
- Modified e-smith-devtools version [lijied 7578] |
216 |
|
217 |
* Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com> |
218 |
- [1.7.0-09] |
219 |
- Modified quotas panel order [lijied 7356] |
220 |
- Added French .po file to po/fr_CA, and modified the |
221 |
%build in spec file [lijied 7442] |
222 |
|
223 |
* Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com> |
224 |
- [1.7.0-08] |
225 |
- Split en-us lexicon from quota panel [lijied 4030] |
226 |
|
227 |
* Mon Mar 3 2003 Lijie Deng <lijied@e-smith.com> |
228 |
- [1.7.0-07] |
229 |
- Added French lexicon for quota. [lijied 5003] |
230 |
|
231 |
* Sat Jan 25 2003 Mike Dickson <miked@e-smith.com> |
232 |
- [1.7.0-06] |
233 |
- added ACTION to the lexicon [miked 6363] |
234 |
|
235 |
* Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com> |
236 |
- [1.7.0-05] |
237 |
- Rewrote templates to use esmith::I18N [gordonr 5212] |
238 |
|
239 |
* Fri Dec 27 2002 Mike Dickson <miked@e-smith.com> |
240 |
- [1.7.0-04] |
241 |
- minor UI update [miked 5494] |
242 |
|
243 |
* Mon Dec 9 2002 Mike Dickson <miked@e-smith.com> |
244 |
- [1.7.0-03] |
245 |
- updates for new UI [miked 5494] |
246 |
|
247 |
* Thu Nov 21 2002 Mike Dickson <miked@e-smith.com> |
248 |
- [1.7.0-02] |
249 |
- update to new UI system [miked 5494] |
250 |
|
251 |
* Wed Nov 20 2002 Mike Dickson <miked@e-smith.com> |
252 |
- [1.7.0-01] |
253 |
- Changing to development stream; version upped to 1.7.0 |
254 |
|
255 |
* Wed Oct 16 2002 Gordon Rowell <gordonr@e-smith.com> |
256 |
- [1.6.1-03] |
257 |
- Don't suppress quota warnings if hard limit is zero [gordonr 5230] |
258 |
|
259 |
* Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com> |
260 |
- [1.6.1-02] |
261 |
- Fix I18N of From header in warning emails. Quote "full name" |
262 |
part of From header (to be sure). [charlieb 5205] |
263 |
|
264 |
* Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com> |
265 |
- [1.6.1-01] |
266 |
- Fix use of comma as string concat operator in overquota mail message |
267 |
templates. Break some long lines while we are at it. [charlieb 5178] |
268 |
|
269 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
270 |
- [1.6.0-01] |
271 |
- Roll to maintained version number to 1.6.0 |
272 |
|
273 |
* Fri Oct 11 2002 Mark Knox <markk@e-smith.com> |
274 |
- [1.5.3-03] |
275 |
- Improved unit suffix handling to more closely correspond to docs [markk 5102] |
276 |
- Allow "unlimited" hard quota with soft quota [markk 5102] |
277 |
|
278 |
* Tue Oct 8 2002 Mark Knox <markk@e-smith.com> |
279 |
- [1.5.3-02] |
280 |
- Improved error strings [markk 5102] |
281 |
|
282 |
* Wed Sep 25 2002 Mark Knox <markk@e-smith.com> |
283 |
- [1.5.3-01] |
284 |
- Rolled version to clean up patch errors |
285 |
|
286 |
* Wed Sep 25 2002 Mark Knox <markk@e-smith.com> |
287 |
- [1.5.2-04] |
288 |
- Clean up panel display and instructions [markk 4475] |
289 |
|
290 |
* Wed Sep 4 2002 Mark Knox <markk@e-smith.com> |
291 |
- [1.5.2-03] |
292 |
- Disambiguated the explanation of how disk usage is calculated. [markk 4473] |
293 |
|
294 |
* Tue Aug 27 2002 Mark Knox <markk@e-smith.com> |
295 |
- [1.5.2-02] |
296 |
- Display decimal values in summary screen [markk 4475] |
297 |
- Allow entry of KB, MB, or GB values in modify panel [markk 4475] |
298 |
- Choose and display "best" unit in modify panel [markk 4475] |
299 |
|
300 |
* Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com> |
301 |
- [1.5.2-01] |
302 |
- Remove dangling enable-quota symlinks. [charlieb 4297] |
303 |
|
304 |
* Mon Aug 5 2002 Charlie Brady <charlieb@e-smith.com> |
305 |
- [1.5.1-01] |
306 |
- Bump quota requirement to version 3. |
307 |
- Fix fstab template to handle ext3 file systems. [charlieb 4297] |
308 |
- Remove action script which runs quotacheck - this is now done by rc.sysinit |
309 |
during reboot. [charlieb 4297] |
310 |
|
311 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
312 |
- [1.5.0-01] |
313 |
- Changing version to development stream number to 1.5.0 |
314 |
|
315 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
316 |
- [1.4.0-01] |
317 |
- Changing version to maintained stream number to 1.4.0 |
318 |
|
319 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
320 |
- [1.3.9-01] |
321 |
- RPM rebuild forced by cvsroot2rpm |
322 |
|
323 |
* Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com> |
324 |
- [1.3.8-01] |
325 |
- Move enable-quota back into post-{install,upgrade}. Skip the quotacheck |
326 |
if the quota files exist. For an install, they won't. For an upgrade |
327 |
from a previously quota'ed system, they will and we don't want to |
328 |
bother checking the whole filesystem during the upgrade. For an upgrade |
329 |
from a pre-quota system they won't exist, so we need to check. |
330 |
Note: /etc/fstab must have the quota options enabled before we attempt |
331 |
to run quotacheck or it exits silently [gordonr 3439] |
332 |
|
333 |
* Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com> |
334 |
- [1.3.7-01] |
335 |
- Turn quotas on (well, off then on) after enabling quotas in case |
336 |
we didn't enable them at boot time in an upgrade from version which |
337 |
didn't have quotas [gordonr 3439] |
338 |
|
339 |
* Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com> |
340 |
- [1.3.6-01] |
341 |
- Re-add enable-quotas to post-install, after expansion of /etc/fstab |
342 |
[gordonr 3439] |
343 |
|
344 |
* Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com> |
345 |
- [1.3.5-01] |
346 |
- Updated e-smith-base dependency [gordonr 3439] |
347 |
|
348 |
* Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com> |
349 |
- [1.3.4-01] |
350 |
- Relocated the scaffolding for /etc/fstab templates to e-smith-base, |
351 |
leaving the enable quotas fragment here. The template is also expanded |
352 |
with an action in e-smith-base. Updated e-smith-base Requires [gordonr 3439] |
353 |
|
354 |
* Mon May 13 2002 Gordon Rowell <gordonr@e-smith.com> |
355 |
- [1.3.3-01] |
356 |
- Really fix createlinks [gordonr 3439] |
357 |
|
358 |
* Mon May 13 2002 Gordon Rowell <gordonr@e-smith.com> |
359 |
- [1.3.2-01] |
360 |
- Actually run enable-quotas in bootstrap-console-save and fix |
361 |
createlinks [gordonr 3439] |
362 |
|
363 |
* Mon May 13 2002 Gordon Rowell <gordonr@e-smith.com> |
364 |
- [1.3.1-01] |
365 |
- Moving to stream 1.3.1 (1.3.0 skipped by accidentally) |
366 |
- Check all quotas during bootstrap-console-save rather than |
367 |
post-upgrade so that the install completes quickly, even on |
368 |
a machine with lots of disk to check. [gordonr 3439] |
369 |
|
370 |
* Wed May 8 2002 Gordon Rowell <gordonr@e-smith.com> |
371 |
- [1.2.8-01] |
372 |
- Subst scanmail.tmpl -> template name in both quota templates [markk 3029] |
373 |
- Need to enable quotas before trying to restore them :-) [gordonr 2730] |
374 |
|
375 |
* Wed May 8 2002 Mark Knox <markk@e-smith.com> |
376 |
- [1.2.7-01] |
377 |
- Added gettext in quota warning templates [markk 3029] |
378 |
|
379 |
* Tue May 7 2002 Gordon Rowell <gordonr@e-smith.com> |
380 |
- [1.2.6-01] |
381 |
- Localised "Modify" link on main page [markk 3317] |
382 |
|
383 |
* Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com> |
384 |
- [1.2.5-01] |
385 |
- esmith::AccountDB -> esmith::AccountsDB [schwern 3287] |
386 |
|
387 |
* Wed Apr 24 2002 Gordon Rowell <gordonr@e-smith.com> |
388 |
- [1.2.4-01] |
389 |
- Rewording SOFT/HARD errors for consistency [gordonr 3027] |
390 |
|
391 |
* Mon Apr 22 2002 Adrian Chung <adrianc@e-smith.com> |
392 |
- [1.2.3-01] |
393 |
- Pass the $user object instead of the $username variable in user-modify-quota. |
394 |
|
395 |
* Tue Apr 16 2002 Mark Knox <markk@e-smith.com> |
396 |
- [1.2.2-01] |
397 |
- Added a missing button in the modify user page [markk 3159] |
398 |
|
399 |
* Mon Apr 15 2002 Mark Knox <markk@e-smith.com> |
400 |
- [1.2.1-01] |
401 |
- Adding warning for Quota::query failure to warnquota & user-modify-quota |
402 |
[schwern 2730] |
403 |
- Testing user-modify-quota [schwern 2729 2730] |
404 |
- Converted to FormMagick panel and internationalized. Added some POD and |
405 |
tests. [markk 3159] |
406 |
- Added buildtests in %build [markk 3159] |
407 |
|
408 |
* Thu Mar 7 2002 Charlie Brady <charlieb@e-smith.com> |
409 |
- [1.2.0-01] |
410 |
- rollRPM: Rolled version number too 1.2.0-01. Includes patches up to 1.0.0-02. |
411 |
- DO NOT MAKE ANY FURTHER CHANGES TO THIS FILE, as this is the base version |
412 |
being imported into CVS. |
413 |
|
414 |
* Fri Feb 01 2002 Charlie Brady <charlieb@e-smith.com> |
415 |
- [1.0.0-02] |
416 |
- Allow hard and soft quota to be equal. This also allows the quota to be |
417 |
removed. See #2729. |
418 |
- Set quota limits for all users in post-upgrade event. This allows for |
419 |
a system restore to have properly set up quotas. |
420 |
|
421 |
* Tue Dec 11 2001 Jason Miller <jay@e-smith.com> |
422 |
- [1.0.0-01] |
423 |
- rollRPM: Rolled version number to 1.0.0-01. Includes patches up to 0.1.1-09. |
424 |
|
425 |
* Wed Dec 5 2001 Adrian Chung <adrianc@e-smith.com> |
426 |
- [0.1.1-09] |
427 |
- Adding new warnquota script that sends mail to users who have exceeded their |
428 |
"limit with grace time", and a summary report to admin. |
429 |
- Adding admin summary template, and user quota warning template to |
430 |
/etc/e-smith/templates/usr/lib/e-smith-quota |
431 |
|
432 |
* Wed Dec 5 2001 Adrian Chung <adrianc@e-smith.com> |
433 |
- [0.1.1-08] |
434 |
- Adding check in panel to make sure that soft limit |
435 |
is less than hard limit. |
436 |
- Also insert missing subroutine prototype. |
437 |
|
438 |
* Thu Nov 15 2001 Adrian Chung <adrianc@e-smith.com> |
439 |
- [0.1.1-07] |
440 |
- More text changes to the quota panel. |
441 |
- Changed kB sizing output to mB sizing. |
442 |
- Still no genSmallRedCellRightJustified. Yet. |
443 |
|
444 |
* Wed Nov 14 2001 Charlie Brady <charlieb@e-smith.com> |
445 |
- [0.1.1-06] |
446 |
- Add daily quota warning script. For now, just use a wrapper for |
447 |
/usr/sbin/warnquota. In time we will write our own script in perl |
448 |
and produce a customised report. |
449 |
|
450 |
* Wed Nov 14 2001 Adrian Chung <adrianc@e-smith.com> |
451 |
- [0.1.1-05] |
452 |
- Update createlinks to create manager quota panel link |
453 |
- More text changes to quota panel. |
454 |
- Use genSmallCellRightJustified |
455 |
- Create "Modify" button. |
456 |
|
457 |
* Wed Nov 14 2001 Adrian Chung <adrianc@e-smith.com> |
458 |
- [0.1.1-04] |
459 |
- Add some wording to panel, and change wording of |
460 |
soft and hard limits to "limit with grace time" and |
461 |
"immediate limit" |
462 |
- Still to roll in genSmallCellRight |
463 |
|
464 |
* Tue Nov 13 2001 Charlie Brady <charlieb@e-smith.com> |
465 |
- [0.1.1-03] |
466 |
- Add bare bones web panel which allows setting of soft and hard file limits. |
467 |
|
468 |
* Mon Nov 12 2001 Charlie Brady <charlieb@e-smith.com> |
469 |
- [0.1.1-02] |
470 |
- Add action script to set and modify quotas using properties from the accounts |
471 |
db. |
472 |
|
473 |
* Fri Nov 09 2001 Charlie Brady <charlieb@e-smith.com> |
474 |
- Initial |
475 |
|
476 |
%prep |
477 |
%setup |
478 |
%patch1 -p1 |
479 |
|
480 |
%build |
481 |
mkdir -p root/etc/e-smith/events/post-{install,upgrade} |
482 |
mkdir -p root/etc/e-smith/events/user-{create,modify} |
483 |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
484 |
|
485 |
xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/adminQuotaSummary.tmpl.po \ |
486 |
root/etc/e-smith/templates/usr/lib/e-smith-quota/adminQuotaSummary.tmpl -L perl |
487 |
xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/userOverQuota.tmpl.po \ |
488 |
root/etc/e-smith/templates/usr/lib/e-smith-quota/userOverQuota.tmpl -L perl |
489 |
|
490 |
perl createlinks |
491 |
/sbin/e-smith/buildtests 50-e-smith-quota |
492 |
|
493 |
/sbin/e-smith/generate-lexicons |
494 |
|
495 |
%install |
496 |
rm -rf $RPM_BUILD_ROOT |
497 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
498 |
rm -f %{name}-%{version}-%{release}-filelist |
499 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
500 |
--file /etc/rc.d/rc.quota_create 'attr(0755,root,root)' \ |
501 |
--file /etc/cron.d/warnquota 'attr(0644,root,root)' \ |
502 |
> %{name}-%{version}-%{release}-filelist |
503 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
504 |
|
505 |
%clean |
506 |
rm -rf $RPM_BUILD_ROOT |
507 |
|
508 |
%files -f %{name}-%{version}-%{release}-filelist |
509 |
%defattr(-,root,root) |