From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH][meta-oe 1/2] samba: include auth_unix only with pam in PACKAGECONFIG
Date: Thu, 24 Mar 2016 15:21:54 +0100 [thread overview]
Message-ID: <20160324142154.GB2518@jama> (raw)
In-Reply-To: <1458318648-6295-1-git-send-email-Martin.Jansa@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2497 bytes --]
On Fri, Mar 18, 2016 at 05:30:47PM +0100, Martin Jansa wrote:
> * fixes:
> WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
> reported by test-dependencies
> * log.do_package shows:
> DEBUG: samba: Dependency libpam.so.0 requires package libpam (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/samba/4.1.12-r0/packages-split/samba/usr/lib/samba/libauth4.so)
> * source4/auth/ntlm/wscript_build shows pam dependency:
> bld.SAMBA_MODULE('auth4_unix',
> source='auth_unix.c',
> subsystem='auth4',
> init_function='auth4_unix_init',
> deps='pam PAM_ERRORS LIBTSOCKET'
> )
This still isn't enough to get rid of pam autodependency. I've tried to
patch wscript files a bit to respect pam everywhere, but now it fails to
build, I'm willing to give-up on this one, I don't even use samba
anywhere FFS, I should do something more interesting with my limited
time.
http://git.openembedded.org/meta-openembedded-contrib/commit/?h=jansa/master-next-unresolved-review&id=b838ec649c8f88e40ac7799bb19421c6f02a54ec
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> index ff58dae..e9e2724 100644
> --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> @@ -82,7 +82,7 @@ SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'sasl', '', 'file://21-avoid-s
>
> SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2"
> SAMBA4_PDB_MODULES="pdb_tdbsam,${@bb.utils.contains('PACKAGECONFIG', 'ldap', 'pdb_ldap,', '', d)}pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4"
> -SAMBA4_AUTH_MODULES="auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4"
> +SAMBA4_AUTH_MODULES="${@bb.utils.contains('PACKAGECONFIG', 'pam', 'auth_unix,', '', d)}auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4"
> SAMBA4_MODULES="${SAMBA4_IDMAP_MODULES},${SAMBA4_PDB_MODULES},${SAMBA4_AUTH_MODULES}"
>
> SAMBA4_LIBS="heimdal,!zlib,!popt,!talloc,!pytalloc,!pytalloc-util,!tevent,!pytevent,!tdb,!pytdb,!ldb,!pyldb"
> --
> 2.7.3
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
prev parent reply other threads:[~2016-03-24 14:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 16:30 [PATCH][meta-oe 1/2] samba: include auth_unix only with pam in PACKAGECONFIG Martin Jansa
2016-03-18 16:30 ` [PATCH][meta-oe 2/2] libftdi: Fix cpp-wrapper options Martin Jansa
2016-03-24 14:19 ` Martin Jansa
2016-03-24 14:21 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160324142154.GB2518@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox