samba.p5m revision 6094
264N/A#
264N/A# CDDL HEADER START
264N/A#
264N/A# The contents of this file are subject to the terms of the
264N/A# Common Development and Distribution License (the "License").
264N/A# You may not use this file except in compliance with the License.
264N/A#
264N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
264N/A# or http://www.opensolaris.org/os/licensing.
264N/A# See the License for the specific language governing permissions
264N/A# and limitations under the License.
264N/A#
264N/A# When distributing Covered Code, include this CDDL HEADER in each
264N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
264N/A# If applicable, add the following below this CDDL HEADER, with the
264N/A# fields enclosed by brackets "[]" replaced with your own identifying
264N/A# information: Portions Copyright [yyyy] [name of copyright owner]
264N/A#
264N/A# CDDL HEADER END
264N/A#
6094N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
264N/A#
264N/A
6094N/A<transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
6094N/A
6094N/A# /etc/samba/private should not even be readable fo non-root users.
6094N/A<transform dir path=etc/samba/private -> default mode 500>
6094N/A
6094N/A# smbprofiles man
6094N/A<transform file path=usr/share/man/man1/profiles.1 -> drop>
6094N/A
6094N/A# General dirs generated in sample-manifest but with bad attribs.
6094N/A<transform dir path=etc$ -> drop>
6094N/A<transform dir file link path=opt.* -> drop>
6094N/A<transform dir path=usr.* -> drop>
6094N/A<transform dir file path=usr/include/gssapi.* -> drop>
6094N/A<transform dir path=var$ -> drop>
6094N/A<transform dir path=var/lib$ -> drop>
6094N/A
6094N/A# Unit test suite testtools is now the python package
6094N/A<transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/external/testtools.* -> drop>
6094N/A
6094N/A# Samba customized krb5-config
6094N/A<transform file path=usr/bin/krb5-config -> drop>
6094N/A
6094N/A# Remove the named files with strange deps breaking the pkglint
6094N/A<transform dir file path=usr/lib/python2.7/vendor-packages/64/samba/samba/subunit.* -> drop>
6094N/A<transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/tests/subunitrun.* -> drop>
6094N/A<transform file path=usr/lib/python2.7/vendor-packages/64/samba/samba/tests/dcerpc/raw_protocol.* -> drop>
6094N/A
6094N/A# Oracle HSM (SAMFS) is not yet supported on 12.0
6094N/A#<transform file path=usr/lib/samba/vfs/samfs.so -> default pkg.depend.bypass-generate .*>
6094N/A#<transform file path=usr/lib/samba/vfs/samfs.so -> default pkg.linted.userland.action001.3 true>
6094N/A
6094N/A# mediated links macros to switch between Samba 4 and and possibly any forked release
6094N/A<transform link target=.*/lib/samba/(s)?bin/.+ -> default mediator samba >
6094N/A<transform link target=.*/lib/samba/(s)?bin/.+ -> default mediator-implementation 4 >
6094N/A<transform link target=.*/lib/samba/(s)?bin/.+ -> default mediator-priority vendor >
6094N/A
6094N/A<transform link target=.*/samba/($(MACH64)/)?nss_.+\.so.* -> default mediator samba >
6094N/A<transform link target=.*/samba/($(MACH64)/)?nss_.+\.so.* -> default mediator-implementation 4 >
6094N/A<transform link target=.*/samba/($(MACH64)/)?nss_.+\.so.* -> default mediator-priority vendor >
6094N/A
6094N/A<transform link target=.*/samba/security/($(MACH64)/)?pam_.+\.so -> default mediator samba >
6094N/A<transform link target=.*/samba/security/($(MACH64)/)?pam_.+\.so -> default mediator-implementation 4 >
6094N/A<transform link target=.*/samba/security/($(MACH64)/)?pam_.+\.so -> default mediator-priority vendor >
6094N/A
6094N/A# SMF services import (for .xml manifests)
6094N/A<transform file path=lib/svc/manifest/.+\.xml -> default restart_fmri svc:/system/manifest-import:default >
3732N/A
4431N/A# "samba.proto-objects"-file is created using the command:
4431N/A# gmake sample-manifest METADATA_TEMPLATE=
4431N/A# as a "sample-manifest"-file (in build/ dir) and is pkgfmt clean
4431N/A# All individual actions and attribute settings on pkg objects should
4431N/A# be performed by "<transform ...> (pkgmogrify) actions in "samba.p5m.common".
4431N/A<include samba.proto-objects>
4431N/A
4431N/A# pkg attributes
3732N/Aset name=pkg.fmri \
3732N/A value=pkg:/service/network/samba@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
264N/Aset name=pkg.summary value="samba - A Windows SMB/CIFS fileserver for UNIX"
4375N/Aset name=com.oracle.info.description value="Samba, a SMB/CIFS fileserver"
4375N/Aset name=com.oracle.info.tpno value=$(TPNO)
3732N/Aset name=info.classification \
3732N/A value="org.opensolaris.category.2008:System/File System"
3732N/Aset name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
464N/Aset name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
4431N/Aset name=org.opensolaris.arc-caseid value=PSARC/2015/008
264N/Aset name=org.opensolaris.consolidation value=$(CONSOLIDATION)
264N/A
4431N/A# pam.conf is now modularized using /etc/pam.d/ which is fine for adding of PAM-using services
4431N/A# ...but add of new pam_-backend will need further fix.
4431N/A# pam.conf-winbind is now obsoleted:
4431N/A#file Solaris/pam.conf-winbind path=etc/pam.d/
4431N/A
4431N/A# samba confdir
4431N/Adir path=etc/samba/private mode=500
4431N/Afile examples/smb.conf.default path=etc/samba/smb.conf.default
4431N/A
4431N/A# service manifests to install
4431N/Afile Solaris/samba.xml path=lib/svc/manifest/network/samba.xml
4431N/Afile Solaris/winbind.xml path=lib/svc/manifest/network/winbind.xml
4431N/Afile Solaris/wins.xml path=lib/svc/manifest/network/wins.xml
4431N/A# service method
4431N/Afile Solaris/samba.sh path=lib/svc/method/samba
4431N/A
264N/A#
4431N/A# bin (mediated links)
4431N/A# Samba CLI (available on standard path) is now frozen (reduced) to original
4431N/A# Samba 3.6 command-set to be able to handle thwse mediated links by a more
4431N/A# programmatical way.
4431N/A# (note) commented links documents the difference between the Samba 3.6 and
4431N/A# Samba4 CLI. If the Samba4 utility is needed it should be called from its
4431N/A# /usr/lib/samba/bin ...path.
4375N/A#
4431N/A#link path=usr/bin/cifsdd target=../lib/samba/bin/cifsdd target
4431N/A#link path=usr/bin/dbwrap_tool target=../lib/samba/bin/dbwrap_tool
4431N/Alink path=usr/bin/eventlogadm target=../lib/samba/bin/eventlogadm
4431N/A#link path=usr/bin/gentest target=../lib/samba/bin/gentest
4431N/A#link path=usr/bin/ldbadd target=../lib/samba/bin/ldbadd
4431N/A#link path=usr/bin/ldbdel target=../lib/samba/bin/ldbdel
4431N/A#link path=usr/bin/ldbedit target=../lib/samba/bin/ldbedit
4431N/A#link path=usr/bin/ldbmodify target=../lib/samba/bin/ldbmodify
4431N/A#link path=usr/bin/ldbrename target=../lib/samba/bin/ldbrename
4431N/A#link path=usr/bin/ldbsearch target=../lib/samba/bin/ldbsearch
4431N/A#link path=usr/bin/locktest target=../lib/samba/bin/locktest
4431N/A#link path=usr/bin/masktest target=../lib/samba/bin/masktest
4431N/A#link path=usr/bin/ndrdump target=../lib/samba/bin/ndrdump
4431N/Alink path=usr/bin/net target=../lib/samba/bin/net
4431N/Alink path=usr/bin/nmblookup target=../lib/samba/bin/nmblookup
4431N/A#link path=usr/bin/nmblookup4 target=../lib/samba/bin/nmblookup4
4431N/A#link path=usr/bin/ntdbbackup target=../lib/samba/bin/ntdbbackup
4431N/A#link path=usr/bin/ntdbdump target=../lib/samba/bin/ntdbdump
4431N/A#link path=usr/bin/ntdbrestore target=../lib/samba/bin/ntdbrestore
4431N/A#link path=usr/bin/ntdbtool target=../lib/samba/bin/ntdbtool
4431N/Alink path=usr/bin/ntlm_auth target=../lib/samba/bin/ntlm_auth
4431N/A#link path=usr/bin/oLschema2ldif target=../lib/samba/bin/oLschema2ldif
4431N/Alink path=usr/bin/pdbedit target=../lib/samba/bin/pdbedit
4431N/A#link path=usr/bin/pidl target=../lib/samba/bin/pidl
4431N/A#link path=usr/bin/regdiff target=../lib/samba/bin/regdiff
4431N/A#link path=usr/bin/regpatch target=../lib/samba/bin/regpatch
4431N/A#link path=usr/bin/regshell target=../lib/samba/bin/regshell
4431N/A#link path=usr/bin/regtree target=../lib/samba/bin/regtree
4431N/Alink path=usr/bin/rpcclient target=../lib/samba/bin/rpcclient
4431N/Alink path=usr/bin/sharesec target=../lib/samba/bin/sharesec
4431N/Alink path=usr/bin/smbcacls target=../lib/samba/bin/smbcacls
4431N/Alink path=usr/bin/smbclient target=../lib/samba/bin/smbclient
4431N/Alink path=usr/bin/smbcontrol target=../lib/samba/bin/smbcontrol
4431N/Alink path=usr/bin/smbcquotas target=../lib/samba/bin/smbcquotas
4431N/Alink path=usr/bin/smbget target=../lib/samba/bin/smbget
4431N/Alink path=usr/bin/smbpasswd target=../lib/samba/bin/smbpasswd
4431N/Alink path=usr/bin/smbprofiles target=../lib/samba/bin/profiles
4431N/Alink path=usr/bin/smbspool target=../lib/samba/bin/smbspool
4431N/Alink path=usr/bin/smbstatus target=../lib/samba/bin/smbstatus
4431N/Alink path=usr/bin/smbtar target=../lib/samba/bin/smbtar
4431N/Alink path=usr/bin/smbtorture target=../lib/samba/bin/smbtorture
4431N/Alink path=usr/bin/smbtree target=../lib/samba/bin/smbtree
4431N/Alink path=usr/bin/tdbbackup target=../lib/samba/bin/tdbbackup
4431N/Alink path=usr/bin/tdbdump target=../lib/samba/bin/tdbdump
4431N/Alink path=usr/bin/tdbrestore target=../lib/samba/bin/tdbrestore
4431N/Alink path=usr/bin/tdbtool target=../lib/samba/bin/tdbtool
4431N/Alink path=usr/bin/testparm target=../lib/samba/bin/testparm
4431N/Alink path=usr/bin/wbinfo target=../lib/samba/bin/wbinfo
4431N/A
4375N/A#
4431N/A# nss_libs
4431N/Alink path=usr/lib/$(MACH64)/nss_winbind.so.1 \
4431N/A target=../samba/$(MACH64)/nss_winbind.so.1
4431N/Alink path=usr/lib/nss_winbind.so.1 target=./samba/nss_winbind.so.1
4431N/A
3732N/A#
4431N/A# PAM-libs
4431N/Alink path=usr/lib/security/$(MACH64)/pam_winbind.so \
5135N/A target=../../samba/security/$(MACH64)/pam_winbind.so
4431N/Alink path=usr/lib/security/$(MACH64)/pam_winbind.so.1 \
5135N/A target=../../samba/security/$(MACH64)/pam_winbind.so
4431N/Alink path=usr/lib/security/pam_winbind.so \
4431N/A target=../samba/security/pam_winbind.so
4431N/Alink path=usr/lib/security/pam_winbind.so.1 \
4431N/A target=../samba/security/pam_winbind.so
4431N/A
4431N/A#
4431N/A# sbin
4431N/A# (note) SWAT is definitivelly gone in Samba4.
4431N/Alink path=usr/sbin/nmbd target=../lib/samba/sbin/nmbd
4431N/Alink path=usr/sbin/smbd target=../lib/samba/sbin/smbd
4431N/Alink path=usr/sbin/winbindd target=../lib/samba/sbin/winbindd
4431N/A
4431N/A#
4431N/A# smbprofiles
3732N/Afile usr/share/man/man1/profiles.1 path=usr/share/man/man1/smbprofiles.1
4431N/A
4431N/A#
4431N/A# dirs not created by install
4431N/Adir path=var/samba/com
3732N/Adir path=var/samba/locks
3732N/Adir path=var/samba/log
3732N/Adir path=var/spool/samba mode=1777
4431N/A
4431N/A#
3732N/Alegacy pkg=SUNWsmbar \
3732N/A desc="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" \
3732N/A name="samba - A Windows SMB/CIFS fileserver for UNIX (Root)"
3732N/Alegacy pkg=SUNWsmbau \
3732N/A desc="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" \
3732N/A name="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)"
4431N/Alicense samba.license license=GPLv3
6094N/A
6094N/A# Samba can be used in Asian multibyte language envs. so we need this
6094N/Adepend type=require fmri=pkg:/system/library/iconv