Liu Yiding b80cb54dc6
adcli: upgrade 0.9.2 -> 0.9.3.1
1. Add pkgconfig to solve following configure error:
 ../sources/adcli-0.9.3.1/configure: line 15340: syntax error near unexpected token `LIBSELINUX,'
 ../sources/adcli-0.9.3.1/configure: line 15340: `PKG_CHECK_MODULES(LIBSELINUX, libselinux, found_libselinux=yes, found_libselinux=no)'

2. Add PACKAGECONFIG[selinux] for new selinux support in 0.9.3.1.

3. Add 0001-configure.ac-Fix-selinux-error-for-cross_compiling.patch to fix SELINUX_MAKEFILE file check in 0.9.3.1.

4. Add --disable-offline-join-support to solve following configure error

 configure: error: Couldn't build offline join support, Samba version too old or libnatapi devel package is missing

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-20 08:27:11 -08:00

31 lines
1.0 KiB
BlitzBasic

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 = "f3b69c2497c1a66359047abc3042c11cab2199e1"
SRC_URI = "git://gitlab.freedesktop.org/realmd/adcli;protocol=https;branch=master;tag=${PV} \
file://0001-configure.ac-Fix-selinux-error-for-cross_compiling.patch \
"
LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
inherit autotools xmlcatalog pkgconfig
DEPENDS += "virtual/crypt krb5 openldap gettext libxslt xmlto libxml2-native \
cyrus-sasl libxslt-native xmlto-native coreutils-native\
"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
PACKAGECONFIG[selinux] = ",--disable-selinux-support,libselinux,libselinux"
EXTRA_OECONF += "--disable-silent-rules \
--disable-doc \
--disable-offline-join-support \
"
FILES:${PN} += "${datadir}"