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

Annotation 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.3 - (hide annotations) (download)
Wed Nov 7 23:22:31 2007 UTC (17 years ago) by bytegw
Branch: MAIN
Changes since 1.2: +2 -2 lines
Minor adjust

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

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