transforms/defaults
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 13 Apr 2011 09:58:06 -0700
changeset 181 87e11e685b1f
parent 176 11a04b640bf2
child 193 2785115729b6
permissions -rw-r--r--
7003927 userland should postprocess packaged files 7034188 userland should have common lint library rules 7034992 userland packages should include opensolaris.arc_url data 7019309 move ghostscript to userland (fix build)
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
#
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    23
# Copyright (c) 2010, 2011, 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
<transform dir path=etc$ -> default group sys>
172
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    27
<transform dir path=etc/inet$ -> default group sys>
142
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    28
<transform dir path=var$ -> default group sys>
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    29
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    30
#
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    31
# LP print service
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    32
#
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    33
<transform dir path=etc/lp/fd$ -> default owner root>
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    34
<transform dir path=etc/lp/fd$ -> default mode 0755>
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    35
<transform dir path=etc/lp(/.+){0,1}$ -> default owner lp>
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    36
<transform dir path=etc/lp(/.+){0,1}$ -> default group lp>
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    37
<transform dir path=etc/lp(/.+){0,1}$ -> default mode 0775>
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    38
123
882fa2ea841b 7025850 /etc/skel/.bashrc missing after fresh install, system/install/config:default goes into maintenance (fix group)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 120
diff changeset
    39
<transform dir path=etc/skel$ -> default group sys>
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    40
<transform dir path=usr$ -> default group sys>
98
7eea11439375 7020451 Move lua to Userland (fix group)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 87
diff changeset
    41
<transform dir path=usr/lib/pkgconfig$ -> default group other>
131
651976f969f6 7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 124
diff changeset
    42
<transform dir path=usr/lib/.*/pkgconfig$ -> default group other>
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 26
diff changeset
    43
<transform dir path=usr/share$ -> default group sys>
120
ef1efc113f13 7021528 move bison/gsed to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 98
diff changeset
    44
<transform dir path=usr/share/aclocal$ -> default group other>
76
a084497ff237 7016379 migrate elinks to userland (fix pkglint)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 75
diff changeset
    45
<transform dir path=usr/share/doc$ -> default group other>
87
69623393295f 7018226 move GNU screen to userland (fix pkglint)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 80
diff changeset
    46
<transform dir path=usr/share/lib$ -> default group sys>
80
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    47
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    48
#
124
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    49
# Most directories and files under /etc/security are group sys
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    50
#
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    51
<transform dir path=etc/security$ -> default group sys>
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    52
<transform dir path=etc/security/exec_attr.d$ -> default group sys>
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    53
<transform file path=etc/security/exec_attr.d/.* -> default group sys>
172
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    54
<transform dir path=etc/security/prof_attr.d$ -> default group sys>
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    55
<transform file path=etc/security/prof_attr.d/.* -> default group sys>
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    56
<transform dir path=etc/security/auth_attr.d$ -> default group sys>
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    57
<transform file path=etc/security/auth_attr.d/.* -> default group sys>
124
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    58
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    59
#
142
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    60
# SMF directories and files
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    61
#
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    62
<transform dir path=lib/svc/manifest$ -> default group sys>
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    63
<transform dir path=lib/svc/manifest/network$ -> default group sys>
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    64
<transform file path=lib/svc/manifest/network/.* -> default group sys>
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    65
<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
    66
6f1cb90a0ef3 7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 131
diff changeset
    67
#
124
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    68
# Many directories and files under /usr/share are group other
80
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    69
#
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    70
<transform dir path=usr/share/locale(/.+){0,2}$ -> default group other>
7f8350e3f91a 7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents: 76
diff changeset
    71
<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
    72
<transform dir path=usr/share/applications$ -> default group other>
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    73
<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
    74
<transform dir path=usr/share/pixmaps$ -> default group other>
d2e8e5ad1feb 7026046 move wireshark to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 123
diff changeset
    75
<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
    76
66
8cac19a5c726 7014727 move gmake to userland (fix group)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 53
diff changeset
    77
<transform dir path=usr/gnu/share$ -> default group sys>
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    78
176
11a04b640bf2 7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents: 172
diff changeset
    79
# usr/share/icons, and all its subdirectories at any level are group other
11a04b640bf2 7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents: 172
diff changeset
    80
<transform dir path=usr/share/icons(/.*){0,1}$ -> default group other>
11a04b640bf2 7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents: 172
diff changeset
    81
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    82
#
26
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 15
diff changeset
    83
# programs & shared objects should generally have mode 0555
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    84
#
26
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 15
diff changeset
    85
<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
    86
<transform file path=.*bin/.* -> default mode 0555>
172
093198acf7d4 7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents: 170
diff changeset
    87
<transform file path=.*lib/inet/.* -> default mode 0555>
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    88
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    89
#
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    90
# 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
    91
#
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2
diff changeset
    92
<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
    93
<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
    94
<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
    95
<transform dir -> default mode 0755>
2
125cd5d2cd9e include gmake example
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    96
75
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    97
#
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
    98
# 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
    99
#
170
14cadb780400 7033275 userland should default vendor to 'Oracle Corporation'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 151
diff changeset
   100
<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
   101
<transform legacy -> default hotline \
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
   102
	"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
   103
<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
   104
<transform legacy -> default category "system">
1f81099246e8 7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 66
diff changeset
   105
# 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
   106
<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
   107