diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-09 10:40:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-09 10:40:04 +0100 |
commit | b426a5cef3f0ebe3389686a1c145a834d3a1e120 (patch) | |
tree | eee77f741af6979f620416c573e5203eab81c9c3 /app-admin/lnav/lnav-0.11.0.ebuild | |
parent | 97b176c73aa78bd33234884388e3978f520161c3 (diff) |
gentoo auto-resync : 09:09:2022 - 10:40:04
Diffstat (limited to 'app-admin/lnav/lnav-0.11.0.ebuild')
-rw-r--r-- | app-admin/lnav/lnav-0.11.0.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/lnav/lnav-0.11.0.ebuild b/app-admin/lnav/lnav-0.11.0.ebuild new file mode 100644 index 000000000000..f55799d7af66 --- /dev/null +++ b/app-admin/lnav/lnav-0.11.0.ebuild @@ -0,0 +1,56 @@ +# 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 README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.0-disable-tests.patch + # https://github.com/tstack/lnav/pull/1041 + "${FILESDIR}"/${PN}-0.11.0-conditional-ssh-keygen.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + filter-lto + + econf \ + --disable-static \ + --with-ncurses \ + $(use_with test system-doctest) +} |