src/util/distro-import/125/common/SUNWcs
author Liane Praza <Liane.Praza@Sun.COM>
Thu, 05 Nov 2009 11:54:51 -0800
changeset 1471 7526bfca96f9
parent 1429 4190930d418d
permissions -rw-r--r--
12347 new dependencies required for developer/opensolaris/osnet 12463 need consolidation incorporations
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     1
package SUNWcs
1471
7526bfca96f9 12347 new dependencies required for developer/opensolaris/osnet
Liane Praza <Liane.Praza@Sun.COM>
parents: 1429
diff changeset
     2
consolidation "osnet"
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     3
classification "System/Core"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     4
import SUNWcsu exclude usr/openwin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     5
# BEGIN NON-REDISTRIBUTABLE
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     6
drop usr/bin/ksh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     7
drop usr/bin/pfksh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     8
drop usr/bin/rksh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     9
add link path=usr/bin/rksh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    10
    target=rksh93
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    11
# END NON-REDISTRIBUTABLE
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    12
# /usr/has
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    13
add dir path=usr/has mode=0755 owner=root group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    14
add dir path=usr/has/bin mode=0755 owner=root group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    15
add dir path=usr/has/man mode=0755 owner=root group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    16
add dir path=usr/has/man/man1 mode=0755 owner=root group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    17
# Replace BSD vi with vim
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    18
drop usr/bin/ex
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    19
drop usr/bin/vi
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    20
drop usr/bin/view
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    21
# Use the 32-bit ksh93 as a replacement /bin/sh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    22
drop usr/bin/pfsh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    23
add link path=usr/bin/pfsh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    24
    target=../has/bin/sh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    25
import SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    26
drop etc/inet/hosts
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    27
drop etc/nsswitch.conf
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    28
drop etc/pam.conf
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    29
drop etc/passwd
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    30
drop etc/security/policy.conf
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    31
drop etc/shadow
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    32
drop etc/skel/.profile
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    33
drop var/svc/profile/generic_limited_net.xml
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    34
drop var/svc/profile/generic_open.xml
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    35
# Use the 32-bit ksh93 as a replacement /bin/sh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    36
drop sbin/pfsh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    37
drop sbin/sh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    38
add link path=sbin/pfsh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    39
    target=../usr/has/bin/sh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    40
add link path=sbin/sh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    41
    target=../usr/bin/$(ARCH32)/ksh93
1429
4190930d418d 11817 VSU: localedef generates a file that is missing 2 header files
David.Comay@Sun.COM
parents: 1409
diff changeset
    42
add file hosts path=etc/inet/hosts mode=0644 owner=root group=sys \
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    43
    preserve=true
1429
4190930d418d 11817 VSU: localedef generates a file that is missing 2 header files
David.Comay@Sun.COM
parents: 1409
diff changeset
    44
add file services path=etc/inet/services mode=0644 owner=root group=sys \
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    45
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    46
add file mailcap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    47
    path=etc/mailcap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    48
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    49
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    50
    group=bin \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    51
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    52
add file mime.types \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    53
    path=etc/mime.types \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    54
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    55
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    56
    group=bin \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    57
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    58
add file policy.conf \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    59
    path=etc/security/policy.conf \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    60
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    61
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    62
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    63
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    64
add file .bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    65
    path=etc/skel/.bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    66
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    67
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    68
    group=other \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    69
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    70
add file .profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    71
    path=etc/skel/.profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    72
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    73
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    74
    group=other \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    75
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    76
add dir path=root mode=0700 owner=root group=root
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    77
add file .bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    78
    path=root/.bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    79
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    80
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    81
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    82
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    83
add file .profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    84
    path=root/.profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    85
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    86
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    87
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    88
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    89
# switch to gdm
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    90
add file generic_open.xml \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    91
    path=var/svc/profile/generic_open.xml \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    92
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    93
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    94
    group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    95
add file generic_limited_net.xml \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    96
    path=var/svc/profile/generic_limited_net.xml \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    97
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    98
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    99
    group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   100
add file nsswitch.conf \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   101
    path=etc/nsswitch.conf \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   102
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   103
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   104
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   105
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   106
add file pam.conf \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   107
    path=etc/pam.conf \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   108
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   109
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   110
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   111
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   112
add file passwd \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   113
    path=etc/passwd \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   114
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   115
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   116
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   117
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   118
add file shadow \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   119
    path=etc/shadow \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   120
    mode=0400 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   121
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   122
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   123
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   124
add file ksh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   125
    path=usr/bin/ksh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   126
    mode=0755 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   127
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   128
    group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   129
