summaryrefslogtreecommitdiff
path: root/packages/samba/samba-ads.inc
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-02-01 00:35:33 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-02-01 00:35:33 +0000
commit765044d771370ab25fd0ea9c33d3734ee7d3348b (patch)
treee01f116d7923a22dca8a57eebe39c50ac6682bb7 /packages/samba/samba-ads.inc
parent758390b07153bff5f76ff861c8ac1809a0bbc77e (diff)
samba-ads: Add 3.3.0 and centralise common stuff from 3.2.7 into an include. Also remove smbfs-ads-doc as these man pages are not included in these versions.
Diffstat (limited to 'packages/samba/samba-ads.inc')
-rw-r--r--packages/samba/samba-ads.inc26
1 files changed, 23 insertions, 3 deletions
diff --git a/packages/samba/samba-ads.inc b/packages/samba/samba-ads.inc
index 78e7a9d770..1249528fdb 100644
--- a/packages/samba/samba-ads.inc
+++ b/packages/samba/samba-ads.inc
@@ -1,4 +1,22 @@
-PACKAGES =+ "libsmbclient-ads libsmbclient-ads-dev cifs-ads cifs-ads-doc smbfs-ads smbfs-ads-doc swat-ads"
+DEPENDS += " openldap krb5"
+
+EXTRA_OECONF += "\
+ SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
+ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
+ linux_getgrouplist_ok=no \
+ samba_cv_HAVE_BROKEN_GETGROUPS=no \
+ samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
+ ac_cv_path_KRB5CONFIG=${STAGING_BINDIR_CROSS}/krb5-config \
+ samba_cv_have_setresuid=yes \
+ samba_cv_have_setresgid=yes \
+ samba_cv_HAVE_WRFILE_KEYTAB=yes \
+ smb_krb5_cv_enctype_to_string_takes_krb5_context_arg=yes \
+ smb_krb5_cv_enctype_to_string_takes_size_t_arg=yes \
+ --with-krb5=${STAGING_LIBDIR} \
+ --with-ads \
+ "
+
+PACKAGES =+ "libsmbclient-ads libsmbclient-ads-dev cifs-ads cifs-ads-doc smbfs-ads swat-ads"
RCONFLICTS_${PN} = "samba"
RCONFLICTS_libsmbclient-ads = "libsmbclient"
@@ -6,7 +24,6 @@ RCONFLICTS_libsmbclient-ads-dev = "libsmbclient-dev"
RCONFLICTS_cifs-ads = "cifs"
RCONFLICTS_cifs-ads-doc = "cifs-doc"
RCONFLICTS_smbfs-ads = "smbfs"
-RCONFLICTS_smbfs-ads-doc = "smbfs-doc"
RCONFLICTS_swat-ads = "swat"
FILES_cifs-ads= "${base_sbindir}/mount.cifs ${base_sbindir}/umount.cifs"
@@ -14,5 +31,8 @@ FILES_cifs-ads-doc = "${mandir}/man8/mount.cifs.8 ${mandir}/man8/umount.cifs.8"
FILES_libsmbclient-ads = "${libdir}/libsmbclient.so.*"
FILES_libsmbclient-ads-dev = "${libdir}/libsmbclient.so ${includedir}"
FILES_smbfs-ads = "${bindir}/smbmount ${bindir}/smbumount ${bindir}/smbmnt ${base_sbindir}/mount.smbfs ${base_sbindir}/mount.smb"
-FILES_smbfs-ads-doc = "${mandir}/man8/smbmount.8 ${mandir}/man8/smbumount.8 ${mandir}/man8/smbmnt.8"
FILES_swat-ads = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
+
+do_configure() {
+ oe_runconf
+}