diff options
Diffstat (limited to 'packages/samba/samba_3.2.7.bb')
-rw-r--r-- | packages/samba/samba_3.2.7.bb | 60 |
1 files changed, 9 insertions, 51 deletions
diff --git a/packages/samba/samba_3.2.7.bb b/packages/samba/samba_3.2.7.bb index ec51568313..3653a5dfe3 100644 --- a/packages/samba/samba_3.2.7.bb +++ b/packages/samba/samba_3.2.7.bb @@ -1,69 +1,27 @@ require samba.inc -inherit update-rc.d -PR = "r0" - -SRC_URI += "file://config-lfs.patch;patch=1 \ - file://quota.patch;patch=1;pnum=0 \ - file://config-h.patch;patch=1 \ +PR = "r1" +DEPENDS += " openldap krb5" +SRC_URI += "file://config-h.patch;patch=1 \ file://mtab.patch;patch=1 \ - file://init \ - file://smb.conf \ " -# file://cifs.patch;patch=1 \ - -INITSCRIPT_NAME = "samba" -# No dependencies, goes in at level 20 (NOTE: take care with the -# level, later levels put the shutdown later too - see the links -# in rc6.d, the shutdown must precede network shutdown). -INITSCRIPT_PARAMS = "defaults" -CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf" - -# The file system settings --foodir=dirfoo and overridden unconditionally -# in the samba config by --with-foodir=dirfoo - even if the --with is not -# specified! Fix that here. Set the privatedir to /etc/samba/private. EXTRA_OECONF += "\ SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \ - samba_cv_struct_timespec=yes \ linux_getgrouplist_ok=no \ samba_cv_HAVE_BROKEN_GETGROUPS=no \ samba_cv_HAVE_FTRUNCATE_EXTEND=yes \ - ac_cv_path_KRB5CONFIG=no \ + ac_cv_path_KRB5CONFIG=${STAGING_BINDIR_CROSS}/krb5-config \ samba_cv_have_setresuid=yes \ samba_cv_have_setresgid=yes \ - --with-configdir=${sysconfdir}/samba \ - --with-privatedir=${sysconfdir}/samba/private \ - --with-lockdir=${localstatedir}/lock \ - --with-piddir=${localstatedir}/run \ - --with-logfilebase=${localstatedir}/log \ - --with-libdir=${libdir} \ - --with-mandir=${mandir} \ - --with-swatdir=${datadir}/swat \ + 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 \ " do_configure() { oe_runconf } - -do_install_append() { - install -d "${D}/var/log/samba" - install -d "${D}${sysconfdir}/init.d" - install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba - install -d "${D}${sysconfdir}/samba" - install -c -m 644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf - install -d ${D}/var/spool/samba -} - -PACKAGES =+ "swat" - -FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg" -FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat \ - ${libdir}/auth/*.so ${libdir}/security/*.so" -FILES_${PN}-dbg += "${libdir}/vfs/.debug/*.so ${libdir}/charset/.debug/*.so \ - ${libdir}/auth/.debug/*.so ${libdir}/security/.debug/*.so" - -# -# bug fix for samba.inc: -FILES_cifs-doc += "${mandir}/man8/mount.cifs.8" |