summaryrefslogtreecommitdiffstats
path: root/package/samba4
Commit message (Collapse)AuthorAgeFilesLines
* samba4: bump to version 4.3.5Gustavo Zacarias2016-02-232-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: add dependency on BR2_TOOLCHAIN_HAS_SYNC_4Thomas Petazzoni2016-02-061-0/+2
| | | | | | | | | | | | samba4 uses the __sync_fetch_and_add_4() atomic built-in, so it should depend on BR2_TOOLCHAIN_HAS_SYNC_4 in order to avoid build failures on architectures not providing this atomic built-in. Fixes: http://autobuild.buildroot.org/results/0d0fd9d2a132a40a840bea5df59c35d8573ebf45/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: remove dependency on specific C librariesThomas Petazzoni2016-02-011-5/+2
| | | | | | | | | | | | | | | | | | | | samba4 relies on the $ORIGIN feature of the dynamic linker, which used to not be implemented in old uClibc versions. However: - this feature is supported by glibc - this feature is supported by uClibc-ng, which is the only uClibc version we are going to support - this feature is supported by musl Consequently, we can completely remove the dependency of samba4 on certain C libraries. Note that despite this commit, samba4 still cannot be chosen when the musl C library is used, because samba4 requires native RPC support, which musl doesn't provide. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: bump to version 4.3.4Gustavo Zacarias2016-01-122-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: security bump to version 4.3.3Gustavo Zacarias2015-12-172-2/+2
| | | | | | | | | | | | | | | | Fixes: CVE-2015-7540 - Remote DoS in Samba (AD) LDAP server CVE-2015-3223 - Denial of service in Samba Active Directory server CVE-2015-5252 - Insufficient symlink verification in smbd) CVE-2015-5299 - Missing access control check in shadow copy code CVE-2015-5296 - Samba client requesting encryption vulnerable to downgrade attack CVE-2015-8467 - Denial of service attack against Windows Active Directory server CVE-2015-5330 - Remote memory read in Samba LDAP server Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.3.2Gustavo Zacarias2015-12-012-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.3.1Gustavo Zacarias2015-10-202-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-5/+5
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba: bump to version 4.3.0Gustavo Zacarias2015-09-133-3/+59
| | | | | | | | | New patch status: sent upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.2.3Gustavo Zacarias2015-07-142-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: install systemd filesAlex Suykov2015-07-051-0/+16
| | | | | | | | | | The package comes with usable .service files for smbd, nmbd and winbind, but does not install them. [Thomas: use relative paths for the symbolic links.] Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: propagate python dependenciesBaruch Siach2015-06-081-3/+6
| | | | | | | | | | Fix the toolchain dependencies comment condition while at it. Fixes: http://autobuild.buildroot.net/results/e32/e32b85728a84bfea741709eabcc6d4a7af0b41a1/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: enable for uclibc-ngGustavo Zacarias2015-06-021-3/+9
| | | | | | | | uClibc-ng has the required functionality for samba 4.2.x without the need for any special tricks. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba: bump to version 4.2.2Gustavo Zacarias2015-06-022-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: bump to version 4.2.1Gustavo Zacarias2015-04-163-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: install to stagingGustavo Zacarias2015-03-061-0/+5
| | | | | | | It's required for packages that need libsmbclient. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: specify ncurses-configGustavo Zacarias2015-03-061-0/+1
| | | | | | | | | When ncurses wide is enabled samba doesn't automatically find the appropiate ncurses-config script and finds the host variant (which is non-widec) which leaks improper library directories into the build. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.2.0Gustavo Zacarias2015-03-0610-453/+63
| | | | | | | | | | Now with support for AD DC, ADS and clustering features. All dropped patches are upstream. [Thomas: move indentation fixes to a separate patch.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: fix indentationThomas Petazzoni2015-03-061-24/+24
| | | | | | | In preparation to the bump of samba4 to 4.2, let's re-indent the samba4.mk to the usual Buildroot convention. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2015-03-021-1/+0
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * packages: all salute the passing of avr32Yann E. MORIN2015-02-141-1/+0
| | | | | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | samba4: security bump to version 4.1.17Gustavo Zacarias2015-02-232-2/+2
|/ | | | | | | | Fixes: CVE-2015-0240 - Unexpected code execution in smbd. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: security bump to version 4.1.16Gustavo Zacarias2015-01-169-2/+2
| | | | | | | | | | Fixes CVE-2014-8143 - dsdb-samldb: Check for extended access rights before we allow changes to userAccountControl. Also rename patches to new naming convention. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.1.15Gustavo Zacarias2015-01-122-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.1.14Gustavo Zacarias2014-12-012-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysv init scripts: fix == bashismAndré Erdmann2014-11-111-5/+5
| | | | | | | | | | | | | | | | | test a == b is not available in e.g. dash. Command(s) used for editing: q=\[\"\'\] operand="${q}?[$]?[a-zA-Z0-9_\?]+${q}?" ## doesn't detect ${VAR} test_expr="(\[\s+${operand}\s+)==(\s+${operand}\s+\])" find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e "s@${test_expr}@\1=\2@g" -i Signed-off-by: André Erdmann <dywi@mailerd.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: bump to version 4.1.13Gustavo Zacarias2014-10-242-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-16/+16
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.1.12Gustavo Zacarias2014-09-091-5/+7
| | | | | | | | Also tweak library moves since uClibc doesn't do $ORIGIN and libreplace is found that way now. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: add comment mmu dependsGustavo Zacarias2014-08-041-0/+1
| | | | | | | | Otherwise it shows up indirectly when toolchain options aren't enough and then vanishes when they are fulfilled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: security update to 4.1.11Gustavo Zacarias2014-08-031-1/+1
| | | | | | | Fixes CVE-2014-3560 (Remote code execution in nmbd). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.1.10Gustavo Zacarias2014-07-311-2/+20
| | | | | | | | Lots of bugfixes, enhancements to provisioning and printing support via cups. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: security bump to version 4.1.9Gustavo Zacarias2014-06-231-1/+1
| | | | | | | | | Fixes: CVE-2014-0244 (Denial of service - CPU loop) CVE-2014-3493 (Denial of service - Server crash/memory corruption) Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: security bump to version 4.1.8Gustavo Zacarias2014-06-033-105/+1
| | | | | | | | | Fixes CVE-2014-0178 (Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response) and CVE-2014-0239 (dns: Don't reply to replies). Patches 0001 and 0002 are now part of the 4.1.x release branch. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/samba{,4}: disable on nios2Yann E. MORIN2014-05-231-0/+1
| | | | | | | | | | | | | | | samba produces particularly large binaries, and the relocations needed for it do not fit in the possible relocation mechanisms available on nios2. Since samba is very unlikely to be used on nios2, let's just disable it, as we've done for AVR32. Fixes: http://autobuild.buildroot.net/results/7b9/7b9dcb537f98714fe57fe384ecbb49bd9ae52aee/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: disable libbsd supportGustavo Zacarias2014-05-191-0/+26
| | | | | | | | | There's a symbol conflict between regular (POSIX) link(2) and the BSD variant for builtin heimdal when libbsd is around and used. Fixes: http://autobuild.buildroot.net/results/657/65726ceccbc2d8fa24e178ea66cd44703768bc95/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: update to upstream patchesGustavo Zacarias2014-05-0912-76/+48
| | | | | | | | | | | | | | | Update the package to use patches that have been applied upstream and update their status comment accordingly. f_fsid checks have been fixed via upstream patch that allows the cache to work properly on the result. Builtin heimdal tools can be worked around via the --bundled-libraries option to disable those components (even if they are not libraries it can be done that way). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: disable for avr32Gustavo Zacarias2014-04-291-0/+1
| | | | | | | | | | The toolchain is not up to the task, fixes: http://autobuild.buildroot.net/results/21f/21f5fd1fc8415abff1d1178843586956ef1fd1e3/ Also AVR32s are low on resources (RAM, no proper storage port, most of them short of flash) to handle it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: bump to version 4.1.7 and improve cross buildGustavo Zacarias2014-04-2411-201/+319
| | | | | | | | | | | | Bump to the latest 4.1.7 version and improve the cross-build logic. With the new patches the build is basically architecture-agnostic making it possible to ditch the arch-specific cache to use a generic one. Some toolchains might not be too happy with samba4 because of bitrot, hopefully we'll find and fix or blacklist those with autobuilder help. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: security bump to version 4.1.6Gustavo Zacarias2014-03-121-1/+1
| | | | | | | Fixes CVE-2013-4496 and CVE-2013-6442. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* samba4: move x86_64 answer cache fileGustavo Zacarias2014-03-041-0/+65
| | | | | | | | | | The x86_64 answer cache file from commit d191d40e3fd8cef7fbf3168fdc261de8d4b114fd was intended for a previous draft version of the samba4 package that resided in a different directory. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: fix readline supportGustavo Zacarias2014-03-032-1/+34
| | | | | | | | | | Add automatic readline support since it's used when available. Also add a patch to update to new-style typedefs that were removed from readline 6.3 that causes build breakage. Fixes: http://autobuild.buildroot.net/results/b13/b137c237ff6df81dd10f7895278d1f2f5d2326de/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: add comment arch dependenciesBaruch Siach2014-03-021-0/+1
| | | | | | | | Hide the comment for unsupported architectures. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: add cross answers for x86_64Christophe Vu-Brugier2014-03-021-1/+1
| | | | | Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: new packageGustavo Zacarias2014-03-0210-0/+570
Samba 4.1.x uses the waf build system which isn't very cross-compile friendly, and also some tests are formulated in a way that isn't cross-build friendly either by needing to run them. For this reason the samba4 build system includes a way to define answers for many of the tests, but this support isn't complete and some tests still want to be executed. Samba 4.1.x also requires a proper answers file for each architecture, and at the moment i've only tested for ARM and PowerPC so only those architectures are supported to begin with. To add support for another architecture basically copy one of the cache files to the proper name, enable it in Config.in and adjust endianess and all of the "size of" answers. I'm in the process of automating the sizeof and endianess answers within the samba build system to make them cross friendly to simplify the answers file to just one generic linux variant. The 3.6.x branch is still security supported for the forseeable future. I'm currently working with samba upstream to solve many of these issues but this will probably happen with the yet unreleased 4.2 branch only. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud