added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,80 @@
From f97c26f5effd4372f7e03f9e4178d42a9ad8d4b3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 2 Sep 2022 13:33:16 -0700
Subject: [PATCH] Fix function declararions
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
TEST/v2test_ec.c | 2 ++
TEST/v2test_ein.c | 1 +
backend/cimxml/cimXmlParser.c | 6 +++++-
backend/cimxml/grammar.c | 2 ++
4 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/TEST/v2test_ec.c b/TEST/v2test_ec.c
index ad34dcc..d3e566d 100644
--- a/TEST/v2test_ec.c
+++ b/TEST/v2test_ec.c
@@ -6,6 +6,8 @@
#include "cmcimacs.h"
extern char *value2Chars(CMPIType type, CMPIValue * value);
+extern void showClass( CMPIConstClass * in_class );
+
/*
* comment out this define to use v2 http XML interface
*/
diff --git a/TEST/v2test_ein.c b/TEST/v2test_ein.c
index c1b4692..5d5ef5d 100644
--- a/TEST/v2test_ein.c
+++ b/TEST/v2test_ein.c
@@ -6,6 +6,7 @@
#include "cmcimacs.h"
extern char *value2Chars(CMPIType type, CMPIValue * value);
+extern void showObjectPath( CMPIObjectPath * objectpath );
void showProperty( CMPIData , char * );
void showInstance( CMPIInstance * );
static char * CMPIState_str(CMPIValueState);
diff --git a/backend/cimxml/cimXmlParser.c b/backend/cimxml/cimXmlParser.c
index d1ab86e..9f5d1ca 100644
--- a/backend/cimxml/cimXmlParser.c
+++ b/backend/cimxml/cimXmlParser.c
@@ -34,6 +34,8 @@
#include <pthread.h>
+void startParsing(ParserControl *parm);
+
static int attrsOk(XmlBuffer * xb, const XmlElement * e, XmlAttr * r,
const char *tag, int etag);
static char *getValue(XmlBuffer * xb, const char *v);
@@ -1350,7 +1352,9 @@ ResponseHdr scanCimXmlResponse(const char *xmlData, CMPIObjectPath *cop)
control.heap = parser_heap_init();
- control.respHdr.rc = startParsing(&control);
+ control.respHdr.rc = 0;
+
+ startParsing(&control);
parser_heap_term(control.heap);
diff --git a/backend/cimxml/grammar.c b/backend/cimxml/grammar.c
index 6a0a969..a3dcdea 100644
--- a/backend/cimxml/grammar.c
+++ b/backend/cimxml/grammar.c
@@ -23,6 +23,8 @@
#include "sfcUtil/utilft.h"
#include "parserUtil.h"
+CMPIType guessType(char *val);
+void setClassMethods(CMPIConstClass *cls, XtokMethods *ms);
static int ct = 0;
static int dontLex = 0;
--
2.37.3

View File

@@ -0,0 +1,37 @@
From 9981542cb443cdaf9134500b78fe7eda9f99861f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 7 Sep 2017 21:43:26 -0700
Subject: [PATCH] cimxml: Include sys/select.h for fd_set
define __SOCKADDR_ARG on linux when libc != glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending
backend/cimxml/indicationlistener.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/backend/cimxml/indicationlistener.c b/backend/cimxml/indicationlistener.c
index 0d7d9fe..37c45ae 100755
--- a/backend/cimxml/indicationlistener.c
+++ b/backend/cimxml/indicationlistener.c
@@ -25,6 +25,7 @@
#include <pthread.h>
#include <sys/socket.h>
+#include <sys/select.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <errno.h>
@@ -36,7 +37,7 @@ static int do_listen=1;
#define hdrBufsize 5000
#define hdrLimmit 5000
-#ifdef __APPLE__
+#if defined(__APPLE__) || (defined(__linux__) && !defined(__GLIBC__))
# define __SOCKADDR_ARG struct sockaddr *__restrict
#endif
--
2.14.1

View File

@@ -0,0 +1,18 @@
SUMMARY = "Small Footprint CIM Client Library"
DESCRIPTION = "Small Footprint CIM Client Library Runtime Libraries"
HOMEPAGE = "http://www.sblim.org"
SRC_URI = "http://netcologne.dl.sourceforge.net/project/sblim/${BPN}/${BPN}-${PV}.tar.bz2 \
file://0001-cimxml-Include-sys-select.h-for-fd_set.patch \
file://0001-Fix-function-declararions.patch \
"
SRC_URI[md5sum] = "0bac0dec19f17ec065b6c332a56d7bae"
SRC_URI[sha256sum] = "1b8f187583bc6c6b0a63aae0165ca37892a2a3bd4bb0682cd76b56268b42c3d6"
LICENSE = "EPL-1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=f300afd598546add034364cd0a533261"
DEPENDS = "curl"
inherit autotools