add file sh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   130
    path=usr/has/bin/sh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   131
    mode=0755 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   132
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   133
    group=root
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   134
add file vi \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   135
    path=usr/has/bin/vi \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   136
    mode=0755 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   137
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   138
    group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   139
add hardlink path=usr/has/bin/ex \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   140
    target=vi
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   141
add hardlink path=usr/has/bin/view \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   142
    target=vi
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   143
# include etc/ftpd/ftpusers in base package
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   144
from SUNWftpr import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   145
etc/ftpd
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   146
etc/ftpd/ftpusers
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   147
end import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   148
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   149
# The RBAC database files are currently delivered by the legacy SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   150
# package as well as other packages via the "rbac" class.  In order to
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   151
# leverage the system/rbac smf(5) service, the global "attrs" file
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   152
# chattr_glob's the package's contributions to these databases into a
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   153
# per-database directory which the service assembles.  These directories
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   154
# for the database files are defined here.
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   155
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   156
add dir path=etc/security/auth_attr.d mode=0755 owner=root group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   157
add dir path=etc/security/exec_attr.d mode=0755 owner=root group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   158
add dir path=etc/security/prof_attr.d mode=0755 owner=root group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   159
add dir path=etc/user_attr.d mode=0755 owner=root group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   160
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   161
# As we need to package versions of these files for updating from earlier
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   162
# releases, the versions of these files as imported by SUNWcsr will serve
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   163
# as the "base" versions until the entries are migrated to the
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   164
# appropriate packages.  In order for this to occur, the imported files
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   165
# will be chattr'ed here to a temporary name and then renamed back via
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   166
# the global "attrs" file.  This will prevent the SUNWcsr contribution
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   167
# from being globally renamed into the per-database directory.
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   168
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   169
chattr etc/security/auth_attr path=etc/security/auth_attr.SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   170
chattr etc/security/exec_attr path=etc/security/exec_attr.SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   171
chattr etc/security/prof_attr path=etc/security/prof_attr.SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   172
chattr etc/user_attr path=etc/user_attr.SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   173
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   174
# There are additional entries for exec_attr and prof_attr that are
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   175
# currently delivered via SUNWwbcor which need to be moved into SUNWcs.
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   176
# Until that time, these will be imported here and renamed under the
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   177
# per-database directories.
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   178
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   179
from SUNWwbcor import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   180
etc/security/exec_attr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   181
etc/security/prof_attr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   182
end import
1409
28c9824aca92 6482 Should declare all dependencies for NFS client distro-import
David.Comay@Sun.COM
parents: 1393
diff changeset
   183
chattr etc/security/exec_attr path=etc/security/exec_attr.d/SUNWwbcor \
28c9824aca92 6482 Should declare all dependencies for NFS client distro-import
David.Comay@Sun.COM
parents: 1393
diff changeset
   184
    restart_fmri=svc:/system/rbac:default
28c9824aca92 6482 Should declare all dependencies for NFS client distro-import
David.Comay@Sun.COM
parents: 1393
diff changeset
   185
chattr etc/security/prof_attr path=etc/security/prof_attr.d/SUNWwbcor \
28c9824aca92 6482 Should declare all dependencies for NFS client distro-import
David.Comay@Sun.COM
parents: 1393
diff changeset
   186
    restart_fmri=svc:/system/rbac:default
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   187
depend SUNWperl584core
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   188
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   189
add driver name=dump \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   190
    perms="dump 0660 root sys"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   191
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   192
add driver name=fssnap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   193
    perms="* 0640 root sys" \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   194
    perms="ctl 0666 root sys" \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   195
    policy="ctl read_priv_set=sys_config write_priv_set=sys_config"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   196
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   197
add driver name=kstat \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   198
    perms="* 0666 root sys"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   199
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   200
add driver name=ksyms \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   201
    perms="* 0666 root sys"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   202
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   203
add driver name=logindmux
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   204
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   205
add driver name=ptm \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   206
    clone_perms="ptmx 0666 root sys"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   207
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   208
add driver name=pts \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   209
    perms="* 0644 root sys" \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   210
    perms="0 0620 root tty" \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   211
    perms="1 0620 root tty" \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   212
    perms="2 0620 root tty" \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   213
    perms="3 0620 root tty"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   214
end package