summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
Commit message (Collapse)AuthorAgeFilesLines
* samba: Upgrade to 4.6.2Khem Raj2017-04-251-256/+0
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: fix conflict between samba and sudo packagesSzombathelyi György2017-04-251-0/+1
| | | | | | | | Use the same permissions for sudoers.d as in the sudo package. Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: update tevent_internal.hSzombathelyi György2017-03-241-0/+1
| | | | | | | | | | | | | Update the tevent_internal.h file to the same version as the current OpenEmbedded recipe version, otherwise nmbd will segfault immediately at start, and strange crashes occurs with smbd. Samba uses this internal libtevent header file, and it is crucial to match this file to the external libtevent. Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-2/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "Samba: use built-in libtevent"Joe MacDonald2017-02-241-2/+2
| | | | | | This reverts commit cd366899ed6f0f07d643fd4e54c1ccb91540fc23. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Samba: use built-in libteventSzombathelyi György2017-02-221-2/+2
| | | | | | | | | | Since Samba uses libtevent-internal.h in some places, it is incompatible with external libtevent versions if they're not the same as the built-in, and just crashes. Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* waf-samba.bbclass: fix build error with PARALLEL_MAKE="-j X -l Y"Andreas Oberritter2017-01-191-1/+0
| | | | | | | | | Waf doesn't handle -l. Use a function already provided by waf.bbclass in OE-Core. Inheriting waf.bbclass also makes overriding DISABLE_STATIC redundant, so drop it from recipes inheriting waf-samba. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: conditionalize sed call for onnodeAndreas Oberritter2017-01-191-1/+3
| | | | | | | | sed: can't read .../4.4.5-r0/image/usr/bin/onnode: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samba: simplify LSB handlingAndreas Oberritter2016-12-171-8/+5
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: start on boot with systemdAndreas Oberritter2016-12-171-0/+4
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: move /etc/sysconfig to more common /etc/default, package tmpfiles.d ↵Andreas Oberritter2016-12-171-3/+6
| | | | | | | in samba-common Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: add packages samba-dsdb-modules, samba-testsuite and registry-toolsAndreas Oberritter2016-12-171-0/+14
| | | | | | | Inspired by Debian. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: split libraries into their own packagesAndreas Oberritter2016-12-171-104/+30
| | | | | | | | | | It's quite hard to track library dependencies manually between releases. Splitting libraries into their own packages creates some overhead but effectively uses less storage in minimal installations. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: simplify files list for samba-pythonAndreas Oberritter2016-12-171-17/+1
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: install manpagesAndreas Oberritter2016-12-171-0/+9
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: add smbclient packageAndreas Oberritter2016-12-171-4/+15
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: install systemd units and initscripts unconditionallyAndreas Oberritter2016-12-161-11/+10
| | | | | | | Fixes hybrid systemd/sysvinit setups. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: rename initscript from 'samba.sh' to more common 'samba'Andreas Oberritter2016-12-161-5/+5
| | | | | | | This gets masked automatically by samba.service if systemd is running. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: install all systemd unit filesAndreas Oberritter2016-12-141-3/+2
| | | | | | | | This includes samba.service, which other major distributions install, too. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: remove superflous listing of pam_smbpass.soAndreas Oberritter2016-12-141-4/+1
| | | | | | | | | EXTRA_OECONF includes --with-pammodulesdir=${base_libdir}/security when pam is enabled. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: use systemd_system_unitdir variableAndreas Oberritter2016-12-141-8/+7
| | | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: remove unneeded conditionals for sysvinit and systemdAndreas Oberritter2016-12-141-8/+4
| | | | | | | | systemd.bbclass takes care of deleting unused startup scripts. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: use default packaging rules for -dbg and -dev packagesAndreas Oberritter2016-12-141-30/+4
| | | | | | | | There's no need to create multiple packages. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: Avoid timeout for nmbd if started offline with systemdAndreas Oberritter2016-12-141-0/+1
| | | | | | | | | | If no network connection appears within DefaultTimeoutStartSec (~ 90s) after startup, nmbd fails to notify systemd and will therefore get killed. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: fix the hardcoded path in init scriptJackie Huang2016-12-141-0/+1
| | | | | | | | | | | | Replace the hardcoded path with base_bindir in init script to fix the error: /etc/init.d/samba.sh: line 15: /usr/bin/ps: No such file or directory /etc/init.d/samba.sh: line 17: /usr/bin/sed: No such file or directory /etc/init.d/samba.sh: line 16: /usr/bin/grep: No such file or directory Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: correct sub-package name for multilibKai Kang2016-12-141-2/+2
| | | | | | | | | The name of sub-package lib${PN}-base is not right when extended by multilib. Correct it by replace ${PN} with ${BPN}. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: Fix qa issue and update ctdb-testsKai Kang2016-12-141-1/+16
| | | | | | | | | | | | | | | | | | Fix file-rdeps QA warning by replace shell interpreter of script ${bindir}/onnode with /bin/sh that it doesn't has any bashism. File ${bindir}/ctdb_run_cluster_tests which is a link to ${bindir}/ctdb_run_tests is split into package samba. That causes wrong runtime dependency that samba depends on samba-ctdb-tests. Split the file to samba-ctdb-tests to fix the issue. Script ctdb_run_tests calls command 'getopt', so add runtime dependency util-linux-getopt. Install config file and test cases for samba-ctdt-tests at same time. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: Fix build with muslKhem Raj2016-12-141-0/+7
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: replace pam packageconfig by hard dependencyAndreas Müller2016-10-201-4/+3
| | | | | | | | | | | | | samba links against libpam even if pam is not in packageconfig and libpam was built before. This patch avoid this floating dependency - other solution could not be found. For those who want packageconfig back, see discussion iat [1] for further inspiration. [1] http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109143.html Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: un-blacklistJoe MacDonald2016-10-201-5/+0
| | | | | | | | Commit b60c60806e57f69233db582ef88d113867c2ecd1 resolves the linking issue, later commits (mainly 12a118989296d13e036d0daa9f9a3d45eee03ded) resolve the packaging issue, so re-enable samba for everyone. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: fix build by linking with bfd instead of goldAndreas Müller2016-09-121-1/+1
| | | | | | | | Use this workaround as long as there is no better (upstream) fix Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: fix to package pidl in samba-pidlMingli Yu2016-09-121-1/+1
| | | | | | | | | | | | * Use =+ to replace the previous += to let samba-pidl do package before samba to guarantee the file /usr/bin/pidl packaged in samba-pidl as both samba and samba-pidl have rules to package /usr/bin/pidl and the command pidl depends on perl modules such as Parse/Pidl.pm resides in samba-pidl Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: blacklist, fails to build with new binutils-2.27Martin Jansa2016-09-051-0/+5
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* samba: upgrade to 4.4.5Jackie Huang2016-08-161-0/+319
* This is a security release in order to address the following defect: - CVE-2016-2119 (Client side SMB2/3 required signing can be downgraded) * Detail release note: - https://www.samba.org/samba/history/samba-4.4.5.html * Removed part of the 10-use-only-libsystemd.patch which has been fixed in new version. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>