/[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.1 - (hide annotations) (download)
Tue Jun 12 16:07:27 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-quota-1_10_0-5_el4_sme
Import on branch sme7 of package e-smith-quota-1.10.0-5.el4.sme.src.rpm

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

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