#
# 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
# 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) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
#
# The man pages are all at the top of a "files" directory; setting the hash to
# point to the files therein.
<transform file path=usr/share/man/man.+/(.+)$ -> set action.hash %<1> >
# Bypassing the mangler for these files because they are pre-Solarified.
<transform file path=usr/share/man/.+$ -> add mangler.bypass true >
set name=pkg.fmri \
value=pkg:/shell/ksh93@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Ksh93 - The AT&T Korn Shell"
set name=pkg.description \
value="Korn Shell 93: A command and programming language that executes commands read from a terminal or a file"
set name=pkg.human-version value=$(DQ)$(HUMAN_VERSION)$(DQ)
# This package name has known conflicts with other packages in the WOS
set name=pkg.linted.pkglint.manifest004 value=true
set name=com.oracle.info.description value="the AT&T ksh93 Korn Shell"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream \
value="AT&T Software Technology (AST) OpenSource Software Collection"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2012/002
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
file path=etc/ksh.kshrc group=sys original_name=SUNWcs:etc/ksh.kshrc \
preserve=renameold
file $(MACH64)/bin/alias path=usr/bin/alias mode=0555
hardlink path=usr/bin/bg target=alias
hardlink path=usr/bin/cd target=alias
hardlink path=usr/bin/command target=alias
hardlink path=usr/bin/fc target=alias
hardlink path=usr/bin/fg target=alias
hardlink path=usr/bin/getopts target=alias
hardlink path=usr/bin/hash target=alias
hardlink path=usr/bin/jobs target=alias
link path=usr/bin/jsh target=ksh93
hardlink path=usr/bin/kill target=alias
file $(MACH64)/bin/ksh path=usr/bin/ksh mode=0555
hardlink path=usr/bin/ksh93 target=ksh
hardlink path=usr/bin/pfksh target=pfexec
hardlink path=usr/bin/pfksh93 target=pfexec
hardlink path=usr/bin/pfrksh target=pfexec
hardlink path=usr/bin/pfrksh93 target=pfexec
hardlink path=usr/bin/print target=alias
hardlink path=usr/bin/read target=alias
hardlink path=usr/bin/rksh target=ksh
hardlink path=usr/bin/rksh93 target=ksh
hardlink path=usr/bin/sh target=ksh
file $(MACH64)/bin/shcomp path=usr/bin/shcomp mode=0555
hardlink path=usr/bin/test target=alias
hardlink path=usr/bin/type target=alias
hardlink path=usr/bin/ulimit target=alias
hardlink path=usr/bin/umask target=alias
hardlink path=usr/bin/unalias target=alias
hardlink path=usr/bin/wait target=alias
link path=usr/lib/rsh target=../bin/ksh93
link path=usr/sbin/jsh target=../bin/ksh93
link path=usr/sbin/sh target=../bin/ksh93
file src/cmd/ksh93/TYPES path=usr/share/doc/ksh/TYPES
file path=usr/share/man/man1/alias.1
file path=usr/share/man/man1/jsh.1
file src/cmd/ksh93/sh.1 path=usr/share/man/man1/ksh.1
file path=usr/share/man/man1/ksh93.1
file path=usr/share/man/man1/rksh.1
file path=usr/share/man/man1/sh.1
file path=usr/share/man/man1/shcomp.1
license ksh93.license license=EPL1.0
# Ensure that we upgrade the old package to the version where it's
# renamed.
depend type=optional fmri=pkg:/shell/ksh@20110208-0.175.1.0.0.21.0