diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2015-09-29 20:43:00 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2015-09-29 20:43:00 +0300 |
commit | 20bc65e1549a15131c7205b6479b007bde429716 (patch) | |
tree | 03fdb929a12115b9cfa3a8aaedb9117efb3a40d8 /dev-util/dropwatch | |
parent | Glusterfs uses EC algorithms which require openssl[-bindist] (diff) | |
download | gentoo-20bc65e1549a15131c7205b6479b007bde429716.tar.gz gentoo-20bc65e1549a15131c7205b6479b007bde429716.tar.bz2 gentoo-20bc65e1549a15131c7205b6479b007bde429716.zip |
dev-util/dropwatch: fix dependencies
- sys-devel/binutils -> sys-libs/binutils-libs migration
- add subslot qualificator for sys-libs/readline
Package-Manager: portage-2.2.22
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'dev-util/dropwatch')
-rw-r--r-- | dev-util/dropwatch/dropwatch-1.4-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/dropwatch/dropwatch-1.4-r1.ebuild b/dev-util/dropwatch/dropwatch-1.4-r1.ebuild new file mode 100644 index 000000000000..077335fd44bb --- /dev/null +++ b/dev-util/dropwatch/dropwatch-1.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit linux-info toolchain-funcs + +DESCRIPTION="A utility to interface to the kernel to monitor for dropped network packets" +HOMEPAGE="https://fedorahosted.org/dropwatch/" +SRC_URI="https://fedorahosted.org/releases/d/r/dropwatch/${P}.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/libnl:3 + sys-libs/binutils-libs + sys-libs/readline:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +CONFIG_CHECK="~NET_DROP_MONITOR" + +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" + "${FILESDIR}/${P}-binutils-2.23.patch" +) + +src_prepare() { + epatch ${PATCHES[@]} + epatch_user +} + +src_compile() { + emake CC="$(tc-getCC)" -C src +} + +src_install() { + dobin "src/${PN}" + doman "doc/${PN}.1" + dodoc README +} + +pkg_postinst() { + einfo "Ensure that 'drop_monitor' kernel module is loaded before running ${PN}" +} |