aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/msktutil
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-25 23:15:25 -0800
committerKhem Raj <raj.khem@gmail.com>2023-01-26 10:24:25 -0800
commitcd10cbd00d2aa7dc9b5b4bd71a9a5ad1e9fbc6a3 (patch)
treef8ba073ebbdf3e392cf454489d15928ac727c5fd /meta-oe/recipes-support/msktutil
parentf7c4193e691ed17ede338c075591ea775c36fece (diff)
downloadmeta-openembedded-contrib-cd10cbd00d2aa7dc9b5b4bd71a9a5ad1e9fbc6a3.tar.gz
msktutil: Upgrade to 1.2.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/msktutil')
-rw-r--r--meta-oe/recipes-support/msktutil/msktutil/0001-configure.ac-Remove-native-include-path.patch31
-rw-r--r--meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb (renamed from meta-oe/recipes-support/msktutil/msktutil_1.2.bb)5
2 files changed, 34 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/msktutil/msktutil/0001-configure.ac-Remove-native-include-path.patch b/meta-oe/recipes-support/msktutil/msktutil/0001-configure.ac-Remove-native-include-path.patch
new file mode 100644
index 0000000000..1643c08566
--- /dev/null
+++ b/meta-oe/recipes-support/msktutil/msktutil/0001-configure.ac-Remove-native-include-path.patch
@@ -0,0 +1,31 @@
+From bf9795ffbda7bb241b708ff261976016efb943b1 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 25 Jan 2023 23:12:19 -0800
+Subject: [PATCH] configure.ac: Remove native include path
+
+On OE com_err.h is found in /usr/include too, therefore adding new path
+to include search path is not needed. Moreover it fixed QA checks where
+it warns about using build system paths.
+
+Upstream-Status: Inappropriate [Cross-compile specific]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index eaac16f..d23d0b0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -134,7 +134,6 @@ fi
+ # Fedora, RHEL, Centos has com_err.h in /usr/include/et
+ AC_CHECK_HEADERS([et/com_err.h])
+ if test "$ac_cv_header_et_com_err_h" = "yes"; then
+- CPPFLAGS="-I/usr/include/et $CPPFLAGS"
+ AC_DEFINE(HAVE_COM_ERR_H, 1)
+ fi
+
+--
+2.39.1
+
diff --git a/meta-oe/recipes-support/msktutil/msktutil_1.2.bb b/meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb
index 1b9a04ef29..b4f4651e37 100644
--- a/meta-oe/recipes-support/msktutil/msktutil_1.2.bb
+++ b/meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb
@@ -7,8 +7,9 @@ DESCRIPTION = "Msktutil creates user or computer accounts in Active Directory, \
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a"
-SRC_URI = "https://github.com/msktutil/msktutil/releases/download/v${PV}/msktutil-${PV}.tar.bz2"
-SRC_URI[sha256sum] = "27dc078cbac3186540d8ea845fc0ced6b1d9f844e586ccd9eaa2d9f4650c2ce6"
+SRC_URI = "https://github.com/msktutil/msktutil/releases/download/${PV}/${BP}.tar.bz2 \
+ file://0001-configure.ac-Remove-native-include-path.patch"
+SRC_URI[sha256sum] = "f9686237c4e24414802415f4c8627c7343da365c5a3bcdef7a853fa3cd27b45d"
DEPENDS += "krb5 cyrus-sasl openldap"