From 826898d8783e70772af9876c0219fb31c4b01763 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Fri, 12 Jul 2019 13:36:45 +0800 Subject: adcli: added new recipe. -radiusclient-ng is too old. So, added a substitute. -Has fixed the build on musl. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- .../recipes-connectivity/adcli/adcli_0.8.2.bb | 27 ++++++++++++++++++++++ .../adcli/files/Fixed-build-error-on-musl.patch | 26 +++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb create mode 100644 meta-networking/recipes-connectivity/adcli/files/Fixed-build-error-on-musl.patch 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 0000000000..75f303068b --- /dev/null +++ b/meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb @@ -0,0 +1,27 @@ +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 \ + file://Fixed-build-error-on-musl.patch \ + " + +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 \ + " diff --git a/meta-networking/recipes-connectivity/adcli/files/Fixed-build-error-on-musl.patch b/meta-networking/recipes-connectivity/adcli/files/Fixed-build-error-on-musl.patch new file mode 100644 index 0000000000..87bcdfebd7 --- /dev/null +++ b/meta-networking/recipes-connectivity/adcli/files/Fixed-build-error-on-musl.patch @@ -0,0 +1,26 @@ +From 0e64782a45cba9753d1210ee7d7c9dbd42f74ceb Mon Sep 17 00:00:00 2001 +From: Zang Ruochen +Date: Fri, 12 Jul 2019 12:46:54 +0800 +Subject: [PATCH] Fixed build error on musl. + +Signed-off-by: Khem Raj +Signed-off-by: Zang Ruochen +--- + library/adutil.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/library/adutil.c b/library/adutil.c +index 9b0c47f..b673edd 100644 +--- a/library/adutil.c ++++ b/library/adutil.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.20.1 + -- cgit 1.2.3-korg