/[smeserver]/rpms/e-smith-quota/sme8/e-smith-quota.spec
ViewVC logotype

Contents of /rpms/e-smith-quota/sme8/e-smith-quota.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Tue Dec 18 10:58:28 2007 UTC (16 years, 5 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-quota-1_10_0-7_el5_sme
Changes since 1.3: +6 -1 lines
Updates

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed