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

Annotation 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.5 - (hide annotations) (download)
Tue Feb 12 21:43:27 2008 UTC (16 years, 3 months ago) by burnat
Branch: MAIN
CVS Tags: e-smith-quota-1_10_0-8_el5_sme
Changes since 1.4: +7 -1 lines
Updates

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

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