459c1f9
#allow remote set quota by defined rpcsetquota to 1(disabled by default)
459c1f9
%{!?rpcsetquota:%define rpcsetquota 0}
459c1f9
cvsdist f834de4
Name: quota
6a82bbd
Summary: System administration tools for monitoring users' disk usage
cvsdist f834de4
Epoch: 1
b91cfe8
Version: 3.15
cf484b1
Release: 6%{?dist}
8564310
License: BSD and GPLv2+
riel bed7a64
URL: http://sourceforge.net/projects/linuxquota/
cvsdist f834de4
Group: System Environment/Base
cvsdist f834de4
BuildRoot: %{_tmppath}/%{name}-root
6a82bbd
Requires: initscripts >= 6.38 tcp_wrappers e2fsprogs
Florian La Roche 697a4ae
Conflicts: kernel < 2.4
6a82bbd
BuildRequires: e2fsprogs-devel gettext tcp_wrappers-devel
b91cfe8
Source0: http://downloads.sourceforge.net/linuxquota/%{name}-%{version}.tar.gz
cvsdist f834de4
Patch0:	quota-3.06-warnquota.patch
cvsdist f834de4
Patch1: quota-3.06-no-stripping.patch
cvsdist f834de4
Patch2: quota-3.06-man-page.patch
5035648
Patch3: quota-3.06-pie.patch
3138b4e
Patch4: quota-3.13-wrong-ports.patch
a1c35b6
Patch5: quota-3.15-manpages.patch
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%description
cvsdist f834de4
The quota package contains system administration tools for monitoring
cvsdist f834de4
and limiting user and or group disk usage per filesystem.
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%prep
cvsdist f834de4
%setup -q -n quota-tools
cvsdist f834de4
%patch0 -p1
cvsdist f834de4
%patch1 -p1
cvsdist f834de4
%patch2 -p1
cvsdist 902fba1
%ifnarch ppc ppc64
5035648
%patch3 -p1
cvsdist 902fba1
%endif
3138b4e
%patch4 -p1
a1c35b6
%patch5 -p1
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%build
cvsdist f834de4
%configure \
cf484b1
	--enable-ldapmail=try \
459c1f9
%if %{rpcsetquota}
1b2a592
	--enable-rpcsetquota=yes \
459c1f9
%endif
1b2a592
	--enable-rootsbin 
cvsdist f834de4
make
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%install
cvsdist f834de4
rm -fr %{buildroot}
cvsdist f834de4
mkdir -p %{buildroot}/sbin
cvsdist f834de4
mkdir -p %{buildroot}%{_sysconfdir}
cvsdist f834de4
mkdir -p %{buildroot}%{_sbindir}
cvsdist f834de4
mkdir -p %{buildroot}%{_bindir}
cvsdist f834de4
mkdir -p %{buildroot}%{_mandir}/{man1,man2,man3,man8}
cvsdist f834de4
make install ROOTDIR=%{buildroot}
cvsdist f834de4
install -m 644 warnquota.conf %{buildroot}%{_sysconfdir}
cvsdist 902fba1
#
cvsdist f834de4
# we don't support XFS yet
cvsdist f834de4
#
cvsdist f834de4
rm -f %{buildroot}%{_sbindir}/quot
cvsdist f834de4
rm -f %{buildroot}%{_sbindir}/xqmstats
cvsdist f834de4
rm -f %{buildroot}%{_mandir}/man8/quot.*
a229abb
rm -f %{buildroot}%{_mandir}/man8/xqmstats.*
a229abb
ln -s  %{_mandir}/man8/quotaon.8 \
a229abb
  %{buildroot}%{_mandir}/man8/quotaoff.8
