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:/network/ssh@$(PKGVERS)
  27 set name=pkg.description \
  28     value="Secure Shell protocol Client and associated Utilities"
  29 set name=pkg.summary value="SSH Client and utilities"
  30 set name=info.classification \
  31     value=org.opensolaris.category.2008:System/Security
  32 set name=variant.arch value=$(ARCH)
  33 dir path=etc group=sys
  34 dir path=etc/ssh group=sys
  35 dir path=usr group=sys
  36 dir path=usr/bin
  37 dir path=usr/lib
  38 dir path=usr/lib/ssh
  39 dir path=usr/lib/sunssh
  40 dir path=usr/share/man
  41 dir path=usr/share/man/man1
  42 file path=usr/lib/sunssh/scp mode=0555
  43 file path=usr/lib/sunssh/sftp mode=0555
  44 file path=usr/lib/sunssh/ssh mode=0555
  45 file path=usr/lib/sunssh/ssh-add mode=0555
  46 file path=usr/lib/sunssh/ssh-agent mode=0555
  47 file path=usr/lib/sunssh/ssh-askpass mode=0555
  48 file path=usr/lib/sunssh/ssh-http-proxy-connect mode=0555
  49 file path=usr/lib/sunssh/ssh-socks5-proxy-connect mode=0555
  50 file path=usr/share/man/man1/scp.sunssh.1
  51 file path=usr/share/man/man1/sftp.sunssh.1
  52 file path=usr/share/man/man1/ssh-add.sunssh.1
  53 file path=usr/share/man/man1/ssh-agent.sunssh.1
  54 file path=usr/share/man/man1/ssh-http-proxy-connect.sunssh.1
  55 file path=usr/share/man/man1/ssh-socks5-proxy-connect.sunssh.1
  56 file path=usr/share/man/man1/ssh.sunssh.1
  57 legacy pkg=SUNWsshr \
  58     desc="Secure Shell protocol Client and associated Utilities" \
  59     name="SSH Client and utilities, (Root)"
  60 legacy pkg=SUNWsshu \
  61     desc="Secure Shell protocol Client and associated Utilities" \
  62     name="SSH Client and utilities, (Usr)"
  63 license usr/src/cmd/ssh/THIRDPARTYLICENSE \
  64     license=usr/src/cmd/ssh/THIRDPARTYLICENSE
  65 link path=usr/bin/scp mediator=ssh mediator-implementation=sunssh \
  66     target=../lib/sunssh/scp
  67 link path=usr/bin/sftp mediator=ssh mediator-implementation=sunssh \
  68     target=../lib/sunssh/sftp
  69 link path=usr/bin/ssh mediator=ssh mediator-implementation=sunssh \
  70     target=../lib/sunssh/ssh
  71 link path=usr/bin/ssh-add mediator=ssh mediator-implementation=sunssh \
  72     target=../lib/sunssh/ssh-add
  73 link path=usr/bin/ssh-agent mediator=ssh mediator-implementation=sunssh \
  74     target=../lib/sunssh/ssh-agent
  75 link path=usr/lib/ssh/ssh-askpass mediator=ssh mediator-implementation=sunssh \
  76     target=../sunssh/ssh-askpass
  77 link path=usr/lib/ssh/ssh-http-proxy-connect mediator=ssh \
  78     mediator-implementation=sunssh target=../sunssh/ssh-http-proxy-connect
  79 link path=usr/lib/ssh/ssh-socks5-proxy-connect mediator=ssh \
  80     mediator-implementation=sunssh target=../sunssh/ssh-socks5-proxy-connect
  81 link path=usr/share/man/man1/scp.1 mediator=ssh mediator-implementation=sunssh \
  82     target=scp.sunssh.1
  83 link path=usr/share/man/man1/sftp.1 mediator=ssh \
  84     mediator-implementation=sunssh target=sftp.sunssh.1
  85 link path=usr/share/man/man1/ssh-add.1 mediator=ssh \
  86     mediator-implementation=sunssh target=ssh-add.sunssh.1
  87 link path=usr/share/man/man1/ssh-agent.1 mediator=ssh \
  88     mediator-implementation=sunssh target=ssh-agent.sunssh.1
  89 link path=usr/share/man/man1/ssh-http-proxy-connect.1 mediator=ssh \
  90     mediator-implementation=sunssh target=ssh-http-proxy-connect.sunssh.1
  91 link path=usr/share/man/man1/ssh-socks5-proxy-connect.1 mediator=ssh \
  92     mediator-implementation=sunssh target=socks5-proxy-connect.sunssh.1
  93 link path=usr/share/man/man1/ssh.1 mediator=ssh mediator-implementation=sunssh \
  94     target=ssh.sunssh.1
  95 depend fmri=service/network/ssh-common type=require