aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/net-snmp/net-snmp_5.7.1.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-12-26 21:22:26 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-12-27 19:34:26 +0100
commitcdef9bfa63ffd00ab18d8a4da86d2ec95b7b2d80 (patch)
tree985d24dfa4b5e57c73e1a12cd08263c11191c298 /recipes/net-snmp/net-snmp_5.7.1.bb
parent6131292e6e5c8d2b3a39cbd0ca78393845eebe4b (diff)
downloadopenembedded-cdef9bfa63ffd00ab18d8a4da86d2ec95b7b2d80.tar.gz
net-snmp: added version 5.7.1
Backported from meta-oe where it was contributed by Eric BĂ©nard While at it also fixed some whitespace warnings. Gave it a DEFAULT_PREFERENCE of 1 so it gets preference above the older svn recipe (svn is deprecatted by net-snmp anyway) Rationale for adding is because the existing recipe does not build for uclibc, and the new version does. Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/net-snmp/net-snmp_5.7.1.bb')
-rw-r--r--recipes/net-snmp/net-snmp_5.7.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/net-snmp/net-snmp_5.7.1.bb b/recipes/net-snmp/net-snmp_5.7.1.bb
new file mode 100644
index 0000000000..08571e9043
--- /dev/null
+++ b/recipes/net-snmp/net-snmp_5.7.1.bb
@@ -0,0 +1,28 @@
+require net-snmp.inc
+PR = "${INC_PR}.0"
+LIC_FILES_CHKSUM = "file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5a622ea24634e"
+
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
+ file://init \
+ file://snmpd.conf \
+ file://snmptrapd.conf"
+
+EXTRA_OECONF += "--disable-embedded-perl --with-perl-modules=no"
+EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
+
+do_configure_prepend() {
+ gnu-configize -f
+ # We better change sources and re-autoconf here, but
+ # required autoconf is too new for us.
+ sed -e '/echo.*\".*\\\\.*\"/s/echo/echo -e/g' \
+ -e 's/tail -1/tail -n 1/g' \
+ -i configure
+}
+
+PARALLEL_MAKE = ""
+CCACHE = ""
+
+SRC_URI[md5sum] = "c95d08fd5d93df0c11a2e1bdf0e01e0b"
+SRC_URI[sha256sum] = "7c71c9650c65b715356547e20ca2dbe6313944278af8cc19c32a5337f46b181f"