cvsdist f834de4
cvsdist f834de4
%find_lang %{name}
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%clean
cvsdist f834de4
rm -rf %{buildroot}
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%files -f %{name}.lang
cvsdist f834de4
%defattr(-,root,root)
8564310
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/*
cvsdist f834de4
%attr(0755,root,root) /sbin/*
cvsdist f834de4
%attr(0755,root,root) %{_bindir}/*
cvsdist f834de4
%attr(0755,root,root) %{_sbindir}/*
cvsdist f834de4
%{_includedir}/rpcsvc/*
cvsdist f834de4
%attr(0644,root,root) %{_mandir}/man1/*
cvsdist f834de4
%attr(0644,root,root) %{_mandir}/man2/*
cvsdist f834de4
%attr(0644,root,root) %{_mandir}/man3/*
cvsdist f834de4
%attr(0644,root,root) %{_mandir}/man8/*
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
%changelog
cf484b1
* Wed Mar 12 2008 Ondrej Vasik <ovasik@redhat.com> 3.15-6
cf484b1
- added enable-ldapmail=try option(wonder how #133207
cf484b1
  got closed by FC-4 without it or warnquota.conf change)
cf484b1
- dropped with-ext2direct=no option - this option is 
cf484b1
  invalid and original bug was fixed in 3.07
cf484b1
a229abb
* Thu Mar  6 2008 Ondrej Vasik <ovasik@redhat.com> 3.15-5
a229abb
- added symbolic link for quotaoff man page(#436110)
a229abb
- don't ship xqmstats.8 man page as we don't ship those
a229abb
  binaries(#436100)
a229abb
a1c35b6
* Thu Feb 21 2008 Ondrej Vasik <ovasik@redhat.com> 3.15-4
a1c35b6
- added pointers to quota_nld and warnquota to some 
a1c35b6
  manpages(upstream, #83975)
a1c35b6
459c1f9
* Tue Feb 12 2008 Ondrej Vasik <ovasik@redhat.com> 3.15-3
459c1f9
- allow to build with rpcsetquota enabled(disabled by
459c1f9
  default, #159292)
459c1f9
- rebuild for gcc43
459c1f9
6a82bbd
* Thu Jan 24 2008 Steve Dickson <SteveD@RedHat.com> 3.15-2
6a82bbd
- More review comments:
6a82bbd
    - BuiltPreReq to BuiltReq
6a82bbd
    - Removed '.' From Summary
6a82bbd
    - Added 'GPLv2+' to License Tag
8564310
	- Condensed the _sysconfdir entries in to one line
6a82bbd
b91cfe8
* Thu Jan 24 2008 Steve Dickson <SteveD@RedHat.com> 3.15-1
b91cfe8
- Upgraded to version 3.15 
b91cfe8
- Updated spec file per Merge Review (bz 226353)
b91cfe8
aa88b6e
* Thu Feb 15 2007  Steve Dickson <SteveD@RedHat.com> 3.14-1
aa88b6e
- Upgraded to version 3.14 (bz# 213641)
aa88b6e
a23f83f
* Mon Dec  4 2006 Thomas Woerner <twoerner@redhat.com> 1:3.13-1.3
a23f83f
- tcp_wrappers has a new devel and libs sub package, therefore changing build
a23f83f
  requirement for tcp_wrappers to tcp_wrappers-devel
a23f83f
3138b4e
* Wed Nov  1 2006 Steve Dickson <SteveD@RedHat.com> 1:3.13-1.2.3.2
3138b4e
- Added range checking on -p flag (bz 205145)
646ed1a
- Error message prints garbage characters (bz 201226)
3138b4e
3669cd4
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:3.13-1.2.3.1
3669cd4
- rebuild
3669cd4
0a51192
* Fri Jun 30 2006 Steve Dickson <steved@redhat.com> - 1:3.13-1.2.3
0a51192
- fix 192826 - quota config files should not be overwritten
0a51192
c48c16c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:3.13-1.2.1
c48c16c
- bump again for double-long bug on ppc(64)
c48c16c
484c631
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:3.13-1.2
484c631
- rebuilt for new gcc4.1 snapshot and glibc changes
484c631
8d0f634
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
8d0f634
- rebuilt
8d0f634
05cdfac
* Mon Oct 31 2005 Steve Dickson <steved@redhat.com> 3.13-1
05cdfac
- Upgraded to version 3.13 (bz# 171245)
05cdfac
Florian La Roche 697a4ae
* Thu Aug 18 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche 697a4ae
- change the "Requires: kernel" into a "Conflicts:"
Florian La Roche 697a4ae
riel bed7a64
* Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.12-5
riel bed7a64
- add URL (bz# 131862)
riel bed7a64
a931058
* Fri Sep 24 2004 Steve Dickson <SteveD@RedHat.com>
633be73
- Fixed typos in warnquota.conf patch 
633be73
  (bz# 82250 and bz# 83974)
768a01e
5035648
* Mon Sep 13 2004 Steve Dickson <SteveD@RedHat.com>
5035648
- upgraded to 3.12
5035648
cvsdist b5cd5f0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b5cd5f0
- rebuilt
cvsdist b5cd5f0
cvsdist b1cbb7d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b1cbb7d
- rebuilt
cvsdist b1cbb7d
cvsdist 902fba1
* Tue Jan 27 2004 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 902fba1
- add -pie support
cvsdist 902fba1
- update to 3.10
cvsdist 902fba1
cvsdist 902fba1
* Sat Aug 16 2003  Steve Dickson <SteveD@RedHat.com>
cvsdist 902fba1
- upgraded to 3.0.9
cvsdist 902fba1
- added quota-3.09-root_sbindir.patch
cvsdist 902fba1
cvsdist 93febb6
* Sun Aug 10 2003 Elliot Lee <sopwith@redhat.com> 3.06-11
cvsdist 93febb6
- Rebuild
cvsdist 93febb6
cvsdist 93febb6
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 93febb6
- rebuilt
cvsdist 93febb6
cvsdist 93febb6
* Tue May 27 2003 Steve Dickson <SteveD@RedHat.com>
cvsdist 93febb6
- rebuilt for 7.3 errata
cvsdist 93febb6
cvsdist f834de4
* Tue Feb 25 2003 Elliot Lee <sopwith@redhat.com>
cvsdist f834de4
- rebuilt
cvsdist f834de4
cvsdist f834de4
* Sun Feb 23 2003 Tim Powers <timp@redhat.com>
cvsdist f834de4
- add buildprereq on tcp_wrappers
cvsdist f834de4
cvsdist f834de4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist f834de4
- rebuilt
cvsdist f834de4
cvsdist f834de4
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
cvsdist f834de4
- rebuild on all arches
cvsdist f834de4
cvsdist f834de4
cvsdist f834de4
* Fri Sep 6 2002 Philip Copeland <bryce@redhat.com> 3.06-5
cvsdist f834de4
- added --with-ext2direct=no to fix #73244
cvsdist f834de4
  without this users with UID's > 65535 will not
cvsdist f834de4
  be able to exist on a quota enabled FS
cvsdist f834de4
cvsdist f834de4
* Wed Aug 7 2002 Philip Copeland <bryce@redhat.com> 3.06-4
cvsdist f834de4
- Man page change. #60108
cvsdist f834de4
cvsdist f834de4
* Tue Aug 6 2002 Philip Copeland <bryce@redhat.com> 3.06-3
cvsdist f834de4
- Bah, I'd dropped epoch from the spec file but seems
cvsdist f834de4
  we need this if you want to upgrade as the epoch
cvsdist f834de4
  number has precedence over the version/release
cvsdist f834de4
  numbers.
cvsdist f834de4
cvsdist f834de4
* Wed Jul 17 2002 Philip Copeland <bryce@redhat.com> 3.06-2
cvsdist f834de4
- Lets stop the makefile from stripping the
cvsdist f834de4
  binaries as thats rpms job (apparently)
cvsdist f834de4
cvsdist f834de4
* Mon Jul 01 2002 Philip Copeland <bryce@redhat.com> 3.06-1
cvsdist f834de4
- Ditched the 3.01-pre9 src base for 3.06
cvsdist f834de4
  Rebuilt without any patchs
cvsdist f834de4
cvsdist f834de4
============================================================
cvsdist f834de4
cvsdist f834de4
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist f834de4
- automated rebuild
cvsdist f834de4
cvsdist f834de4
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist f834de4
- automated rebuild
cvsdist f834de4
cvsdist f834de4
* Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
cvsdist f834de4
- IfArch the badkernelinclude patch for ppc-only.
cvsdist f834de4
- Update to 3.03
cvsdist f834de4
cvsdist f834de4
* Wed Dec 12 2001 Guy Streeter <streeter@redhat.com>
cvsdist f834de4
- Make #include of kernel header file work on non-x86
cvsdist f834de4
cvsdist f834de4
* Wed Sep  5 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- require new initscripts
cvsdist f834de4
cvsdist f834de4
* Thu Aug 30 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- fixed bug #52075 (problem with ext2 labels)
cvsdist f834de4
- backup data files off by default in quotacheck, optional backup flag added
cvsdist f834de4
- fix bug where giving a bad directory or device would cause 
cvsdist f834de4
  quotaon/quotacheck to simulate "-a" behaviour
cvsdist f834de4
- if a device name (i.e /dev/hda1) is passed, look up the corresponding mount
cvsdist f834de4
  point
cvsdist f834de4
cvsdist f834de4
* Wed Aug 29 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- return an error code in more cases in convertquota
cvsdist f834de4
cvsdist f834de4
* Tue Aug 28 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- 3.01pre9
cvsdist f834de4
cvsdist f834de4
* Fri Jul 20 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- more cleanups on 3.01pre8
cvsdist f834de4
cvsdist f834de4
* Mon Jul  2 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- 3.01 version, everything has changed again. :(
cvsdist f834de4
cvsdist f834de4
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist f834de4
- Bump release + rebuild.
cvsdist f834de4
cvsdist f834de4
* Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- use rpc.rquotad from here again (#33738)
cvsdist f834de4
cvsdist f834de4
* Thu Mar 15 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- enable ALT_FORMAT for edquota
cvsdist f834de4
cvsdist f834de4
* Tue Mar 13 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- I broke passing devices on the cmd line.  Fixed.
cvsdist f834de4
cvsdist f834de4
* Fri Mar 09 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- quota 3.00 is required by recent kernel 2.4 changes
cvsdist f834de4
- no warnquota included this time, not yet ported
cvsdist f834de4
- quite a bit of work on quotacheck to make is backwards compatible
cvsdist f834de4
- we will likely go back to "quota 2.00" as these projects merge...
cvsdist f834de4
cvsdist f834de4
* Fri Feb 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist f834de4
- use "rm -f" instead of only "rm"
cvsdist f834de4
cvsdist f834de4
* Wed Feb  7 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- fix quotacheck man page for -a option (#26380)
cvsdist f834de4
cvsdist f834de4
* Thu Feb  1 2001 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- 2.00 final, rolls in pretty much all our patches. :)
cvsdist f834de4
- fix reporting of in use dquot entries from quotastats
cvsdist f834de4
- change repquota man page to fix documentation of -v (#10330)
cvsdist f834de4
- include warnquota.conf
cvsdist f834de4
cvsdist f834de4
* Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
cvsdist f834de4
- fix ia64 build
cvsdist f834de4
cvsdist f834de4
* Mon Aug 21 2000 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- add LABEL=foo support (#16390).
cvsdist f834de4
cvsdist f834de4
* Thu Jul 27 2000 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- remote NFS quotas with different blocksize converted incorrectly (#11932).
cvsdist f834de4
cvsdist f834de4
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist f834de4
- automatic rebuild
cvsdist f834de4
cvsdist f834de4
* Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- FHS packaging.
cvsdist f834de4
cvsdist f834de4
* Wed May 10 2000 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- apply patch5 (H.J. Lu)
cvsdist f834de4
cvsdist f834de4
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist f834de4
- fix description
cvsdist f834de4
- man pages are compressed
cvsdist f834de4
cvsdist f834de4
* Tue Jan 18 2000 Preston Brown <pbrown@redhat.com>
cvsdist f834de4
- quota 2.00 series
cvsdist f834de4
- removed unnecessary patches
cvsdist f834de4
cvsdist f834de4
* Thu Aug  5 1999 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- fix man page FUD (#4369).
cvsdist f834de4
cvsdist f834de4
* Thu May 13 1999 Peter Hanecak <hanecak@megaloman.sk>
6a82bbd
- changes to allow non-root users to build too (Makefile patch, %%attr)
cvsdist f834de4
cvsdist f834de4
* Tue Apr 13 1999 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- fix for sparc64 quotas (#2147)
cvsdist f834de4
cvsdist f834de4
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist f834de4
- auto rebuild in the new build environment (release 5)
cvsdist f834de4
cvsdist f834de4
* Mon Dec 28 1998 Cristian Gafton <gafton@redhat.com>
cvsdist f834de4
- don't install rpc.rquotad - we will use the one from the knfsd package
cvsdist f834de4
  instead
cvsdist f834de4
cvsdist f834de4
* Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
cvsdist f834de4
- merge ultrapenguin 1.1.9 changes.
cvsdist f834de4
cvsdist f834de4
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist f834de4
- translations modified for de, fr, tr
cvsdist f834de4
cvsdist f834de4
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
cvsdist f834de4
- removed patch for mntent
cvsdist f834de4
cvsdist f834de4
* Fri Mar 27 1998 Jakub Jelinek <jj@ultra.linux.cz>
cvsdist f834de4
- updated to quota 1.66
cvsdist f834de4
cvsdist f834de4
* Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
cvsdist f834de4
- builds rquotad
cvsdist f834de4
- installs rpc.rquotad.8 symlink
cvsdist f834de4
cvsdist f834de4
* Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
cvsdist f834de4
- removed /usr/include/rpcsvc/* from filelist
6a82bbd
- uses a buildroot and %%attr
cvsdist f834de4
cvsdist f834de4
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
cvsdist f834de4
- built against glibc
cvsdist f834de4
cvsdist f834de4
* Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
cvsdist f834de4
- Moved /usr/sbin/quota to /usr/bin/quota