components/which/which.p5m
author Rich Burridge <rich.burridge@oracle.com>
Mon, 11 Jul 2011 13:46:51 -0700
changeset 386 8cd1ab930008
parent 309 47629e3bbdce
child 464 08f94c414553
permissions -rw-r--r--
6854552 GNU which in the pkginfo NAME field is not helpful.
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
#
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
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"
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    32
set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    33
set name=info.upstream_url value=http://www.xs4all.nl/~carlo17/which/
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    34
set name=opensolaris.arc_url \
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    35
    value=http://arc.opensolaris.org/caselog/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 \
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
    50
    target=../../../gnu/share/man/man1/which.1 facet.compat.gnulinks=true
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    51
legacy pkg=SUNWgnu-which desc="GNU which utility (2.16)" name="GNU which"
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    52
license which.license license=GPLv2