src/util/distro-import/133/common/SUNWcs
author david.comay@oracle.com
Thu, 27 May 2010 13:42:30 -0700
branch2010.1H
changeset 1922 48706bcc893f
parent 1766 42588c610048
permissions -rw-r--r--
16087 resync repository to snv_134b
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
# END NON-REDISTRIBUTABLE
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    10
1393
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
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    14
add dir path=usr/has/lib mode=0755 owner=root group=bin
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    15
1393
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
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    17
chattr usr/bin/edit path=usr/has/bin/edit
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    18
chattr usr/bin/ex path=usr/has/bin/ex target=edit
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    19
chattr usr/bin/vedit path=usr/has/bin/vedit target=edit
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    20
chattr usr/bin/vi path=usr/has/bin/vi target=edit
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    21
chattr usr/bin/view path=usr/has/bin/view target=edit
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    22
add hardlink path=usr/bin/edit target=../has/bin/edit
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    23
add hardlink path=usr/bin/vedit target=../has/bin/edit
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    24
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    25
# Use the 32-bit ksh93 as a replacement /bin/sh
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    26
drop usr/bin/jsh
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    27
drop usr/bin/pfsh
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    28
drop usr/bin/sh
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    29
drop usr/lib/rsh
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    30
add link path=usr/bin/jsh target=ksh93
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    31
add link path=usr/bin/pfsh target=ksh93
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    32
add link path=usr/bin/sh target=$(ARCH32)/ksh93
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    33
add link path=usr/lib/rsh target=../bin/ksh93
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    34
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    35
# Use the ksh wrapper that can be called by wordexp()
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    36
add file ksh path=usr/bin/ksh mode=0555 owner=root group=bin
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    37
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    38
#
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    39
# Create the links that would be delivered by ON if
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    40
# ON_BUILD_KSH93_AS_BINKSH=1 is set
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    41
#
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    42
add hardlink path=/usr/bin/$(ARCH32)/pfksh target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    43
add hardlink path=/usr/bin/$(ARCH32)/pfksh93 target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    44
add hardlink path=/usr/bin/$(ARCH32)/pfrksh target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    45
add hardlink path=/usr/bin/$(ARCH32)/pfrksh93 target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    46
add hardlink path=/usr/bin/$(ARCH32)/rksh target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    47
add hardlink path=/usr/bin/$(ARCH64)/pfksh target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    48
add hardlink path=/usr/bin/$(ARCH64)/pfksh93 target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    49
add hardlink path=/usr/bin/$(ARCH64)/pfrksh target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    50
add hardlink path=/usr/bin/$(ARCH64)/pfrksh93 target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    51
add hardlink path=/usr/bin/$(ARCH64)/rksh target=ksh93
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    52
add hardlink path=/usr/bin/pfksh target=../../usr/lib/isaexec
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    53
add hardlink path=/usr/bin/pfksh93 target=../../usr/lib/isaexec
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    54
add hardlink path=/usr/bin/pfrksh target=../../usr/lib/isaexec
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    55
add hardlink path=/usr/bin/pfrksh93 target=../../usr/lib/isaexec
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    56
add hardlink path=/usr/bin/rksh target=../../usr/lib/isaexec
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    57
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    58
# Replace patch with GNU gpatch
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    59
chattr usr/bin/patch path=usr/has/bin/patch
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    60
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    61
import SUNWcsr
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    62
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
    63
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
    64
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
    65
drop etc/passwd
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    66
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
    67
drop etc/shadow
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    68
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
    69
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
    70
drop var/svc/profile/generic_open.xml
1614
4dc7080bddff 9186 MANPATH should be unset in /etc/skel/.profile
David.Comay@Sun.COM
parents: 1545
diff changeset
    71
drop var/svc/profile/inetd_generic.xml
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    72
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    73
# Use the 32-bit ksh93 as a replacement /bin/sh
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    74
chattr sbin/jsh path=usr/has/bin/jsh
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    75
chattr sbin/pfsh path=usr/has/bin/pfsh
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    76
chattr sbin/sh path=usr/has/bin/sh
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    77
add link path=sbin/jsh \
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    78
    target=../usr/bin/$(ARCH32)/ksh93
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    79
add link path=sbin/pfsh \
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    80
    target=../usr/bin/$(ARCH32)/ksh93
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    81
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
    82
    target=../usr/bin/$(ARCH32)/ksh93
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
    83
add link path=usr/has/lib/rsh target=../bin/sh
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
    84
1429
4190930d418d 11817 VSU: localedef generates a file that is missing 2 header files
David.Comay@Sun.COM
parents: 1409
diff changeset
    85
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
    86
    preserve=true
1429
4190930d418d 11817 VSU: localedef generates a file that is missing 2 header files
David.Comay@Sun.COM
parents: 1409
diff changeset
    87
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
    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
add file mailcap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    90
    path=etc/mailcap \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    91
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    92
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    93
    group=bin \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    94
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
    95
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
    96
    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
    97
    mode=0644 \
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=bin \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   100
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   101
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
   102
    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
   103
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   104
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   105
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   106
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   107
add file .profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   108
    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
   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=other \
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 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
   114
