components/which/which.p5m
author John Beck <John.Beck@Oracle.COM>
Tue, 04 Apr 2017 16:12:22 -0700
changeset 7829 2de4f4ace09c
parent 6490 c89fece7ac93
permissions -rw-r--r--
25766761 prepare Userland for 11.4
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
#
7829
2de4f4ace09c 25766761 prepare Userland for 11.4
John Beck <John.Beck@Oracle.COM>
parents: 6490
diff changeset
    21
# Copyright (c) 2011, 2017, 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
<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
    25
set name=pkg.fmri \
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    26
    value=pkg:/shell/which@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 73
diff changeset
    27
set name=pkg.summary value="GNU which"
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    28
set name=pkg.description \
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    29
    value="Utility to show the full path of (shell) commands"
1205
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 1066
diff changeset
    30
set name=com.oracle.info.description value="GNU which"
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1251
diff changeset
    31
set name=com.oracle.info.tpno value=$(TPNO)
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    32
set name=info.classification \
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 145
diff changeset
    33
    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
    34
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
    35
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    36
set name=org.opensolaris.arc-caseid value=PSARC/2007/049
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    37
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    38
link path=usr/bin/gwhich target=../gnu/bin/which facet.compat.gnulinks=true
7829
2de4f4ace09c 25766761 prepare Userland for 11.4
John Beck <John.Beck@Oracle.COM>
parents: 6490
diff changeset
    39
$(SOLARIS_11_4_ONLY)link path=usr/bin/which target=../gnu/bin/which \
6490
c89fece7ac93 24356589 which needs SOLARIS_12_ONLY macro to allow update on S11
John Beck <John.Beck@Oracle.COM>
parents: 6097
diff changeset
    40
    mediator=which mediator-implementation=gnu mediator-priority=vendor
76
a084497ff237 7016379 migrate elinks to userland (fix pkglint)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 75
diff changeset
    41
file path=usr/gnu/bin/which
71
8a9ee3f95d47 7016801 move gnu which to userland gate
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    42
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
    43
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
    44
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
    45
    target=../../../gnu/share/man/man1/which.1 facet.compat.gnulinks=all
7829
2de4f4ace09c 25766761 prepare Userland for 11.4
John Beck <John.Beck@Oracle.COM>
parents: 6490
diff changeset
    46
$(SOLARIS_11_4_ONLY)link path=usr/share/man/man1/which.1 \
6097
c00c10ebf433 PSARC/2015/115 Replacement of csh with tcsh
Peter Schow <peter.schow@oracle.com>
parents: 5604
diff changeset
    47
    target=../../../gnu/share/man/man1/which.1 mediator=which \
c00c10ebf433 PSARC/2015/115 Replacement of csh with tcsh
Peter Schow <peter.schow@oracle.com>
parents: 5604
diff changeset
    48
    mediator-implementation=gnu mediator-priority=vendor
5604
a6e0ab76462f 22876901 Update GNU which to version 2.21
Rich Burridge <rich.burridge@oracle.com>
parents: 3732
diff changeset
    49
license COPYING license=GPLv3