libnids: Upgrade to 1.24
PATCH 1/1 libnids: Upgrade to 1.24
* Addresses CVE-2010-0751
* Use new-style checksums
Signed-off-by Scott Garman <[email protected]>
--- conf/checksums.ini | 8 --- recipes/libnids/libnids-1.18/configure.patch | 60 -------------------------- recipes/libnids/libnids-1.24/configure.patch | 60 ++++++++++++++++++++++++++ recipes/libnids/libnids_1.18.bb | 24 ---------- recipes/libnids/libnids_1.24.bb | 26 +++++++++++ 5 files changed, 86 insertions(+), 92 deletions(-) delete mode 100644 recipes/libnids/libnids-1.18/configure.patch create mode 100644 recipes/libnids/libnids-1.24/configure.patch delete mode 100644 recipes/libnids/libnids_1.18.bb create mode 100644 recipes/libnids/libnids_1.24.bb
conf/checksums.ini +0 -8
@@ -15998,14 +15998,6 @@ sha256=c2ae0a07d863536261b8a0562f3f77aa224fa1f413d85d824a765d00e37c5de4 md5=055e3eedf735ee1257fd4bb9ce86d04e sha256=adf3612367456328609c65ecc39c9bb08c0fef84cebbd1a3b5fcfe5e9614ac82 -[http://downloads.sourceforge.net/libnids/libnids-1.18.tar.gz] -md5=9ee6dcdfac97bae6fe611aa27d2594a5 -sha256=b0275c914197a53c6ccf631eac756fd37ec6f2d8f09f15757061495cf9be0fcd - -[http://heanet.dl.sourceforge.net/libnids/libnids-1.18.tar.gz] -md5=9ee6dcdfac97bae6fe611aa27d2594a5 -sha256=b0275c914197a53c6ccf631eac756fd37ec6f2d8f09f15757061495cf9be0fcd - [http://people.suug.ch/~tgr/libnl/files/libnl-0.5.0.tar.gz] md5=c58ec5032f393f569ef7f489436651b3 sha256=89a6b5086987460ddd9b24723f35a3a951ccf2886cabe26bef89b8c53528fec5
recipes/libnids/libnids-1.18/configure.patch deleted +0 -60
60 lines not on this page · raw message
recipes/libnids/libnids-1.24/configure.patch new file +60 -0
60 lines not on this page · raw message
recipes/libnids/libnids_1.18.bb deleted +0 -24
@@ -1,24 +0,0 @@ -DESCRIPTION = "Libnids performs assembly of TCP segments \ -into TCP streams, IP defragmentation, and TCP port \ -scan detection." -LICENSE = "GPL" -SECTION = "libs" -DEPENDS = "libnet-1.0 libpcap" -PR = "r1" - -SRC_URI = "\ - ${SOURCEFORGE_MIRROR}/libnids/libnids-${PV}.tar.gz \ - file://configure.patch;patch=1" - -inherit autotools - -EXTRA_OECONF = "\ - --with-libpcap=${STAGING_LIBDIR}/.. \ - --with-libnet=${STAGING_LIBDIR}/.. \ -" -EXTRA_OEMAKE = "'install_prefix=${D}'" - -do_stage () { - install -m 0644 ${S}/src/nids.h ${STAGING_INCDIR}/ - oe_libinstall -a -C src libnids ${STAGING_LIBDIR} -}
recipes/libnids/libnids_1.24.bb new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "Libnids performs assembly of TCP segments \ +into TCP streams, IP defragmentation, and TCP port \ +scan detection." +LICENSE = "GPL" +SECTION = "libs" +DEPENDS = "libnet-1.0 libpcap" +PR = "r0" + +SRC_URI = "\ + ${SOURCEFORGE_MIRROR}/libnids/libnids-${PV}.tar.gz;name=libnids \ + file://configure.patch;patch=1" +SRC_URI[libnids.md5sum] = "72d37c79c85615ffe158aa524d649610" +SRC_URI[libnids.sha256sum] = "314b4793e0902fbf1fdb7fb659af37a3c1306ed1aad5d1c84de6c931b351d359" + +inherit autotools + +EXTRA_OECONF = "\ + --with-libpcap=${STAGING_LIBDIR}/.. \ + --with-libnet=${STAGING_LIBDIR}/.. \ +" +EXTRA_OEMAKE = "'install_prefix=${D}'" + +do_stage () { + install -m 0644 ${S}/src/nids.h ${STAGING_INCDIR}/ + oe_libinstall -a -C src libnids ${STAGING_LIBDIR} +}
Signature · 1 line
1.6.3.3
Sorry, cancel that patch - I just discovered that libnids 1.18 is a PREFERRED_VERSION in openmoko.
I will delete this patch from patchwork and submit a new one that doesn't delete the old version.
Scott
Signature · 2 lines
Scott Garman sgarman at zenlinux dot com