summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-12-22 14:29:28 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-12-22 14:29:28 +0000
commit9107550e41aa42375913b52bb427cc2f6d769983 (patch)
treebb0365d05481d7e751a8c5c4850bc99255a30a20 /app-text/unrtf
parentVersion bump. Remove old. (diff)
downloadgentoo-2-9107550e41aa42375913b52bb427cc2f6d769983.tar.gz
gentoo-2-9107550e41aa42375913b52bb427cc2f6d769983.tar.bz2
gentoo-2-9107550e41aa42375913b52bb427cc2f6d769983.zip
Security bump (bug #531544)
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-text/unrtf')
-rw-r--r--app-text/unrtf/ChangeLog11
-rw-r--r--app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch6
-rw-r--r--app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch10
-rw-r--r--app-text/unrtf/unrtf-0.21.8.ebuild26
4 files changed, 51 insertions, 2 deletions
diff --git a/app-text/unrtf/ChangeLog b/app-text/unrtf/ChangeLog
index 50a27466d9fe..ffcd4c538dfc 100644
--- a/app-text/unrtf/ChangeLog
+++ b/app-text/unrtf/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/unrtf
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/ChangeLog,v 1.42 2013/06/15 11:59:13 grobian Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/ChangeLog,v 1.43 2014/12/22 14:29:28 polynomial-c Exp $
+
+*unrtf-0.21.8 (22 Dec 2014)
+
+ 22 Dec 2014; Lars Wendler <polynomial-c@gentoo.org> +unrtf-0.21.8.ebuild,
+ +files/unrtf-0.21.8-automake-fix.patch,
+ +files/unrtf-0.21.8-iconv-detection.patch:
+ Security bump (bug #531544).
*unrtf-0.21.2-r1 (15 Jun 2013)
diff --git a/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch b/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch
new file mode 100644
index 000000000000..fdfb52a4637b
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch
@@ -0,0 +1,6 @@
+--- unrtf-0.21.8/charmaps/Makefile.am
++++ unrtf-0.21.8/charmaps/Makefile.am
+@@ -1,2 +1,2 @@
+-outputsdir = ${libdir}/${PACKAGE}
++outputsdir = ${pkgdatadir}
+ dist_outputs_DATA = SYMBOL.charmap
diff --git a/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch b/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch
new file mode 100644
index 000000000000..d5bb142ce558
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch
@@ -0,0 +1,10 @@
+--- unrtf-0.21.8/configure.ac
++++ unrtf-0.21.8/configure.ac
+@@ -46,6 +46,7 @@
+ *-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
+ *aix*) AC_SUBST(LIBS, ["-liconv"]);;
+ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
+ esac
+
+ AC_CONFIG_FILES([Makefile
diff --git a/app-text/unrtf/unrtf-0.21.8.ebuild b/app-text/unrtf/unrtf-0.21.8.ebuild
new file mode 100644
index 000000000000..252b1367f968
--- /dev/null
+++ b/app-text/unrtf/unrtf-0.21.8.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.8.ebuild,v 1.1 2014/12/22 14:29:28 polynomial-c Exp $
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Converts RTF files to various formats"
+HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/unrtf-0.21.8-automake-fix.patch
+ epatch "${FILESDIR}"/${PN}-0.21.8-iconv-detection.patch
+ eautoreconf
+}
+
+src_install() {
+ default
+}