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