All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net-snmp: add v5.4.2.1
@ 2009-08-25 19:49 Evan Doiron
  2009-08-26  1:58 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Evan Doiron @ 2009-08-25 19:49 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Evan Doiron <edoiron@cbnco.com>
---
 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.bb

diff --git a/conf/checksums.ini b/conf/checksums.ini
index ba06d5d..290fd7a 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -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
diff --git a/recipes/net-snmp/net-snmp-5.4.1/configure-tail.patch b/recipes/net-snmp/net-snmp-5.4.2.1/configure-tail.patch
similarity index 100%
copy from recipes/net-snmp/net-snmp-5.4.1/configure-tail.patch
copy to recipes/net-snmp/net-snmp-5.4.2.1/configure-tail.patch
diff --git a/recipes/net-snmp/net-snmp_5.4.2.1.bb b/recipes/net-snmp/net-snmp_5.4.2.1.bb
new file mode 100644
index 0000000..3c51a5f
--- /dev/null
+++ b/recipes/net-snmp/net-snmp_5.4.2.1.bb
@@ -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 = ""
-- 
1.6.0.2




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net-snmp: add v5.4.2.1
  2009-08-25 19:49 [PATCH] net-snmp: add v5.4.2.1 Evan Doiron
@ 2009-08-26  1:58 ` Khem Raj
  2009-08-26 13:06   ` Evan Doiron
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2009-08-26  1:58 UTC (permalink / raw)
  To: openembedded-devel

On (25/08/09 15:49), Evan Doiron wrote:
> Signed-off-by: Evan Doiron <edoiron@cbnco.com>
> ---
>  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.bb
> 
> diff --git a/conf/checksums.ini b/conf/checksums.ini
> index ba06d5d..290fd7a 100644
> --- a/conf/checksums.ini
> +++ b/conf/checksums.ini
> @@ -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
> diff --git a/recipes/net-snmp/net-snmp-5.4.1/configure-tail.patch b/recipes/net-snmp/net-snmp-5.4.2.1/configure-tail.patch
> similarity index 100%
> copy from recipes/net-snmp/net-snmp-5.4.1/configure-tail.patch
> copy to recipes/net-snmp/net-snmp-5.4.2.1/configure-tail.patch
> diff --git a/recipes/net-snmp/net-snmp_5.4.2.1.bb b/recipes/net-snmp/net-snmp_5.4.2.1.bb
> new file mode 100644
> index 0000000..3c51a5f
> --- /dev/null
> +++ b/recipes/net-snmp/net-snmp_5.4.2.1.bb
> @@ -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 = ""

just curious on why CCACHE is disabled.

> -- 
> 1.6.0.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net-snmp: add v5.4.2.1
  2009-08-26  1:58 ` Khem Raj
@ 2009-08-26 13:06   ` Evan Doiron
  0 siblings, 0 replies; 3+ messages in thread
From: Evan Doiron @ 2009-08-26 13:06 UTC (permalink / raw)
  To: openembedded-devel

Khem Raj wrote:
> On (25/08/09 15:49), Evan Doiron wrote:
>> +
>> +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 <slapin@ossfans.org>
        Date:   Thu Jan 29 16:12:06 2009 +0300

            net-snmp_svn, net-snmp_5.1.2, net-snmp_5.4.1: extracted
common 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.

-- 
Evan Doiron
Software Developer
Canadian Bank Note Company Limited
edoiron@cbnco.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-26 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 19:49 [PATCH] net-snmp: add v5.4.2.1 Evan Doiron
2009-08-26  1:58 ` Khem Raj
2009-08-26 13:06   ` Evan Doiron

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.