18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 include ../../../make-rules/shared-macros.mk |
25 include ../../../make-rules/shared-macros.mk |
26 |
26 |
27 COMPONENT_NAME= samba |
27 COMPONENT_NAME= samba |
28 COMPONENT_VERSION= 3.5.12 |
28 COMPONENT_VERSION= 3.6.3 |
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_PROJECT_URL= http://www.samba.org/ |
30 COMPONENT_PROJECT_URL= http://www.samba.org/ |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
32 COMPONENT_ARCHIVE_HASH= sha1:cce0a391b4468a716dda2315a56271a785990c54 |
32 COMPONENT_ARCHIVE_HASH= sha1:430a1e13fe20c17e2808035c863eb5e77685c89b |
33 COMPONENT_ARCHIVE_URL= http://us1.samba.org/samba/ftp/stable/$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= http://us1.samba.org/samba/ftp/stable/$(COMPONENT_ARCHIVE) |
34 |
34 |
35 COMPONENT_NAME_1= docbook-xsl |
35 COMPONENT_NAME_1= docbook-xsl |
36 COMPONENT_VERSION_1= 1.76.1 |
36 COMPONENT_VERSION_1= 1.76.1 |
37 COMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1) |
37 COMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1) |
139 LDFLAGS += $(LDFLAGS.$(BITS)) $(LD_OPTIONS:%=-Xlinker %) |
139 LDFLAGS += $(LDFLAGS.$(BITS)) $(LD_OPTIONS:%=-Xlinker %) |
140 endif |
140 endif |
141 |
141 |
142 CONFIGURE_LIBDIR.32 = /usr/lib/samba |
142 CONFIGURE_LIBDIR.32 = /usr/lib/samba |
143 CONFIGURE_LIBDIR.64 = /usr/lib/samba/$(MACH64) |
143 CONFIGURE_LIBDIR.64 = /usr/lib/samba/$(MACH64) |
144 CONFIGURE_OPTIONS += --includedir=/usr/include/samba |
144 CONFIGURE_OPTIONS += --includedir=/usr/include/samba |
145 CONFIGURE_OPTIONS += --sysconfdir=/etc/samba |
145 CONFIGURE_OPTIONS += --sysconfdir=/etc/samba |
146 CONFIGURE_OPTIONS += --with-configdir=/etc/samba |
146 CONFIGURE_OPTIONS += --with-configdir=/etc/samba |
147 CONFIGURE_OPTIONS += --with-privatedir=/etc/samba/private |
147 CONFIGURE_OPTIONS += --with-privatedir=/etc/samba/private |
148 CONFIGURE_OPTIONS += --with-swatdir=/usr/share/samba/swat |
148 CONFIGURE_OPTIONS += --with-swatdir=/usr/share/samba/swat |
149 CONFIGURE_OPTIONS += --localstatedir=/var/samba |
149 CONFIGURE_OPTIONS += --localstatedir=/var/samba |
150 CONFIGURE_OPTIONS += --with-lockdir=/var/samba/locks |
150 CONFIGURE_OPTIONS += --with-lockdir=/var/samba/locks |
151 CONFIGURE_OPTIONS += --with-piddir=/var/samba/locks |
151 CONFIGURE_OPTIONS += --with-piddir=/var/samba/locks |
152 CONFIGURE_OPTIONS += --with-logfilebase=/var/samba/log |
152 CONFIGURE_OPTIONS += --with-logfilebase=/var/samba/log |
153 CONFIGURE_OPTIONS += --enable-shared=yes |
153 CONFIGURE_OPTIONS += --enable-shared=yes |
154 CONFIGURE_OPTIONS += --enable-static=no |
154 CONFIGURE_OPTIONS += --enable-static=no |
155 CONFIGURE_OPTIONS += --with-static-modules= |
155 CONFIGURE_OPTIONS += --with-static-modules=vfs_solarisacl |
156 CONFIGURE_OPTIONS.32 += --with-shared-modules=vfs_zfsacl,vfs_samfs,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex |
156 CONFIGURE_OPTIONS.32 += --with-shared-modules=vfs_zfsacl,vfs_samfs,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex |
157 CONFIGURE_OPTIONS.64 += --with-shared-modules= |
157 CONFIGURE_OPTIONS.64 += --with-shared-modules= |
158 CONFIGURE_OPTIONS += --with-readline |
158 CONFIGURE_OPTIONS += --with-readline |
159 CONFIGURE_OPTIONS += --enable-cups |
159 CONFIGURE_OPTIONS += --enable-cups |
160 CONFIGURE_OPTIONS += --with-aio-support |
160 CONFIGURE_OPTIONS += --with-aio-support |
161 CONFIGURE_OPTIONS += --with-acl-support |
161 CONFIGURE_OPTIONS += --with-acl-support |
162 CONFIGURE_OPTIONS += --with-ads |
162 CONFIGURE_OPTIONS += --with-ads |
163 CONFIGURE_OPTIONS += --with-ldap |
163 CONFIGURE_OPTIONS += --with-ldap |
164 CONFIGURE_OPTIONS += --with-automount |
164 CONFIGURE_OPTIONS += --with-automount |
165 CONFIGURE_OPTIONS += --with-dnsupdate |
165 CONFIGURE_OPTIONS += --with-dnsupdate=no |
166 CONFIGURE_OPTIONS += --with-pam |
166 CONFIGURE_OPTIONS += --with-pam |
167 CONFIGURE_OPTIONS += --with-winbind |
167 CONFIGURE_OPTIONS += --with-winbind |
|
168 |
168 CONFIGURE_OPTIONS += LD="$(LD)" |
169 CONFIGURE_OPTIONS += LD="$(LD)" |
169 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
170 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
170 CONFIGURE_OPTIONS.32 += CPPFLAGS="$(CPPFLAGS) -I$(BUILD_DIR)/libsam-LGPL/include" |
171 CONFIGURE_OPTIONS.32 += CPPFLAGS="$(CPPFLAGS) -I$(BUILD_DIR)/libsam-LGPL/include" |
171 CONFIGURE_OPTIONS.64 += CPPFLAGS="$(CPPFLAGS)" |
172 CONFIGURE_OPTIONS.64 += CPPFLAGS="$(CPPFLAGS)" |
172 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
173 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |