transforms/defaults
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 09 Apr 2013 10:37:15 -0700
changeset 1251 f1fb66b52f41
parent 1171 ba5a5b6e3268
child 3945 27c584f98841
permissions -rw-r--r--
16611225 foomatic-rip delivers obsolete LP functionality 16611235 foomatic-rip and foomatic-db-engine should have the same sysconfdir 16611239 sysmon message file package manifest has wrong FMRI 16611251 userland pkglint should not double report pkg.linted messages 16611268 userland needs pkg.linted cleanup. 16611270 userland manifests shouldn't have dir actions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     1
#
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     2
# CDDL HEADER START
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     3
#
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     7
#
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    11
# and limitations under the License.
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    12
#
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    18
#
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    19
# CDDL HEADER END
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    20
#
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    21
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    22
#
1171
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    23
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    24
#
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    25
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    26
#
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    27
# LP print service
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    28
#
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    29
80
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    30
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    31
#
454
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 353
diff changeset
    32
# Changes to zoneinfo files on live systems need to trigger a refresh of
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 353
diff changeset
    33
# the timezone reloader.  See tzreload(1m).
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 353
diff changeset
    34
#
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 353
diff changeset
    35
<transform file link hardlink path=usr/share/lib/zoneinfo/.+ -> add refresh_fmri "svc:/system/timezone:default">
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 353
diff changeset
    36
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 353
diff changeset
    37
#
1251
f1fb66b52f41 16611225 foomatic-rip delivers obsolete LP functionality
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1171
diff changeset
    38
# SMF files
124
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    39
#
142
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    40
<transform file path=lib/svc/method/.* -> default mode 0555>
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    41
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    42
#
1251
f1fb66b52f41 16611225 foomatic-rip delivers obsolete LP functionality
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 1171
diff changeset
    43
# Many files under /usr/share are group other
80
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    44
#
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    45
<transform file path=usr/share/locale(/.+){3}$ -> default group other>
124
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    46
<transform file path=usr/share/applications/.* -> default group other>
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    47
<transform file path=usr/share/pixmaps/.* -> default group other>
80
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    48
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    49
#
26
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 15
diff changeset
    50
# programs & shared objects should generally have mode 0555
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    51
#
26
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 15
diff changeset
    52
<transform file path=.*lib/.*\.so.* -> default mode 0555>
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 15
diff changeset
    53
<transform file path=.*bin/.* -> default mode 0555>
172
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    54
<transform file path=.*lib/inet/.* -> default mode 0555>
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    55
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    56
#
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    57
# For what's left, go with root:bin 0444 for files, 0755 for directories
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    58
#
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    59
<transform dir file -> default owner root>
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    60
<transform dir file -> default group bin>
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    61
<transform file -> default mode 0444>
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    62
<transform dir -> default mode 0755>
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    63
193
2785115729b6 7037100 userland pkgdepend seems confused (and fails) on 163
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 176
diff changeset
    64
set name=variant.arch value=$(MACH)
2785115729b6 7037100 userland pkgdepend seems confused (and fails) on 163
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 176
diff changeset
    65
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    66
#
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    67
# Defaults for legacy metadata for SVR4 package information
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    68
#
170
14cadb780400 7033275 userland should default vendor to 'Oracle Corporation'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 151
diff changeset
    69
<transform legacy -> default vendor "Oracle Corporation">
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    70
<transform legacy -> default hotline \
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    71
	"Please contact your local service provider">
151
f9e42a3f7095 7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 142
diff changeset
    72
<transform legacy -> default arch $(MACH)>
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    73
<transform legacy -> default category "system">
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    74
# This is set to the final version number delivered as SVR4 format
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    75
<transform legacy -> default version "11.11.0,REV=2010.05.25.01.00">
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    76
751
32bfb3fa9b60 7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 610
diff changeset
    77
#
32bfb3fa9b60 7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 610
diff changeset
    78
# Set the default Python for mediated links
32bfb3fa9b60 7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 610
diff changeset
    79
#
32bfb3fa9b60 7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 610
diff changeset
    80
<transform link mediator=python mediator-version=2.6 -> default mediator-priority vendor>
32bfb3fa9b60 7155746 Userland python bits should use mediated links
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 610
diff changeset
    81
1171
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    82
#
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    83
# Add a facet.version-lock.{package} to each 'optional' consolidation
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    84
# incorporation dependency so that we can install without having to
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    85
# mangle the system in some way.
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    86
#
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    87
<transform depend type=optional fmri=(pkg:/)?consolidation/[email protected] -> \
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    88
    default tmp.fmri %{pkg.fmri} >
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    89
<transform depend tmp.fmri=pkg:/(.+)@.*$ -> \
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    90
    default facet.version-lock.%<1> true >
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    91
<transform depend tmp.fmri=.*-> delete tmp.fmri .* >
ba5a5b6e3268 16389924 optional consolidation incorporation dependencies should be unlockable
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 751
diff changeset
    92