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