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