net-snmp: add v5.4.2.1
PATCH 1/1 net-snmp: add v5.4.2.1
Signed-off-by Evan Doiron <[email protected]>
---
conf/checksums.ini | 4 +++
.../configure-tail.patch | 0
recipes/net-snmp/net-snmp_5.4.2.1.bb | 26 ++++++++++++++++++++
3 files changed, 30 insertions(+), 0 deletions(-)
copy recipes/net-snmp/{net-snmp-5.4.1 => net-snmp-5.4.2.1}/configure-tail.patch (100%)
create mode 100644 recipes/net-snmp/net-snmp_5.4.2.1.bbconf/checksums.ini +4 -0
@@ -17898,6 +17898,10 @@ sha256=0ea976722c993c87dede8eb6348e6feb059e3851bbef2de824bf18ac97cdb565 md5=6c974df7a5a5b1579f72115e6b045bda sha256=0ea976722c993c87dede8eb6348e6feb059e3851bbef2de824bf18ac97cdb565 +[http://downloads.sourceforge.net/net-snmp/net-snmp-5.4.2.1.tar.gz] +md5=984932520143f0c8bf7b7ce1fc9e1da1 +sha256=11a8baf167f7bfff60d2590e050991400a3a082923dbcdbf85e0e0ce46eb247c + [http://download.berlios.de/net-tools/net-tools-1.60.tar.bz2] md5=888774accab40217dde927e21979c165 sha256=7ae4dd6d44d6715f18e10559ffd270511b6e55a8900ca54fbebafe0ae6cf7d7b
recipes/net-snmp/net-snmp-5.4.2.1/configure-tail.patch renamed from recipes/net-snmp/net-snmp-5.4.1/configure-tail.patch +0 -0
recipes/net-snmp/net-snmp_5.4.2.1.bb new file +26 -0
@@ -0,0 +1,26 @@ +require net-snmp.inc + +SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ + file://configure-tail.patch;patch=1 \ + file://init \ + file://snmpd.conf \ + file://snmptrapd.conf" + +EXTRA_OECONF = "--enable-shared --disable-manuals --with-defaults \ + --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 + + #The tarball for v5.4.2.1 is missing config.sub + cp ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} +} + +PARALLEL_MAKE = "" +CCACHE = ""
Signature · 1 line
1.6.0.2
Quoted 50 lines · Evan Doiron
Signed-off-by Evan Doiron <[email protected]>--- conf/checksums.ini | 4 +++ .../configure-tail.patch | 0 recipes/net-snmp/net-snmp_5.4.2.1.bb | 26 ++++++++++++++++++++ 3 files changed, 30 insertions(+), 0 deletions(-) copy recipes/net-snmp/{net-snmp-5.4.1 => net-snmp-5.4.2.1}/configure-tail.patch (100%) create mode 100644 recipes/net-snmp/net-snmp_5.4.2.1.bbconf/checksums.ini +4
-0@@ -17898,6 +17898,10 @@ sha256=0ea976722c993c87dede8eb6348e6feb059e3851bbef2de824bf18ac97cdb565 md5=6c974df7a5a5b1579f72115e6b045bda sha256=0ea976722c993c87dede8eb6348e6feb059e3851bbef2de824bf18ac97cdb565 +[http://downloads.sourceforge.net/net-snmp/net-snmp-5.4.2.1.tar.gz] +md5=984932520143f0c8bf7b7ce1fc9e1da1 +sha256=11a8baf167f7bfff60d2590e050991400a3a082923dbcdbf85e0e0ce46eb247c + [http://download.berlios.de/net-tools/net-tools-1.60.tar.bz2] md5=888774accab40217dde927e21979c165 sha256=7ae4dd6d44d6715f18e10559ffd270511b6e55a8900ca54fbebafe0ae6cf7d7brecipes/net-snmp/net-snmp-5.4.2.1/configure-tail.patch renamed from recipes/net-snmp/net-snmp-5.4.1/configure-tail.patch +0
-0recipes/net-snmp/net-snmp_5.4.2.1.bb new file +16
-0@@ -0,0 +1,26 @@ +require net-snmp.inc + +SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ + file://configure-tail.patch;patch=1 \ + file://init \ + file://snmpd.conf \ + file://snmptrapd.conf" + +EXTRA_OECONF = "--enable-shared --disable-manuals --with-defaults \ + --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.
recipes/net-snmp/net-snmp_5.4.2.1.bb line 26
Quoted 10 lines
recipes/net-snmp/net-snmp_5.4.2.1.bb new file +10
-0+ sed -e '/echo.*\".*\\\\.*\"/s/echo/echo -e/g' \ + -e 's/tail -1/tail -n 1/g' \ + -i configure + + #The tarball for v5.4.2.1 is missing config.sub + cp ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} +} + +PARALLEL_MAKE = "" +CCACHE = ""
just curious on why CCACHE is disabled.
Quoted 8 lines
Signature · 7 lines
1.6.0.2 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 7 lines · Khem Raj
recipes/net-snmp/net-snmp_5.4.2.1.bb line 26
Quoted 4 lines · Evan Doiron
recipes/net-snmp/net-snmp_5.4.2.1.bb new file +3
-0+ +PARALLEL_MAKE = "" +CCACHE = ""just curious on why CCACHE is disabled.
It seems the Parallel_Make and CCache were introduced in the commit below:
commit 8b12893071b868cd76e88155fcdc2ae2acc3ff1d
Author: Sergey Lapin <[email protected]>
Date: Thu Jan 29 16:12:06 2009 +0300
net-snmp_svn, net-snmp_5.1.2, net-snmp_5.4.1: extractedcommon parts
As I do not utilize either Parallel_Make or CCache in my build environment, I do not know if it will build properly with caching enabled. It seems that since CCache is not disabled in the net-snmp.inc that the original author could have intended to allow certain recipes to support caching, but as I don't have the facilities to test it I am unable to report which (if any) will build with caching enabled.
Signature · 4 lines
Evan Doiron Software Developer Canadian Bank Note Company Limited [email protected]