1 package SUNWcs 2 classification "System/Core" 3 import SUNWcsu exclude usr/openwin 4 # BEGIN NON-REDISTRIBUTABLE 5 drop usr/bin/ksh 6 drop usr/bin/pfksh 7 drop usr/bin/rksh 8 add link path=usr/bin/rksh target=rksh93 9 # END NON-REDISTRIBUTABLE 10 # /usr/has 11 add dir path=usr/has mode=0755 owner=root group=bin 12 add dir path=usr/has/bin mode=0755 owner=root group=bin 13 add dir path=usr/has/man mode=0755 owner=root group=bin 14 add dir path=usr/has/man/man1 mode=0755 owner=root group=bin 15 # Replace BSD vi with vim 16 drop usr/bin/ex 17 drop usr/bin/vi 18 drop usr/bin/view 19 # Use the 32-bit ksh93 as a replacement /bin/sh 20 drop usr/bin/pfsh 21 add link path=usr/bin/pfsh target=../has/bin/sh 22 from SUNWman import 23 usr/share/man/man1/ex.1 24 usr/share/man/man1/sh.1 25 usr/share/man/man1/vi.1 26 usr/share/man/man1/view.1 27 chattr usr/share/man/man1/ex.1 path=usr/has/man/man1/ex.1 28 chattr usr/share/man/man1/sh.1 path=usr/has/man/man1/sh.1 29 chattr usr/share/man/man1/vi.1 path=usr/has/man/man1/vi.1 30 chattr usr/share/man/man1/view.1 path=usr/has/man/man1/view.1 31 end import 32 import SUNWcsr 33 drop etc/inet/hosts 34 drop etc/nsswitch.conf 35 drop etc/pam.conf 36 drop etc/passwd 37 drop etc/security/policy.conf 38 drop etc/shadow 39 drop etc/skel/.profile 40 drop var/svc/profile/generic_limited_net.xml 41 drop var/svc/profile/generic_open.xml 42 # Use the 32-bit ksh93 as a replacement /bin/sh 43 drop sbin/pfsh 44 drop sbin/sh 45 add link path=sbin/pfsh target=../usr/has/bin/sh 46 add link path=sbin/sh target=../usr/bin/$(ARCH32)/ksh93 47 add file hosts path=etc/inet/hosts mode=0444 owner=root group=sys preserve=true 48 add file services path=etc/inet/services mode=0444 owner=root group=sys \ 49 preserve=true 50 add file mailcap path=etc/mailcap mode=0644 owner=root group=bin preserve=true 51 add file mime.types path=etc/mime.types mode=0644 owner=root group=bin \ 52 preserve=true 53 add file policy.conf path=etc/security/policy.conf mode=0644 owner=root \ 54 group=sys preserve=true 55 add file .bashrc path=etc/skel/.bashrc mode=0644 owner=root group=other \ 56 preserve=true 57 add file .profile path=etc/skel/.profile mode=0644 owner=root group=other \ 58 preserve=true 59 add dir path=root mode=0700 owner=root group=root 60 add file .bashrc path=root/.bashrc mode=0644 owner=root group=root \ 61 preserve=true 62 add file .profile path=root/.profile mode=0644 owner=root group=root \ 63 preserve=true 64 # switch to gdm 65 add file generic_open.xml path=var/svc/profile/generic_open.xml mode=0444 \ 66 owner=root group=sys 67 add file generic_limited_net.xml path=var/svc/profile/generic_limited_net.xml \ 68 mode=0444 owner=root group=sys 69 from SUNWfixes import 70 etc/nsswitch.conf 71 etc/pam.conf 72 etc/passwd 73 etc/shadow 74 usr/bin/ksh 75 usr/has/bin/ex 76 usr/has/bin/sh 77 usr/has/bin/vi 78 usr/has/bin/view 79 end import 80 # include etc/ftpd/ftpusers in base package 81 from SUNWftpr import 82 etc/ftpd 83 etc/ftpd/ftpusers 84 end import 85 depend SUNWperl584core 86 # add new directories for *attr files 87 add dir path=etc/security/auth_attr.d mode=0755 owner=root group=sys 88 add dir path=etc/security/exec_attr.d mode=0755 owner=root group=sys 89 add dir path=etc/security/prof_attr.d mode=0755 owner=root group=sys 90 add dir path=etc/user_attr.d mode=0755 owner=root group=bin 91 end package