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.
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.
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]
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2020 Rouven Weiler
23 # Copyright 2023,2024 Friedrich Kink
30 dir path=etc/samba/private mode=500
33 dir path=usr/include/samba
36 dir path=var/samba/cache
37 dir path=var/samba/com
38 dir path=var/samba/lib
39 dir path=var/samba/lock
40 dir path=var/samba/locks
41 dir path=var/samba/log
42 dir path=var/samba/run
43 dir path=var/spool/samba mode=1777
47 file usr/share/man/man1/profiles.1 path=usr/share/man/man1/smbprofiles.1
48 file usr/share/man/man8/smbd.8 path=usr/share/man/man8/samba_smbd.8
50 <include samba.proto-objects>
52 # 64-bit libraries are installed in /usr/lib/samba/
53 <transform file path=usr/lib/samba/*/.*.so.* -> default pkg.linted.userland.action001.2 true >
56 <transform file path=usr/share/man/man1/profiles.1 -> drop >
57 <transform file path=usr/share/man/man8/smbd.8 -> drop >
58 <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile >
61 <transform file path=.*\.py$ -> default pkg.tmp.autopyc false>
62 <transform file path=usr/(.*) -> default pkg.depend.runpath "$PKGDEPEND_RUNPATH:/usr/lib/python$(PYVER)/vendor-packages:/usr/lib/python$(PYVER)/vendor-packages/samba:/usr/lib/python$(PYVER)/vendor-packages/samba/gp:/usr/lib/python$(PYVER)/vendor-packages/samba/subunit:/usr/lib/python$(PYVER)/vendor-packages/samba/third_party" >
63 <transform file path=.*/dns_hub.py -> default pkg.depend.bypass-generate .* >
64 <transform file path=.*/run.py -> default pkg.depend.bypass-generate .* >
65 <transform file path=.*/samba_upgradedns -> default pkg.depend.bypass-generate .* >
66 <transform file path=.*/samba_dnsupdate -> default pkg.depend.bypass-generate .* >
67 <transform file path=.*/samba-gpupdate -> default pkg.depend.bypass-generate .* >
68 <transform file path=.*/samba-log-parser -> default pkg.depend.bypass-generate .* >
69 <transform file path=.*/tests -> default pkg.depend.bypass-generate .* >
71 # service manifests to install
72 file Solaris/samba.xml path=lib/svc/manifest/network/samba.xml
73 file Solaris/winbind.xml path=lib/svc/manifest/network/winbind.xml
74 file Solaris/wins.xml path=lib/svc/manifest/network/wins.xml
76 file Solaris/samba.sh path=lib/svc/method/samba
80 file path=usr/lib/samba/bin/cifsdd
81 link path=usr/bin/cifsdd target=../lib/samba/bin/cifsdd
82 file path=usr/lib/samba/bin/dbwrap_tool
83 link path=usr/bin/dbwrap_tool target=../lib/samba/bin/dbwrap_tool
84 # Maybe one day we can set target and source to sbin.
85 # left the following for compatibility purposes
86 file path=usr/lib/samba/sbin/eventlogadm
87 link path=usr/bin/eventlogadm target=../lib/samba/sbin/eventlogadm
88 file path=usr/lib/samba/bin/gentest
89 link path=usr/bin/gentest target=../lib/samba/bin/gentest
90 file path=usr/lib/samba/bin/ldbadd
91 link path=usr/bin/ldbadd target=../lib/samba/bin/ldbadd
92 file path=usr/lib/samba/bin/ldbdel
93 link path=usr/bin/ldbdel target=../lib/samba/bin/ldbdel
94 file path=usr/lib/samba/bin/ldbedit
95 link path=usr/bin/ldbedit target=../lib/samba/bin/ldbedit
96 file path=usr/lib/samba/bin/ldbmodify
97 link path=usr/bin/ldbmodify target=../lib/samba/bin/ldbmodify
98 file path=usr/lib/samba/bin/ldbrename
99 link path=usr/bin/ldbrename target=../lib/samba/bin/ldbrename
100 file path=usr/lib/samba/bin/ldbsearch
101 link path=usr/bin/ldbsearch target=../lib/samba/bin/ldbsearch
102 file path=usr/lib/samba/bin/locktest
103 link path=usr/bin/locktest target=../lib/samba/bin/locktest
104 file path=usr/lib/samba/bin/masktest
105 link path=usr/bin/masktest target=../lib/samba/bin/masktest
106 file path=usr/lib/samba/bin/mdsearch
107 link path=usr/bin/mdsearch target=../lib/samba/bin/mdsearch
108 file path=usr/lib/samba/bin/mvxattr
109 link path=usr/bin/mvxattr target=../lib/samba/bin/mvxattr
110 file path=usr/lib/samba/bin/ndrdump
111 link path=usr/bin/ndrdump target=../lib/samba/bin/ndrdump
112 file path=usr/lib/samba/bin/net
113 link path=usr/bin/net target=../lib/samba/bin/net
114 file path=usr/lib/samba/bin/nmblookup
115 link path=usr/bin/nmblookup target=../lib/samba/bin/nmblookup
116 file path=usr/lib/samba/bin/ntlm_auth
117 link path=usr/bin/ntlm_auth target=../lib/samba/bin/ntlm_auth
118 file path=usr/lib/samba/bin/oLschema2ldif
119 link path=usr/bin/oLschema2ldif target=../lib/samba/bin/oLschema2ldif
120 file path=usr/lib/samba/bin/pdbedit
121 link path=usr/bin/pdbedit target=../lib/samba/bin/pdbedit
122 file path=usr/lib/samba/bin/profiles
123 link path=usr/bin/smbprofiles target=../lib/samba/bin/profiles
125 # as of now pidl is not installed anymore by waf.
126 # there are patches and discussions pending at upstream for re-adding pidl as an install target again.
127 # see: https://gitlab.com/samba-team/devel/samba/pipelines/78660819
128 # these lines should be removed after upstreams has decided what to do.
129 # revise the issues on next samba update, please.
130 #link path=usr/bin/pidl target=../lib/samba/bin/pidl
132 file path=usr/lib/samba/bin/regdiff
133 link path=usr/bin/regdiff target=../lib/samba/bin/regdiff
134 file path=usr/lib/samba/bin/regpatch
135 link path=usr/bin/regpatch target=../lib/samba/bin/regpatch
136 file path=usr/lib/samba/bin/regshell
137 link path=usr/bin/regshell target=../lib/samba/bin/regshell
138 file path=usr/lib/samba/bin/regtree
139 link path=usr/bin/regtree target=../lib/samba/bin/regtree
140 file path=usr/lib/samba/bin/rpcclient
141 link path=usr/bin/rpcclient target=../lib/samba/bin/rpcclient
142 file path=usr/lib/samba/bin/samba-log-parser
143 link path=usr/bin/samba-log-parser target=../lib/samba/bin/samba-log-parser
144 file path=usr/lib/samba/bin/samba-regedit
145 link path=usr/bin/samba-regedit target=../lib/samba/bin/samba-regedit
146 file path=usr/lib/samba/bin/samba-tool
147 link path=usr/bin/samba-tool target=../lib/samba/bin/samba-tool
148 file path=usr/lib/samba/bin/sharesec
149 link path=usr/bin/sharesec target=../lib/samba/bin/sharesec
150 file path=usr/lib/samba/bin/smbcacls
151 link path=usr/bin/smbcacls target=../lib/samba/bin/smbcacls
152 file path=usr/lib/samba/bin/smbclient
153 link path=usr/bin/smbclient target=../lib/samba/bin/smbclient
154 file path=usr/lib/samba/bin/smbcontrol
155 link path=usr/bin/smbcontrol target=../lib/samba/bin/smbcontrol
156 file path=usr/lib/samba/bin/smbcquotas
157 link path=usr/bin/smbcquotas target=../lib/samba/bin/smbcquotas
158 file path=usr/lib/samba/bin/smbget
159 link path=usr/bin/smbget target=../lib/samba/bin/smbget
160 file path=usr/lib/samba/bin/smbpasswd
161 link path=usr/bin/smbpasswd target=../lib/samba/bin/smbpasswd
162 file path=usr/lib/samba/bin/smbspool
163 link path=usr/bin/smbspool target=../lib/samba/bin/smbspool
164 file path=usr/lib/samba/bin/smbstatus
165 link path=usr/bin/smbstatus target=../lib/samba/bin/smbstatus
166 file path=usr/lib/samba/bin/smbtar
167 link path=usr/bin/smbtar target=../lib/samba/bin/smbtar
168 file path=usr/lib/samba/bin/smbtorture
169 link path=usr/bin/smbtorture target=../lib/samba/bin/smbtorture
170 file path=usr/lib/samba/bin/smbtree
171 link path=usr/bin/smbtree target=../lib/samba/bin/smbtree
172 file path=usr/lib/samba/bin/tdbbackup
173 link path=usr/bin/tdbbackup target=../lib/samba/bin/tdbbackup
174 file path=usr/lib/samba/bin/tdbdump
175 link path=usr/bin/tdbdump target=../lib/samba/bin/tdbdump
176 file path=usr/lib/samba/bin/tdbrestore
177 link path=usr/bin/tdbrestore target=../lib/samba/bin/tdbrestore
178 file path=usr/lib/samba/bin/tdbtool
179 link path=usr/bin/tdbtool target=../lib/samba/bin/tdbtool
180 file path=usr/lib/samba/bin/testparm
181 link path=usr/bin/testparm target=../lib/samba/bin/testparm
182 file path=usr/lib/samba/bin/wbinfo
183 link path=usr/bin/wbinfo target=../lib/samba/bin/wbinfo
184 file path=usr/lib/samba/bin/wspsearch
185 link path=usr/bin/wspsearch target=../lib/samba/bin/wspsearch
189 file path=usr/lib/samba/nss_winbind.so.1
190 link path=usr/lib/nss_winbind.so.1 target=./samba/nss_winbind.so.1
194 file path=usr/lib/samba/security/pam_winbind.so
195 link path=usr/lib/security/pam_winbind.so target=./../samba/security/pam_winbind.so
196 link path=usr/lib/security/pam_winbind.so.1 target=./../samba/security/pam_winbind.so
200 file path=usr/lib/samba/sbin/nmbd
201 link path=usr/sbin/nmbd target=../lib/samba/sbin/nmbd
202 file path=usr/lib/samba/sbin/smbd
203 link path=usr/sbin/smbd target=../lib/samba/sbin/smbd
204 file path=usr/lib/samba/sbin/winbindd
205 link path=usr/sbin/winbindd target=../lib/samba/sbin/winbindd