components/openssh/openssh.p5m
author April Chin <april.chin@oracle.com>
Tue, 04 Mar 2014 10:19:09 -0800
changeset 1742 1bfc3321abb4
parent 1618 bf9f53038301
child 1796 a2310ec32635
permissions -rw-r--r--
18202547 memcached lib comes with erroneous RPATH and RUNPATH 18253985 pkglint should check for non-existent RUNPATH directories

#
# 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) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
set name=pkg.fmri \
    value=pkg:/network/openssh@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value=OpenSSH
set name=pkg.description \
    value="OpenSSH provides end-to-end encrypted replacement of applications such as telnet, rlogin, and ftp. Unlike these legacy applications, OpenSSH never passes anything (including user name and password) over the wire in unencrypted form. OpenSSH provides the SSH known host mechanism which verifies that the system you connect to is really the one you intended to. OpenSSH provides secure tunneling capabilities and several authentication methods. It also supports forwarding X11 connections and arbitrary TCP ports over the secure channel."
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=com.oracle.info.description \
    value="OpenSSH, a suite of tools that help secure network connections"
set name=com.oracle.info.tpno value=8209
set name=info.classification \
    value=org.opensolaris.category.2008:Applications/Internet \
    value=org.opensolaris.category.2008:System/Security
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2012/335
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
link path=usr/bin/scp target=../lib/openssh/bin/scp mediator=ssh \
    mediator-implementation=openssh
link path=usr/bin/sftp target=../lib/openssh/bin/sftp mediator=ssh \
    mediator-implementation=openssh
link path=usr/bin/ssh target=../lib/openssh/bin/ssh mediator=ssh \
    mediator-implementation=openssh
link path=usr/bin/ssh-add target=../lib/openssh/bin/ssh-add mediator=ssh \
    mediator-implementation=openssh
link path=usr/bin/ssh-agent target=../lib/openssh/bin/ssh-agent mediator=ssh \
    mediator-implementation=openssh
link path=usr/bin/ssh-keygen target=../lib/openssh/bin/ssh-keygen mediator=ssh \
    mediator-implementation=openssh
link path=usr/bin/ssh-keyscan target=../lib/openssh/bin/ssh-keyscan \
    mediator=ssh mediator-implementation=openssh
# RUNPATH pkglint checking (userland.action001.3) ERRORs on these ELF files
# are changed to INFO messages; remove this bypass when
# usr/local/lib is removed from their runpaths
file usr/bin/scp path=usr/lib/openssh/bin/scp mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/bin/sftp path=usr/lib/openssh/bin/sftp mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/bin/ssh path=usr/lib/openssh/bin/ssh mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/bin/ssh-add path=usr/lib/openssh/bin/ssh-add mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/bin/ssh-agent path=usr/lib/openssh/bin/ssh-agent mode=2555 \
    pkg.linted.userland.action001.3=true
file usr/bin/ssh-keygen path=usr/lib/openssh/bin/ssh-keygen mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/bin/ssh-keyscan path=usr/lib/openssh/bin/ssh-keyscan mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/lib/ssh/sftp-server path=usr/lib/openssh/lib/sftp-server mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/lib/ssh/ssh-keysign path=usr/lib/openssh/lib/ssh-keysign mode=4555 \
    pkg.linted.userland.action001.3=true
file usr/lib/ssh/ssh-pkcs11-helper path=usr/lib/openssh/lib/ssh-pkcs11-helper \ 
    mode=0555 \
    pkg.linted.userland.action001.3=true
file usr/lib/ssh/sshd path=usr/lib/openssh/lib/sshd mode=0555 \
    pkg.linted.userland.action001.3=true
link path=usr/lib/ssh/sftp-server target=../openssh/lib/sftp-server \
    mediator=ssh mediator-implementation=openssh
link path=usr/lib/ssh/ssh-keysign target=../openssh/lib/ssh-keysign \
    mediator=ssh mediator-implementation=openssh
link path=usr/lib/ssh/ssh-pkcs11-helper \
    target=../openssh/lib/ssh-pkcs11-helper mediator=ssh \
    mediator-implementation=openssh
link path=usr/lib/ssh/sshd target=../openssh/lib/sshd mediator=ssh \
    mediator-implementation=openssh restart_fmri=svc:/network/ssh:default
link path=usr/share/man/man1/scp.1 target=./scp.openssh.1 mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man1/scp.1 path=usr/share/man/man1/scp.openssh.1 mode=0444
link path=usr/share/man/man1/sftp.1 target=./sftp.openssh.1 mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man1/sftp.1 path=usr/share/man/man1/sftp.openssh.1 mode=0444
link path=usr/share/man/man1/ssh-add.1 target=./ssh-add.openssh.1 mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man1/ssh-add.1 path=usr/share/man/man1/ssh-add.openssh.1 \
    mode=0444
link path=usr/share/man/man1/ssh-agent.1 target=./ssh-agent.openssh.1 \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man1/ssh-agent.1 \
    path=usr/share/man/man1/ssh-agent.openssh.1 mode=0444
link path=usr/share/man/man1/ssh-keygen.1 target=./ssh-keygen.openssh.1 \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man1/ssh-keygen.1 \
    path=usr/share/man/man1/ssh-keygen.openssh.1 mode=0444
link path=usr/share/man/man1/ssh-keyscan.1 target=./ssh-keyscan.openssh.1 \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man1/ssh-keyscan.1 \
    path=usr/share/man/man1/ssh-keyscan.openssh.1 mode=0444
link path=usr/share/man/man1/ssh.1 target=./ssh.openssh.1 mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man1/ssh.1 path=usr/share/man/man1/ssh.openssh.1 mode=0444
link path=usr/share/man/man1m/sftp-server.1m target=./sftp-server.openssh.1m \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man8/sftp-server.8 \
    path=usr/share/man/man1m/sftp-server.openssh.1m
link path=usr/share/man/man1m/ssh-keysign.1m target=./ssh-keysign.openssh.1m \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man8/ssh-keysign.8 \
    path=usr/share/man/man1m/ssh-keysign.openssh.1m
link path=usr/share/man/man1m/ssh-pkcs11-helper.1m \
    target=./ssh-pkcs11-helper.openssh.1m mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man8/ssh-pkcs11-helper.8 \
    path=usr/share/man/man1m/ssh-pkcs11-helper.openssh.1m
link path=usr/share/man/man1m/sshd.1m target=./sshd.openssh.1m mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man8/sshd.8 path=usr/share/man/man1m/sshd.openssh.1m
link path=usr/share/man/man4/moduli.4 target=./moduli.openssh.4 mediator=ssh \
    mediator-implementation=openssh
file usr/share/man/man5/moduli.5 path=usr/share/man/man4/moduli.openssh.4
link path=usr/share/man/man4/ssh_config.4 target=./ssh_config.openssh.4 \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man5/ssh_config.5 \
    path=usr/share/man/man4/ssh_config.openssh.4
link path=usr/share/man/man4/sshd_config.4 target=./sshd_config.openssh.4 \
    mediator=ssh mediator-implementation=openssh
file usr/share/man/man5/sshd_config.5 \
    path=usr/share/man/man4/sshd_config.openssh.4
dir  path=var/empty owner=root group=sys mode=0755
group groupname=sshd gid=22
user username=sshd ftpuser=false gcos-field="sshd privsep" group=sshd \
    home-dir=/var/empty login-shell=/bin/false uid=22
license openssh.license license="BSD, BSD-like"
depend type=require fmri=service/network/ssh-common