add file .bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   115
    path=root/.bashrc \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   116
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   117
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   118
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   119
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   120
add file .profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   121
    path=root/.profile \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   122
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   123
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   124
    group=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   125
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   126
# switch to gdm
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   127
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
   128
    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
   129
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   130
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   131
    group=sys
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   132
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
   133
    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
   134
    mode=0444 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   135
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   136
    group=sys
1614
4dc7080bddff 9186 MANPATH should be unset in /etc/skel/.profile
David.Comay@Sun.COM
parents: 1545
diff changeset
   137
add file inetd_generic.xml \
4dc7080bddff 9186 MANPATH should be unset in /etc/skel/.profile
David.Comay@Sun.COM
parents: 1545
diff changeset
   138
    path=var/svc/profile/inetd_generic.xml \
4dc7080bddff 9186 MANPATH should be unset in /etc/skel/.profile
David.Comay@Sun.COM
parents: 1545
diff changeset
   139
    mode=0444 \
4dc7080bddff 9186 MANPATH should be unset in /etc/skel/.profile
David.Comay@Sun.COM
parents: 1545
diff changeset
   140
    owner=root \
4dc7080bddff 9186 MANPATH should be unset in /etc/skel/.profile
David.Comay@Sun.COM
parents: 1545
diff changeset
   141
    group=sys
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   142
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
   143
    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
   144
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   145
    owner=root \
1712
421ef020581f 9155 Provide consistency for make with respect to Live CD
David.Comay@Sun.COM
parents: 1648
diff changeset
   146
    group=sys \
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   147
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   148
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
   149
    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
   150
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   151
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   152
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   153
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   154
add file passwd \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   155
    path=etc/passwd \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   156
    mode=0644 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   157
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   158
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   159
    preserve=true
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   160
add file shadow \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   161
    path=etc/shadow \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   162
    mode=0400 \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   163
    owner=root \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   164
    group=sys \
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   165
    preserve=true
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   166
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   167
# Include etc/ftpd/ftpusers in base package
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   168
from SUNWftpr import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   169
etc/ftpd
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   170
etc/ftpd/ftpusers
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   171
end import
1648
37778e23a9c3 2031 postgres role specifies non-existent pfksh shell
David.Comay@Sun.COM
parents: 1614
diff changeset
   172
1393
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
# 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
   175
# 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
   176
# 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
   177
# 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
   178
# 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
   179
# 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
   180
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   181
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
   182
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
   183
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
   184
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
   185
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   186
# 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
   187
# 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
   188
# 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
   189
# 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
   190
# 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
   191
# 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
   192
# 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
   193
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   194
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
   195
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
   196
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
   197
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
   198
#
1766
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   199
# In order for upgrades to work correctly, the same set of files should
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   200
# be delivered as fragments.
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   201
#
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   202
add file auth_attr path=etc/security/auth_attr.d/SUNWcs mode=0644 owner=root \
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   203
    group=sys restart_fmri=svc:/system/rbac:default
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   204
add file exec_attr path=etc/security/exec_attr.d/SUNWcs mode=0644 owner=root \
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   205
    group=sys restart_fmri=svc:/system/rbac:default
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   206
add file prof_attr path=etc/security/prof_attr.d/SUNWcs mode=0644 owner=root \
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   207
    group=sys restart_fmri=svc:/system/rbac:default
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   208
add file user_attr path=etc/user_attr.d/SUNWcs mode=0644 owner=root \
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   209
    group=sys restart_fmri=svc:/system/rbac:default
42588c610048 10996 zsh in the default install
David.Comay@Sun.COM
parents: 1712
diff changeset
   210
#
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   211
# 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
   212
# 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
   213
# 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
   214
# per-database directories.
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   215
#
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   216
from SUNWwbcor import
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   217
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
   218
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
   219
end import
1409
28c9824aca92 6482 Should declare all dependencies for NFS client distro-import
David.Comay@Sun.COM
parents: 1393
diff changeset
   220
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
   221
    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
   222
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
   223
    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
   224
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   225
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
   226
    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
   227
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   228
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
   229
    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
   230
    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
   231
    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
   232
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   233
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
   234
    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
   235
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   236
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
   237
    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
   238
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   239
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
   240
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   241
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
   242
    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
   243
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   244
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
   245
    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
   246
    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
   247
    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
   248
    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
   249
    perms="3 0620 root tty"
1922
48706bcc893f 16087 resync repository to snv_134b
david.comay@oracle.com
parents: 1766
diff changeset
   250
48706bcc893f 16087 resync repository to snv_134b
david.comay@oracle.com
parents: 1766
diff changeset
   251
depend release/name
48706bcc893f 16087 resync repository to snv_134b
david.comay@oracle.com
parents: 1766
diff changeset
   252
depend system/data/keyboard/keytables
1393
9b3215e73a41 2217 /etc device files should be completely built via driver actions
Rich Burridge <rich.burridge@sun.com>
parents:
diff changeset
   253
end package