[oe] [meta-networking][PATCH v2] adcli: added new recipe.

Khem Raj raj.khem at gmail.com
Wed Jul 10 16:23:07 UTC 2019


On Wed, Jun 26, 2019 at 10:57 PM Lei Maohui <leimaohui at cn.fujitsu.com> wrote:
>
> radiusclient-ng is too old. So, added a substitute.
>

This fails to build on musl
https://errors.yoctoproject.org/Errors/Details/251280/

Can you try a patch like this and see if it works for you?
it will also fix the build on musl

--- a/library/adutil.c
+++ b/library/adutil.c
@@ -30,6 +30,7 @@
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>
+#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>


> Signed-off-by: Lei Maohui <leimaohui at cn.fujitsu.com>
> ---
>  .../recipes-connectivity/adcli/adcli_0.8.2.bb      | 26 ++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb
>
> diff --git a/meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb b/meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb
> new file mode 100644
> index 0000000..a98a1b3
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb
> @@ -0,0 +1,26 @@
> +SUMMARY = "Active Directory enrollment"
> +DESCRIPTION = "A helper library and tools for Active Directory client operations."
> +
> +HOMEPAGE = "http://cgit.freedesktop.org/realmd/adcli"
> +SECTION = "net"
> +
> +SRCREV = "cc3ef52884a48863a81acbfc741735fe09cd85f7"
> +
> +SRC_URI = "git://gitlab.freedesktop.org/realmd/adcli;branch=master \
> +          "
> +
> +S = "${WORKDIR}/git"
> +
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
> +
> +inherit autotools xmlcatalog
> +
> +DEPENDS += "virtual/crypt krb5 openldap gettext libxslt xmlto libxml2-native \
> +            cyrus-sasl libxslt-native xmlto-native coreutils-native\
> +           "
> +
> +EXTRA_OECONF += "--disable-static \
> +                 --disable-silent-rules \
> +                 --disable-doc \
> +                "
> --
> 2.7.4
>
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list