xref: /illumos-gate/usr/src/pkg/transforms/extract_metadata (revision ead1f93ee620d7580f7e53350fe5a884fc4f158a)
1*ead1f93eSLiane Praza#
2*ead1f93eSLiane Praza# CDDL HEADER START
3*ead1f93eSLiane Praza#
4*ead1f93eSLiane Praza# The contents of this file are subject to the terms of the
5*ead1f93eSLiane Praza# Common Development and Distribution License (the "License").
6*ead1f93eSLiane Praza# You may not use this file except in compliance with the License.
7*ead1f93eSLiane Praza#
8*ead1f93eSLiane Praza# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*ead1f93eSLiane Praza# or http://www.opensolaris.org/os/licensing.
10*ead1f93eSLiane Praza# See the License for the specific language governing permissions
11*ead1f93eSLiane Praza# and limitations under the License.
12*ead1f93eSLiane Praza#
13*ead1f93eSLiane Praza# When distributing Covered Code, include this CDDL HEADER in each
14*ead1f93eSLiane Praza# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*ead1f93eSLiane Praza# If applicable, add the following below this CDDL HEADER, with the
16*ead1f93eSLiane Praza# fields enclosed by brackets "[]" replaced with your own identifying
17*ead1f93eSLiane Praza# information: Portions Copyright [yyyy] [name of copyright owner]
18*ead1f93eSLiane Praza#
19*ead1f93eSLiane Praza# CDDL HEADER END
20*ead1f93eSLiane Praza#
21*ead1f93eSLiane Praza
22*ead1f93eSLiane Praza#
23*ead1f93eSLiane Praza# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
24*ead1f93eSLiane Praza# Use is subject to license terms.
25*ead1f93eSLiane Praza#
26*ead1f93eSLiane Praza
27*ead1f93eSLiane Praza#
28*ead1f93eSLiane Praza# All nonredistributable packages go to extra, for the purposes of the
29*ead1f93eSLiane Praza# osnet build.
30*ead1f93eSLiane Praza#
31*ead1f93eSLiane Praza<transform set name=org.opensolaris.redist value=nonredist|internal -> print REPO=extra>
32*ead1f93eSLiane Praza
33*ead1f93eSLiane Praza#
34*ead1f93eSLiane Praza# Ordering is important here, and the last line wins.
35*ead1f93eSLiane Praza#
36*ead1f93eSLiane Praza# The default of "current" is provided by the calling environment,
37*ead1f93eSLiane Praza# rather than a print operation.
38*ead1f93eSLiane Praza#
39*ead1f93eSLiane Praza<transform set name=pkg.renamed value=true -> print PKGSTAT=renamed>
40*ead1f93eSLiane Praza<transform set name=pkg.obsolete value=true -> print PKGSTAT=obsolete>
41*ead1f93eSLiane Praza<transform set name=org.opensolaris.noincorp value=true -> print PKGSTAT=noincorp>
42*ead1f93eSLiane Praza<transform set name=org.opensolaris.noincorp -> drop>
43*ead1f93eSLiane Praza<transform set name=org.opensolaris.nodepend value=true -> print NODEPEND=true>
44*ead1f93eSLiane Praza<transform set name=org.opensolaris.nodepend -> drop>
45