1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 #
  25 
  26 set name=pkg.fmri value=pkg:/service/network/ssh@$(PKGVERS)
  27 set name=pkg.description value="Secure Shell protocol Server"
  28 set name=pkg.summary value="SSH Server"
  29 set name=info.classification \
  30     value=org.opensolaris.category.2008:System/Security
  31 set name=variant.arch value=$(ARCH)
  32 dir path=etc group=sys
  33 dir path=etc/ssh group=sys
  34 dir path=usr group=sys
  35 dir path=usr/lib
  36 dir path=usr/lib/ssh
  37 dir path=usr/share/man
  38 dir path=usr/share/man/man1m
  39 dir path=usr/share/man/man4
  40 file path=usr/lib/sunssh/sftp-server mode=0555
  41 file path=usr/lib/sunssh/sshd mode=0555
  42 file path=usr/share/man/man1m/sftp-server.sunssh.1m
  43 file path=usr/share/man/man1m/sshd.sunssh.1m
  44 legacy pkg=SUNWsshdr desc="Secure Shell protocol Server" \
  45     name="SSH Server, (Root)"
  46 legacy pkg=SUNWsshdu desc="Secure Shell protocol Server" \
  47     name="SSH Server, (Usr)"
  48 license usr/src/cmd/ssh/THIRDPARTYLICENSE \
  49     license=usr/src/cmd/ssh/THIRDPARTYLICENSE
  50 link path=usr/lib/ssh/sftp-server mediator=ssh mediator-implementation=sunssh \
  51     target=../sunssh/sftp-server
  52 link path=usr/lib/ssh/sshd mediator=ssh mediator-implementation=sunssh \
  53     target=../sunssh/sshd
  54 link path=usr/share/man/man1m/sftp-server.1m mediator=ssh \
  55     mediator-implementation=sunssh target=sftp-server.sunssh.1m
  56 link path=usr/share/man/man1m/sshd.1m mediator=ssh \
  57     mediator-implementation=sunssh target=sshd.sunssh.1m
  58 depend fmri=service/network/ssh-common type=require
  59 depend fmri=text/locale type=require