#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2012 Nexenta Systems, Inc. All rights reserved.
#

set name=pkg.fmri value=pkg:/service/network/network-servers@$(PKGVERS)
set name=pkg.summary value="Remote Network Server Commands"
set name=pkg.description \
    value="Remote Network Server Commands (includes finger, talk, rwho commands)"
set name=info.classification value=org.opensolaris.category.2008:System/Core
set name=variant.arch value=$(ARCH)
dir  path=etc group=sys
link path=etc/rmt target=../usr/sbin/rmt
dir  path=lib
dir  path=lib/svc
dir  path=lib/svc/manifest group=sys
dir  path=lib/svc/manifest/network group=sys
file path=lib/svc/manifest/network/comsat.xml group=sys mode=0444
file path=lib/svc/manifest/network/finger.xml group=sys mode=0444
file path=lib/svc/manifest/network/login.xml group=sys mode=0444
file path=lib/svc/manifest/network/rexec.xml group=sys mode=0444
dir  path=lib/svc/manifest/network/rpc group=sys
file path=lib/svc/manifest/network/rpc/rstat.xml group=sys mode=0444
file path=lib/svc/manifest/network/rpc/rusers.xml group=sys mode=0444
file path=lib/svc/manifest/network/rpc/spray.xml group=sys mode=0444
file path=lib/svc/manifest/network/rpc/wall.xml group=sys mode=0444
file path=lib/svc/manifest/network/shell.xml group=sys mode=0444
file path=lib/svc/manifest/network/talk.xml group=sys mode=0444
dir  path=usr group=sys
dir  path=usr/bin
file path=usr/bin/finger mode=0555
file path=usr/bin/rwho mode=0555
file path=usr/bin/talk mode=0555
dir  path=usr/lib
dir  path=usr/lib/netsvc group=sys
dir  path=usr/lib/netsvc/rstat group=sys
file path=usr/lib/netsvc/rstat/rpc.rstatd mode=0555
dir  path=usr/lib/netsvc/rusers group=sys
file path=usr/lib/netsvc/rusers/rpc.rusersd mode=0555
dir  path=usr/lib/netsvc/rwall group=sys
file path=usr/lib/netsvc/rwall/rpc.rwalld mode=0555
dir  path=usr/lib/netsvc/spray group=sys
file path=usr/lib/netsvc/spray/rpc.sprayd mode=0555
dir  path=usr/sbin
file path=usr/sbin/in.comsat mode=0555
file path=usr/sbin/in.fingerd mode=0555
file path=usr/sbin/in.rexecd mode=0555
file path=usr/sbin/in.rlogind mode=0555
file path=usr/sbin/in.rshd mode=0555
file path=usr/sbin/in.rwhod mode=0555
file path=usr/sbin/in.talkd mode=0555
dir  path=usr/share/man
dir  path=usr/share/man/man1
file path=usr/share/man/man1/finger.1
file path=usr/share/man/man1/rwho.1
file path=usr/share/man/man1/talk.1
dir  path=usr/share/man/man5
file path=usr/share/man/man5/hosts.equiv.5
link path=usr/share/man/man5/rhosts.5 target=hosts.equiv.5
dir  path=usr/share/man/man8
link path=usr/share/man/man8/comsat.8 target=in.comsat.8
link path=usr/share/man/man8/fingerd.8 target=in.fingerd.8
file path=usr/share/man/man8/in.comsat.8
file path=usr/share/man/man8/in.fingerd.8
file path=usr/share/man/man8/in.rexecd.8
file path=usr/share/man/man8/in.rlogind.8
file path=usr/share/man/man8/in.rshd.8
file path=usr/share/man/man8/in.rwhod.8
file path=usr/share/man/man8/in.talkd.8
link path=usr/share/man/man8/rexecd.8 target=in.rexecd.8
link path=usr/share/man/man8/rlogind.8 target=in.rlogind.8
file path=usr/share/man/man8/rpc.rstatd.8
file path=usr/share/man/man8/rpc.rusersd.8
file path=usr/share/man/man8/rpc.rwalld.8
file path=usr/share/man/man8/rpc.sprayd.8
link path=usr/share/man/man8/rshd.8 target=in.rshd.8
link path=usr/share/man/man8/rstatd.8 target=rpc.rstatd.8
link path=usr/share/man/man8/rusersd.8 target=rpc.rusersd.8
link path=usr/share/man/man8/rwalld.8 target=rpc.rwalld.8
link path=usr/share/man/man8/rwhod.8 target=in.rwhod.8
link path=usr/share/man/man8/sprayd.8 target=rpc.sprayd.8
link path=usr/share/man/man8/talkd.8 target=in.talkd.8
legacy pkg=SUNWrcmdr desc="Remote Network Server Commands (Root)" \
    name="Remote Network Server Commands (Root)"
legacy pkg=SUNWrcmds \
    desc="Remote Network Server Commands (includes finger, talk, rwho commands)" \
    name="Remote Network Server Commands (Usr)"
license cr_Sun license=cr_Sun
license lic_CDDL license=lic_CDDL
license usr/src/cmd/cmd-inet/usr.sbin/THIRDPARTYLICENSE.comsat \
    license=usr/src/cmd/cmd-inet/usr.sbin/THIRDPARTYLICENSE.comsat
license usr/src/cmd/cmd-inet/usr.sbin/THIRDPARTYLICENSE.rlogind \
    license=usr/src/cmd/cmd-inet/usr.sbin/THIRDPARTYLICENSE.rlogind