Skip to contentSkip to conversation

adcli: added new recipe.

PATCH In review Lei Maohui 2 participants 3 messages Jun 27, 2019 – Jul 11, 2019

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH v2 1/1 adcli: added new recipe.

radiusclient-ng is too old. So, added a substitute.

---
 .../recipes-connectivity/adcli/adcli_0.8.2.bb      | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb
meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb new file +26 -0
new file mode 100644
index 0000000..a98a1b3
@@ -0,0 +1,26 @@
+SUMMARY = "Active Directory enrollment"
+DESCRIPTION = "A helper library and tools for Active Directory client operations."
+
+HOMEPAGE = "http://cgit.freedesktop.org/realmd/adcli"
+SECTION = "net"
+
+SRCREV = "cc3ef52884a48863a81acbfc741735fe09cd85f7"
+
+SRC_URI = "git://gitlab.freedesktop.org/realmd/adcli;branch=master \
+          "
+
+S = "${WORKDIR}/git"
+
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
+
+inherit autotools xmlcatalog 
+
+DEPENDS += "virtual/crypt krb5 openldap gettext libxslt xmlto libxml2-native \
+            cyrus-sasl libxslt-native xmlto-native coreutils-native\
+           "
+
+EXTRA_OECONF += "--disable-static \
+                 --disable-silent-rules \
+                 --disable-doc \
+                "
Signature · 1 line
2.7.4
#1 lore raw
Quoted 3 lines · Lei Maohui

radiusclient-ng is too old. So, added a substitute.

This fails to build on musl
https://errors.yoctoproject.org/Errors/Details/251280/

Can you try a patch like this and see if it works for you? it will also fix the build on musl

library/adutil.c +1 -0
@@ -30,6 +30,7 @@
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>
+#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
Quoted 48 lines
---
 .../recipes-connectivity/adcli/adcli_0.8.2.bb      | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb
meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb new file +26 -1
new file mode 100644
index 0000000..a98a1b3
@@ -0,0 +1,26 @@
+SUMMARY = "Active Directory enrollment"
+DESCRIPTION = "A helper library and tools for Active Directory client operations."
+
+HOMEPAGE = "http://cgit.freedesktop.org/realmd/adcli"
+SECTION = "net"
+
+SRCREV = "cc3ef52884a48863a81acbfc741735fe09cd85f7"
+
+SRC_URI = "git://gitlab.freedesktop.org/realmd/adcli;branch=master \
+          "
+
+S = "${WORKDIR}/git"
+
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
+
+inherit autotools xmlcatalog
+
+DEPENDS += "virtual/crypt krb5 openldap gettext libxslt xmlto libxml2-native \
+            cyrus-sasl libxslt-native xmlto-native coreutils-native\
+           "
+
+EXTRA_OECONF += "--disable-static \
+                 --disable-silent-rules \
+                 --disable-doc \
+                "
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Hi,

Thank you, I will update my patch.

Best regards.
Lei

Quoted 83 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, July 11, 2019 12:23 AM
To: Lei, Maohui
Cc: openembeded-devel
Subject: Re: [oe] [meta-networking][PATCH v2] adcli: added new recipe.

Quoted 3 lines · Lei Maohui

radiusclient-ng is too old. So, added a substitute.

This fails to build on musl
https://errors.yoctoproject.org/Errors/Details/251280/

Can you try a patch like this and see if it works for you? it will also fix the build on musl

library/adutil.c +1 -0
@@ -30,6 +30,7 @@
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>
+#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
Quoted 5 lines
---
 .../recipes-connectivity/adcli/adcli_0.8.2.bb      | 26

++++++++++++++++++++++

Review

Quoted 4 lines
 1 file changed, 26 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb
(quoted diff) +0 -0

b/meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb

meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb line 2

Quoted 7 lines

new file mode 100644
index 0000000..a98a1b3

meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb new file +2 -0
@@ -0,0 +1,26 @@
+SUMMARY = "Active Directory enrollment"
+DESCRIPTION = "A helper library and tools for Active Directory client

operations."

Quoted 7 lines
meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb new file +7 -0
+
+HOMEPAGE = "http://cgit.freedesktop.org/realmd/adcli"
+SECTION = "net"
+
+SRCREV = "cc3ef52884a48863a81acbfc741735fe09cd85f7"
+
+SRC_URI = "git://gitlab.freedesktop.org/realmd/adcli;branch=master \

meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb line 19

Quoted 10 lines
meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb new file +10 -0
+          "
+
+S = "${WORKDIR}/git"
+
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
+
+inherit autotools xmlcatalog
+
+DEPENDS += "virtual/crypt krb5 openldap gettext libxslt xmlto libxml2-native

\

Quoted 17 lines
meta-networking/recipes-connectivity/adcli/adcli_0.8.2.bb new file +7 -1
+            cyrus-sasl libxslt-native xmlto-native coreutils-native\
+           "
+
+EXTRA_OECONF += "--disable-static \
+                 --disable-silent-rules \
+                 --disable-doc \
+                "
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel