summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
Commit message (Collapse)AuthorAgeFilesLines
* samba: upgrade to 3.6.24Kang Kai2014-08-231-74/+0
| | | | | | | | | | | | Upgrade samba to latest 3.6.x version. * remove PR * remove backport CVE patches * update 4 patches: documentation.patch, documentation2.patch, undefined-symbols.patch and bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Security Advisory - CVE-2013-4475Chong.Lu@windriver.com2014-06-211-0/+1
| | | | | | | | | | | | | | Samba 3.x before 3.6.20, 4.0.x before 4.0.11, and 4.1.x before 4.1.1, when vfs_streams_depot or vfs_streams_xattr is enabled, allows remote attackers to bypass intended file restrictions by leveraging ACL differences between a file and an associated alternate data stream (ADS). http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4475 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Security Advisory - CVE-2013-4124Chong.Lu@windriver.com2014-06-211-0/+1
| | | | | | | | | | | | | Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x before 3.5.22, 3.6.x before 3.6.17, and 4.x before 4.0.8 allows remote attackers to cause a denial of service (memory consumption) via a malformed packet. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4124 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: fix two CVEs CVE-2013-0213 CVE-2013-0214Chong.Lu@windriver.com2014-06-211-0/+1
| | | | | | Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: fix parsing linemarkers in preprocessor outputChong.Lu@windriver.com2014-06-211-0/+1
| | | | | | | | | | | | | | | When PIDL calls out to C preprocessor to expand IDL files and parse the output, it filters out linemarkers and line control information as described in http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html and http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html#Line-Control With gcc 4.8 stdc-predef.h is included automatically and linemarker for the file has extended flags that PIDL couldn't parse ('system header that needs to be extern "C" protected for C++') Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Security Advisory - CVE-2013-4496Chong.Lu@windriver.com2014-06-211-0/+1
| | | | | | | | | | | | | Samba 3.x before 3.6.23, 4.0.x before 4.0.16, and 4.1.x before 4.1.6 does not enforce the password-guessing protection mechanism for all interfaces, which makes it easier for remote attackers to obtain access via brute-force ChangePasswordUser2 (1) SAMR or (2) RAP attempts. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4496 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add PACKAGECONFIG for libunwindMing Liu2014-02-011-0/+4
| | | | | | | | Also add --enable-libunwind option for samba source3, otherwise, it will be auto-detected from sysroot, which will lead implicit results. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: remove /var/lock and /var/run from packageJonathan Liu2013-07-081-0/+6
| | | | | | | | The /var/lock and /var/run directories are already created by base-files. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Add usershare directory to the packageOtavio Salvador2013-05-131-1/+1
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* samba: Split libnss-winbind packageOtavio Salvador2013-02-161-1/+1
| | | | | | | | | This allows for applications to resolv wins without the winbindd and sambad. Change-Id: Iaa86154a59e758b37f28796963e6550ed2d30464 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add new package libwbclient to avoid libsmbclient dragging in sambaAndreas Müller2012-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | To find which dependency dragged in samba in folder image readelf was performed: > readelf -d usr/lib/libsmbclient.so Dynamic section at offset 0x4bfec0 contains 36 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [libtalloc.so.2] 0x00000001 (NEEDED) Shared library: [libtdb.so.1] 0x00000001 (NEEDED) Shared library: [libwbclient.so.0] 0x00000001 (NEEDED) Shared library: [libresolv.so.2] 0x00000001 (NEEDED) Shared library: [libnsl.so.1] 0x00000001 (NEEDED) Shared library: [libdl.so.2] 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x0000000e (SONAME) Library soname: [libsmbclient.so.0] Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: disable avahi and build without aclFahad Usman2012-12-211-1/+1
| | | | | | | | | disable avahi and acl to avoid some random build failures. We do not want samba to auto-detect the presence of avahi and/or acl, explicitly disabling or enabling them guarantees a more predictable build process Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Fix build on Fedora 17Ting Liu2012-12-161-1/+1
| | | | | | | | | | | | | | * Fedora 17 has /bin/perl, this causes samba build to put perl interpreter path as /bin/perl But we set perl location for target as /usr/bin/perl * This mismatch of perl path causes failure of rootfs image creation: | error: Failed dependencies: | /bin/perl is needed by samba-3.6.8-r3.ppce5500 * MJ: fixed whitespaces Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: added gnu-configize for AArch64 supportMarcin Juszkiewicz2012-12-161-0/+1
| | | | | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: remove empty /sbinMartin Jansa2012-12-111-1/+1
| | | | | | | | * fixes: samba-3.6.8: samba: Files/directories were installed but not shipped /sbin Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: update waf-as-source.patch to applyMartin Jansa2012-11-291-1/+1
| | | | | | | | | | | | | | | | | | * and Applying patch waf-as-source.patch ... File buildtools/bin/waf-svn is not empty after patch; not deleting ... Patch waf-as-source.patch does not apply (enforce with -f) I've dropped this chunk and now it builds * there is also WARNING about unpackaged but empty base_sbindir WARNING: QA Issue: samba: Files/directories were installed but not shipped /sbin created by do_install in samba.inc but used only when cifs is built, maybe we should remove it from samba.inc now Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: update documentation2.patch to applyMartin Jansa2012-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fails here because of non-ASCII characters: ERROR: Command Error: exit status: 1 Output: Applying patch documentation2.patch patching file docs-xml/manpages-3/nmbd.8.xml patching file docs-xml/manpages-3/samba.7.xml patching file docs-xml/manpages-3/smb.conf.5.xml patching file docs-xml/manpages-3/smbd.8.xml patching file docs-xml/using_samba/appd.xml patching file docs-xml/using_samba/ch01.xml patching file docs-xml/using_samba/ch07.xml patching file docs/htmldocs/manpages/nmbd.8.html patching file docs/htmldocs/manpages/samba.7.html patching file docs/htmldocs/manpages/smb.conf.5.html patching file docs/htmldocs/manpages/smbd.8.html patching file docs/manpages/nmbd.8 patching file docs/manpages/samba.7 patching file docs/manpages/smb.conf.5 patching file docs/manpages/smbd.8 patching file examples/tridge/smb.conf patching file swat/lang/tr/help/welcome.html Hunk #1 FAILED at 40. Hunk #2 succeeded at 66 with fuzz 2. 1 out of 2 hunks FAILED -- rejects in file swat/lang/tr/help/welcome.html Patch documentation2.patch does not apply (enforce with -f) ERROR: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /OE/jansa-test/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/samba-3.6.8-r0/temp/log.do_patch.2937 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: update to version 3.6.8Otavio Salvador2012-10-241-0/+56
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>