1 |
commit: 7729b0dd1d6a6c8cdc65422d94cce220df98c4f1 |
2 |
Author: Randy Barlow <randy <AT> electronsweatshop <DOT> com> |
3 |
AuthorDate: Fri Dec 18 20:19:43 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 05:44:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7729b0dd |
7 |
|
8 |
app-admin/lnav: Update to 0.9.0 |
9 |
|
10 |
Update lnav to 0.9.0 and fix a segmentation fault. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/723242 |
13 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
14 |
Signed-off-by: Randy Barlow <randy <AT> electronsweatshop.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-admin/lnav/Manifest | 1 + |
18 |
app-admin/lnav/files/639332-tinfow.patch | 10 ++++++++ |
19 |
app-admin/lnav/lnav-0.9.0.ebuild | 40 ++++++++++++++++++++++++++++++++ |
20 |
3 files changed, 51 insertions(+) |
21 |
|
22 |
diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest |
23 |
index 5b8de860821..e99a849c399 100644 |
24 |
--- a/app-admin/lnav/Manifest |
25 |
+++ b/app-admin/lnav/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST lnav-0.8.5.tar.gz 908012 BLAKE2B a53e79d9403e5f3c731c88a171ddcb62027016b6d7d16fb618aeb9857ff86d1cc9c982d23bd172cc95f5e200afe84b488422ad4fc0aeb440cf2a96506829198e SHA512 fbb61d454dc89388aeaaeca6ba1366f84cbd75260ef8e2f26a4208ab22f175886438dad7f40e4c21089209c7713c1ebcc3a722a248083c8d55f264cf139a79fe |
28 |
+DIST lnav-0.9.0.tar.gz 1094734 BLAKE2B 79d6b035d9fc1efba618dbbd0924dbac2c8a2b3316849164c8c1a3782c7e8b85f12ade02a973d0c4fabff64b38e26fd579f1931aeafb05396ece7e75608cfc5d SHA512 4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151 |
29 |
|
30 |
diff --git a/app-admin/lnav/files/639332-tinfow.patch b/app-admin/lnav/files/639332-tinfow.patch |
31 |
new file mode 100644 |
32 |
index 00000000000..8399412f0cf |
33 |
--- /dev/null |
34 |
+++ b/app-admin/lnav/files/639332-tinfow.patch |
35 |
@@ -0,0 +1,10 @@ |
36 |
+--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500 |
37 |
++++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500 |
38 |
+@@ -216,6 +216,8 @@ |
39 |
+ ax_cv_curses=yes |
40 |
+ ax_cv_curses_which=ncursesw |
41 |
+ CURSES_LIB="-lncursesw" |
42 |
++ temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'` |
43 |
++ ax_saved_LIBS=$temp_lib |
44 |
+ AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present]) |
45 |
+ AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) |
46 |
|
47 |
diff --git a/app-admin/lnav/lnav-0.9.0.ebuild b/app-admin/lnav/lnav-0.9.0.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..79a41f429d3 |
50 |
--- /dev/null |
51 |
+++ b/app-admin/lnav/lnav-0.9.0.ebuild |
52 |
@@ -0,0 +1,40 @@ |
53 |
+# Copyright 1999-2020 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=7 |
57 |
+ |
58 |
+inherit toolchain-funcs autotools |
59 |
+ |
60 |
+DESCRIPTION="A curses-based tool for viewing and analyzing log files" |
61 |
+HOMEPAGE="https://lnav.org" |
62 |
+SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz" |
63 |
+ |
64 |
+LICENSE="BSD-2" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64 ~x86" |
67 |
+IUSE="unicode" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ app-arch/bzip2:0= |
71 |
+ >=dev-db/sqlite-3.9.0 |
72 |
+ dev-libs/libpcre[cxx] |
73 |
+ >=net-misc/curl-7.23.0 |
74 |
+ sys-libs/ncurses:0=[unicode?] |
75 |
+ sys-libs/readline:0= |
76 |
+ sys-libs/zlib:0=" |
77 |
+DEPEND="${RDEPEND}" |
78 |
+ |
79 |
+DOCS=( AUTHORS NEWS README ) |
80 |
+# The second patch is a fix for https://bugs.gentoo.org/723242 |
81 |
+PATCHES=( "${FILESDIR}"/${PN}-0.8.4-disable-tests.patch "${FILESDIR}"/639332-tinfow.patch ) |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ default |
85 |
+ eautoreconf |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ econf \ |
90 |
+ --disable-static \ |
91 |
+ $(use_with unicode ncursesw) |
92 |
+} |