* [meta-oe][PATCH 0/1] net-snmp: add knob whether nlist.h are checked
@ 2014-03-13 3:26 Chong Lu
2014-03-13 3:26 ` [meta-oe][PATCH 1/1] " Chong Lu
0 siblings, 1 reply; 2+ messages in thread
From: Chong Lu @ 2014-03-13 3:26 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit 3cb58d800c5131bd0519a676a45c26f47b69745f:
fbgrab: fix installed but not shipped warnings (2014-03-11 14:58:51 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib chonglu/netsnmp
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/netsnmp
Chong Lu (1):
net-snmp: add knob whether nlist.h are checked
...snmp-add-knob-whether-nlist.h-are-checked.patch | 35 ++++++++++++++++++++++
.../recipes-protocols/net-snmp/net-snmp_5.7.2.bb | 4 +++
2 files changed, 39 insertions(+)
create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-add-knob-whether-nlist.h-are-checked.patch
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [meta-oe][PATCH 1/1] net-snmp: add knob whether nlist.h are checked
2014-03-13 3:26 [meta-oe][PATCH 0/1] net-snmp: add knob whether nlist.h are checked Chong Lu
@ 2014-03-13 3:26 ` Chong Lu
0 siblings, 0 replies; 2+ messages in thread
From: Chong Lu @ 2014-03-13 3:26 UTC (permalink / raw)
To: openembedded-devel
Previously, it still was checked when there was no nlish.h in sysroots directory.
Add knob to decide whether nlist.h are checked or not.
Fixed by using PACKAGECONFIG to check elf, with default disabled set.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
...snmp-add-knob-whether-nlist.h-are-checked.patch | 35 ++++++++++++++++++++++
.../recipes-protocols/net-snmp/net-snmp_5.7.2.bb | 4 +++
2 files changed, 39 insertions(+)
create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-add-knob-whether-nlist.h-are-checked.patch
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-add-knob-whether-nlist.h-are-checked.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-add-knob-whether-nlist.h-are-checked.patch
new file mode 100644
index 0000000..74b0c12
--- /dev/null
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-add-knob-whether-nlist.h-are-checked.patch
@@ -0,0 +1,35 @@
+net-snmp: add knob whether nlist.h are checked
+
+Previously, it still was checked when there was no nlish.h in sysroots directory.
+Add knob to decide whether nlist.h are checked or not.
+
+Upstream-status: Pending
+
+Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
+---
+ configure.d/config_os_headers | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.d/config_os_headers b/configure.d/config_os_headers
+index d903f58..a05d30e 100644
+--- a/configure.d/config_os_headers
++++ b/configure.d/config_os_headers
+@@ -31,6 +31,7 @@ AC_CHECK_HEADERS([getopt.h pthread.h regex.h ] dnl
+ [sys/un.h ])
+
+ # Library and Agent:
++if test "x$with_elf" != "xno"; then
+ AC_CHECK_HEADERS([nlist.h],,,[
+ AC_INCLUDES_DEFAULT
+ [
+@@ -38,6 +39,7 @@ AC_INCLUDES_DEFAULT
+ #define LIBBSD_DISABLE_DEPRECATED 1
+ #endif
+ ]])
++fi
+
+ # Library:
+ AC_CHECK_HEADERS([fcntl.h io.h kstat.h ] dnl
+--
+1.7.9.5
+
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
index d21995a..f644e19 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5
DEPENDS = "openssl libnl pciutils"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"
+
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
@@ -16,6 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
file://snmpd.service \
file://snmptrapd.service \
file://ifmib.patch \
+ file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \
"
SRC_URI[md5sum] = "5bddd02e2f82b62daa79f82717737a14"
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-13 3:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13 3:26 [meta-oe][PATCH 0/1] net-snmp: add knob whether nlist.h are checked Chong Lu
2014-03-13 3:26 ` [meta-oe][PATCH 1/1] " Chong Lu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.