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 <include samba.p5m.common> |
|
25 |
|
26 # "samba.proto-objects"-file is created using the command: |
|
27 # gmake sample-manifest METADATA_TEMPLATE= |
|
28 # as a "sample-manifest"-file (in build/ dir) and is pkgfmt clean |
|
29 # All individual actions and attribute settings on pkg objects should |
|
30 # be performed by "<transform ...> (pkgmogrify) actions in "samba.p5m.common". |
|
31 <include samba.proto-objects> |
|
32 |
|
33 # pkg attributes |
|
34 set name=pkg.fmri \ |
|
35 value=pkg:/service/network/samba@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
36 set name=pkg.summary value="samba - A Windows SMB/CIFS fileserver for UNIX" |
|
37 set name=com.oracle.info.description value="Samba, a SMB/CIFS fileserver" |
|
38 set name=com.oracle.info.tpno value=$(TPNO) |
|
39 set name=info.classification \ |
|
40 value="org.opensolaris.category.2008:System/File System" |
|
41 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
42 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
43 set name=org.opensolaris.arc-caseid value=PSARC/2015/008 |
|
44 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
45 |
|
46 # pam.conf is now modularized using /etc/pam.d/ which is fine for adding of PAM-using services |
|
47 # ...but add of new pam_-backend will need further fix. |
|
48 # pam.conf-winbind is now obsoleted: |
|
49 #file Solaris/pam.conf-winbind path=etc/pam.d/ |
|
50 |
|
51 # samba confdir |
|
52 dir path=etc/samba/private mode=500 |
|
53 file examples/smb.conf.default path=etc/samba/smb.conf.default |
|
54 |
|
55 # service manifests to install |
|
56 file Solaris/samba.xml path=lib/svc/manifest/network/samba.xml |
|
57 file Solaris/winbind.xml path=lib/svc/manifest/network/winbind.xml |
|
58 file Solaris/wins.xml path=lib/svc/manifest/network/wins.xml |
|
59 # service method |
|
60 file Solaris/samba.sh path=lib/svc/method/samba |
|
61 |
|
62 # |
|
63 # bin (mediated links) |
|
64 # Samba CLI (available on standard path) is now frozen (reduced) to original |
|
65 # Samba 3.6 command-set to be able to handle thwse mediated links by a more |
|
66 # programmatical way. |
|
67 # (note) commented links documents the difference between the Samba 3.6 and |
|
68 # Samba4 CLI. If the Samba4 utility is needed it should be called from its |
|
69 # /usr/lib/samba/bin ...path. |
|
70 # |
|
71 #link path=usr/bin/cifsdd target=../lib/samba/bin/cifsdd target |
|
72 #link path=usr/bin/dbwrap_tool target=../lib/samba/bin/dbwrap_tool |
|
73 link path=usr/bin/eventlogadm target=../lib/samba/bin/eventlogadm |
|
74 #link path=usr/bin/gentest target=../lib/samba/bin/gentest |
|
75 #link path=usr/bin/ldbadd target=../lib/samba/bin/ldbadd |
|
76 #link path=usr/bin/ldbdel target=../lib/samba/bin/ldbdel |
|
77 #link path=usr/bin/ldbedit target=../lib/samba/bin/ldbedit |
|
78 #link path=usr/bin/ldbmodify target=../lib/samba/bin/ldbmodify |
|
79 #link path=usr/bin/ldbrename target=../lib/samba/bin/ldbrename |
|
80 #link path=usr/bin/ldbsearch target=../lib/samba/bin/ldbsearch |
|
81 #link path=usr/bin/locktest target=../lib/samba/bin/locktest |
|
82 #link path=usr/bin/masktest target=../lib/samba/bin/masktest |
|
83 #link path=usr/bin/ndrdump target=../lib/samba/bin/ndrdump |
|
84 link path=usr/bin/net target=../lib/samba/bin/net |
|
85 link path=usr/bin/nmblookup target=../lib/samba/bin/nmblookup |
|
86 #link path=usr/bin/nmblookup4 target=../lib/samba/bin/nmblookup4 |
|
87 #link path=usr/bin/ntdbbackup target=../lib/samba/bin/ntdbbackup |
|
88 #link path=usr/bin/ntdbdump target=../lib/samba/bin/ntdbdump |
|
89 #link path=usr/bin/ntdbrestore target=../lib/samba/bin/ntdbrestore |
|
90 #link path=usr/bin/ntdbtool target=../lib/samba/bin/ntdbtool |
|
91 link path=usr/bin/ntlm_auth target=../lib/samba/bin/ntlm_auth |
|
92 #link path=usr/bin/oLschema2ldif target=../lib/samba/bin/oLschema2ldif |
|
93 link path=usr/bin/pdbedit target=../lib/samba/bin/pdbedit |
|
94 #link path=usr/bin/pidl target=../lib/samba/bin/pidl |
|
95 #link path=usr/bin/regdiff target=../lib/samba/bin/regdiff |
|
96 #link path=usr/bin/regpatch target=../lib/samba/bin/regpatch |
|
97 #link path=usr/bin/regshell target=../lib/samba/bin/regshell |
|
98 #link path=usr/bin/regtree target=../lib/samba/bin/regtree |
|
99 link path=usr/bin/rpcclient target=../lib/samba/bin/rpcclient |
|
100 link path=usr/bin/sharesec target=../lib/samba/bin/sharesec |
|
101 link path=usr/bin/smbcacls target=../lib/samba/bin/smbcacls |
|
102 link path=usr/bin/smbclient target=../lib/samba/bin/smbclient |
|
103 link path=usr/bin/smbcontrol target=../lib/samba/bin/smbcontrol |
|
104 link path=usr/bin/smbcquotas target=../lib/samba/bin/smbcquotas |
|
105 link path=usr/bin/smbget target=../lib/samba/bin/smbget |
|
106 link path=usr/bin/smbpasswd target=../lib/samba/bin/smbpasswd |
|
107 link path=usr/bin/smbprofiles target=../lib/samba/bin/profiles |
|
108 link path=usr/bin/smbspool target=../lib/samba/bin/smbspool |
|
109 link path=usr/bin/smbstatus target=../lib/samba/bin/smbstatus |
|
110 link path=usr/bin/smbta-util target=../lib/samba/bin/smbta-util |
|
111 link path=usr/bin/smbtar target=../lib/samba/bin/smbtar |
|
112 link path=usr/bin/smbtorture target=../lib/samba/bin/smbtorture |
|
113 link path=usr/bin/smbtree target=../lib/samba/bin/smbtree |
|
114 link path=usr/bin/tdbbackup target=../lib/samba/bin/tdbbackup |
|
115 link path=usr/bin/tdbdump target=../lib/samba/bin/tdbdump |
|
116 link path=usr/bin/tdbrestore target=../lib/samba/bin/tdbrestore |
|
117 link path=usr/bin/tdbtool target=../lib/samba/bin/tdbtool |
|
118 link path=usr/bin/testparm target=../lib/samba/bin/testparm |
|
119 link path=usr/bin/wbinfo target=../lib/samba/bin/wbinfo |
|
120 |
|
121 # |
|
122 # nss_libs |
|
123 link path=usr/lib/$(MACH64)/nss_winbind.so.1 \ |
|
124 target=../samba/$(MACH64)/nss_winbind.so.1 |
|
125 link path=usr/lib/nss_winbind.so.1 target=./samba/nss_winbind.so.1 |
|
126 |
|
127 # |
|
128 # PAM-libs |
|
129 link path=usr/lib/security/$(MACH64)/pam_smbpass.so \ |
|
130 target=../../samba/security/$(MACH64)/pam_smbpass.so |
|
131 link path=usr/lib/security/$(MACH64)/pam_smbpass.so.1 \ |
|
132 target=../../samba/security/$(MACH64)/pam_smbpass.so |
|
133 link path=usr/lib/security/$(MACH64)/pam_winbind.so \ |
|
134 target=../../samba/security/$(MACH64)/pam_winbind.so |
|
135 link path=usr/lib/security/$(MACH64)/pam_winbind.so.1 \ |
|
136 target=../../samba/security/$(MACH64)/pam_winbind.so |
|
137 link path=usr/lib/security/pam_smbpass.so \ |
|
138 target=../samba/security/pam_smbpass.so |
|
139 link path=usr/lib/security/pam_smbpass.so.1 \ |
|
140 target=../samba/security/pam_smbpass.so |
|
141 link path=usr/lib/security/pam_winbind.so \ |
|
142 target=../samba/security/pam_winbind.so |
|
143 link path=usr/lib/security/pam_winbind.so.1 \ |
|
144 target=../samba/security/pam_winbind.so |
|
145 |
|
146 # |
|
147 # sbin |
|
148 # (note) SWAT is definitivelly gone in Samba4. |
|
149 link path=usr/sbin/nmbd target=../lib/samba/sbin/nmbd |
|
150 link path=usr/sbin/smbd target=../lib/samba/sbin/smbd |
|
151 link path=usr/sbin/winbindd target=../lib/samba/sbin/winbindd |
|
152 |
|
153 # |
|
154 # smbprofiles |
|
155 file usr/share/man/man1/profiles.1 path=usr/share/man/man1/smbprofiles.1 |
|
156 |
|
157 # |
|
158 # dirs not created by install |
|
159 dir path=var/samba/com |
|
160 dir path=var/samba/locks |
|
161 dir path=var/samba/log |
|
162 dir path=var/spool/samba mode=1777 |
|
163 |
|
164 # |
|
165 legacy pkg=SUNWsmbar \ |
|
166 desc="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" \ |
|
167 name="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" |
|
168 legacy pkg=SUNWsmbau \ |
|
169 desc="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" \ |
|
170 name="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" |
|
171 license samba.license license=GPLv3 |
|