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