From 5f732c7defb74fef58d2804f70f7f13e955fc793 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 11:04:42 +0000 Subject: auto-import changelog data from quota-3.00-4.src.rpm Fri Mar 30 2001 Preston Brown - use rpc.rquotad from here again (#33738) Thu Mar 15 2001 Preston Brown - enable ALT_FORMAT for edquota Tue Mar 13 2001 Preston Brown - I broke passing devices on the cmd line. Fixed. Fri Mar 09 2001 Preston Brown - quota 3.00 is required by recent kernel 2.4 changes - no warnquota included this time, not yet ported - quite a bit of work on quotacheck to make is backwards compatible - we will likely go back to "quota 2.00" as these projects merge... Fri Feb 09 2001 Florian La Roche - use "rm -f" instead of only "rm" Wed Feb 07 2001 Preston Brown - fix quotacheck man page for -a option (#26380) Thu Feb 01 2001 Preston Brown - 2.00 final, rolls in pretty much all our patches. :) - fix reporting of in use dquot entries from quotastats - change repquota man page to fix documentation of -v (#10330) - include warnquota.conf --- diff --git a/.cvsignore b/.cvsignore index 58f4583..f4c0181 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -quota-2.00-pre3.tar.gz +quota-3.00-4.tar.gz diff --git a/quota.spec b/quota.spec index 6867a60..79d7d53 100644 --- a/quota.spec +++ b/quota.spec @@ -1,18 +1,15 @@ Name: quota Summary: System administration tools for monitoring users' disk usage. -Version: 2.00pre3 -Release: 8 -Source0: ftp://ftp.cistron.nl/pub/people/mvw/quota/%{name}-2.00-pre3.tar.gz +Version: 3.00 +Release: 4 +Serial: 1 +Source0: ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/utils/%{name}-3.00-4.tar.gz Copyright: BSD Group: System Environment/Base -Patch0: quota-2.00-misc.patch -Patch4: quota-1.66-sparc.patch -Patch5: quota-2.00pre3-hjl.patch -Patch6: quota-2.00pre3-fhs.patch -Patch7: quota-2.00-blocksize.patch -Patch8: quota-2.00pre3-label.patch -Patch9: quota-2.00-ia64.patch +Patch0: quota-3.00-redhat.patch BuildRoot: %{_tmppath}/%{name}-root +Requires: kernel >= 2.4 +BuildPreReq: e2fsprogs-devel %description The quota package contains system administration tools for monitoring @@ -22,69 +19,80 @@ Install quota if you want to monitor and/or limit user/group disk usage. %prep -%setup -q -n %{name}-2.00-pre3 +%setup -q -%patch0 -p1 -b .misc -# XXX not applied -#%patch4 -p2 -b .sparc -%patch5 -p1 - -%patch6 -p1 -b .fhs - -%patch7 -p0 -b .blocksize -%patch8 -p1 -b .label -%patch9 -p1 -b .ia64 +%patch0 -p1 -b .redhat %build -make \ - RPM_OPT_FLAGS="$RPM_OPT_FLAGS" \ - mandir=%{_mandir} \ - all - -perl -pi -e 's,/usr/etc/,%{_sbindir}/,g' *.8 +make CFLAGS="$RPM_OPT_FLAGS" RPC=1 RPC_SERVER=1 ALT_FORMAT=1 %install -rm -rf ${RPM_BUILD_ROOT} -mkdir -p ${RPM_BUILD_ROOT}/sbin -mkdir -p ${RPM_BUILD_ROOT}%{_bindir} -mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} -mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,2,3,8} - -%makeinstall root_sbindir=${RPM_BUILD_ROOT}/sbin DEF_BIN_MODE=0555 - -{ - pushd ${RPM_BUILD_ROOT} - mv .%{_sbindir}/quota .%{_bindir}/quota -# ln -s rquotad.8 ./usr/man/man8/rpc.rquotad.8 - popd -} +rm -fr %{buildroot} + +mkdir -p %{buildroot}/sbin +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_mandir} +mkdir -p %{buildroot}%{_sbindir} +mkdir -p %{buildroot}%{_mandir}/{man1,man2,man3,man8} + +install convertquota %{buildroot}/sbin +install quotacheck %{buildroot}/sbin +install quotaon %{buildroot}/sbin +ln -s /sbin/quotaon %{buildroot}/sbin/quotaoff +install quota %{buildroot}%{_bindir} +install edquota %{buildroot}%{_sbindir} +install quotastats %{buildroot}%{_sbindir} +install repquota %{buildroot}%{_sbindir} +install setquota %{buildroot}%{_sbindir} +install rpc.rquotad %{buildroot}%{_sbindir} + +install *.1 %{buildroot}%{_mandir}/man1 +install *.2 %{buildroot}%{_mandir}/man2 +install *.8 %{buildroot}%{_mandir}/man8 + +%find_lang %{name} %clean -rm -rf ${RPM_BUILD_ROOT} +rm -rf %{buildroot}} -%files +%files -f %{name}.lang %defattr(-,root,root) +#%config(noreplace) /etc/warnquota.conf /sbin/* %{_bindir}/* -%{_sbindir}/edquota -%{_sbindir}/quotastats -%{_sbindir}/repquota -%{_sbindir}/setquota -%{_sbindir}/warnquota -# %{_sbindir}/rpc.rquotad - -%{_mandir}/man1/quota.1* -%{_mandir}/man2/quotactl.2* -%{_mandir}/man3/rquota.3* -%{_mandir}/man8/edquota.8* -%{_mandir}/man8/quotacheck.8* -%{_mandir}/man8/quotaon.8* -%{_mandir}/man8/repquota.8* -%{_mandir}/man8/setquota.8* -# %{_mandir}/man8/rquotad.8* -# %{_mandir}/man8/rpc.rquotad.8* +%{_sbindir}/* +%{_mandir}/man1/* +%{_mandir}/man2/* +%{_mandir}/man8/* %changelog +* Fri Mar 30 2001 Preston Brown +- use rpc.rquotad from here again (#33738) + +* Thu Mar 15 2001 Preston Brown +- enable ALT_FORMAT for edquota + +* Tue Mar 13 2001 Preston Brown +- I broke passing devices on the cmd line. Fixed. + +* Fri Mar 09 2001 Preston Brown +- quota 3.00 is required by recent kernel 2.4 changes +- no warnquota included this time, not yet ported +- quite a bit of work on quotacheck to make is backwards compatible +- we will likely go back to "quota 2.00" as these projects merge... + +* Fri Feb 09 2001 Florian La Roche +- use "rm -f" instead of only "rm" + +* Wed Feb 7 2001 Preston Brown +- fix quotacheck man page for -a option (#26380) + +* Thu Feb 1 2001 Preston Brown +- 2.00 final, rolls in pretty much all our patches. :) +- fix reporting of in use dquot entries from quotastats +- change repquota man page to fix documentation of -v (#10330) +- include warnquota.conf + * Mon Nov 20 2000 Bill Nottingham - fix ia64 build diff --git a/sources b/sources index bf6a604..09af852 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f66982fd21d82bbedd81ef8eb735491a quota-2.00-pre3.tar.gz +fe4c8658ced915d0ff58d363c281b36b quota-3.00-4.tar.gz