rpms/quota/F-11 quota-3.17-quotactlmanpage.patch, NONE, 1.1 quota.spec, 1.53, 1.54

Ondrej Vasik ovasik at fedoraproject.org
Tue Oct 20 11:17:41 UTC 2009


Author: ovasik

Update of /cvs/extras/rpms/quota/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12563

Modified Files:
	quota.spec 
Added Files:
	quota-3.17-quotactlmanpage.patch 
Log Message:
symlink manpage for rpc.rquotad, fix headers and structs in quotactl manpage(#524138)

quota-3.17-quotactlmanpage.patch:
 quotactl.2 |   29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

--- NEW FILE quota-3.17-quotactlmanpage.patch ---
diff -urNp quota-tools-orig/quotactl.2 quota-tools/quotactl.2
--- quota-tools-orig/quotactl.2	2008-10-13 19:29:18.000000000 +0200
+++ quota-tools/quotactl.2	2009-09-18 09:27:30.000000000 +0200
@@ -3,12 +3,11 @@
 quotactl \- manipulate disk quotas
 .SH SYNOPSIS
 .nf
-.B #include <linux/quota.h>
+.B #include <sys/quota.h>
+.B #include <sys/types.h>
 .B #include <xfs/xqm.h>
-.B #include <linux/dqblk_v1.h>
-.B #include <linux/dqblk_v2.h>
 .LP
-.B long quotactl(int cmd, char \(**special, qid_t id, caddr_t addr)
+.B long quotactl(int cmd, char \(**special, int id, caddr_t addr)
 .fi
 .SH DESCRIPTION
 .LP
@@ -67,9 +66,9 @@ Get disk quota limits and current usage 
 .IR id .
 .I addr
 is a pointer to an
-.B if_dqblk
+.B dqblk
 structure (defined in
-.BR <linux/quota.h> ).
+.BR <sys/quota.h> ).
 The field
 .I dqb_valid
 defines the entries in the structure which are set correctly. On
@@ -82,15 +81,15 @@ Set current quota information for user o
 .IR id .
 .I addr
 is a pointer to an
-.B if_dqblk
+.B dqblk
 structure (defined in
-.BR <linux/quota.h> ).
+.BR <sys/quota.h> ).
 The field
 .I dqb_valid
 defines which entries in the quota structure are valid and should be set. The constants for
 .I dqb_valid
 field are defined in the
-.B <linux/quota.h>
+.B <sys/quota.h>
 header file. This call obsoletes calls
 .B Q_SETQLIM
 and
@@ -101,9 +100,9 @@ in the previous quota interfaces. This c
 Get information (like grace times) about quotafile.
 .I addr
 should be a pointer to an
-.B if_dqinfo
+.B dqinfo
 structure (defined in
-.IR <linux/quota.h> ).
+.IR <sys/quota.h> ).
 The
 .I dqi_valid
 field in the structure defines entries in it
@@ -118,15 +117,15 @@ is ignored. 
 Set information about quotafile.
 .I addr
 should be a pointer to
-.B if_dqinfo
+.B dqinfo
 structure (defined in
-.IR <linux/quota.h> ).
+.IR <sys/quota.h> ).
 The field
 .I dqi_valid
 defines which entries in the quota info structure are valid and should be set. The constants for
 .I dqi_valid
 field are defined in the
-.B <linux/quota.h>
+.B <sys/quota.h>
 header file. This call obsoletes calls
 .B Q_SETGRACE
 and
@@ -156,7 +155,7 @@ Get statistics and other generic informa
 should be a pointer to
 .B dqstats
 structure (defined in
-.BR <linux/quota.h> )
+.BR <sys/quota.h> )
 in which data should be stored.
 .I special
 and


Index: quota.spec
===================================================================
RCS file: /cvs/extras/rpms/quota/F-11/quota.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -p -r1.53 -r1.54
--- quota.spec	13 Mar 2009 13:29:34 -0000	1.53
+++ quota.spec	20 Oct 2009 11:17:41 -0000	1.54
@@ -5,7 +5,7 @@ Name: quota
 Summary: System administration tools for monitoring users' disk usage
 Epoch: 1
 Version: 3.17
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD and GPLv2+
 URL: http://sourceforge.net/projects/linuxquota/
 Group: System Environment/Base
@@ -86,6 +86,8 @@ rm -f %{buildroot}%{_mandir}/man8/quot.*
 rm -f %{buildroot}%{_mandir}/man8/xqmstats.*
 ln -sf  ./quotaon.8 \
   %{buildroot}%{_mandir}/man8/quotaoff.8
+ln -s rquotad.8.gz \
+   %{buildroot}%{_mandir}/man8/rpc.rquotad.8
 
 %find_lang %{name}
 
@@ -110,6 +112,10 @@ rm -rf %{buildroot}
 %attr(0644,root,root) %{_mandir}/man3/*
 
 %changelog
+* Tue Oct 20 2009 Ondrej Vasik <ovasik at redhat.com> 1:3.17-5
+- symlink manpage for rpc.rquotad
+- fix headers and structs in quotactl manpage(#524138)
+
 * Fri Mar 13 2009 Ondrej Vasik <ovasik at redhat.com> 1:3.17-4
 - clarify statements about LDAP in warnquota conf
   (related to #490106)




More information about the fedora-extras-commits mailing list