adcli: added new recipe.

-radiusclient-ng is too old. So, added a substitute.

-Has fixed the build on musl.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Zang Ruochen 2019-07-12 13:36:45 +08:00 committed by Khem Raj
parent da057468d7
commit 826898d878
2 changed files with 53 additions and 0 deletions

View File

@ -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 \
"

View File

@ -0,0 +1,26 @@
From 0e64782a45cba9753d1210ee7d7c9dbd42f74ceb Mon Sep 17 00:00:00 2001
From: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Date: Fri, 12 Jul 2019 12:46:54 +0800
Subject: [PATCH] Fixed build error on musl.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
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 <assert.h>
#include <ctype.h>
#include <errno.h>
+#include <endian.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
2.20.1