David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# 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 # fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
#
 
<transform file path=usr/lib/ssh/sshd$ -> default restart_fmri svc:/network/ssh:default>
 
set name=pkg.fmri value=pkg:/service/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="OpenSSH servers and SSH (Secure Shell) services"
set name=pkg.human-version value=$(HUMAN_VERSION)
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.consolidation value=$(CONSOLIDATION)
 
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
 
dir  path=var/empty owner=root group=sys mode=0755 sysattr=readonly
 
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
 
depend type=require fmri=pkg:/network/ssh
 
# We have to preserve original_name as file was once moved to
# ssh-common and back again
file files/sshd_config original_name=service/network/ssh:etc/ssh/sshd_config \
   path=etc/ssh/sshd_config mode=0644 preserve=true
file files/ssh.xml path=lib/svc/manifest/network/ssh.xml
file files/sshd path=lib/svc/method/sshd
 
file path=etc/ssh/moduli
file usr/lib/dtrace/64/sftp64.d path=usr/lib/dtrace/sftp.d mode=0555
file path=usr/lib/ssh/sftp-server mode=0555
file path=usr/lib/ssh/ssh-keysign mode=4555
file path=usr/lib/ssh/ssh-pkcs11-helper mode=0555
file path=usr/lib/ssh/sshd mode=0555
file path=usr/share/man/man8/sftp-server.8
file path=usr/share/man/man8/ssh-keysign.8
file path=usr/share/man/man8/ssh-pkcs11-helper.8
file path=usr/share/man/man8/sshd.8
link path=usr/share/man/man4/authorized_keys.5 target=../man8/sshd.8
file path=usr/share/man/man5/moduli.5
file path=usr/share/man/man5/sshd_config.5