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

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

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


Revision 1.10 - (show annotations) (download)
Tue Oct 7 19:17:26 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-quota-2_0_0-1_el4_sme
Changes since 1.9: +7 -18 lines
New streams

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

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