All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] Samba4 package
@ 2014-02-07 20:52 Gustavo Zacarias
  2014-02-07 20:52 ` [Buildroot] [PATCH 1/4] python: fixup python-config script Gustavo Zacarias
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Gustavo Zacarias @ 2014-02-07 20:52 UTC (permalink / raw)
  To: buildroot

This patchset adds a samba 4.1.x package to buildroot.

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 3.6.x is being kept because 4.1.x has a bigger footprint, changes
usage in some tools (swat has been dropped for example), has more
toolchain dependencies and there may be validation issues for users
as well.
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.

The python patch is a backport from the 3.4 branch to avoid using
a runtime python for python-config (a pure shell implementation).

Heimdal patches are all upstream.

Gustavo Zacarias (4):
  python: fixup python-config script
  heimdal: new package
  samba: convert to choice package
  samba4: new package

 .../heimdal/heimdal-0001-add-roken-h-process.patch | 195 ++++++++++++++
 package/heimdal/heimdal-0002-use-Getopt-Std.patch  |  30 +++
 package/heimdal/heimdal-0003-vendor.patch          |  19 ++
 package/heimdal/heimdal-0004-compile_et.patch      |  28 ++
 package/heimdal/heimdal.mk                         |  30 +++
 .../python/python-2.7-017-fix-python-config.patch  | 205 +++++++++++++++
 package/samba/Config.in                            | 285 +++------------------
 package/samba/samba.mk                             | 179 +------------
 package/samba/{ => samba3}/Config.in               |  99 +++----
 package/samba/{ => samba3}/S91smb                  |   0
 .../samba3-0001-fix-smbd-libs-avahi.patch}         |   0
 .../samba3-0002-getaddrinfo.patch}                 |   0
 package/samba/samba3/samba3.mk                     | 181 +++++++++++++
 package/samba/{ => samba3}/simple.conf             |   0
 package/samba/{ => samba4}/S91smb                  |  42 +--
 package/samba/samba4/arm-cache.txt                 |  65 +++++
 package/samba/samba4/powerpc-cache.txt             |  65 +++++
 ...-0001-build-don-t-execute-tests-summary.c.patch |  67 +++++
 ...ld-don-t-execute-statfs-and-f_fsid-checks.patch |  31 +++
 ...003-build-find-FILE_OFFSET_BITS-via-array.patch |  54 ++++
 ...uild-allow-some-python-variable-overrides.patch |  45 ++++
 ...amba4-0005-builtin-heimdal-external-tools.patch |  42 +++
 package/samba/samba4/samba4.mk                     | 111 ++++++++
 23 files changed, 1251 insertions(+), 522 deletions(-)
 create mode 100644 package/heimdal/heimdal-0001-add-roken-h-process.patch
 create mode 100644 package/heimdal/heimdal-0002-use-Getopt-Std.patch
 create mode 100644 package/heimdal/heimdal-0003-vendor.patch
 create mode 100644 package/heimdal/heimdal-0004-compile_et.patch
 create mode 100644 package/heimdal/heimdal.mk
 create mode 100644 package/python/python-2.7-017-fix-python-config.patch
 copy package/samba/{ => samba3}/Config.in (67%)
 copy package/samba/{ => samba3}/S91smb (100%)
 rename package/samba/{samba-fix-smbd-libs-avahi.patch => samba3/samba3-0001-fix-smbd-libs-avahi.patch} (100%)
 rename package/samba/{samba-getaddrinfo.patch => samba3/samba3-0002-getaddrinfo.patch} (100%)
 create mode 100644 package/samba/samba3/samba3.mk
 rename package/samba/{ => samba3}/simple.conf (100%)
 rename package/samba/{ => samba4}/S91smb (52%)
 mode change 100755 => 100644
 create mode 100644 package/samba/samba4/arm-cache.txt
 create mode 100644 package/samba/samba4/powerpc-cache.txt
 create mode 100644 package/samba/samba4/samba4-0001-build-don-t-execute-tests-summary.c.patch
 create mode 100644 package/samba/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch
 create mode 100644 package/samba/samba4/samba4-0003-build-find-FILE_OFFSET_BITS-via-array.patch
 create mode 100644 package/samba/samba4/samba4-0004-build-allow-some-python-variable-overrides.patch
 create mode 100644 package/samba/samba4/samba4-0005-builtin-heimdal-external-tools.patch
 create mode 100644 package/samba/samba4/samba4.mk

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-02-11 11:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 20:52 [Buildroot] [PATCH 0/4] Samba4 package Gustavo Zacarias
2014-02-07 20:52 ` [Buildroot] [PATCH 1/4] python: fixup python-config script Gustavo Zacarias
2014-02-07 20:52 ` [Buildroot] [PATCH 2/4] heimdal: new package Gustavo Zacarias
2014-02-07 20:52 ` [Buildroot] [PATCH 3/4] samba: convert to choice package Gustavo Zacarias
2014-02-07 22:20   ` Samuel Martin
2014-02-10  6:48   ` Arnout Vandecappelle
2014-02-10 12:33     ` Thomas Petazzoni
2014-02-07 20:52 ` [Buildroot] [PATCH 4/4] samba4: new package Gustavo Zacarias
2014-02-07 22:29   ` Samuel Martin
2014-02-08  0:00     ` Gustavo Zacarias
2014-02-08 14:30 ` [Buildroot] [PATCH 0/4] Samba4 package Christophe Vu-Brugier
2014-02-10 12:34   ` Thomas Petazzoni
2014-02-10 15:01     ` Christophe Vu-Brugier
2014-02-10 15:05       ` Thomas Petazzoni
2014-02-11 11:59   ` Gustavo Zacarias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.