components/samba/samba.p5m.common
changeset 5222 8298df727253
parent 5219 006be2060ead
child 5498 fdee5c5821b7
equal deleted inserted replaced
5221:e63c8f63ac44 5222:8298df727253
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 
       
    25 <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
       
    26 
       
    27 # /etc/samba/private should not even be readable fo non-root users.
       
    28 <transform dir path=etc/samba/private -> default mode 500>
       
    29 
       
    30 # smbprofiles man
       
    31 <transform file path=usr/share/man/man1/profiles.1 -> drop>
       
    32 
       
    33 # General dirs generated in sample-manifest but with bad attribs.
       
    34 <transform dir path=etc$ -> drop>
       
    35 <transform dir file link path=opt.* -> drop>
       
    36 <transform dir path=usr$ -> drop>
       
    37 <transform dir path=usr/bin$ -> drop>
       
    38 <transform dir file path=usr/include/gssapi.* -> drop>
       
    39 <transform dir path=usr/lib$ -> drop>
       
    40 <transform dir path=usr/share$ -> drop>
       
    41 <transform dir path=usr/share/doc$ -> drop>
       
    42 <transform dir path=var$ -> drop>
       
    43 <transform dir path=var/lib$ -> drop>
       
    44 
       
    45 # Samba customized krb5-config
       
    46 <transform file path=usr/bin/krb5-config -> drop>
       
    47 
       
    48 # Remove the named files with strange deps breaking the pkglint
       
    49 <transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/external/subunit/run.py -> drop>
       
    50 <transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/external/subunit/run.pyc -> drop>
       
    51 <transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/external/subunit/tests/sample-script.py -> drop>
       
    52 <transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/external/subunit/tests/sample-script.pyc -> drop>
       
    53 
       
    54 # Oracle HSM (SAMFS) is not yet supported on 12.0
       
    55 #<transform file path=usr/lib/samba/vfs/samfs.so -> default pkg.depend.bypass-generate .*>
       
    56 #<transform file path=usr/lib/samba/vfs/samfs.so -> default pkg.linted.userland.action001.3 true>
       
    57 
       
    58 # mediated links macros to switch between Samba 4 and and possibly any forked release
       
    59 <transform link target=.*/lib/samba/(s)?bin/.+ -> default mediator samba >
       
    60 <transform link target=.*/lib/samba/(s)?bin/.+ -> default mediator-implementation 4 >
       
    61 <transform link target=.*/lib/samba/(s)?bin/.+ -> default mediator-priority vendor >
       
    62 
       
    63 <transform link target=.*/samba/($(MACH64)/)?nss_.+\.so.* -> default mediator samba >
       
    64 <transform link target=.*/samba/($(MACH64)/)?nss_.+\.so.* -> default mediator-implementation 4 >
       
    65 <transform link target=.*/samba/($(MACH64)/)?nss_.+\.so.* -> default mediator-priority vendor >
       
    66 
       
    67 <transform link target=.*/samba/security/($(MACH64)/)?pam_.+\.so -> default mediator samba >
       
    68 <transform link target=.*/samba/security/($(MACH64)/)?pam_.+\.so -> default mediator-implementation 4 >
       
    69 <transform link target=.*/samba/security/($(MACH64)/)?pam_.+\.so -> default mediator-priority vendor >
       
    70 
       
    71 # SMF services import (for .xml manifests)
       
    72 <transform file path=lib/svc/manifest/.+\.xml -> default restart_fmri svc:/system/manifest-import:default >
       
    73 
       
    74 # samba confdir
       
    75 dir  path=etc/samba/private mode=500
       
    76 
       
    77 # dirs not created by install
       
    78 dir  path=var/samba/com
       
    79 dir  path=var/samba/locks
       
    80 dir  path=var/samba/log
       
    81 dir  path=var/spool/samba mode=1777
       
    82 
       
    83 # Samba can be used in Asian multibyte language envs. so we need this
       
    84 $(SOLARIS_12_ONLY)depend type=require fmri=pkg:/system/library/iconv
       
    85 $(SOLARIS_11_ONLY)depend type=require fmri=pkg:/system/library/iconv/extra