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