diff options
Diffstat (limited to 'recipes-extended/openipmi')
6 files changed, 98 insertions, 0 deletions
diff --git a/recipes-extended/openipmi/openipmi-2.0.21/makefile.patch b/recipes-extended/openipmi/openipmi-2.0.21/makefile.patch new file mode 100644 index 0000000..1fedc48 --- /dev/null +++ b/recipes-extended/openipmi/openipmi-2.0.21/makefile.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | diff --git a/unix/Makefile.am b/unix/Makefile.am | ||
2 | index a792147..a108bc6 100644 | ||
3 | --- a/unix/Makefile.am | ||
4 | +++ b/unix/Makefile.am | ||
5 | @@ -11,13 +11,13 @@ libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c | ||
6 | libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \ | ||
7 | $(top_builddir)/utils/libOpenIPMIutils.la | ||
8 | libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ | ||
9 | - -Wl,-Map -Wl,libOpenIPMIpthread.map -L$(libdir) | ||
10 | + -Wl,-Map -Wl,libOpenIPMIpthread.map | ||
11 | |||
12 | libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c | ||
13 | libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \ | ||
14 | $(GDBM_LIB) | ||
15 | libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ | ||
16 | - -Wl,-Map -Wl,libOpenIPMIposix.map -L$(libdir) | ||
17 | + -Wl,-Map -Wl,libOpenIPMIposix.map | ||
18 | |||
19 | noinst_HEADERS = heap.h | ||
20 | |||
diff --git a/recipes-extended/openipmi/openipmi-2.0.21/makefile_cmdlang.patch b/recipes-extended/openipmi/openipmi-2.0.21/makefile_cmdlang.patch new file mode 100644 index 0000000..354e2b9 --- /dev/null +++ b/recipes-extended/openipmi/openipmi-2.0.21/makefile_cmdlang.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am | ||
2 | index e80090d..b59ff24 100644 | ||
3 | --- a/cmdlang/Makefile.am | ||
4 | +++ b/cmdlang/Makefile.am | ||
5 | @@ -16,7 +16,7 @@ libOpenIPMIcmdlang_la_LIBADD = -lm \ | ||
6 | $(top_builddir)/utils/libOpenIPMIutils.la \ | ||
7 | $(top_builddir)/lib/libOpenIPMI.la | ||
8 | libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ | ||
9 | - -Wl,-Map -Wl,libOpenIPMIcmdlang.map -L$(libdir) | ||
10 | + -Wl,-Map -Wl,libOpenIPMIcmdlang.map | ||
11 | |||
12 | bin_PROGRAMS = openipmish | ||
13 | |||
diff --git a/recipes-extended/openipmi/openipmi-2.0.21/makefile_glib.patch b/recipes-extended/openipmi/openipmi-2.0.21/makefile_glib.patch new file mode 100644 index 0000000..4615ccc --- /dev/null +++ b/recipes-extended/openipmi/openipmi-2.0.21/makefile_glib.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | diff --git a/glib/Makefile.am b/glib/Makefile.am | ||
2 | index 671cae2..eff55f3 100644 | ||
3 | --- a/glib/Makefile.am | ||
4 | +++ b/glib/Makefile.am | ||
5 | @@ -11,14 +11,14 @@ libOpenIPMIglib_la_SOURCES = glib_os_hnd.c | ||
6 | libOpenIPMIglib_la_CFLAGS = $(GLIB_CFLAGS) $(AM_CFLAGS) | ||
7 | libOpenIPMIglib_la_LIBADD = $(GDBM_LIB) | ||
8 | libOpenIPMIglib_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ | ||
9 | - -Wl,-Map -Wl,libOpenIPMIglib.map $(GLIB_LIBS) -L$(libdir) \ | ||
10 | + -Wl,-Map -Wl,libOpenIPMIglib.map $(GLIB_LIBS) \ | ||
11 | -rpath $(libdir) | ||
12 | |||
13 | libOpenIPMIglib12_la_SOURCES = glib_os_hnd.c | ||
14 | libOpenIPMIglib12_la_CFLAGS = $(GLIB12_CFLAGS) $(AM_CFLAGS) | ||
15 | libOpenIPMIglib12_la_LIBADD = $(GDBM_LIB) | ||
16 | libOpenIPMIglib12_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ | ||
17 | - -Wl,-Map -Wl,libOpenIPMIglib12.map $(GLIB12_LIBS) -L$(libdir) \ | ||
18 | + -Wl,-Map -Wl,libOpenIPMIglib12.map $(GLIB12_LIBS) \ | ||
19 | -rpath $(libdir) | ||
20 | |||
21 | CLEANFILES = libOpenIPMIglib.map libOpenIPMIglib12.map | ||
diff --git a/recipes-extended/openipmi/openipmi-2.0.21/makefile_tcl.patch b/recipes-extended/openipmi/openipmi-2.0.21/makefile_tcl.patch new file mode 100644 index 0000000..46911b5 --- /dev/null +++ b/recipes-extended/openipmi/openipmi-2.0.21/makefile_tcl.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/tcl/Makefile.am b/tcl/Makefile.am | ||
2 | index b702819..282619c 100644 | ||
3 | --- a/tcl/Makefile.am | ||
4 | +++ b/tcl/Makefile.am | ||
5 | @@ -11,7 +11,7 @@ libOpenIPMItcl_la_SOURCES = tcl_os_hnd.c | ||
6 | libOpenIPMItcl_la_CFLAGS = $(TCL_CFLAGS) $(AM_CFLAGS) | ||
7 | libOpenIPMItcl_la_LIBADD = $(GDBM_LIB) | ||
8 | libOpenIPMItcl_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ | ||
9 | - -Wl,-Map -Wl,libOpenIPMItcl.map $(TCL_LIBS) -L$(libdir) \ | ||
10 | + -Wl,-Map -Wl,libOpenIPMItcl.map $(TCL_LIBS) \ | ||
11 | -rpath $(libdir) | ||
12 | |||
13 | noinst_PROGRAMS = test_handlers | ||
diff --git a/recipes-extended/openipmi/openipmi.inc b/recipes-extended/openipmi/openipmi.inc new file mode 100644 index 0000000..eb2c252 --- /dev/null +++ b/recipes-extended/openipmi/openipmi.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "This is the OpenIPMI library, a library that makes simplifies building complex IPMI management software." | ||
2 | SECTION = "console/network" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
5 | DEPENDS = "openssl popt zlib" | ||
6 | |||
7 | INC_PR = "r0" | ||
8 | |||
9 | inherit autotools gettext update-alternatives | ||
10 | |||
11 | EXTRA_OECONF = "\ | ||
12 | --prefix=${prefix} \ | ||
13 | --without-python \ | ||
14 | ${@base_contains("OPENCLOVIS_FEATURES_ENABLE", "snmp", "--with-ucdsnmp=no", "", d)} \ | ||
15 | " | ||
16 | |||
17 | S = "${WORKDIR}/OpenIPMI-${PV}" | ||
18 | |||
19 | PARALLEL_MAKEINST = "" | ||
diff --git a/recipes-extended/openipmi/openipmi_2.0.21.bb b/recipes-extended/openipmi/openipmi_2.0.21.bb new file mode 100644 index 0000000..6ada1d8 --- /dev/null +++ b/recipes-extended/openipmi/openipmi_2.0.21.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | PR = "${INC_PR}.0" | ||
2 | |||
3 | SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \ | ||
4 | file://makefile.patch \ | ||
5 | file://makefile_glib.patch \ | ||
6 | file://makefile_cmdlang.patch \ | ||
7 | file://makefile_tcl.patch \ | ||
8 | " | ||
9 | SRC_URI[md5sum] = "dc0b42ae40b3f1d0db2a94b75b95fae1" | ||
10 | SRC_URI[sha256sum] = "37b844d02119b94b31e2bb2bd8062ffdf6cd3eb4bc75fa6c47184e8b14fe95b8" | ||
11 | |||
12 | require openipmi.inc | ||