summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch41
-rw-r--r--meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch11
-rw-r--r--meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch49
-rw-r--r--meta-networking/recipes-support/openipmi/openipmi_2.0.36.bb (renamed from meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb)15
4 files changed, 13 insertions, 103 deletions
diff --git a/meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch b/meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch
deleted file mode 100644
index 00956fb117..0000000000
--- a/meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 3a35611687864cf3599712d0d2ff54532b0118ac Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 3 Oct 2021 21:42:32 +0200
4Subject: [PATCH] m4/ax_python_devel.m4: do not check for distutils
5
6With py 3.10 this prints a deprecation warning which is
7taken as an error. Upstream should rework the code to not
8use distuils.
9
10Upstream-Status: Inappropriate [needs a proper fix upstream]
11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12---
13 m4/ax_python_devel.m4 | 15 ---------------
14 1 file changed, 15 deletions(-)
15
16diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
17index e0804c5..cfc0b24 100644
18--- a/m4/ax_python_devel.m4
19+++ b/m4/ax_python_devel.m4
20@@ -138,21 +138,6 @@ variable to configure. See ``configure --help'' for reference.
21 fi
22 fi
23
24- #
25- # Check if you have distutils, else fail
26- #
27- AC_MSG_CHECKING([for the distutils Python package])
28- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
29- if test -z "$ac_distutils_result"; then
30- AC_MSG_RESULT([yes])
31- else
32- AC_MSG_RESULT([no])
33- AC_MSG_ERROR([cannot import Python module "distutils".
34-Please check your Python installation. The error was:
35-$ac_distutils_result])
36- PYTHON_VERSION=""
37- fi
38-
39 #
40 # Check for Python include path
41 #
diff --git a/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch b/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
index 2434884248..262c1f87aa 100644
--- a/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
+++ b/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
@@ -1,4 +1,4 @@
1From 7854c60c92243adb14ea89e16fc226d2e47dd4f9 Mon Sep 17 00:00:00 2001 1From 4d6904ec43981216e995fb28c4dfa73d3a130fd1 Mon Sep 17 00:00:00 2001
2From: Aws Ismail <aws.ismail@windriver.com> 2From: Aws Ismail <aws.ismail@windriver.com>
3Date: Thu, 7 Jun 2012 16:00:13 -0400 3Date: Thu, 7 Jun 2012 16:00:13 -0400
4Subject: [PATCH] Fix symlink install error in cmdlang 4Subject: [PATCH] Fix symlink install error in cmdlang
@@ -14,14 +14,17 @@ Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
14 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
15 15
16diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am 16diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
17index 0ca3827..d9a941f 100644 17index 7235446..e99c67b 100644
18--- a/cmdlang/Makefile.am 18--- a/cmdlang/Makefile.am
19+++ b/cmdlang/Makefile.am 19+++ b/cmdlang/Makefile.am
20@@ -35,6 +35,7 @@ openipmish_LDADD = libOpenIPMIcmdlang.la \ 20@@ -41,6 +41,7 @@ openipmish_CFLAGS = -Wall -Wsign-compare -I$(top_builddir)/include \
21 # compatability. 21 # compatability.
22 install-data-local: 22 install-exec-hook:
23 rm -f $(DESTDIR)$(bindir)/ipmish 23 rm -f $(DESTDIR)$(bindir)/ipmish
24+ mkdir -p $(DESTDIR)$(bindir)/ 24+ mkdir -p $(DESTDIR)$(bindir)/
25 $(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish 25 $(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish
26 26
27 uninstall-local: 27 uninstall-local:
28--
292.25.1
30
diff --git a/meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch b/meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch
deleted file mode 100644
index 1aea32eaec..0000000000
--- a/meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From 5a4abf223d79d4e1a58bbad1e4f2f406c7cab748 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Mon, 29 Dec 2014 18:16:04 +0800
4Subject: [PATCH] remove host path from la_LDFLAGS
5
6Upstream-Status: Inappropriate [ cross compile specific ]
7
8Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9---
10 cmdlang/Makefile.am | 2 +-
11 unix/Makefile.am | 4 ++--
12 2 files changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
15index 9cf180d..da46ceb 100644
16--- a/cmdlang/Makefile.am
17+++ b/cmdlang/Makefile.am
18@@ -18,7 +18,7 @@ libOpenIPMIcmdlang_la_LIBADD = -lm \
19 $(top_builddir)/utils/libOpenIPMIutils.la \
20 $(top_builddir)/lib/libOpenIPMI.la
21 libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
22- -L$(libdir) -no-undefined
23+ -no-undefined
24
25 bin_PROGRAMS = openipmish
26
27diff --git a/unix/Makefile.am b/unix/Makefile.am
28index baf0815..80c3d5d 100644
29--- a/unix/Makefile.am
30+++ b/unix/Makefile.am
31@@ -11,13 +11,13 @@ libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c
32 libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \
33 $(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB)
34 libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
35- -L$(libdir) -no-undefined
36+ -no-undefined
37
38 libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c
39 libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \
40 $(GDBM_LIB) $(RT_LIB)
41 libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \
42- -L$(libdir) -no-undefined
43+ -no-undefined
44
45 noinst_HEADERS = heap.h
46
47--
482.17.1
49
diff --git a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb b/meta-networking/recipes-support/openipmi/openipmi_2.0.36.bb
index 8625afaa74..35fea7879f 100644
--- a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
+++ b/meta-networking/recipes-support/openipmi/openipmi_2.0.36.bb
@@ -26,26 +26,23 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
26SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \ 26SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \
27 file://fix-symlink-install-error-in-cmdlang.patch \ 27 file://fix-symlink-install-error-in-cmdlang.patch \
28 file://openipmi-no-openipmigui-man.patch \ 28 file://openipmi-no-openipmigui-man.patch \
29 file://openipmi-remove-host-path-from-la_LDFLAGS.patch \
30 file://ipmi-init-fix-the-arguments.patch \ 29 file://ipmi-init-fix-the-arguments.patch \
31 file://include_sys_types.patch \ 30 file://include_sys_types.patch \
32 file://openipmi-helper \ 31 file://openipmi-helper \
33 file://ipmi.service \ 32 file://ipmi.service \
34 file://0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch \ 33"
35 "
36 34
37S = "${WORKDIR}/OpenIPMI-${PV}" 35S = "${WORKDIR}/OpenIPMI-${PV}"
38 36
39SRC_URI[md5sum] = "532404c9df7d0e8bde975b95b9e6775b" 37SRC_URI[sha256sum] = "a0403148fa5f7bed930c958a4d1c558047e273763a408b3a0368edc137cc55d9"
40SRC_URI[sha256sum] = "f6d0fd4c0a74b05f80907229d0b270f54ca23294bcc11979f8b8d12766786945"
41 38
42inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base python3targetconfig 39inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd cpan-base python3targetconfig
43 40
44EXTRA_OECONF = "--disable-static \ 41EXTRA_OECONF = "--disable-static \
45 --with-perl='${STAGING_BINDIR_NATIVE}/perl-native/perl' \ 42 --with-perl='${STAGING_BINDIR_NATIVE}/perl-native/perl' \
46 --with-python='${STAGING_BINDIR_NATIVE}/python3-native/python3' \ 43 --with-glibver=2.0 \
47 --with-pythoninstall='${PYTHON_SITEPACKAGES_DIR}' \ 44 --with-pythoncflags='-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}' \
48 --with-glibver=2.0" 45 "
49 46
50PACKAGECONFIG ??= "gdbm" 47PACKAGECONFIG ??= "gdbm"
51PACKAGECONFIG[gdbm] = "ac_cv_header_gdbm_h=yes,ac_cv_header_gdbm_h=no,gdbm," 48PACKAGECONFIG[gdbm] = "ac_cv_header_gdbm_h=yes,ac_cv_header_gdbm_h=no,gdbm,"