From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA394158086 for ; Wed, 22 Dec 2021 13:20:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0ED52BC01D; Wed, 22 Dec 2021 13:20:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 074E32BC01D for ; Wed, 22 Dec 2021 13:20:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B43C342C95 for ; Wed, 22 Dec 2021 13:20:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5426D0 for ; Wed, 22 Dec 2021 13:20:36 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1640179233.5f9ccfdbe32fb1b0acc380c5098cb723182250f7.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/antiword/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/antiword/antiword-0.37-r2.ebuild X-VCS-Directories: app-text/antiword/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 5f9ccfdbe32fb1b0acc380c5098cb723182250f7 X-VCS-Branch: master Date: Wed, 22 Dec 2021 13:20:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 791c2495-2c7c-44b0-b0d4-a85d3c16241d X-Archives-Hash: ce02dcf783198ae7e3476982fa521071 commit: 5f9ccfdbe32fb1b0acc380c5098cb723182250f7 Author: Anna Vyalkova sysrq in> AuthorDate: Wed Dec 22 04:32:41 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Dec 22 13:20:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9ccfdb app-text/antiword: revbump (EAPI 5 -> 8) Closes: https://bugs.gentoo.org/829790 Signed-off-by: Anna Vyalkova sysrq.in> Signed-off-by: Fabian Groffen gentoo.org> app-text/antiword/antiword-0.37-r2.ebuild | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/app-text/antiword/antiword-0.37-r2.ebuild b/app-text/antiword/antiword-0.37-r2.ebuild new file mode 100644 index 000000000000..1b0fc3a45055 --- /dev/null +++ b/app-text/antiword/antiword-0.37-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +PATCHVER="r2" +DESCRIPTION="free MS Word reader" +HOMEPAGE="http://www.winfield.demon.nl" +SRC_URI="http://www.winfield.demon.nl/linux/${P}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/${PN}-gentoo-patches-${PATCHVER}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +PATCHES=( + "${WORKDIR}"/${PN}-gentoo-patches-${PATCHVER} + "${FILESDIR}"/${P}-CVE-2014-8123.patch +) + +DOCS=( Docs/{ChangeLog,Exmh,Emacs,FAQ,History,Netscape,QandA,ReadMe,Mozilla,Mutt} ) + +src_prepare() { + # Makefile is a symlink to Makefile.Linux, avoid that we patch it by + # accident using patch <2.7, see bug #435492 + rm Makefile || die + + default + + # Re-add convenience symlink, see above + ln -s Makefile.Linux Makefile +} + +src_configure() { + true +} + +src_compile() { + emake PREFIX="${EPREFIX}" OPT="${CFLAGS}" CC="$(tc-getCC)" LD="$(tc-getCC)" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake -j1 PREFIX="${EPREFIX}" DESTDIR="${D}" global_install + + einstalldocs + + docompress -x /usr/share/doc/${PF}/examples + docinto examples + dodoc Docs/testdoc.doc Docs/antiword.php + + doman Docs/antiword.1 +}