# ChangeLog for app-text/wv
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.48 2006/11/24 18:18:56 kloeri Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.49 2007/01/30 17:31:22 dang Exp $
+
+ 30 Jan 2007; Daniel Gryniewicz <dang@gentoo.org>
+ -files/wv-1.0.0-fix_overflow.patch, -files/wv-1.0.3-gcc4.patch,
+ -files/wv-1.0.3-libole2-readonly.patch, -wv-1.0.0-r1.ebuild,
+ -wv-1.2.0.ebuild, -wv-1.2.1.ebuild:
+ Remove vulnerable versions; bug #164202
24 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> wv-1.2.3-r1.ebuild:
Stable on Alpha + ia64, bug 153800.
-AUX wv-1.0.0-fix_overflow.patch 1693 RMD160 f5e100431c1609668e38eef07e40d1397bedd024 SHA1 f021fa487db83018431666aa0737f1dd991389bf SHA256 5ea11a2222793f1ed42defaa3c8261dfa6fa455ab1cbdd58a92303f0528e4681
-MD5 29b026d4ff443552a80797b397d37ec6 files/wv-1.0.0-fix_overflow.patch 1693
-RMD160 f5e100431c1609668e38eef07e40d1397bedd024 files/wv-1.0.0-fix_overflow.patch 1693
-SHA256 5ea11a2222793f1ed42defaa3c8261dfa6fa455ab1cbdd58a92303f0528e4681 files/wv-1.0.0-fix_overflow.patch 1693
-AUX wv-1.0.3-gcc4.patch 1131 RMD160 4bb2a379e56eefed64f55ae7be244a8c5807dbce SHA1 a16386a9b4289ddc70d6a9702513ea344eb970f7 SHA256 1d8bc67d909107f403ddb1c42f40afdccc8866fb472fdd15d55b14d0af78b833
-MD5 a1897cf5f55250ffef22b746b2b277f7 files/wv-1.0.3-gcc4.patch 1131
-RMD160 4bb2a379e56eefed64f55ae7be244a8c5807dbce files/wv-1.0.3-gcc4.patch 1131
-SHA256 1d8bc67d909107f403ddb1c42f40afdccc8866fb472fdd15d55b14d0af78b833 files/wv-1.0.3-gcc4.patch 1131
-AUX wv-1.0.3-libole2-readonly.patch 1053 RMD160 98d18c46dfb7eeb55fdfba7ffc64c27ab5620435 SHA1 132264370184598c77ed8d30442df487ef48483b SHA256 96a3dbbdc435b68edbb8c80471b22e4c99236b1f9318bcc4702a35eefed49bd9
-MD5 f7e6bc9c507c536f3b48679fe2dfafba files/wv-1.0.3-libole2-readonly.patch 1053
-RMD160 98d18c46dfb7eeb55fdfba7ffc64c27ab5620435 files/wv-1.0.3-libole2-readonly.patch 1053
-SHA256 96a3dbbdc435b68edbb8c80471b22e4c99236b1f9318bcc4702a35eefed49bd9 files/wv-1.0.3-libole2-readonly.patch 1053
-DIST wv-1.0.0.tar.gz 726428 RMD160 f95586f883c45db50f2927ad8d7db84e8a0e3e81 SHA1 a260c667f1d42dbeeade5c0e25d3ffce92a090db SHA256 629c484de2b62ae8a335c7f99be4ebdde35add6aff5edc3e0fddd48b9cef4030
-DIST wv-1.2.0.tar.gz 627912 RMD160 9658ab78813d2f49cbee5a0909f058956406c12e SHA1 c696685fdc1434e300fc9baad5f9f048e94971a7 SHA256 a76f44468e78591e6d510d326702e7c3999d2b9dd3ab8ab8c1c9811fd5b111e4
-DIST wv-1.2.1.tar.gz 628027 RMD160 92e1ee9ea7b35ad383cd904afd32516f051ef0c7 SHA1 3228e1af5fc022246926c04c369601e1c1473450 SHA256 a32ba44b9c1120f753359834037d6573b3e14aa2baf8f94f400c532ad196c732
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST wv-1.2.3.tar.gz 629506 RMD160 4d3bdfb44bb354bafa0c12677a299d94cfb7efe0 SHA1 a066532201605a7f9246cf55d13ee95350e2b128 SHA256 30e095bac65a3318cd3ea8616434de606c39dd351c7812a923fdb57f301d533e
-EBUILD wv-1.0.0-r1.ebuild 1048 RMD160 50d49c8ba1fb348f9b224491bdadd9381355471f SHA1 f193666519474c1d5e323d3073eb4c54a72834b8 SHA256 37125fff831fe65b9b64e9f479341ee9432347e774aefa008daacd9b29c756bc
-MD5 07df4473ffc0e4edb159f3555729e7e6 wv-1.0.0-r1.ebuild 1048
-RMD160 50d49c8ba1fb348f9b224491bdadd9381355471f wv-1.0.0-r1.ebuild 1048
-SHA256 37125fff831fe65b9b64e9f479341ee9432347e774aefa008daacd9b29c756bc wv-1.0.0-r1.ebuild 1048
-EBUILD wv-1.2.0.ebuild 1028 RMD160 822ab6e9164deb601ee35310bcb877a1d32b0436 SHA1 66ba5e5c5231a6475ef8e92b82af761a68651075 SHA256 c91679f0cd4384beac86c2ade35fe46c594a92c2afe2219ddc2f2a26dbf73e71
-MD5 d7311de965bd11e02257bd627bc2c7d9 wv-1.2.0.ebuild 1028
-RMD160 822ab6e9164deb601ee35310bcb877a1d32b0436 wv-1.2.0.ebuild 1028
-SHA256 c91679f0cd4384beac86c2ade35fe46c594a92c2afe2219ddc2f2a26dbf73e71 wv-1.2.0.ebuild 1028
-EBUILD wv-1.2.1.ebuild 1252 RMD160 1736ca1734587c4cf5a9798ecd2d396246320a29 SHA1 3c0427b0f2612cd3e66413ecbfcd5a3c8f00be9f SHA256 d3e62f12bc734eb6800b9ad8a81da7b8a3223cabc18058eacaa0f0f40e2ac2df
-MD5 691b391656f459f2771d662bb5e1fe9a wv-1.2.1.ebuild 1252
-RMD160 1736ca1734587c4cf5a9798ecd2d396246320a29 wv-1.2.1.ebuild 1252
-SHA256 d3e62f12bc734eb6800b9ad8a81da7b8a3223cabc18058eacaa0f0f40e2ac2df wv-1.2.1.ebuild 1252
EBUILD wv-1.2.3-r1.ebuild 1130 RMD160 1ce77859ad011d62982709884e82b04de2172b09 SHA1 104b28a85bd61f7822d578fa79b86bb0c716e759 SHA256 4688068f974f2cc73fcba1f75634ab2255f3910124087e55ebd76ddd7b6b9654
MD5 e1929415e61c55a527533b1427db1432 wv-1.2.3-r1.ebuild 1130
RMD160 1ce77859ad011d62982709884e82b04de2172b09 wv-1.2.3-r1.ebuild 1130
SHA256 4688068f974f2cc73fcba1f75634ab2255f3910124087e55ebd76ddd7b6b9654 wv-1.2.3-r1.ebuild 1130
-MISC ChangeLog 5377 RMD160 a078aa5876361030ed9f659b2bddecc2d0638348 SHA1 dbb8546238acd257aa7842cb830d2c3bd4893a71 SHA256 19e22efc5d4fe9edce81200469aad22dfa9196aa01a84fa1c26385ec8e27d349
-MD5 40d793f526c702dacc27c1871548aba4 ChangeLog 5377
-RMD160 a078aa5876361030ed9f659b2bddecc2d0638348 ChangeLog 5377
-SHA256 19e22efc5d4fe9edce81200469aad22dfa9196aa01a84fa1c26385ec8e27d349 ChangeLog 5377
+MISC ChangeLog 5636 RMD160 a4ff77916d3f552cab4bab2bf23ea793e46b5e34 SHA1 3bf3294566ac589c62780ad8f222c6afb288077d SHA256 1b948097364b5d2f501a25359fd9471feae72c6c19ca12e31281a3de4f66c2e0
+MD5 07fd651ff0bd92aed2438b713a4ee851 ChangeLog 5636
+RMD160 a4ff77916d3f552cab4bab2bf23ea793e46b5e34 ChangeLog 5636
+SHA256 1b948097364b5d2f501a25359fd9471feae72c6c19ca12e31281a3de4f66c2e0 ChangeLog 5636
MISC metadata.xml 345 RMD160 f9916ca9ebb4af81b9863c42ae578387a8cd7302 SHA1 4945e12d606044e3a2b7aa723570c4e429706ef7 SHA256 03578e3f79bd61f731e83a3f66fa4aaed4a23f3cd98cd4a4aefb84a4e40cc9c9
MD5 525c7299058f839eff524bc25c39267e metadata.xml 345
RMD160 f9916ca9ebb4af81b9863c42ae578387a8cd7302 metadata.xml 345
SHA256 03578e3f79bd61f731e83a3f66fa4aaed4a23f3cd98cd4a4aefb84a4e40cc9c9 metadata.xml 345
-MD5 3b8d0950ef95d885a89d09f3e8d534d8 files/digest-wv-1.0.0-r1 226
-RMD160 fc13b426a11b841066b2c069b86703ca67892d99 files/digest-wv-1.0.0-r1 226
-SHA256 36c17e679f48d54b94e49b91c8d47beddbd63662b478dbd1d908bed382165c01 files/digest-wv-1.0.0-r1 226
-MD5 1a8b3a82616bb0fafa539e00c415fd84 files/digest-wv-1.2.0 226
-RMD160 972858fa5dae4c62a408281cdbba6b9034ad75dc files/digest-wv-1.2.0 226
-SHA256 c5b9539a36ad3ae4a5c76cebb201629ea882b13dcdf0c894ea08e8767fe915d8 files/digest-wv-1.2.0 226
-MD5 f359296e1c5d5f6ab0d9c9d5a2369468 files/digest-wv-1.2.1 226
-RMD160 7d4b3adbe029f4c8ec0199706e2443d3ff222205 files/digest-wv-1.2.1 226
-SHA256 e907c0be9f68654cc5165a511b838d24db10d8ce67d6c8599973c2ec015e44c6 files/digest-wv-1.2.1 226
MD5 4b9312ceac418efb6fe8c517e3b9cef9 files/digest-wv-1.2.3-r1 226
RMD160 c8f4333969e17526eb52de32e21f138a2d43cec0 files/digest-wv-1.2.3-r1 226
SHA256 5b5daa590ce28056f832fdf86da77abf460301bce006447623c5fa00b26d7149 files/digest-wv-1.2.3-r1 226
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.1 (GNU/Linux)
+
+iD8DBQFFv4DqomPajV0RnrERAnQcAJ9ag9mqUKQSmDFi5GEZdiKyhV9KnACfWpfY
+iaBwl/FfbjNU1tWDkYoVcWo=
+=v4TP
+-----END PGP SIGNATURE-----
+++ /dev/null
-MD5 5e9675a8676cb1c1f6b8ab05af883178 wv-1.0.0.tar.gz 726428
-RMD160 f95586f883c45db50f2927ad8d7db84e8a0e3e81 wv-1.0.0.tar.gz 726428
-SHA256 629c484de2b62ae8a335c7f99be4ebdde35add6aff5edc3e0fddd48b9cef4030 wv-1.0.0.tar.gz 726428
+++ /dev/null
-MD5 b6319d5e75611fe2210453b5feb82c0c wv-1.2.0.tar.gz 627912
-RMD160 9658ab78813d2f49cbee5a0909f058956406c12e wv-1.2.0.tar.gz 627912
-SHA256 a76f44468e78591e6d510d326702e7c3999d2b9dd3ab8ab8c1c9811fd5b111e4 wv-1.2.0.tar.gz 627912
+++ /dev/null
-MD5 d757080af4595839d5d82a1a573c692c wv-1.2.1.tar.gz 628027
-RMD160 92e1ee9ea7b35ad383cd904afd32516f051ef0c7 wv-1.2.1.tar.gz 628027
-SHA256 a32ba44b9c1120f753359834037d6573b3e14aa2baf8f94f400c532ad196c732 wv-1.2.1.tar.gz 628027
+++ /dev/null
-diff -uNr wv-1.0.0/field.c wv-1.0.0.patched/field.c
---- wv-1.0.0/field.c 2002-12-29 17:37:00.000000000 +0100
-+++ wv-1.0.0.patched/field.c 2004-07-12 18:06:48.621848624 +0200
-@@ -98,18 +98,21 @@
- case 1:
- sprintf (temp, "%d", current->tm_mon+1);
- strcat (timestr, temp);
-+ consumed += strlen (temp);
- break;
- case 2:
- strcat (timestr, "%m");
-+ consumed += 2;
- break;
- case 3:
- strcat (timestr, "%b");
-+ consumed += 2;
- break;
- default:
- strcat (timestr, "%B");
-+ consumed += 2;
- break;
- }
-- consumed += 2;
- break;
- case 's':
- case 'S':
-@@ -139,6 +142,7 @@
- case 1:
- consumed += sprintf (temp, "%d", current->tm_wday);
- strcat (timestr, temp);
-+ consumed += strlen (temp);
- break;
- case 2:
- strcat (timestr, "%d");
-@@ -182,12 +186,13 @@
- case 1:
- sprintf (temp, "%d", current->tm_hour % 12);
- strcat (timestr, temp);
-+ consumed += strlen (temp);
- break;
- default:
- strcat (timestr, "%I");
-+ consumed += 2;
- break;
- }
-- consumed += 2;
- break;
- case 'H':
- no = lookahead (token, 'H', 'H');
-@@ -197,6 +202,7 @@
- case 1:
- consumed += sprintf (temp, "%d", current->tm_hour);
- strcat (timestr, temp);
-+ consumed += strlen (temp);
- break;
- default:
- strcat (timestr, "%H");
-@@ -212,6 +218,7 @@
- case 1:
- consumed += sprintf (temp, "%d", current->tm_min);
- strcat (timestr, temp);
-+ consumed += strlen (temp);
- break;
- default:
- strcat (timestr, "%M");
+++ /dev/null
---- wv-1.0.3/wvConfig.c
-+++ wv-1.0.3.az/wvConfig.c 2005-04-26 08:59:26.000000000 +0000
-@@ -2130,7 +2130,7 @@
- }
-
- static void
--startElement (void *userData, const XML_Char *name, const XML_Char **atts)
-+_startElement (void *userData, const XML_Char *name, const XML_Char **atts)
- {
- unsigned int nAtts = 0;
- const XML_Char **p;
-@@ -3094,7 +3094,7 @@
- }
-
- static void
--endElement (void *userData, const XML_Char *name)
-+_endElement (void *userData, const XML_Char *name)
- {
- state_data *mydata = (state_data *) userData;
- unsigned int token_type;
-@@ -3470,8 +3470,8 @@
- memset(&hdl, 0, sizeof(hdl));
-
- hdl.getEntity = _getEntity;
-- hdl.startElement = startElement;
-- hdl.endElement = endElement;
-+ hdl.startElement = _startElement;
-+ hdl.endElement = _endElement;
- hdl.characters = charData;
-
- if (myhandle->fp)
-@@ -3514,7 +3514,7 @@
- size_t len;
-
- XML_SetUserData (parser, myhandle);
-- XML_SetElementHandler (parser, startElement, endElement);
-+ XML_SetElementHandler (parser, _startElement, _endElement);
- XML_SetCharacterDataHandler (parser, charData);
-
- if (myhandle->fp == NULL)
+++ /dev/null
-From http://users.avafan.com/~fredrik/beagle/wv-libole2-readonly.patch
-See http://mail.gnome.org/archives/dashboard-hackers/2005-August/msg00018.html
-
---- libole2/ms-ole.c-old 2004-10-22 20:59:51.000000000 -0400
-+++ libole2/ms-ole.c 2005-08-03 10:06:14.000000000 -0400
-@@ -1723,7 +1723,7 @@
- gboolean try_mmap,
- MsOleSysWrappers *wrappers)
- {
-- int prot = PROT_READ | PROT_WRITE;
-+ int prot = PROT_READ;
- MsOle *f;
- MsOleHandleType file;
-
-@@ -1737,15 +1737,9 @@
- f = *fs = ms_ole_new ();
- take_wrapper_functions (f, wrappers);
-
-- f->file_des = file = f->syswrap->open2 (name, O_RDWR, f->syswrap->closure);
-+ f->file_des = file = f->syswrap->open2 (name, O_RDONLY, f->syswrap->closure);
- f->ref_count = 0;
-- f->mode = 'w';
--
-- if (file == BAD_MSOLE_HANDLE) {
-- f->file_des = file = f->syswrap->open2 (name, O_RDONLY, f->syswrap->closure);
-- f->mode = 'r';
-- prot &= ~PROT_WRITE;
-- }
-+ f->mode = 'r';
-
- if ((file == BAD_MSOLE_HANDLE) || !(f->syswrap->isregfile (file, f->syswrap->closure))) {
- g_warning ("No such file '%s'\n", name);
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.0.0-r1.ebuild,v 1.6 2006/07/05 07:35:16 mr_bones_ Exp $
-
-inherit eutils
-
-DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable"
-SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
-HOMEPAGE="http://wvware.sourceforge.net"
-
-IUSE="xml wmf"
-KEYWORDS="x86 ppc sparc hppa alpha ia64 amd64 ppc64"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="sys-libs/zlib
- media-libs/libpng
- wmf? ( >=media-libs/libwmf-0.2.2 )
- xml? ( dev-libs/libxml2 )"
-
-src_unpack() {
-
- unpack ${A}
-
- # Fix vulnerability (#56595)
- epatch ${FILESDIR}/${P}-fix_overflow.patch
-
-}
-
-src_compile() {
-
- econf \
- `use_with xml libxml2` \
- `use_with wmf libwmf` \
- --with-docdir=/usr/share/doc/${PF} \
- || die
-
- make || die
-
-}
-
-src_install () {
-
- einstall
-
- insinto /usr/include
- doins wvinternal.h
-
- rm -f ${D}/usr/share/man/man1/wvConvert.1
- dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1
-
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.0.ebuild,v 1.8 2006/08/16 14:59:54 corsair Exp $
-
-DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable"
-SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
-HOMEPAGE="http://wvware.sourceforge.net/"
-
-IUSE="wmf"
-KEYWORDS="~alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-SLOT="0"
-LICENSE="GPL-2"
-
-RDEPEND=">=dev-libs/glib-2
- >=gnome-extra/libgsf-1
- sys-libs/zlib
- media-libs/libpng
- dev-libs/libxml2
- wmf? ( >=media-libs/libwmf-0.2.2 )"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9"
-
-
-src_compile() {
- econf `use_with wmf libwmf` || die "./configure failed"
-
- emake || die "Compilation failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "Installation failed"
-
- dodoc README
-
- insinto /usr/include
- doins wvinternal.h
-
- rm -f ${D}/usr/share/man/man1/wvConvert.1
- dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.1.ebuild,v 1.4 2006/09/06 03:10:36 tcort Exp $
-
-inherit eutils
-
-DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable"
-SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
-HOMEPAGE="http://wvware.sourceforge.net/"
-
-IUSE="wmf"
-KEYWORDS="alpha amd64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
-SLOT="0"
-LICENSE="GPL-2"
-
-RDEPEND=">=dev-libs/glib-2
- >=gnome-extra/libgsf-1.13
- sys-libs/zlib
- media-libs/libpng
- dev-libs/libxml2
- wmf? ( >=media-libs/libwmf-0.2.2 )"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9"
-
-src_compile() {
-
- econf `use_with wmf libwmf` || die "./configure failed"
-
- emake || die "Compilation failed"
-
- preserve_old_lib /usr/$(get_libdir)/libwv-1.2.so.0
- preserve_old_lib /usr/$(get_libdir)/libwv-1.0.so.0
-
-}
-
-src_install () {
-
- make DESTDIR="${D}" install || die "Installation failed"
-
- dodoc README
-
- rm -f ${D}/usr/share/man/man1/wvConvert.1
- dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1
-
-}
-
-pkg_postinst() {
-
- preserve_old_lib_notify /usr/$(get_libdir)/libwv-1.2.so.0
- preserve_old_lib_notify /usr/$(get_libdir)/libwv-1.0.so.0
-
-}