commit:     e99be276293a253c36cf6f3e607f71e4258bbd65
Author:     Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Mon Jul  3 13:53:02 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 02:53:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99be276

app-admin/lnav: Add 0.11.2

Signed-off-by: Michael Vetter <jubalh <AT> iodoru.org>
Closes: https://github.com/gentoo/gentoo/pull/31727
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/lnav/Manifest           |  1 +
 app-admin/lnav/lnav-0.11.2.ebuild | 54 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest
index 384cccc9a04c..8561cd07dd0a 100644
--- a/app-admin/lnav/Manifest
+++ b/app-admin/lnav/Manifest
@@ -1 +1,2 @@
 DIST lnav-0.11.1.tar.gz 10268167 BLAKE2B 
d490c6798685e80021437e1771742dee59c3b5109a43591581f4ddc15528c5b616ab915418fa78b7cf13a82bce582baf0516b5b2339f5fa32054359c21908852
 SHA512 
6c7d2b603ee04bb2cee16bf28b0161ebe7bf3ec838bed765f9852f79ee1ff8a56691dcaa66998e0ef58f16f16274bf93c7f2eb8f2e58264faf284bcfd25818ef
+DIST lnav-0.11.2.tar.gz 12379373 BLAKE2B 
513e10f44d3770fb0135ad7fd035d07b35d2a44b2745acf700de0bf82ef428eb1549f9fd389ae4d6e3e268378a980f59f164479390a2a3faea16555941d3c9ca
 SHA512 
a48c81e075923a5e1cdb051dd18329ff417f628518c8273fc19d0787226414668e1c29645edf20a46173fdf65a2b8978517948317fdc8b45c772fdc82cb82154

diff --git a/app-admin/lnav/lnav-0.11.2.ebuild 
b/app-admin/lnav/lnav-0.11.2.ebuild
new file mode 100644
index 000000000000..974cb7a28229
--- /dev/null
+++ b/app-admin/lnav/lnav-0.11.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 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/libpcre2
+       >=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? (
+               virtual/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)
+}

Reply via email to