components/which/which.p5m
author Petr Sumbera <petr.sumbera@oracle.com>
Fri, 30 Nov 2012 01:32:53 -0800
changeset 1066 23c7e5d8bebf
parent 629 daaab66f7276
child 1205 6c6c27bcf9ac
permissions -rw-r--r--
15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     1
#
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     3
#
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     7
#
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    12
#
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    18
#
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    20
#
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 629
diff changeset
    21
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    22
#
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    23
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    24
# PSARC/2007/049
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    25
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    26
set name=pkg.fmri \
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    27
    value=pkg:/shell/which@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
386
8cd1ab930008 6854552 GNU which in the pkginfo NAME field is not helpful.
Rich Burridge <rich.burridge@oracle.com>
parents: 309
diff changeset
    28
set name=pkg.description value="Utility to show the full path of (shell) commands"
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 73
diff changeset
    29
set name=pkg.summary value="GNU which"
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    30
set name=info.classification \
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    31
    value="org.opensolaris.category.2008:Applications/System Utilities"
464
08f94c414553 7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 386
diff changeset
    32
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 587
diff changeset
    33
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
464
08f94c414553 7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 386
diff changeset
    34
set name=org.opensolaris.arc-caseid \
08f94c414553 7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 386
diff changeset
    35
    value=PSARC/2007/049
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    36
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    37
dir path=usr
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    38
dir path=usr/gnu
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    39
dir path=usr/gnu/bin
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    40
dir path=usr/gnu/share
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    41
dir path=usr/gnu/share/man
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    42
dir path=usr/gnu/share/man/man1
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    43
dir path=usr/share
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    44
dir path=usr/share/info
76
a084497ff237 7016379 migrate elinks to userland (fix pkglint)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 75
diff changeset
    45
file path=usr/gnu/bin/which
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    46
file path=usr/gnu/share/man/man1/which.1
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    47
file path=usr/share/info/which.info
309
47629e3bbdce 7031696 Cleanup GNU binaries and their /usr/bin g-name for package: pkg:/shell/which
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    48
link path=usr/bin/gwhich target=../gnu/bin/which facet.compat.gnulinks=true
47629e3bbdce 7031696 Cleanup GNU binaries and their /usr/bin g-name for package: pkg:/shell/which
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    49
link path=usr/share/man/man1/gwhich.1 \
1066
23c7e5d8bebf 15808775 SUNBT7189956 facet.compat.gnulinks takes precedence over facet.doc.man resulting
Petr Sumbera <petr.sumbera@oracle.com>
parents: 629
diff changeset
    50
    target=../../../gnu/share/man/man1/which.1 facet.compat.gnulinks=all
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    51
license which.license license=GPLv2