components/openssh/service-network-ssh.p5m
author John Beck <John.Beck@Oracle.COM>
Mon, 01 May 2017 08:43:32 -0700
changeset 7957 39baccd8f6e8
parent 7649 69d7508f0d66
permissions -rw-r--r--
PSARC 2017/086 stop using legacy pkg(7) actions 25977029 stop using legacy pkg(7) actions, Userland portion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5544
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     1
#
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     3
#
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     7
#
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    12
#
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    18
#
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    20
#
7649
69d7508f0d66 PSARC/2017/022 OpenSSH 7.4
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 7245
diff changeset
    21
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
5544
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    22
#
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    23
<transform file path=usr.*/man/.+ -> default mangler.man.stability "Pass-through Uncommitted">
7245
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6543
diff changeset
    24
# pie executables confuse this pkglint check due to bug 24457293
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6543
diff changeset
    25
<transform file path=usr/lib/ssh/.+ -> default pkg.linted.userland.action001.2 True>
5544
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    26
set name=pkg.fmri \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    27
    value=pkg:/service/network/ssh@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    28
set name=pkg.summary value="OpenSSH servers and SSH (Secure Shell) services"
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    29
set name=pkg.description \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    30
    value="Provides OpenSSH server support for the Secure Shell (SSH) service which creates RSA and DSA host keys if they are not available and start or stop the sshd (Secure Shell daemon)."
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    31
set name=pkg.human-version value=$(HUMAN_VERSION)
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    32
set name=info.classification \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    33
    value=org.opensolaris.category.2008:Applications/Internet \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    34
    value=org.opensolaris.category.2008:System/Security
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    35
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    36
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
6187
6a58453cea53 PSARC/2016/348 GSSAPIUseDefaultCCache: Per-session GSS-API credentials in OpenSSH
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 6086
diff changeset
    37
set name=org.opensolaris.arc-caseid value=PSARC/2015/227 value=PSARC/2016/216 \
7649
69d7508f0d66 PSARC/2017/022 OpenSSH 7.4
Tomas Kuthan <tomas.kuthan@oracle.com>
parents: 7245
diff changeset
    38
    value=PSARC/2016/348 value=PSARC/2016/441 value=PSARC/2017/022
5544
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    39
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
6086
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    40
file sources/sshd-gssapi path=etc/pam.d/sshd-gssapi group=sys mode=0644 \
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    41
    overlay=allow preserve=renamenew
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    42
file sources/sshd-hostbased path=etc/pam.d/sshd-hostbased group=sys mode=0644 \
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    43
    overlay=allow preserve=renamenew
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    44
file sources/sshd-none path=etc/pam.d/sshd-none group=sys mode=0644 \
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    45
    overlay=allow preserve=renamenew
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    46
file sources/sshd-password path=etc/pam.d/sshd-password group=sys mode=0644 \
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    47
    overlay=allow preserve=renamenew
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    48
file sources/sshd-pubkey path=etc/pam.d/sshd-pubkey group=sys mode=0644 \
7c225e52772b 15366793 sshd calls pam_authenticate() for none method if PermitEmptyPasswords=yes
Brent Paulson <Brent.Paulson@Oracle.COM>
parents: 5819
diff changeset
    49
    overlay=allow preserve=renamenew
5774
5867c90db266 PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents: 5544
diff changeset
    50
file path=etc/ssh/moduli group=sys mode=0644 overlay=allow preserve=renamenew
5544
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    51
file path=etc/ssh/sshd_config group=sys mode=0644 \
5774
5867c90db266 PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents: 5544
diff changeset
    52
    original_name=SUNWsshd:etc/ssh/sshd_config overlay=allow preserve=renamenew
5867c90db266 PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents: 5544
diff changeset
    53
file sources/ssh.xml path=lib/svc/manifest/network/ssh.xml group=sys mode=0444
5867c90db266 PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents: 5544
diff changeset
    54
file sources/sshd.sh path=lib/svc/method/sshd mode=0555
5544
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    55
file usr/lib/dtrace/64/sftp64.d path=usr/lib/dtrace/sftp.d
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    56
file path=usr/lib/ssh/sftp-server mode=0555
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    57
file path=usr/lib/ssh/ssh-keysign mode=4555
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    58
file path=usr/lib/ssh/ssh-pkcs11-helper mode=0555
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    59
file path=usr/lib/ssh/sshd mode=0555
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    60
file path=usr/share/man/man5/moduli.5
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    61
file path=usr/share/man/man5/sshd_config.5
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    62
file path=usr/share/man/man8/sftp-server.8
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    63
file path=usr/share/man/man8/ssh-keysign.8
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    64
file path=usr/share/man/man8/ssh-pkcs11-helper.8
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    65
file path=usr/share/man/man8/sshd.8
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    66
dir  path=var/empty owner=root group=sys mode=0755 sysattr=readonly
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    67
group groupname=sshd gid=22
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    68
user username=sshd ftpuser=false gcos-field="sshd privsep" group=sshd \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    69
    home-dir=/var/empty login-shell=/bin/false uid=22
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    70
license openssh.license license="BSD, BSD-like (OpenSSH)" \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    71
    com.oracle.info.description="OpenSSH, a suite of tools that help secure network connections" \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    72
    com.oracle.info.name=openssh com.oracle.info.tpno=$(TPNO_OPENSSH) \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    73
    com.oracle.info.version=$(COMPONENT_VERSION)
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    74
license openssh.license license="BSD, BSD-like (gsskex)" \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    75
    com.oracle.info.description="GSS-API authenticated key exchange" \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    76
    com.oracle.info.name=gsskex com.oracle.info.tpno=$(TPNO_GSSKEX) \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    77
    com.oracle.info.version=5.7p1
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    78
depend type=conditional fmri=pkg:/x11/session/xauth \
16204c8a93ff PSARC 2015/227 SunSSH EOF and Removal
Huie-Ying Lee <huieying.lee@oracle.com>
parents:
diff changeset
    79
    predicate=pkg:/x11/library/libxau