From e54dcda0f3850194a820cfeb994832fa9b73f7de Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 17 Mar 2010 14:20:04 +0800 Subject: wv: Upgrade to 1.2.4 to address multiple flaws Addressed CVE-2006-4513. --- recipes/wv/wv-1.2.0/pkgconfig.patch | 13 ------------- recipes/wv/wv-1.2.4/pkgconfig.patch | 13 +++++++++++++ recipes/wv/wv_1.2.0.bb | 22 ---------------------- recipes/wv/wv_1.2.4.bb | 25 +++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 35 deletions(-) delete mode 100644 recipes/wv/wv-1.2.0/pkgconfig.patch create mode 100644 recipes/wv/wv-1.2.4/pkgconfig.patch delete mode 100644 recipes/wv/wv_1.2.0.bb create mode 100644 recipes/wv/wv_1.2.4.bb (limited to 'recipes') diff --git a/recipes/wv/wv-1.2.0/pkgconfig.patch b/recipes/wv/wv-1.2.0/pkgconfig.patch deleted file mode 100644 index 136d89341f..0000000000 --- a/recipes/wv/wv-1.2.0/pkgconfig.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: wv-1.2.0/wv-1.0.pc.in -=================================================================== ---- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000 -+++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000 -@@ -6,5 +6,6 @@ - Name: wvWare - Description: Word Document Filter library and utilities - Version: @VERSION@ --Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm --Cflags: -I${includedir}/wv @GSF_CFLAGS@ -+Requires: libgsf-1 -+Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm -+Cflags: -I${includedir}/wv diff --git a/recipes/wv/wv-1.2.4/pkgconfig.patch b/recipes/wv/wv-1.2.4/pkgconfig.patch new file mode 100644 index 0000000000..136d89341f --- /dev/null +++ b/recipes/wv/wv-1.2.4/pkgconfig.patch @@ -0,0 +1,13 @@ +Index: wv-1.2.0/wv-1.0.pc.in +=================================================================== +--- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000 ++++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000 +@@ -6,5 +6,6 @@ + Name: wvWare + Description: Word Document Filter library and utilities + Version: @VERSION@ +-Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm +-Cflags: -I${includedir}/wv @GSF_CFLAGS@ ++Requires: libgsf-1 ++Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm ++Cflags: -I${includedir}/wv diff --git a/recipes/wv/wv_1.2.0.bb b/recipes/wv/wv_1.2.0.bb deleted file mode 100644 index b3114a5325..0000000000 --- a/recipes/wv/wv_1.2.0.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Programs for accessing Microsoft Word documents" -HOMEPAGE = "http://wvware.sourceforge.net/" -LICENSE = "GPLv2" -DEPENDS = "libgsf glib-2.0" -PR = "r4" - -SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ - file://pkgconfig.patch;patch=1" - -inherit autotools pkgconfig - -S = "${WORKDIR}/${PN}-${PV}" - -EXTRA_OECONF = "" - -do_stage () { - autotools_stage_all -} - -do_compile () { - oe_runmake -f GNUmakefile -} diff --git a/recipes/wv/wv_1.2.4.bb b/recipes/wv/wv_1.2.4.bb new file mode 100644 index 0000000000..8b773270c5 --- /dev/null +++ b/recipes/wv/wv_1.2.4.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Programs for accessing Microsoft Word documents" +HOMEPAGE = "http://wvware.sourceforge.net/" +LICENSE = "GPLv2" +DEPENDS = "libgsf glib-2.0" +PR = "r4" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz;name=src \ + file://pkgconfig.patch;patch=1" +SRC_URI[src.md5sum] = "c1861c560491f121e12917fa76970ac5" +SRC_URI[src.sha256sum] = "673109910e22d4cf94cc8be4dcb9a0c41b5fbdb1736d4b7bdc7778894d57c2d6" + + +inherit autotools pkgconfig + +S = "${WORKDIR}/${PN}-${PV}" + +EXTRA_OECONF = "" + +do_stage () { + autotools_stage_all +} + +do_compile () { + oe_runmake -f GNUmakefile +} -- cgit v1.2.3