diff options
| -rw-r--r-- | meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch | 41 | ||||
| -rw-r--r-- | meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch | 11 | ||||
| -rw-r--r-- | meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch | 49 | ||||
| -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 @@ | |||
| 1 | From 3a35611687864cf3599712d0d2ff54532b0118ac Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Sun, 3 Oct 2021 21:42:32 +0200 | ||
| 4 | Subject: [PATCH] m4/ax_python_devel.m4: do not check for distutils | ||
| 5 | |||
| 6 | With py 3.10 this prints a deprecation warning which is | ||
| 7 | taken as an error. Upstream should rework the code to not | ||
| 8 | use distuils. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [needs a proper fix upstream] | ||
| 11 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 12 | --- | ||
| 13 | m4/ax_python_devel.m4 | 15 --------------- | ||
| 14 | 1 file changed, 15 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 | ||
| 17 | index 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 @@ | |||
| 1 | From 7854c60c92243adb14ea89e16fc226d2e47dd4f9 Mon Sep 17 00:00:00 2001 | 1 | From 4d6904ec43981216e995fb28c4dfa73d3a130fd1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Aws Ismail <aws.ismail@windriver.com> | 2 | From: Aws Ismail <aws.ismail@windriver.com> |
| 3 | Date: Thu, 7 Jun 2012 16:00:13 -0400 | 3 | Date: Thu, 7 Jun 2012 16:00:13 -0400 |
| 4 | Subject: [PATCH] Fix symlink install error in cmdlang | 4 | Subject: [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 | ||
| 16 | diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am | 16 | diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am |
| 17 | index 0ca3827..d9a941f 100644 | 17 | index 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 | -- | ||
| 29 | 2.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 @@ | |||
| 1 | From 5a4abf223d79d4e1a58bbad1e4f2f406c7cab748 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
| 3 | Date: Mon, 29 Dec 2014 18:16:04 +0800 | ||
| 4 | Subject: [PATCH] remove host path from la_LDFLAGS | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [ cross compile specific ] | ||
| 7 | |||
| 8 | Signed-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 | |||
| 14 | diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am | ||
| 15 | index 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 | |||
| 27 | diff --git a/unix/Makefile.am b/unix/Makefile.am | ||
| 28 | index 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 | -- | ||
| 48 | 2.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 \ | |||
| 26 | SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \ | 26 | SRC_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 | ||
| 37 | S = "${WORKDIR}/OpenIPMI-${PV}" | 35 | S = "${WORKDIR}/OpenIPMI-${PV}" |
| 38 | 36 | ||
| 39 | SRC_URI[md5sum] = "532404c9df7d0e8bde975b95b9e6775b" | 37 | SRC_URI[sha256sum] = "a0403148fa5f7bed930c958a4d1c558047e273763a408b3a0368edc137cc55d9" |
| 40 | SRC_URI[sha256sum] = "f6d0fd4c0a74b05f80907229d0b270f54ca23294bcc11979f8b8d12766786945" | ||
| 41 | 38 | ||
| 42 | inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base python3targetconfig | 39 | inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd cpan-base python3targetconfig |
| 43 | 40 | ||
| 44 | EXTRA_OECONF = "--disable-static \ | 41 | EXTRA_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 | ||
| 50 | PACKAGECONFIG ??= "gdbm" | 47 | PACKAGECONFIG ??= "gdbm" |
| 51 | PACKAGECONFIG[gdbm] = "ac_cv_header_gdbm_h=yes,ac_cv_header_gdbm_h=no,gdbm," | 48 | PACKAGECONFIG[gdbm] = "ac_cv_header_gdbm_h=yes,ac_cv_header_gdbm_h=no,gdbm," |
