diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-23 23:59:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-23 23:59:27 +0100 |
commit | e3f21c8aff8a76afe3423721c437a088e9232840 (patch) | |
tree | fde2c1906a9787adec106c5d6b708cd60de02c60 /dev-util/dropwatch/dropwatch-1.5.4.ebuild | |
parent | 1f00990debeffd0052c194989d0a02baac23eb96 (diff) |
gentoo auto-resync : 23:04:2024 - 23:59:26
Diffstat (limited to 'dev-util/dropwatch/dropwatch-1.5.4.ebuild')
-rw-r--r-- | dev-util/dropwatch/dropwatch-1.5.4.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/dropwatch/dropwatch-1.5.4.ebuild b/dev-util/dropwatch/dropwatch-1.5.4.ebuild new file mode 100644 index 000000000000..3b5d9e2b529e --- /dev/null +++ b/dev-util/dropwatch/dropwatch-1.5.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info + +DESCRIPTION="Monitor for dropped network packets" +HOMEPAGE="https://github.com/nhorman/dropwatch" +SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bfd" + +RDEPEND=" + dev-libs/libnl:3 + net-libs/libpcap + sys-libs/readline:= + bfd? ( sys-libs/binutils-libs:= ) +" +DEPEND="${RDEPEND} + elibc_musl? ( sys-libs/queue-standalone ) +" +BDEPEND="virtual/pkgconfig" + +CONFIG_CHECK="~NET_DROP_MONITOR" + +src_prepare() { + default + + sed -e '/AM_CFLAGS/s/-Werror //' -i src/Makefile.am || die + + eautoreconf +} + +src_configure() { + econf "$(use_with bfd)" +} |