add getent patch

This commit is contained in:
Ivana Varekova 2007-07-20 12:07:57 +00:00
parent cd229d701b
commit 7233395c4e
2 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,43 @@
--- man-pages-2.55/man1/getent.1~ 2001-03-09 18:27:32.000000000 +0200
+++ man-pages-2.55/man1/getent.1 2007-07-18 01:50:51.000000000 +0300
@@ -93,7 +93,7 @@
.nr % 0
.rr F
.\}
-.TH GETENT 1 "Match 2001" "Red Hat Linux"
+.TH GETENT 1 "July 2007" "Red Hat Linux"
.UC
.if n .hy 0
.if n .na
@@ -192,10 +192,20 @@ getent \- get entries from administrativ
.SH "SYNOPSIS"
\fBgetent\fR \fIdatabase\fR [\fIkey\fR ...]
.SH "DESCRIPTION"
-The \fIgetent\fR program gathers entries from the specified
+The \fBgetent\fR program gathers entries from the specified
administrative database using the specified search keys.
-Where \fIdatabase\fR is one of aliases, ethers, group, hosts,
-netgroup, networks, passwd, protocols, rpc, services or shadow.
+\fIdatabase\fR is one of ahosts, ahostsv4, ahostsv6, aliases, ethers,
+group, hosts, netgroup, networks, passwd, protocols, rpc, services or
+shadow.
+.SH "EXIT STATUS"
+.IP 0
+Success; the requested entries were found.
+.IP 1
+Wrong number of or invalid arguments.
+.IP 2
+One or more of the requested entries could not be found.
+.IP 3
+Unsupported operation.
.SH "AUTHOR"
getent is written by Thorsten Kukuk for the GNU C Library.
.PP
@@ -213,5 +223,7 @@ for GNU C Library 2.2.2 getent changes.
.IX Header "DESCRIPTION"
+.IX Header "EXIT STATUS"
+
.IX Header "AUTHOR"

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 2.63
Release: 1%{?dist}
Release: 2%{?dist}
License: distributable
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -31,6 +31,7 @@ Patch44: man-pages-2.43-fadvise.patch
Patch45: man-pages-2.48-passwd.patch
Patch46: man-pages-2.51-nscd-conf.patch
Patch48: man-pages-2.51-sched_setaffinity.patch
Patch49: man-pages-2.63-getent.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Autoreq: false
@ -65,6 +66,7 @@ done
%patch45 -p1
%patch46 -p1
%patch48 -p1
%patch49 -p1
### And now remove those we are not going to use:
@ -175,6 +177,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man*
%changelog
* Wed Jul 20 2007 Ivana Varekova <varekova@redhat.com> - 2.63-2
- Resolves: #248655
add getent patch (thanks Ville Skyttä)
* Wed Jul 20 2007 Ivana Varekova <varekova@redhat.com> - 2.63-1
- update to 2.63