[oe-commits] [openembedded-core] 02/20: dropbear: deterministic selection of system -vs- bundled libtom libs

git at git.openembedded.org git at git.openembedded.org
Mon Sep 19 22:58:39 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b7c2edd2d6ded287d8b34dd047ae84d3fd69d4c6
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Fri Sep 16 15:29:12 2016 -0700

    dropbear: deterministic selection of system -vs- bundled libtom libs
    
    Dropbear will use system versions of libtommath and libtomcrypt if
    available. To make builds deterministic, add a PACKAGECONFIG option
    to choose system libs or force use of the bundled versions.
    
    Note that currently there are no libtommath or libtomcrypt recipes
    in oe-core, so default to using the bundled versions.
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/dropbear/dropbear.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index cdac7ec..bda7eb8 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -45,6 +45,10 @@ SYSTEMD_SERVICE_${PN} = "dropbear.socket"
 SBINCOMMANDS = "dropbear dropbearkey dropbearconvert"
 BINCOMMANDS = "dbclient ssh scp"
 EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"'
+
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[system-libtom] = "--disable-bundled-libtom,--enable-bundled-libtom,libtommath libtomcrypt"
+
 EXTRA_OECONF += "\
  ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list