Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/getent make getcap a link to getent, since many of t...



details:   https://anonhg.NetBSD.org/src/rev/f99ac4d6bbba
branches:  trunk
changeset: 770302:f99ac4d6bbba
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 11 19:25:07 2011 +0000

description:
make getcap a link to getent, since many of the databases we use are of the
"cap" format.

diffstat:

 usr.bin/getent/Makefile |   4 +++-
 usr.bin/getent/getent.1 |  11 ++++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r d9062c7205a3 -r f99ac4d6bbba usr.bin/getent/Makefile
--- a/usr.bin/getent/Makefile   Tue Oct 11 19:24:43 2011 +0000
+++ b/usr.bin/getent/Makefile   Tue Oct 11 19:25:07 2011 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile,v 1.4 2009/04/14 22:15:20 lukem Exp $
+#      $NetBSD: Makefile,v 1.5 2011/10/11 19:25:07 christos Exp $
 
 USE_FORT?= yes # XXX network client?
 
 PROG=  getent
+LINKS=  ${BINDIR}/getent ${BINDIR}/getcap
+MLINKS=        getent.1 getcap.1
 
 .include <bsd.prog.mk>
diff -r d9062c7205a3 -r f99ac4d6bbba usr.bin/getent/getent.1
--- a/usr.bin/getent/getent.1   Tue Oct 11 19:24:43 2011 +0000
+++ b/usr.bin/getent/getent.1   Tue Oct 11 19:25:07 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getent.1,v 1.21 2010/02/04 09:48:35 wiz Exp $
+.\"    $NetBSD: getent.1,v 1.22 2011/10/11 19:25:07 christos Exp $
 .\"
 .\" Copyright (c) 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,12 +27,13 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 3, 2010
-.Dt GETENT 1
+.Dd October 11, 2011
+.Dt GETENT/GETCAP 1
 .Os
 .Sh NAME
-.Nm getent
-.Nd get entries from administrative database
+.Nm getent/getcap
+or
+.Nd get entries from administrative databases
 .Sh SYNOPSIS
 .Nm
 .Ar database



Home | Main Index | Thread Index | Old Index