19 Commits

Author SHA1 Message Date
Martin Jansa 93e2b33fb3 samba: add packageconfig for fam
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-22 09:51:27 +02:00
Martin Jansa 4e20b9c7bb samba: add dependency on zlib popt, PACKAGECONFIG for pam
* zlib, popt are autodetected or used in bundled versions
* pam is autodetected if available

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-22 09:51:26 +02:00
Martin Jansa 082f1052ec samba: use more specific LICENSE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-22 09:51:26 +02:00
Otavio Salvador 752ae3ee98 samba: Add usershare directory to the package
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-05-21 19:16:33 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* 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>
2013-04-15 16:23:17 +02:00
Andreas Oberritter f44c52cbae samba: fix install for older samba versions
* 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>
2013-03-12 11:22:40 +01:00
Otavio Salvador 3b214e28bc samba: Split libnss-winbind package
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>
2013-02-16 05:55:24 +01:00
Andreas Müller 18e56610d4 samba: add new package libwbclient to avoid libsmbclient dragging in samba
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>
2012-12-27 16:14:22 +01:00
Fahad Usman a623fd942f samba: disable avahi and build without acl
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>
2012-12-21 16:45:28 +01:00
Ting Liu 86c8f4503c samba: Fix build on Fedora 17
* 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>
2012-12-16 21:11:43 +01:00
Marcin Juszkiewicz 1ec00cda95 samba: added gnu-configize for AArch64 support
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:42 +01:00
Martin Jansa 47e94807f7 samba: remove empty /sbin
* fixes:
samba-3.6.8: samba: Files/directories were installed but not shipped
  /sbin

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:58 +01:00
Mario Domenech Goulart 69565759b6 samba: split winbind into winbind and libwinbind
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 13:55:57 +01:00
Martin Jansa 7cec8502b3 samba: update waf-as-source.patch to apply
* 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>
2012-11-29 11:03:34 +01:00
Martin Jansa 1571c2c566 samba: update documentation2.patch to apply
* 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>
2012-10-26 13:00:24 +02:00
Otavio Salvador be304441d8 samba: update to version 3.6.8
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-24 08:29:45 +02:00
Koen Kooi bd9ec602b9 samba: blacklist another python entry that leads to host contamination
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-23 15:53:12 +01:00
Richard Purdie 06ad2a21f2 samba: Force python disabled for now to avoid host contamination
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-16 08:43:43 +01:00
Koen Kooi afd7025670 samba 3.5.6: import from OE rev a54456425ea3ce4c7cdfa958cec3ba34539cfeec
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-13 14:37:53 +02:00