summaryrefslogtreecommitdiff
path: root/app-admin/lnav
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /app-admin/lnav
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'app-admin/lnav')
-rw-r--r--app-admin/lnav/Manifest5
-rw-r--r--app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch10
-rw-r--r--app-admin/lnav/lnav-0.9.0.ebuild43
-rw-r--r--app-admin/lnav/metadata.xml14
4 files changed, 70 insertions, 2 deletions
diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest
index 7bd3f138987e..0daa511fcd82 100644
--- a/app-admin/lnav/Manifest
+++ b/app-admin/lnav/Manifest
@@ -1,4 +1,7 @@
AUX lnav-0.8.4-disable-tests.patch 385 BLAKE2B b00a7e4af717a567bf9a7bbecc77500afc22ccab48caaa3781a3d786f4487bcedc59db06b01bfbdcf7871b08cc3b8841582341bec1d707ccf3c94e180a3e59f6 SHA512 f199ec2e9b9a87b8665705051c2a833b8643b18f4793f00587b27eebf0fd455e3d09cbe40613c4e87db58fb91d1f491893d6d9eae38d81de4bb96452e1fb8489
+AUX lnav-0.9.0-bug639332-tinfow.patch 579 BLAKE2B 17707472f4fa764e27d98a1ae426f65a1ad45dacdc34e4c19b608298b7bbc094ddf3c49ded6987ac2c2f145dc58ff9f520a49c44551b277182b76ef13b2fc2fb SHA512 b69da2eac944affd7c70bdf9bcc2be333d5d67d1415e05ebbfd87bff85369ffbe61399b05440637941bdfa4d220ae1ba100342a9e028ee789f3c9f0f1e2dec2c
DIST lnav-0.8.5.tar.gz 908012 BLAKE2B a53e79d9403e5f3c731c88a171ddcb62027016b6d7d16fb618aeb9857ff86d1cc9c982d23bd172cc95f5e200afe84b488422ad4fc0aeb440cf2a96506829198e SHA512 fbb61d454dc89388aeaaeca6ba1366f84cbd75260ef8e2f26a4208ab22f175886438dad7f40e4c21089209c7713c1ebcc3a722a248083c8d55f264cf139a79fe
+DIST lnav-0.9.0.tar.gz 1094734 BLAKE2B 79d6b035d9fc1efba618dbbd0924dbac2c8a2b3316849164c8c1a3782c7e8b85f12ade02a973d0c4fabff64b38e26fd579f1931aeafb05396ece7e75608cfc5d SHA512 4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151
EBUILD lnav-0.8.5.ebuild 785 BLAKE2B 6983ddad1736c7d185b80407de989d928ec2709624ed18b8421170a0ec69ea19e858cc2d04f0250802219ffa0982bac843ce27e6fbfb49666b0bf481eac10887 SHA512 c6c62e21891014b3dbf6c0f8052020b5ececbe0190f45706e20cc0047c37d7a655d5afc959e3e93438a2127bf959057c92d12411de1a68fd2adfc7f0f3f73ecd
-MISC metadata.xml 248 BLAKE2B f43caae91fdb7709fd690343aa8f6de7880ab1ef1c7b717ea6d1bc6768484e18ea97546c841220f69af0b3752ea3557b68f38b429728f691ee205ee30f83ab6b SHA512 bacfc47ac1d4936a25b259e444a7ad11d8bb103794cfeefcaeb1b4a779581390a71b2041d651f143bd389f0dcb63d11e1e2d2fde71672a296f5740f5e3d3d7bc
+EBUILD lnav-0.9.0.ebuild 856 BLAKE2B 019fc30e752072eaa2b308facc8de916017bbefab5f4947f5d2952acf6fcc4fec7d284430e056c18ecf0aaa3d8652b2ac88a8895bb731abb9bfe25612cb34493 SHA512 4dd149c7f76154a640c1a6634f25af0033b948263de9023b5b9a0e36e2d0c1d90564a41402d287269bb82bf41e0e36cd80b40f7bb7e408725f7fe7c44a4d707f
+MISC metadata.xml 750 BLAKE2B 67c9aac6419846486011194cd1f37f9f12c1a9518dc423a096e2de3ad78aad0b1ce930237933025511655d28e9b65d34ae4c1808a4f24bbdae4b0b06f9d6bc08 SHA512 0ee79ec7a057ee82003f1106150c9c2e4147e346b469bf5afe18cac0aac14a8f9eb86f5f832c3e553a7158f58969f3f6a969a044da88e4783c6d3f56a84bd106
diff --git a/app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch b/app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch
new file mode 100644
index 000000000000..8399412f0cf1
--- /dev/null
+++ b/app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch
@@ -0,0 +1,10 @@
+--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500
++++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500
+@@ -216,6 +216,8 @@
+ ax_cv_curses=yes
+ ax_cv_curses_which=ncursesw
+ CURSES_LIB="-lncursesw"
++ temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'`
++ ax_saved_LIBS=$temp_lib
+ AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present])
+ AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present])
diff --git a/app-admin/lnav/lnav-0.9.0.ebuild b/app-admin/lnav/lnav-0.9.0.ebuild
new file mode 100644
index 000000000000..64c7de8adaed
--- /dev/null
+++ b/app-admin/lnav/lnav-0.9.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs autotools
+
+DESCRIPTION="A curses-based tool for viewing and analyzing log files"
+HOMEPAGE="https://lnav.org"
+SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="unicode"
+
+RDEPEND="
+ app-arch/bzip2:0=
+ >=dev-db/sqlite-3.9.0
+ dev-libs/libpcre[cxx]
+ >=net-misc/curl-7.23.0
+ sys-libs/ncurses:0=[unicode?]
+ sys-libs/readline:0=
+ sys-libs/zlib:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.8.4-disable-tests.patch
+ # bug 723242
+ "${FILESDIR}"/${PN}-0.9.0-bug639332-tinfow.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ $(use_with unicode ncursesw)
+}
diff --git a/app-admin/lnav/metadata.xml b/app-admin/lnav/metadata.xml
index 0d9564d8f11e..a6e95f162d9a 100644
--- a/app-admin/lnav/metadata.xml
+++ b/app-admin/lnav/metadata.xml
@@ -1,7 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>randy@electronsweatshop.com</email>
+ <name>Randy Barlow</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The Log File Navigator, lnav for short, is an advanced log file viewer for the small-scale. It
+ is a terminal application that can understand your log files and make it easy for you to find
+ problems with little to no setup.
+ </longdescription>
<upstream>
<remote-id type="github">tstack/lnav</remote-id>
</upstream>