* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ifmetric/files/, net-analyzer/ifmetric/
@ 2016-11-05 9:01 Jeroen Roovers
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2016-11-05 9:01 UTC (permalink / raw
To: gentoo-commits
commit: cd18360aa514275260293436172e7b7ecc8dbc72
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 5 08:55:40 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Nov 5 08:55:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd18360a
net-analyzer/ifmetric: Add Debian patch for bug #428674).
Package-Manager: portage-2.3.2
.../ifmetric/files/ifmetric-0.3-replybuf.patch | 11 ++++++++
net-analyzer/ifmetric/ifmetric-0.3-r2.ebuild | 32 ++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/net-analyzer/ifmetric/files/ifmetric-0.3-replybuf.patch b/net-analyzer/ifmetric/files/ifmetric-0.3-replybuf.patch
new file mode 100644
index 00000000..883ce2b
--- /dev/null
+++ b/net-analyzer/ifmetric/files/ifmetric-0.3-replybuf.patch
@@ -0,0 +1,11 @@
+--- a/src/nlrequest.c
++++ b/src/nlrequest.c
+@@ -44,7 +44,7 @@
+
+ for (;;) {
+ int bytes;
+- char replybuf[2048];
++ char replybuf[4096];
+ struct nlmsghdr *p = (struct nlmsghdr *) replybuf;
+
+ if ((bytes = recv(s, &replybuf, sizeof(replybuf), 0)) < 0) {
diff --git a/net-analyzer/ifmetric/ifmetric-0.3-r2.ebuild b/net-analyzer/ifmetric/ifmetric-0.3-r2.ebuild
new file mode 100644
index 00000000..e6205ab
--- /dev/null
+++ b/net-analyzer/ifmetric/ifmetric-0.3-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Set metrics of all IPv4 routes attached to a given network interface at once"
+HOMEPAGE="http://0pointer.de/lennart/projects/ifmetric/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="sys-kernel/linux-headers"
+
+DOCS=(
+ README
+ doc/README.html
+)
+
+PATCHES=(
+ "${FILESDIR}"/${P}-ul.patch
+ "${FILESDIR}"/${P}-replybuf.patch
+)
+
+src_configure() {
+ # man page and HTML are already generated
+ econf \
+ --disable-xmltoman \
+ --disable-lynx
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-05 9:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-05 9:01 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ifmetric/files/, net-analyzer/ifmetric/ Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox