src/util/distro-import/125/common/SUNWcs
author David.Comay@Sun.COM
Mon, 12 Oct 2009 15:10:47 -0700
changeset 1409 28c9824aca92
parent 1393 9b3215e73a41
child 1429 4190930d418d
permissions -rw-r--r--
6482 Should declare all dependencies for NFS client distro-import 11352 Add GParted to Live CD so Windows/NTFS can be shrunk 11540 SUNWcs import file shouldn't cross consolidation boundaries 11771 SUNWcs should restart_fmri=svc:/system/rbac:default 11823 SUNWkdc is missing a dependency on SUNWgssc 11876 Some of the packages delivered by IPS consolidation have poor summaries 11877 resync repository to snv_125 11878 Older input-method packages have incorrect classifications 11879 Changes necessary to import SUNWldtp into the repository 11880 Some empty packages can be removed from slim_cluster definition 11881 Some recently added Live CD packages missing from "redistributable" 11882 SUNWcsd's base driver files could be improved for pre-6877673 systems 11883 SUNWdhcs should not depend on not-redistributable SUNWwbcou 11884 SUNWjokosher and SUNWmoovida lack dependency on SUNWpython26-xdg
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
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     2
classification "System/Core"
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     3
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
     4
# BEGIN NON-REDISTRIBUTABLE
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
     5
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
     6
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
     7
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
     8
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
     9
    target=rksh93
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    10
# END NON-REDISTRIBUTABLE
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    11
# /usr/has
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    12
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
    13
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
    14
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
    15
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
    16
# 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
    17
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
    18
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
    19
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
    20
# 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
    21
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
    22
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
    23
    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
    24
import SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    25
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
    26
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
    27
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
    28
drop etc/passwd
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    29
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
    30
drop etc/shadow
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    31
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
    32
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
    33
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
    34
# 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
    35
drop sbin/pfsh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    36
drop sbin/sh
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    37
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
    38
    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
    39
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
    40
    target=../usr/bin/$(ARCH32)/ksh93
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    41
add file hosts \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    42
    path=etc/inet/hosts \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    43
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    44
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    45
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    46
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    47
add file services \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    48
    path=etc/inet/services \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    49
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    50
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    51
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    52
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    53
add file mailcap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    54
    path=etc/mailcap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    55
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    56
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    57
    group=bin \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    58
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    59
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
    60
    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
    61
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    62
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    63
    group=bin \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    64
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    65
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
    66
    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
    67
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    68
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    69
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    70
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    71
add file .bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    72
    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
    73
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    74
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    75
    group=other \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    76
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    77
add file .profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    78
    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
    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=other \
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 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
    84
add file .bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    85
    path=root/.bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    86
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    87
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    88
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    89
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    90
add file .profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    91
    path=root/.profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    92
    mode=0644 \
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=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    95
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    96
# switch to gdm
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    97
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
    98
    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
    99
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   100
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   101
    group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   102
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
   103
    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
   104
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   105
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   106
    group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   107
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
   108
    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
   109
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   110
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   111
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   112
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   113
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
   114
    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
   115
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   116
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   117
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   118
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   119
add file passwd \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   120
    path=etc/passwd \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   121
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   122
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   123
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   124
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   125
add file shadow \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   126
    path=etc/shadow \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   127
    mode=0400 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   128
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   129
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   130
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   131
add file ksh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   132
    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
   133
    mode=0755 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   134
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   135
    group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   136
add file sh \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   137
    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
   138
    mode=0755 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   139
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   140
    group=root
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   141
add file vi \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   142
    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
   143
    mode=0755 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   144
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   145
    group=bin
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   146
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
   147
    target=vi
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   148
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
   149
    target=vi
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   150
# 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
   151
from SUNWftpr import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   152
etc/ftpd
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   153
etc/ftpd/ftpusers
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   154
end import
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
# 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
   157
# 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
   158
# 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
   159
# 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
   160
# 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
   161
# 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
   162
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   163
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
   164
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
   165
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
   166
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
   167
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   168
# 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
   169
# 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
   170
# 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
   171
# 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
   172
# 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
   173
# 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
   174
# 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
   175
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   176
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
   177
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
   178
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
   179
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
   180
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   181
# 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
   182
# 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
   183
# 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
   184
# per-database directories.
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   185
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   186
from SUNWwbcor import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   187
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
   188
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
   189
end import
1409
28c9824aca92 6482 Should declare all dependencies for NFS client distro-import
David.Comay@Sun.COM
parents: 1393
diff changeset
   190
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
   191
    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
   192
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
   193
    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
   194
depend SUNWperl584core
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   195
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   196
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
   197
    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
   198
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   199
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
   200
    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
   201
    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
   202
    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
   203
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   204
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
   205
    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
   206
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   207
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
   208
    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
   209
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   210
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
   211
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   212
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
   213
    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
   214
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   215
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
   216
    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
   217
    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
   218
    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
   219
    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
   220
    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
   221
end package