| 1 | # TBD: |
|---|
| 2 | # - smb.conf is searched in /opt/csw/lib/64/smb.conf instead of /etc/opt/csw/samba/smb.conf |
|---|
| 3 | # - secrets.tdb is searched in /opt/csw/private/secrets.tdb instead of /etc/opt/csw/samba/private/secrets.tdb |
|---|
| 4 | # - Check http://src.opensolaris.org/source/xref/userland/src/components/samba/samba/ from time to time |
|---|
| 5 | |
|---|
| 6 | NAME = samba |
|---|
| 7 | VERSION = 3.6.5 |
|---|
| 8 | CATEGORIES = apps |
|---|
| 9 | GARTYPE = v2 |
|---|
| 10 | |
|---|
| 11 | DESCRIPTION = Tools to access a servers filespace and printers via SMB (server) |
|---|
| 12 | define BLURB |
|---|
| 13 | Tools to access a servers filespace and printers via SMB (server) |
|---|
| 14 | endef |
|---|
| 15 | |
|---|
| 16 | MASTER_SITES = http://samba.org/samba/ftp/stable/ |
|---|
| 17 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 18 | DISTFILES += cswsamba |
|---|
| 19 | DISTFILES += cswwinbind |
|---|
| 20 | EXPANDVARS += cswsamba |
|---|
| 21 | EXPANDVARS += cswwinbind |
|---|
| 22 | EXPANDVARS += smb.conf |
|---|
| 23 | |
|---|
| 24 | # From http://www.reallylinux.com/docs/smb.conf |
|---|
| 25 | DISTFILES += smb.conf |
|---|
| 26 | |
|---|
| 27 | # This is taken from the old Samba package |
|---|
| 28 | DISTFILES += cswkrb5.conf |
|---|
| 29 | |
|---|
| 30 | #What needs to be fixed: |
|---|
| 31 | # Split libs and packages |
|---|
| 32 | |
|---|
| 33 | BUILD_DEP_PKGS += CSWlibtalloc-dev |
|---|
| 34 | PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386 |
|---|
| 35 | |
|---|
| 36 | PACKAGES += CSWsamba |
|---|
| 37 | SPKG_DESC_CSWsamba = $(DESCRIPTION) |
|---|
| 38 | # PKGFILES is catchall |
|---|
| 39 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibpopt0 |
|---|
| 40 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibiconv2 |
|---|
| 41 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibz1 |
|---|
| 42 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibintl8 |
|---|
| 43 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibncurses5 |
|---|
| 44 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibfam0 |
|---|
| 45 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibgssapi-krb5-2 |
|---|
| 46 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibkrb5-3 |
|---|
| 47 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibcom-err3 |
|---|
| 48 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibreadline6 |
|---|
| 49 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibcups2 |
|---|
| 50 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibtalloc2 |
|---|
| 51 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibk5crypto3 |
|---|
| 52 | RUNTIME_DEP_PKGS_CSWsamba += CSWliblber2-4-2 |
|---|
| 53 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibldap2-4-2 |
|---|
| 54 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibwbclient0 |
|---|
| 55 | |
|---|
| 56 | # Just docs override for now |
|---|
| 57 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/lmhosts.5 |
|---|
| 58 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/smb.conf.5 |
|---|
| 59 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/nmbd.8 |
|---|
| 60 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/smbd.8 |
|---|
| 61 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/tdbbackup.8 |
|---|
| 62 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/idmap_tdb2.8 |
|---|
| 63 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/net.8 |
|---|
| 64 | CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/swat.8 |
|---|
| 65 | |
|---|
| 66 | # Make one unified package for now |
|---|
| 67 | OBSOLETED_BY_CSWsamba += CSWsambacommon |
|---|
| 68 | CATALOGNAME_CSWsambacommon = samba_common_stub |
|---|
| 69 | OBSOLETED_BY_CSWsamba += CSWsambadoc |
|---|
| 70 | CATALOGNAME_CSWsambadoc = samba_doc_stub |
|---|
| 71 | |
|---|
| 72 | PACKAGES += CSWsamba-client |
|---|
| 73 | SPKG_DESC_CSWsamba-client = Client binaries for samba |
|---|
| 74 | SMB_CLIENT_TOOLS = rpcclient smbcacls smbclient smbcquotas smbget smbspool smbtar smbtree |
|---|
| 75 | PKGFILES_CSWsamba-client += $(foreach T,$(SMB_CLIENT_TOOLS),$(call baseisadirs,$(bindir),$T) $(mandir)/man1/$T\.1) |
|---|
| 76 | PKGFILES_CSWsamba-client += $(mandir)/man5/smbgetrc\.5 |
|---|
| 77 | PKGFILES_CSWsamba-client += $(mandir)/man8/smbspool\.8 |
|---|
| 78 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibpopt0 |
|---|
| 79 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibiconv2 |
|---|
| 80 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibz1 |
|---|
| 81 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibintl8 |
|---|
| 82 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibncurses5 |
|---|
| 83 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibcom-err3 |
|---|
| 84 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibk5crypto3 |
|---|
| 85 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibkrb5-3 |
|---|
| 86 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibgssapi-krb5-2 |
|---|
| 87 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibreadline6 |
|---|
| 88 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtalloc2 |
|---|
| 89 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWliblber2-4-2 |
|---|
| 90 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibldap2-4-2 |
|---|
| 91 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibwbclient0 |
|---|
| 92 | RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtdb1 |
|---|
| 93 | OBSOLETED_BY_CSWsamba-client += CSWsambaclient |
|---|
| 94 | CATALOGNAME_CSWsambaclient = samba_client_stub |
|---|
| 95 | |
|---|
| 96 | # Just docs, override for now |
|---|
| 97 | CHECKPKG_OVERRIDES_CSWsamba-client += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smbclient.1 |
|---|
| 98 | |
|---|
| 99 | #PACKAGES += CSWsambacommon |
|---|
| 100 | SPKG_DESC_CSWsambacommon = Shared support files for samba |
|---|
| 101 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWsasl |
|---|
| 102 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWreadline |
|---|
| 103 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibpopt |
|---|
| 104 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibnet |
|---|
| 105 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWkrb5lib |
|---|
| 106 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWiconv |
|---|
| 107 | RUNTIME_DEP_PKGS_CSWsambacommon += CSWggettext |
|---|
| 108 | |
|---|
| 109 | #PACKAGES += CSWsambadoc |
|---|
| 110 | SPKG_DESC_CSWsambadoc = Samba documentation |
|---|
| 111 | ARCHALL_CSWsambadoc = 1 |
|---|
| 112 | |
|---|
| 113 | PACKAGES += CSWlibsmbclient0 |
|---|
| 114 | SPKG_DESC_CSWlibsmbclient0 = Samba client library, libsmbclient.so.0 |
|---|
| 115 | PKGFILES_CSWlibsmbclient0 += $(call pkgfiles_lib,libsmbclient.so.0) |
|---|
| 116 | PKGFILES_CSWlibsmbclient0 += $(mandir)/man7/libsmbclient\.7 |
|---|
| 117 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibiconv2 |
|---|
| 118 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibz1 |
|---|
| 119 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibintl8 |
|---|
| 120 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibgssapi-krb5-2 |
|---|
| 121 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWliblber2-4-2 |
|---|
| 122 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibldap2-4-2 |
|---|
| 123 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibkrb5-3 |
|---|
| 124 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibcom-err3 |
|---|
| 125 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtalloc2 |
|---|
| 126 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibk5crypto3 |
|---|
| 127 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibwbclient0 |
|---|
| 128 | RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtdb1 |
|---|
| 129 | OBSOLETED_BY_CSWlibsmbclient0 += CSWsambalib |
|---|
| 130 | CATALOGNAME_CSWsambalib = samba_lib_stub |
|---|
| 131 | |
|---|
| 132 | PACKAGES += CSWlibnetapi0 |
|---|
| 133 | PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0) |
|---|
| 134 | SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0 |
|---|
| 135 | |
|---|
| 136 | PACKAGES += CSWlibsmbsharemodes0 |
|---|
| 137 | PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0) |
|---|
| 138 | SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0 |
|---|
| 139 | |
|---|
| 140 | PACKAGES += CSWlibtdb1 |
|---|
| 141 | PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1) |
|---|
| 142 | SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1 |
|---|
| 143 | RUNTIME_DEP_PKGS_CSWsamba += CSWlibtdb1 |
|---|
| 144 | RUNTIME_DEP_PKGS_CSWlibtdb1 += CSWlibintl8 |
|---|
| 145 | |
|---|
| 146 | PACKAGES += CSWlibwbclient0 |
|---|
| 147 | PKGFILES_CSWlibwbclient0 += $(call pkgfiles_lib,libwbclient.so.0) |
|---|
| 148 | SPKG_DESC_CSWlibwbclient0 += Samba client library, libwbclient.so.0 |
|---|
| 149 | RUNTIME_DEP_PKGS_CSWlibwbclient0 += CSWlibintl8 |
|---|
| 150 | |
|---|
| 151 | PACKAGES += CSWlibnetapi0 |
|---|
| 152 | PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0) |
|---|
| 153 | SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0 |
|---|
| 154 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibiconv2 |
|---|
| 155 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibz1 |
|---|
| 156 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibintl8 |
|---|
| 157 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtdb1 |
|---|
| 158 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibgssapi-krb5-2 |
|---|
| 159 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibk5crypto3 |
|---|
| 160 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibwbclient0 |
|---|
| 161 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibkrb5-3 |
|---|
| 162 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibcom-err3 |
|---|
| 163 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtalloc2 |
|---|
| 164 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWliblber2-4-2 |
|---|
| 165 | RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibldap2-4-2 |
|---|
| 166 | |
|---|
| 167 | PACKAGES += CSWlibsmbsharemodes0 |
|---|
| 168 | PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0) |
|---|
| 169 | SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0 |
|---|
| 170 | RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibintl8 |
|---|
| 171 | RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibtalloc2 |
|---|
| 172 | RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibiconv2 |
|---|
| 173 | RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibtdb1 |
|---|
| 174 | |
|---|
| 175 | PACKAGES += CSWlibtdb1 |
|---|
| 176 | PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1) |
|---|
| 177 | SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1 |
|---|
| 178 | |
|---|
| 179 | PACKAGES += CSWsamba-dev |
|---|
| 180 | SPKG_DESC_CSWsamba-dev = Development files for Samba, libsmbclient.so.0 |
|---|
| 181 | PKGFILES_CSWsamba-dev += $(PKGFILES_DEVEL) |
|---|
| 182 | RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbclient0 |
|---|
| 183 | RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibwbclient0 |
|---|
| 184 | RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibnetapi0 |
|---|
| 185 | RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibtdb1 |
|---|
| 186 | RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbsharemodes0 |
|---|
| 187 | RUNTIME_DEP_PKGS_CSWsamba-dev += CSWsamba |
|---|
| 188 | OBSOLETED_BY_CSWsamba-dev += CSWsambalibdev |
|---|
| 189 | CATALOGNAME_CSWsambalibdev = samba_libdev_stub |
|---|
| 190 | |
|---|
| 191 | PACKAGES += CSWsamba-swat |
|---|
| 192 | SPKG_DESC_CSWsamba-swat = Web-based samba administration tools |
|---|
| 193 | PKGFILES_CSWsamba-swat += $(call baseisadirs,$(sbindir),swat) |
|---|
| 194 | PKGFILES_CSWsamba-swat += $(mandir)/.*/swat\.* |
|---|
| 195 | #PKGFILES_CSWsamba-swat += $(sharedstatedir)/samba/swat/.* |
|---|
| 196 | PKGFILES_CSWsamba-swat += $(prefix)/swat/.* |
|---|
| 197 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibpopt0 |
|---|
| 198 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibiconv2 |
|---|
| 199 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibz1 |
|---|
| 200 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibintl8 |
|---|
| 201 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcom-err3 |
|---|
| 202 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibk5crypto3 |
|---|
| 203 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibkrb5-3 |
|---|
| 204 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibgssapi-krb5-2 |
|---|
| 205 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcups2 |
|---|
| 206 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtalloc2 |
|---|
| 207 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWliblber2-4-2 |
|---|
| 208 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibldap2-4-2 |
|---|
| 209 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibwbclient0 |
|---|
| 210 | RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtdb1 |
|---|
| 211 | OBSOLETED_BY_CSWsamba-swat = CSWsambaswat |
|---|
| 212 | CATALOGNAME_CSWsambaswat = samba_swat_stub |
|---|
| 213 | |
|---|
| 214 | # Just docs, override for now |
|---|
| 215 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/ix01.html |
|---|
| 216 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/appendix.html |
|---|
| 217 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html |
|---|
| 218 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/secure.html |
|---|
| 219 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/nw4migration.html |
|---|
| 220 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-Developers-Guide/pwencrypt.html |
|---|
| 221 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/classicalprinting.html |
|---|
| 222 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/bugreport.html |
|---|
| 223 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html |
|---|
| 224 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/compiling.html |
|---|
| 225 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/NetworkBrowsing.html |
|---|
| 226 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/domain-member.html |
|---|
| 227 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html |
|---|
| 228 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/locking.html |
|---|
| 229 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html |
|---|
| 230 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/samba-pdc.html |
|---|
| 231 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/install.html |
|---|
| 232 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/diagnosis.html |
|---|
| 233 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html |
|---|
| 234 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/pam.html |
|---|
| 235 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/winbind.html |
|---|
| 236 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/AccessControls.html |
|---|
| 237 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/swat.8.html |
|---|
| 238 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/lmhosts.5.html |
|---|
| 239 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/nmbd.8.html |
|---|
| 240 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/idmap_tdb2.8.html |
|---|
| 241 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smb.conf.5.html |
|---|
| 242 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/winbindd.8.html |
|---|
| 243 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbd.8.html |
|---|
| 244 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/net.8.html |
|---|
| 245 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/tdbbackup.8.html |
|---|
| 246 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbclient.1.html |
|---|
| 247 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/export/home|root/opt/csw/swat/help/Samba3-HOWTO/msdfs.html |
|---|
| 248 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/ix01.html |
|---|
| 249 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/appendix.html |
|---|
| 250 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html |
|---|
| 251 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/happy.html |
|---|
| 252 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html |
|---|
| 253 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/CUPS-printing.html |
|---|
| 254 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html |
|---|
| 255 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html |
|---|
| 256 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html |
|---|
| 257 | CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ch-ldap-tls.html |
|---|
| 258 | |
|---|
| 259 | PACKAGES += CSWsamba-winbind |
|---|
| 260 | SPKG_DESC_CSWsamba-winbind = Tools to authenticate users from active directory using winbind |
|---|
| 261 | PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(libdir),security/pam_winbind\.so) |
|---|
| 262 | PKGFILES_CSWsamba-winbind += $(sharedstatedir)/locale/.*/pam_winbind\.mo |
|---|
| 263 | PKGFILES_CSWsamba-winbind += $(mandir)/man5/pam_winbind\.conf\.5 |
|---|
| 264 | PKGFILES_CSWsamba-winbind += $(mandir)/man7/winbind_krb5_locator\.7 |
|---|
| 265 | PKGFILES_CSWsamba-winbind += $(mandir)/man8/pam_winbind\.8 |
|---|
| 266 | PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(sbindir),winbindd) |
|---|
| 267 | PKGFILES_CSWsamba-winbind += $(mandir)/man8/winbindd\.8 |
|---|
| 268 | PKGFILES_CSWsamba-winbind += /etc/opt/csw/init.d/cswwinbind |
|---|
| 269 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibpopt0 |
|---|
| 270 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibiconv2 |
|---|
| 271 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibz1 |
|---|
| 272 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibintl8 |
|---|
| 273 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtdb1 |
|---|
| 274 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibgssapi-krb5-2 |
|---|
| 275 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibk5crypto3 |
|---|
| 276 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibwbclient0 |
|---|
| 277 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibkrb5-3 |
|---|
| 278 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibcom-err3 |
|---|
| 279 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtalloc2 |
|---|
| 280 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWliblber2-4-2 |
|---|
| 281 | RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibldap2-4-2 |
|---|
| 282 | OBSOLETED_BY_CSWsamba-winbind += CSWsambawb |
|---|
| 283 | CATALOGNAME_CSWsambawb = samba_wb_stub |
|---|
| 284 | |
|---|
| 285 | # Just docs, override for now |
|---|
| 286 | CHECKPKG_OVERRIDES_CSWsamba-winbind += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/winbindd.8 |
|---|
| 287 | |
|---|
| 288 | EXTRA_CFLAGS = -lintl |
|---|
| 289 | EXTRA_LDFLAGS = -lintl |
|---|
| 290 | |
|---|
| 291 | BUILD64 = 1 |
|---|
| 292 | ISAEXEC = 1 |
|---|
| 293 | |
|---|
| 294 | SMBLOCKDIR = $(localstatedir)/samba/locks |
|---|
| 295 | SMBLOGDIR = $(localstatedir)/samba/log |
|---|
| 296 | SMBPRIVATEDIR = $(sysconfdir)/samba/private |
|---|
| 297 | SMBCONFIGDIR = $(sysconfdir)/samba |
|---|
| 298 | |
|---|
| 299 | CONFIGURE_SCRIPTS = $(WORKSRC)/source3/configure |
|---|
| 300 | CONFIGURE_ARGS += $(DIRPATHS) |
|---|
| 301 | CONFIGURE_ARGS += --enable-socket-wrapper |
|---|
| 302 | CONFIGURE_ARGS += --enable-nss-wrapper |
|---|
| 303 | CONFIGURE_ARGS += --with-acl-support |
|---|
| 304 | CONFIGURE_ARGS += --with-aio-support |
|---|
| 305 | CONFIGURE_ARGS += --with-pam |
|---|
| 306 | CONFIGURE_ARGS += --with-static-modules=vfs_solarisacl |
|---|
| 307 | CONFIGURE_ARGS += --with-shared-modules=vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex |
|---|
| 308 | CONFIGURE_ARGS += --with-readline |
|---|
| 309 | CONFIGURE_ARGS += --with-ads |
|---|
| 310 | CONFIGURE_ARGS += --with-ldap |
|---|
| 311 | CONFIGURE_ARGS += --with-automount |
|---|
| 312 | CONFIGURE_ARGS += --with-dnsupdate=no |
|---|
| 313 | # CONFIGURE_ARGS += --with-krb5=$(prefix) |
|---|
| 314 | CONFIGURE_ARGS += --with-privatedir=$(SMBPRIVATEDIR) |
|---|
| 315 | CONFIGURE_ARGS += --with-configdir=$(SMBCONFIGDIR) |
|---|
| 316 | CONFIGURE_ARGS += --with-lockdir=$(SMBLOCKDIR) |
|---|
| 317 | CONFIGURE_ARGS += --with-statedir=$(SMBLOCKDIR) |
|---|
| 318 | CONFIGURE_ARGS += --with-cachedir=$(SMBLOCKDIR) |
|---|
| 319 | CONFIGURE_ARGS += --with-piddir=$(SMBLOCKDIR) |
|---|
| 320 | |
|---|
| 321 | CONFIGURE_ARGS += --with-logfilebase=$(SMBLOGDIR) |
|---|
| 322 | |
|---|
| 323 | CONFIGURE_ARGS-64 += --disable-cups |
|---|
| 324 | CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL)) |
|---|
| 325 | |
|---|
| 326 | # These are in a too recent libc SUNW_1.22.6 requiring Solaris10u9 |
|---|
| 327 | CONFIGURE_ARGS += ac_cv_func_utimensat=no |
|---|
| 328 | CONFIGURE_ARGS += ac_cv_func_futimens=no |
|---|
| 329 | |
|---|
| 330 | BUILD_SCRIPTS = $(WORKSRC)/source3/Makefile |
|---|
| 331 | |
|---|
| 332 | TEST_SCRIPTS = $(WORKSRC)/source3/Makefile |
|---|
| 333 | TEST_TARGET = test |
|---|
| 334 | |
|---|
| 335 | # Tests need root |
|---|
| 336 | SKIPTEST ?= 1 |
|---|
| 337 | |
|---|
| 338 | INSTALL_SCRIPTS = $(WORKSRC)/source3/Makefile |
|---|
| 339 | |
|---|
| 340 | INITSMF += /etc/opt/csw/init.d/cswsamba |
|---|
| 341 | INITSMF += /etc/opt/csw/init.d/cswwinbind |
|---|
| 342 | |
|---|
| 343 | MIGRATE_FILES_CSWsamba += samba |
|---|
| 344 | PRESERVECONF += $(sysconfdir)/samba/smb.conf |
|---|
| 345 | |
|---|
| 346 | include gar/category.mk |
|---|
| 347 | |
|---|
| 348 | # Use this hack until this bug has been fixed: |
|---|
| 349 | # https://bugzilla.samba.org/show_bug.cgi?id=8571 |
|---|
| 350 | post-extract-modulated: |
|---|
| 351 | # Make sure to EXCLUDE the include path from 'krb5-config --cflags' as it is prepended to CFLAGS |
|---|
| 352 | # leading to the inclusion of /opt/csw/include header files before the newly build ones. |
|---|
| 353 | # The line looks like this: |
|---|
| 354 | # KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`" |
|---|
| 355 | # and after the transformation it looks like this: |
|---|
| 356 | # KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s,-I/opt/csw/include,,`" |
|---|
| 357 | -perl -pi -e 's!/\@INCLUDE_des\@//!,-I$(includedir),,!' \ |
|---|
| 358 | $(WORKSRC)/source3/configure |
|---|
| 359 | |
|---|
| 360 | post-install-modulated: |
|---|
| 361 | ginstall -d $(DESTDIR)/etc/opt/csw/init.d |
|---|
| 362 | ginstall $(WORKDIR)/cswsamba $(DESTDIR)/etc/opt/csw/init.d/cswsamba |
|---|
| 363 | ginstall $(WORKDIR)/cswwinbind $(DESTDIR)/etc/opt/csw/init.d/cswwinbind |
|---|
| 364 | ginstall -d $(DESTDIR)/etc/opt/csw/samba |
|---|
| 365 | ginstall $(WORKDIR)/smb.conf $(DESTDIR)/etc/opt/csw/samba/smb.conf |
|---|