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 # samba36 is not yet in pkg-repo ...can be removed after push |
|
26 <transform file path=usr/lib/samba/samba36/.+ -> default pkg.depend.bypass-generate .*> |
|
27 <transform file path=usr/lib/samba/samba36/.+ -> default pkg.linted.userland.action001.3 true> |
|
28 |
|
29 <include samba.p5m.common> |
|
30 |
|
31 # "samba36.proto-objects"-file is created using the command: |
|
32 # gmake sample-manifest METADATA_TEMPLATE= |
|
33 # as a "sample-manifest"-file (in build/ dir) and is pkgfmt clean |
|
34 # (because there is no template header placed on beginning of file) |
|
35 # All individual actions and attribute settings on pkg objects should |
|
36 # be performed by "<transform ...> (pkgmogrify) actions. |
|
37 <include samba36.proto-objects> |
|
38 |
|
39 # pkg attributes |
|
40 set name=pkg.fmri \ |
|
41 value=pkg:/service/network/samba/samba36@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
42 set name=pkg.summary value="samba - A Windows SMB/CIFS fileserver for UNIX" |
|
43 |
|
44 # temporary, until the mediated links are replaced in the reference repo |
|
45 set name=pkg.linted.pkglint.dupaction001.1 value=true |
|
46 set name=pkg.linted.pkglint.dupaction010.1 value=true |
|
47 set name=pkg.linted.pkglint.dupaction010.2 value=true |
|
48 # |
|
49 set name=com.oracle.info.description value="Samba, a SMB/CIFS fileserver" |
|
50 set name=com.oracle.info.tpno value=$(TPNO) |
|
51 set name=info.classification \ |
|
52 value="org.opensolaris.category.2008:System/File System" |
|
53 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
54 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
55 set name=org.opensolaris.arc-caseid value=PSARC/2015/008 |
|
56 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
57 |
|
58 # samba confdir |
|
59 dir path=etc/samba/private mode=500 |
|
60 |
|
61 |
|
62 # bin (mediated links) |
|
63 link path=usr/bin/eventlogadm target=../lib/samba/samba36/bin/eventlogadm |
|
64 link path=usr/bin/net target=../lib/samba/samba36/bin/net |
|
65 link path=usr/bin/nmblookup target=../lib/samba/samba36/bin/nmblookup |
|
66 link path=usr/bin/ntlm_auth target=../lib/samba/samba36/bin/ntlm_auth |
|
67 link path=usr/bin/pdbedit target=../lib/samba/samba36/bin/pdbedit |
|
68 link path=usr/bin/rpcclient target=../lib/samba/samba36/bin/rpcclient |
|
69 link path=usr/bin/sharesec target=../lib/samba/samba36/bin/sharesec |
|
70 link path=usr/bin/smbcacls target=../lib/samba/samba36/bin/smbcacls |
|
71 link path=usr/bin/smbclient target=../lib/samba/samba36/bin/smbclient |
|
72 link path=usr/bin/smbcontrol target=../lib/samba/samba36/bin/smbcontrol |
|
73 link path=usr/bin/smbcquotas target=../lib/samba/samba36/bin/smbcquotas |
|
74 link path=usr/bin/smbget target=../lib/samba/samba36/bin/smbget |
|
75 link path=usr/bin/smbpasswd target=../lib/samba/samba36/bin/smbpasswd |
|
76 link path=usr/bin/smbprofiles target=../lib/samba/samba36/bin/profiles |
|
77 link path=usr/bin/smbspool target=../lib/samba/samba36/bin/smbspool |
|
78 link path=usr/bin/smbstatus target=../lib/samba/samba36/bin/smbstatus |
|
79 link path=usr/bin/smbta-util target=../lib/samba/samba36/bin/smbta-util |
|
80 link path=usr/bin/smbtar target=../lib/samba/samba36/bin/smbtar |
|
81 link path=usr/bin/smbtree target=../lib/samba/samba36/bin/smbtree |
|
82 link path=usr/bin/tdbbackup target=../lib/samba/samba36/bin/tdbbackup |
|
83 link path=usr/bin/tdbdump target=../lib/samba/samba36/bin/tdbdump |
|
84 link path=usr/bin/tdbrestore target=../lib/samba/samba36/bin/tdbrestore |
|
85 link path=usr/bin/tdbtool target=../lib/samba/samba36/bin/tdbtool |
|
86 link path=usr/bin/testparm target=../lib/samba/samba36/bin/testparm |
|
87 link path=usr/bin/wbinfo target=../lib/samba/samba36/bin/wbinfo |
|
88 |
|
89 # nss_libs |
|
90 link path=usr/lib/$(MACH64)/nss_winbind.so.1 \ |
|
91 target=../samba/samba36/lib/$(MACH64)/nss_winbind.so |
|
92 link path=usr/lib/nss_winbind.so.1 target=./samba/samba36/lib/nss_winbind.so |
|
93 |
|
94 # nss_libs files Samba 3.x do not deliver it by gmake install |
|
95 # note: nss_wins.so is discontinued in Samba4 |
|
96 file build/$(MACH64)/nsswitch/libnss_winbind.so \ |
|
97 path=usr/lib/samba/samba36/lib/$(MACH64)/nss_winbind.so |
|
98 file build/$(MACH64)/nsswitch/libnss_wins.so \ |
|
99 path=usr/lib/samba/samba36/lib/$(MACH64)/nss_wins.so |
|
100 file build/$(MACH32)/nsswitch/libnss_winbind.so \ |
|
101 path=usr/lib/samba/samba36/lib/nss_winbind.so |
|
102 file build/$(MACH32)/nsswitch/libnss_wins.so \ |
|
103 path=usr/lib/samba/samba36/lib/nss_wins.so |
|
104 |
|
105 # PAM-libs |
|
106 link path=usr/lib/security/$(MACH64)/pam_smbpass.so \ |
|
107 target=../../samba/samba36/lib/$(MACH64)/security/pam_smbpass.so |
|
108 link path=usr/lib/security/$(MACH64)/pam_smbpass.so.1 \ |
|
109 target=../../samba/samba36/lib/$(MACH64)/security/pam_smbpass.so |
|
110 link path=usr/lib/security/$(MACH64)/pam_winbind.so \ |
|
111 target=../../samba/samba36/lib/$(MACH64)/security/pam_winbind.so |
|
112 link path=usr/lib/security/$(MACH64)/pam_winbind.so.1 \ |
|
113 target=../../samba/samba36/lib/$(MACH64)/security/pam_winbind.so |
|
114 link path=usr/lib/security/pam_smbpass.so \ |
|
115 target=../samba/samba36/lib/security/pam_smbpass.so |
|
116 link path=usr/lib/security/pam_smbpass.so.1 \ |
|
117 target=../samba/samba36/lib/security/pam_smbpass.so |
|
118 link path=usr/lib/security/pam_winbind.so \ |
|
119 target=../samba/samba36/lib/security/pam_winbind.so |
|
120 link path=usr/lib/security/pam_winbind.so.1 \ |
|
121 target=../samba/samba36/lib/security/pam_winbind.so |
|
122 |
|
123 # sbin |
|
124 # (note) SWAT is definitivelly gone in Samba4. |
|
125 link path=usr/sbin/nmbd target=../lib/samba/samba36/sbin/nmbd |
|
126 link path=usr/sbin/smbd target=../lib/samba/samba36/sbin/smbd |
|
127 link path=usr/sbin/winbindd target=../lib/samba/samba36/sbin/winbindd |
|
128 |
|
129 # dirs not created by install |
|
130 dir path=var/samba/locks |
|
131 dir path=var/samba/log |
|
132 dir path=var/spool/samba mode=1777 |
|
133 |
|
134 # |
|
135 legacy pkg=SUNWsmbar \ |
|
136 desc="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" \ |
|
137 name="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" |
|
138 legacy pkg=SUNWsmbau \ |
|
139 desc="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" \ |
|
140 name="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" |
|
141 license samba36.license license=GPLv3 |
|
142 |
|
143 # dependency can be removed later (after initial push) |
|
144 depend type=require fmri=library/samba/libsmbclient |
|
145 |
|
146 # Samba can be used in Asian multibyte language envs. so we need this |
|
147 depend type=require fmri=pkg:/system/library/iconv |
|