1 |
commit: b58b000f7c7f792561bdf7b160d9be5711a0462c |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 2 12:18:35 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 2 12:18:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58b000f |
7 |
|
8 |
app-arch/sharutils: bump up to EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
app-arch/sharutils/sharutils-4.15.2-r2.ebuild | 41 +++++++++++++++++++++++++++ |
14 |
1 file changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/app-arch/sharutils/sharutils-4.15.2-r2.ebuild b/app-arch/sharutils/sharutils-4.15.2-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..2aaa0c101de |
19 |
--- /dev/null |
20 |
+++ b/app-arch/sharutils/sharutils-4.15.2-r2.ebuild |
21 |
@@ -0,0 +1,41 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI="7" |
26 |
+ |
27 |
+inherit eutils flag-o-matic |
28 |
+ |
29 |
+MY_P="${P/_/-}" |
30 |
+DESCRIPTION="Tools to deal with shar archives" |
31 |
+HOMEPAGE="https://www.gnu.org/software/sharutils/" |
32 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
33 |
+ |
34 |
+LICENSE="GPL-3" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
37 |
+IUSE="nls" |
38 |
+ |
39 |
+DEPEND="app-arch/xz-utils |
40 |
+ sys-apps/texinfo |
41 |
+ nls? ( >=sys-devel/gettext-0.10.35 )" |
42 |
+ |
43 |
+S=${WORKDIR}/${MY_P} |
44 |
+ |
45 |
+PATCHES=( |
46 |
+ "${FILESDIR}"/${PN}-4.15.2-glibc228.patch |
47 |
+ "${FILESDIR}"/${PN}-4.15.2-CVE-2018-1000097.patch |
48 |
+ "${FILESDIR}"/${PN}-4.15.2-gcc-10.patch |
49 |
+) |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ |
54 |
+ # Upstream is aware but thinks this isn't a bug/problem in sharutils itself |
55 |
+ # See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html |
56 |
+ append-cflags $(test-flags-CC -Wno-error=format-security) |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ strip-linguas -u po |
61 |
+ econf $(use_enable nls) |
62 |
+} |