summaryrefslogtreecommitdiff
path: root/app-text/libmwaw
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/libmwaw
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/libmwaw')
-rw-r--r--app-text/libmwaw/Manifest9
-rw-r--r--app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch19
-rw-r--r--app-text/libmwaw/libmwaw-0.3.11-r1.ebuild52
-rw-r--r--app-text/libmwaw/libmwaw-0.3.12.ebuild50
-rw-r--r--app-text/libmwaw/libmwaw-9999.ebuild50
-rw-r--r--app-text/libmwaw/metadata.xml14
6 files changed, 194 insertions, 0 deletions
diff --git a/app-text/libmwaw/Manifest b/app-text/libmwaw/Manifest
new file mode 100644
index 000000000000..2f65f3713e63
--- /dev/null
+++ b/app-text/libmwaw/Manifest
@@ -0,0 +1,9 @@
+AUX libmwaw-0.3.11-CVE-2017-9433.patch 792 SHA256 4bfe6e85cad2d9b5e8fcbc59c15d09cfbeab93fe310e05f6bf4c4a54a083044d SHA512 a5f2996dd2e2de6eec0c637ee9e9777a803a4f7386c38436ad59c0af972c0a2b0ababc90018e5ebf0a67453fd66f154c175b82a1fb7dc6ba82d16468f7aee696 WHIRLPOOL a90b6109af04787d923e4f5ffb0fde62e2aee201e59c4f29b6a0d76e9e9ff9e1bb174c0462831080e30c66f4be7741e5ee01b2c73a8e1d7377153641727a2f33
+DIST libmwaw-0.3.11.tar.xz 1254200 SHA256 4b483a196bbe82bc0f7cb4cdf70ef1cedb91139bd2e037eabaed4a4d6ed2299a SHA512 d4a810c6066023608a15ece8a6bbc958e586d679fc4ad51156091ec88355292872f10198e723e28776b45e140a830fd4c698732cf6103743d6e80ad8e1d778ab WHIRLPOOL 2de11bde90937727372eb7e7d4d1af52b66e8ef2f14bd78ce1d26399aa6ee853dc1fe11000cfcf8a361698296866ced2f2da7848f75763a22458ae0504903b48
+DIST libmwaw-0.3.12.tar.xz 1258972 SHA256 7691a6e6e7221d61c40e3f630a8907e3e516b99a587e47d09ec53f8ac60ed1e7 SHA512 8af8477ff6fc251600f9a66059b20fd8b9fad8d599c01e847d7185944447b3a34567036daff4d4510934aa1462bd4810a39467e8ac0ec223147b3b53447220ec WHIRLPOOL 9dd39fc43c7b8cf3806889a1cabde4c1bbd4f21e5e1ea2dfa66a6ea69f28ab28c966e160d157f0ee4559e85b6b7fac07dfa314d2ef0597986c85660b3a5cc0f9
+EBUILD libmwaw-0.3.11-r1.ebuild 1080 SHA256 0900891771d1ed67d8a028c295ec2993ec66cbf1fc20b5664c2af922d6118b57 SHA512 a044974bdc83a5d7ad63fd585596ff366cb3f1bcb16147b11e7813242a36ae3f983f05a49280a6cadf1468f658fbefb22fa0973fad03a80eeb740d317fe34163 WHIRLPOOL 74d385a364de0acdf748a4ecb1eaa4c4b05a02d194e80cdf92d710517489ec33905fd98e3da0db1e04965ac0cae88d2595d94b16ea3f67cf097b28d5e7282f75
+EBUILD libmwaw-0.3.12.ebuild 1037 SHA256 8c32d966043155991573f4878d28e8c8a742ec4aeb1945eece9dfc53aeaa012b SHA512 c395022fce3c568ec08167e158b3c0676d783e12cf0c2b582b02e36917e89dbaed11b4964e3295f80cdb3ed6e40c3f4b1399275c5c282a032b99460d335b1a3d WHIRLPOOL a618ec511fb715ed363c8713e22fc4f5fd8f127bd84b356e8d9391a49f04ddc586a4368a1541c35261fe4e5d6adc1b471684e26e0de2219567de83030fe91ffc
+EBUILD libmwaw-9999.ebuild 1030 SHA256 13c867cdabc34bbc8bd10fd65dfe61b8f1660650a56e3e0cfd50af6aa9489aef SHA512 ad24e38700f9fb91b90615c14b799bb677119e18303f90591a4f7df106677552b7fc4a005e5e5555e5bb6f6de3fb13d952a366dc534212eb6c84b053e3fb241e WHIRLPOOL 46cb6783a4e23ea20c3d3c9d1b40ad43bf1e3efdcafb2c7bca1917511d1bb07103b9fa3fb8263c1bfd63c50d4b37128abac869b5c5bc4b464af22285be73a185
+MISC ChangeLog 5189 SHA256 60cf618cc047ff50be95311d7ee467a81fc77c05ae515246aaf484b444d73db3 SHA512 92b79f39c8a5a2a46132ed7e92f2511a6b26fef8bdbc07afb5a46a09d8f27fcc44a9101657af2b2d7decaa4ad7aa1f68d089ec1f2751f73834f1a8468113d57c WHIRLPOOL 808bd24d756f597d51c52a13ab795fde0beaf6dbd9b15efd7f48c961829d8b1aeeddd083153f42a2a0741cf353a44988d7f14d571cbbff5fbaf2445516fe90fe
+MISC ChangeLog-2015 3078 SHA256 1024b69c7cda3bd25b237d89db5d8b7aa24ad4acdf8e8aee491811f797c43c83 SHA512 6057013db3fce9175ae94710482a6aa6b4ef519ffcccbb73c08da7328e9fd06df2ba8b9060c49af1f62d3f30a70a96f3c7a4ab64735da98db14aa6a7bd2dfe67 WHIRLPOOL 7b9875d8c9e6bf3a30224167007087a7070dad369e287a31fae1e7c1b3f261132faefbb2e83f944f8927a9f8d4b5574529a27cd30b1d913a8a56b1609e35b164
+MISC metadata.xml 403 SHA256 5489f721ce312bbf8d6b247d199be6c652bbddd67a96e0039e64505b82629d8c SHA512 12cebd7bdaff6a793598f40cb11f4ae6681dcb29b18ecb7db92681abf1f6d4ce0281ae292c84106a143c0ff5ff3395e37604b3576c6a479001fc351dba10c7ed WHIRLPOOL da130bec55d0970a2d7cd890cf1818a17dc4eb42bdfa20046420f30ff0e0ad7e1f8703314d970b627bee8299bacf0d44c8cf4549eb69b4f75e24557fed28d6ef
diff --git a/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch b/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch
new file mode 100644
index 000000000000..4918fd4b6516
--- /dev/null
+++ b/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch
@@ -0,0 +1,19 @@
+commit 68b3b74569881248bfb6cbb4266177cc253b292f
+Author: David Tardon <dtardon@redhat.com>
+Date: Sat Apr 8 14:03:29 2017 +0200
+
+ ofz#1037 resize vector correctly
+
+diff --git a/src/lib/MsWrd1Parser.cxx b/src/lib/MsWrd1Parser.cxx
+index 63547e6..3626064 100644
+--- a/src/lib/MsWrd1Parser.cxx
++++ b/src/lib/MsWrd1Parser.cxx
+@@ -902,7 +902,7 @@ bool MsWrd1Parser::readFootnoteCorrespondance(MWAWVec2i limits)
+ int id = fIt++->second;
+ fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first;
+ if (id >= int(m_state->m_footnotesList.size()))
+- m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0));
++ m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0));
+ m_state->m_footnotesList[size_t(id)]=fPos;
+ }
+ ascii().addDelimiter(input->tell(),'|');
diff --git a/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild b/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild
new file mode 100644
index 000000000000..3007843c6004
--- /dev/null
+++ b/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
+
+DESCRIPTION="Library parsing many pre-OSX MAC text formats"
+HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="amd64 ~arm x86"
+
+IUSE="doc static-libs tools"
+
+RDEPEND="
+ dev-libs/librevenge
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+PATCHES=( "${FILESDIR}/${P}-CVE-2017-9433.patch" )
+
+src_prepare() {
+ default
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ # zip is hard enabled as the zlib is dep on the rdeps anyway
+ econf \
+ --enable-zip \
+ --disable-werror \
+ --with-sharedptr=c++11 \
+ $(use_with doc docs) \
+ $(use_enable static-libs static) \
+ $(use_enable tools)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/app-text/libmwaw/libmwaw-0.3.12.ebuild b/app-text/libmwaw/libmwaw-0.3.12.ebuild
new file mode 100644
index 000000000000..cb4c3a2f3efa
--- /dev/null
+++ b/app-text/libmwaw/libmwaw-0.3.12.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
+
+DESCRIPTION="Library parsing many pre-OSX MAC text formats"
+HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+IUSE="doc static-libs tools"
+
+RDEPEND="
+ dev-libs/librevenge
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+ default
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ # zip is hard enabled as the zlib is dep on the rdeps anyway
+ econf \
+ --enable-zip \
+ --disable-werror \
+ --with-sharedptr=c++11 \
+ $(use_with doc docs) \
+ $(use_enable static-libs static) \
+ $(use_enable tools)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/app-text/libmwaw/libmwaw-9999.ebuild b/app-text/libmwaw/libmwaw-9999.ebuild
new file mode 100644
index 000000000000..b0434c260bc2
--- /dev/null
+++ b/app-text/libmwaw/libmwaw-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
+
+DESCRIPTION="Library parsing many pre-OSX MAC text formats"
+HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE="doc static-libs tools"
+
+RDEPEND="
+ dev-libs/librevenge
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+ default
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ # zip is hard enabled as the zlib is dep on the rdeps anyway
+ econf \
+ --enable-zip \
+ --disable-werror \
+ --with-sharedptr=c++11 \
+ $(use_with doc docs) \
+ $(use_enable static-libs static) \
+ $(use_enable tools)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/app-text/libmwaw/metadata.xml b/app-text/libmwaw/metadata.xml
new file mode 100644
index 000000000000..09f5b872fd22
--- /dev/null
+++ b/app-text/libmwaw/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>office@gentoo.org</email>
+ <name>Gentoo Office project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libmwaw</remote-id>
+ </upstream>
+ <use>
+ <flag name="tools">Build file conversion tools</flag>
+ </use>
+</pkgmetadata>