diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-04-29 17:25:02 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-11 10:27:28 +0200 |
commit | 9ac5713b2fcb5ce03693edd40636d8fce3e014d0 (patch) | |
tree | 70e08cf23cf18bf03da55815b6217f42152cafc3 /meta-oe/recipes-connectivity/samba/samba_3.6.25.bb | |
parent | 73ba7cd70f75a898bf4c3f8ae38c9904fc3e4724 (diff) | |
download | meta-openembedded-contrib-9ac5713b2fcb5ce03693edd40636d8fce3e014d0.tar.gz |
samba: upgrade to 3.6.25
upgrade to fix a CVE defect: CVE-2015-0240
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0240
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba_3.6.25.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba_3.6.25.bb | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.25.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.25.bb new file mode 100644 index 0000000000..01861fb941 --- /dev/null +++ b/meta-oe/recipes-connectivity/samba/samba_3.6.25.bb @@ -0,0 +1,67 @@ +require samba.inc +require samba-basic.inc +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI += "\ + file://config-h.patch \ + file://documentation.patch;patchdir=.. \ + file://documentation2.patch;patchdir=.. \ + file://fhs-filespaths.patch;patchdir=.. \ + file://installswat.sh.patch;patchdir=.. \ + file://pam-examples.patch;patchdir=.. \ + file://smbclient-pager.patch;patchdir=.. \ + file://undefined-symbols.patch;patchdir=.. \ + file://usershare.patch;patchdir=.. \ + file://smbtar-bashism.patch;patchdir=.. \ + file://dont-build-VFS-examples.patch;patchdir=.. \ + file://bug_221618_precise-64bit-prototype.patch;patchdir=.. \ + file://bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch;patchdir=.. \ + file://bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch;patchdir=.. \ + file://bug_604768_upstream_7826_drop-using-samba-link.patch;patchdir=.. \ + file://bug_604768_upstream_7826_fix-WHATSNEW-link.patch;patchdir=.. \ + file://waf-as-source.patch;patchdir=.. \ + file://smbtorture-manpage.patch;patchdir=.. \ + file://libutil_drop_AI_ADDRCONFIG.patch;patchdir=.. \ + file://shadow_copy2_backport.patch;patchdir=.. \ + file://only_export_public_symbols.patch;patchdir=.. \ + file://configure-disable-getaddrinfo-cross.patch;patchdir=.. \ + file://configure-disable-core_pattern-cross-check.patch;patchdir=.. \ + file://configure-libunwind.patch;patchdir=.. \ +" +SRC_URI[md5sum] = "76da2fa64edd94a0188531e7ecb27c4e" +SRC_URI[sha256sum] = "8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751" + +S = "${WORKDIR}/samba-${PV}/source3" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" + +EXTRA_OECONF += "\ + ac_cv_path_PYTHON=/not/exist \ + ac_cv_path_PYTHON_CONFIG=/not/exist \ + 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 \ + samba_cv_have_setresuid=yes \ + samba_cv_have_setresgid=yes \ + samba_cv_HAVE_WRFILE_KEYTAB=yes \ + samba_cv_linux_getgrouplist_ok=yes \ +" + +do_configure() { + gnu-configize --force + oe_runconf +} + +do_compile () { + base_do_compile +} + +do_install_append() { + rmdir "${D}${localstatedir}/lock" + rmdir "${D}${localstatedir}/run" + rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" +} |