diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-13 15:55:36 +0200 |
---|---|---|
committer | Eric BĂ©nard <eric@eukrea.com> | 2013-08-22 09:51:26 +0200 |
commit | 4e20b9c7bb92215f481a063229c521859f733e03 (patch) | |
tree | 04308611c4240ac1e54ca38cb4b155e83794618c /meta-oe | |
parent | 082f1052ec356e5e2a7b406e38bd8287b6d34e11 (diff) | |
download | meta-openembedded-4e20b9c7bb92215f481a063229c521859f733e03.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc index e7defaaa0..df8ed684d 100644 --- a/meta-oe/recipes-connectivity/samba/samba.inc +++ b/meta-oe/recipes-connectivity/samba/samba.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | SECTION = "console/network" | 1 | SECTION = "console/network" |
2 | LICENSE = "GPL-3.0" | 2 | LICENSE = "GPL-3.0" |
3 | DEPENDS = "readline virtual/libiconv talloc" | 3 | DEPENDS = "readline virtual/libiconv talloc zlib popt" |
4 | 4 | ||
5 | SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ | 5 | SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ |
6 | file://volatiles.03_samba \ | 6 | file://volatiles.03_samba \ |
@@ -33,12 +33,17 @@ EXTRA_OECONF='--disable-cups \ | |||
33 | --with-mandir=${mandir} \ | 33 | --with-mandir=${mandir} \ |
34 | --with-swatdir=${datadir}/swat \ | 34 | --with-swatdir=${datadir}/swat \ |
35 | --with-aio-support \ | 35 | --with-aio-support \ |
36 | --with-winbind \ | ||
37 | --with-wbclient \ | ||
36 | --without-libtalloc \ | 38 | --without-libtalloc \ |
37 | --without-acl-support \ | 39 | --without-acl-support \ |
38 | --disable-avahi \ | 40 | --disable-avahi \ |
39 | samba_cv_struct_timespec=yes \ | 41 | samba_cv_struct_timespec=yes \ |
40 | libreplace_cv_HAVE_MMAP=${SAMBAMMAP}' | 42 | libreplace_cv_HAVE_MMAP=${SAMBAMMAP}' |
41 | 43 | ||
44 | PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | ||
45 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam" | ||
46 | |||
42 | INITSCRIPT_PACKAGES = "samba winbind" | 47 | INITSCRIPT_PACKAGES = "samba winbind" |
43 | INITSCRIPT_NAME_samba = "samba" | 48 | INITSCRIPT_NAME_samba = "samba" |
44 | INITSCRIPT_NAME_winbind = "winbind" | 49 | INITSCRIPT_NAME_winbind = "winbind" |