summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Barlow <randy@electronsweatshop.com>2022-12-13 18:22:51 -0500
committerSam James <sam@gentoo.org>2022-12-14 00:12:31 +0000
commit44209c633dcb2c0549701a71c2615dbe6cebafdd (patch)
tree19c2e172cb96dbf9d646078fffa2ad1071332743 /app-admin
parentapp-admin/lnav: Drop 0.10.1 (diff)
downloadgentoo-44209c633dcb2c0549701a71c2615dbe6cebafdd.tar.gz
gentoo-44209c633dcb2c0549701a71c2615dbe6cebafdd.tar.bz2
gentoo-44209c633dcb2c0549701a71c2615dbe6cebafdd.zip
app-admin/lnav: Add 0.11.1
Closes: https://bugs.gentoo.org/show_bug.cgi?id=884391 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Closes: https://github.com/gentoo/gentoo/pull/28661 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/lnav/Manifest1
-rw-r--r--app-admin/lnav/lnav-0.11.1.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest
index a5720cfe7f32..f458805e36e4 100644
--- a/app-admin/lnav/Manifest
+++ b/app-admin/lnav/Manifest
@@ -1 +1,2 @@
DIST lnav-0.11.0.tar.gz 9586979 BLAKE2B fa333d2dbc3c2a5cb8b96ea4cbf84412be117b9d9ec999bab784e7aefab25cd01edcb65617468b8a1fbc46d554cf20a02bc901c9d75f2c5831359da37a19fd22 SHA512 f10938aacb1e170a6912090c5de8e85e9aae5bc456e57b49192a21020e7dfa20414d1f5b66fd25b3c1ea5a3d1fd3bd92af6fe7e0c6b73953688c3d861266fd97
+DIST lnav-0.11.1.tar.gz 10268167 BLAKE2B d490c6798685e80021437e1771742dee59c3b5109a43591581f4ddc15528c5b616ab915418fa78b7cf13a82bce582baf0516b5b2339f5fa32054359c21908852 SHA512 6c7d2b603ee04bb2cee16bf28b0161ebe7bf3ec838bed765f9852f79ee1ff8a56691dcaa66998e0ef58f16f16274bf93c7f2eb8f2e58264faf284bcfd25818ef
diff --git a/app-admin/lnav/lnav-0.11.1.ebuild b/app-admin/lnav/lnav-0.11.1.ebuild
new file mode 100644
index 000000000000..a613e52eaa42
--- /dev/null
+++ b/app-admin/lnav/lnav-0.11.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="A curses-based tool for viewing and analyzing log files"
+HOMEPAGE="https://lnav.org"
+SRC_URI="https://github.com/tstack/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pcap test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-arch/bzip2:0=
+ app-arch/libarchive:=
+ >=dev-db/sqlite-3.9.0
+ dev-libs/libpcre[cxx]
+ >=net-misc/curl-7.23.0
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+ sys-libs/zlib:=
+ pcap? ( net-analyzer/wireshark[tshark] )"
+# The tests use ssh-keygen and use dsa and rsa keys (which is why ssl is required)
+DEPEND="${RDEPEND}
+ test? (
+ net-misc/openssh[ssl]
+ dev-cpp/doctest
+ )"
+
+DOCS=( AUTHORS NEWS.md README )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.11.0-disable-tests.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ filter-lto
+
+ econf \
+ --disable-static \
+ --with-ncurses \
+ $(use_with test system-doctest)
+}