xfs
[Top] [All Lists]

Re: So far, so good.

To: "Juha Saarinen" <juha@xxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Subject: Re: So far, so good.
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 May 2001 13:59:10 -0500
In-reply-to: "Juha Saarinen" <juha@saarinen.org> "RE: So far, so good." (May 24, 3:45pm)
References: <LGECJLHBGAPMGAJFMAFIKECCCAAA.juha@saarinen.org>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On May 24,  3:45pm, Juha Saarinen wrote:
> Subject: RE: So far, so good.
> 
> The original install was from the XFS-2.4.2 CD installer -- didn't check
> where it put the man pages. Never done a manual 'make install' though.
> 
> # ls -la /usr/man/man8
> total 40
> drwxr-xr-x    2 root     root         4096 May 24 14:54 .
> drwxr-xr-x    7 root     root           61 May 21 05:51 ..
> -r--r--r--    1 root     root          566 Apr 19 06:18 convertquota.8.gz
> -r--r--r--    1 root     root         1172 Apr 19 06:18 edquota.8.gz
> -r--r--r--    1 root     root          582 Apr 19 06:18 quot.8.gz
> -r--r--r--    1 root     root         1281 Apr 19 06:18 quotacheck.8.gz
> -r--r--r--    1 root     root         1443 Apr 19 06:18 quotaon.8.gz
> -r--r--r--    1 root     root          671 Apr 19 06:18 repquota.8.gz
> -r--r--r--    1 root     root          505 Apr 19 06:18 rquotad.8.gz
> -r--r--r--    1 root     root          827 Apr 19 06:18 setquota.8.gz
> -r--r--r--    1 root     root          471 Apr 19 06:18 warnquota.8.gz
> 
> # rpm -q --whatprovides /usr/man/man8/convertquota.8.gz
> quota-3.01-SGI_5
> 

thats strange - the spec file for this uses %{_mandir}.
oh, wait - its most probably because we build rpms on an
older redhat distribution (to ensure the rpms work for as
many people as possible).

> That's the April 19 version. Is there a newer version available? Doesn't
> seem to be in the CVS.
> 

there is a newer version, but I don't think this is pushed
out in the cvs tree anymore.  the code from sourceforge is
now at 3.01-pre6.  I've attached my current quota specfile
- you should be able to grab the -pre6 tarball, the run
`rpm -ba quota.spec' & to make yourself a new quota rpm...
it should always get the man path right, building locally.

cheers.

-- 
Nathan
Name: quota
Summary: System administration tools for monitoring users' disk usage.
Version: 3.01
Release: 5SGI_7
Vendor: SGI
Source: http://sourceforge.net/projects/linuxquota/.../quota-3.01-pre6.tar.gz
Copyright: BSD
Group: System Environment/Base
BuildRoot: %{_tmppath}/%{name}-root

%description
The quota package contains system administration tools for monitoring
and limiting users' and or groups' disk usage, per filesystem.

Install quota if you want to monitor and/or limit user/group disk
usage.

%prep
%setup -q -n %{name}-tools

%build
autoconf
CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{buildroot}/usr --mandir=%{buildroot}%{_mandir}
make all

%install
rm -fr %{buildroot}

install -m 755 -d %{buildroot}/sbin %{buildroot}/usr/sbin %{buildroot}/usr/bin
install -m 755 -d %{buildroot}%{_mandir}/man1 %{buildroot}%{_mandir}/man2
install -m 755 -d %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man8

install -m 555 quotacheck quotaon %{buildroot}/sbin
ln -sf quotaon %{buildroot}/sbin/quotaoff
install -m 555 edquota repquota warnquota setquota quot %{buildroot}/usr/sbin
install -m 555 quotastats xqmstats %{buildroot}/usr/sbin
install -m 555 quota %{buildroot}/usr/bin
# If not a distro using nfs-utils, uncomment this line
#install -m 555 rpc.rquotad /usr/sbin
install -m 444 *.1 %{buildroot}%{_mandir}/man1
install -m 444 *.2 %{buildroot}%{_mandir}/man2
install -m 444 *.3 %{buildroot}%{_mandir}/man3
# If not a distro using nfs-utils, comment out this line
rm rquotad.8
install -m 444 *.8 %{buildroot}%{_mandir}/man8

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
# You may want a warnquota.conf file, but works without one
#%config(noreplace) /etc/warnquota.conf
/sbin/quotacheck
/sbin/quotaon
/sbin/quotaoff
/usr/bin/quota
/usr/sbin/edquota
/usr/sbin/repquota
/usr/sbin/warnquota
/usr/sbin/quotastats
/usr/sbin/xqmstats
/usr/sbin/setquota
/usr/sbin/quot
# If not a distro using nfs-utils, uncomment this line
#/usr/sbin/rpc.rquotad
%{_mandir}/*/*

%changelog
* Thu May 17 2001 Nathan Scott <nathans@xxxxxxx>
- update to quota-3.01-pre6 code
- repquota patch incorporated now, so removed from spec file

* Mon May 07 2001 Nathan Scott <nathans@xxxxxxx>
- add patch to fix repquota infinite loop bug

* Thu May 03 2001 Nathan Scott <nathans@xxxxxxx>
- update to quota-3.01-pre5 code

* Thu Apr 12 2001 Nathan Scott <nathans@xxxxxxx>
- update to quota-3.01-pre4 code

* Fri Mar 30 2001 Nathan Scott <nathans@xxxxxxx>
- quota spec file for SGI overlay releases
- no rpc server as some distributions ship this in nfs-utils
- spec file based on the 3.00-3 version from Redhat rawhide
<Prev in Thread] Current Thread [Next in Thread>