#
# 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.
# Copyright 2022 Oxide Computer Company
#

set name=pkg.fmri value=pkg:/service/network/network-clients@$(PKGVERS)
set name=pkg.summary value="Remote Network Client Commands"
set name=pkg.description \
    value="Remote Network Client Commands (rsh, rlogin, rcp, rsh, ...)"
set name=info.classification value=org.opensolaris.category.2008:System/Core
set name=variant.arch value=$(ARCH)
dir  path=usr group=sys
dir  path=usr/bin
file path=usr/bin/filesync mode=0555
file path=usr/bin/rcp mode=4555
file path=usr/bin/rdate mode=0555
file path=usr/bin/rdist mode=4555
link path=usr/bin/remsh target=./rsh
file path=usr/bin/rlogin mode=4555
file path=usr/bin/rsh mode=4555
file path=usr/bin/rup mode=0555
file path=usr/bin/ruptime mode=0555
file path=usr/bin/rusers mode=0555
file path=usr/bin/whois mode=0555
dir  path=usr/lib
link path=usr/lib/sunw,rcp target=../bin/rcp
dir  path=usr/sbin
file path=usr/sbin/rmt mode=0555
file path=usr/sbin/rwall mode=0555
file path=usr/sbin/spray mode=0555
dir  path=usr/share/man/man1
file path=usr/share/man/man1/filesync.1
file path=usr/share/man/man1/rcp.1
file path=usr/share/man/man1/rdist.1
link path=usr/share/man/man1/remote_shell.1 target=rsh.1
link path=usr/share/man/man1/remsh.1 target=rsh.1
file path=usr/share/man/man1/rlogin.1
file path=usr/share/man/man1/rsh.1
file path=usr/share/man/man1/rup.1
file path=usr/share/man/man1/ruptime.1
file path=usr/share/man/man1/rusers.1
file path=usr/share/man/man1/whois.1
dir  path=usr/share/man/man8
file path=usr/share/man/man8/rdate.8
file path=usr/share/man/man8/rmt.8
file path=usr/share/man/man8/rwall.8
file path=usr/share/man/man8/spray.8
legacy pkg=SUNWrcmdc \
    desc="Remote Network Client Commands (rsh, rlogin, rcp, rsh, ...)" \
    name="Remote Network Client Commands"
license cr_Sun license=cr_Sun
license lic_CDDL license=lic_CDDL
license usr/src/cmd/cmd-inet/THIRDPARTYLICENSE.kcmd \
    license=usr/src/cmd/cmd-inet/THIRDPARTYLICENSE.kcmd
license usr/src/cmd/cmd-inet/usr.bin/THIRDPARTYLICENSE.rcp \
    license=usr/src/cmd/cmd-inet/usr.bin/THIRDPARTYLICENSE.rcp
license usr/src/cmd/cmd-inet/usr.bin/THIRDPARTYLICENSE.rsh \
    license=usr/src/cmd/cmd-inet/usr.bin/THIRDPARTYLICENSE.rsh
license usr/src/cmd/cmd-inet/usr.bin/THIRDPARTYLICENSE.whois \
    license=usr/src/cmd/cmd-inet/usr.bin/THIRDPARTYLICENSE.whois
license usr/src/cmd/cmd-inet/usr.bin/rdist/THIRDPARTYLICENSE \
    license=usr/src/cmd/cmd-inet/usr.bin/rdist/THIRDPARTYLICENSE
#
# This package previously contained snoop(8), but it was split out into its
# own package:
#
depend type=require fmri=network/snoop