summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba
Commit message (Collapse)AuthorAgeFilesLines
* Revert "samba: disable service by default"Martin Jansa2015-04-131-2/+0
| | | | | | | | | This reverts commit 20a624928c030fa13d8b7d45b4f4d7e1ac624f60. There is ongoing discussion about this one on oe-devel ML: http://lists.openembedded.org/pipermail/openembedded-devel/2015-March/100899.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: move daemons into their own packageAndreas Oberritter2015-04-132-7/+23
| | | | | | | | | | | | | Create a package samba-base, which contains everything needed to just run the daemons (nmbd, smbd). Excerpt from buildhistory (mips32): -87280 KiB samba +13968 KiB samba-base Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add mirrorsAndreas Müller2015-02-121-1/+8
| | | | | | | | Samba server is down currently so add mirrors. Both were short tested by wget. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: disable service by defaultChong.Lu@windriver.com2015-02-121-0/+2
| | | | | | | Disable smb, nmb, winbind service by default. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: fix error messages when startup samba serviceChong.Lu@windriver.com2014-11-241-1/+7
| | | | | | | | | This solves the following error messages when startup samba: Unable to open new log file '/var/log/samba/log.smbd': No such file or directory Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add winbind.service to winbind packageChong.Lu@windriver.com2014-11-241-0/+1
| | | | | | | | | | This solves the following warning: lib32-samba-3.6.24: lib32-samba: Files/directories were installed but not shipped /lib/systemd/system/winbind.service [installed-vs-shipped] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: make build deterministic by adding PACKAGECONFIG for valgrindJackie Huang2014-11-071-0/+2
| | | | | | | | * No configure option for valgrind, use the ac_cv_header_* * The PACKAGECONFIG for valgrind is disabled by default Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add systemd service fileChong.Lu@windriver.com2014-10-164-1/+68
| | | | | | | Add systemd service for samba. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: upgrade to 3.6.24Kang Kai2014-08-2329-1297/+19
| | | | | | | | | | | | 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>
* meta-oe: fix no newline at end of fileRobert Yang2014-07-151-1/+1
| | | | | | | | | Add a '\n' to the last line of the file to fix: No newline at end of file Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: fix dependency issue about tallocChong.Lu@windriver.com2014-07-151-1/+1
| | | | | | | Check whether to enable external talloc by PACKAGECONFIG. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Security Advisory - CVE-2013-4475Chong.Lu@windriver.com2014-06-212-0/+103
| | | | | | | | | | | | | | 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-212-0/+44
| | | | | | | | | | | | | 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-212-0/+161
| | | | | | 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-212-0/+69
| | | | | | | | | | | | | | | 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-212-0/+967
| | | | | | | | | | | | | 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>
* bonnie++, lmbench, obex-data-server, samba, sg3-utils: Do not do out-of-tree ↵Khem Raj2014-05-031-1/+1
| | | | | | | | | builds These recipes are not ready yet Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Add talloc PACKAGECONFIGJate Sujjavanich2014-04-201-2/+2
| | | | | | | | | * fix DEPENDS which was triggering rebuild Use PACKAGECONFIG to properly provide the option for libtalloc Signed-off-by: Jate Sujjavanich <jatedev@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add PACKAGECONFIG for libunwindMing Liu2014-02-012-0/+86
| | | | | | | | 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: Fix unrecognised with-libdir optionsAndrei Gherzan2014-01-101-1/+1
| | | | | | | | Remove with-libdir as there is no such option and set libdir with --libdir. Change-Id: Ida67c0c92d19ccc339f16c504055daa8c0d7208a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add packageconfig for famMartin Jansa2013-07-301-0/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: add dependency on zlib popt, PACKAGECONFIG for pamMartin Jansa2013-07-201-1/+6
| | | | | | | * zlib, popt are autodetected or used in bundled versions * pam is autodetected if available Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: use more specific LICENSEMartin Jansa2013-07-201-1/+1
| | | | 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-132-3/+4
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-153-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | * 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: fix install for older samba versionsAndreas Oberritter2013-03-121-3/+5
| | | | | | | | * Samba 3.0 doesn't build libnss_*.so * base_sbindir may contain mount.cifs Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: Split libnss-winbind packageOtavio Salvador2013-02-163-6/+7
| | | | | | | | | 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-272-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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-212-1/+3
| | | | | | | | | 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-162-4/+5
| | | | | | | | | | | | | | * 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-112-1/+2
| | | | | | | | * fixes: samba-3.6.8: samba: Files/directories were installed but not shipped /sbin Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: split winbind into winbind and libwinbindMario Domenech Goulart2012-12-041-10/+11
| | | | | Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* samba: update waf-as-source.patch to applyMartin Jansa2012-11-292-5/+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-262-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2429-47/+21995
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* samba: blacklist another python entry that leads to host contaminationKoen Kooi2012-01-231-0/+1
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* samba: Force python disabled for now to avoid host contaminationRichard Purdie2011-12-161-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba 3.5.6: import from OE rev a54456425ea3ce4c7cdfa958cec3ba34539cfeecKoen Kooi2011-06-1315-0/+708
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
OpenPOWER on IntegriCloud