[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2024-04-24 Thread Arthur Zamarin
commit: 7cc3023296e4d32199fa34d698285d705bb8e115
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 24 16:17:58 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 24 16:18:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cc30232

dev-util/dropwatch: drop 1.4_p20150706, EAPI6--

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/dropwatch/Manifest   |  1 -
 dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild | 42 ---
 2 files changed, 43 deletions(-)

diff --git a/dev-util/dropwatch/Manifest b/dev-util/dropwatch/Manifest
index dadf0aa2bc72..898bdf5f3c8d 100644
--- a/dev-util/dropwatch/Manifest
+++ b/dev-util/dropwatch/Manifest
@@ -1,2 +1 @@
-DIST dropwatch-1.4_p20150706.tar.xz 14880 BLAKE2B 
4df44a517447a7e99fe5d84a79421c9810c3b67524eb1d208c36ebb503dd43c715e57c678c33a90689707680d1f42b9d30d00080894f22889553e551a23adfa6
 SHA512 
f78f19f063408cb655869e662e92709b1cec820ab35b11272b87a990c380e0799c6e9067dcf53edab795916347dfe3fd04932f9699c3f5649f96d62567957fbd
 DIST dropwatch-1.5.4.gh.tar.gz 24774 BLAKE2B 
36cd3fa3e2afc755cb5b34d43c31424ba176db4e6c83894e6bb97e458e214638fa69ec692b8fed84befbb01fd969c04d4d1c7374e82dfcec1a512f4e9e00d86d
 SHA512 
4af06c05c694d4a044a5e92ba9869a865730bb2caa28cddc33160481f490ed77a7300ef57c9f76722d7bc8d4ac47cdfd5f13daf4f764500f3c90a72b5ee58d61

diff --git a/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild 
b/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
deleted file mode 100644
index 2ed2cddf6d88..
--- a/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz";
-
-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}/${PN}-1.4-binutils-2.23.patch"
-)
-
-src_compile() {
-   tc-export PKG_CONFIG
-   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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2024-04-23 Thread Arthur Zamarin
commit: 573045d03f5a1bdb2fdfd7bb7fbd08fbf4c5e838
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Sat Feb 20 11:38:17 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 23 10:01:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573045d0

dev-util/dropwatch: version bump to 1.5.4, live ebuild, wrt #699142

Closes: https://bugs.gentoo.org/699142
Signed-off-by: Vladimir Pavljuchenkov (SpiderX)  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/19556
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/dropwatch/Manifest   |  1 +
 dev-util/dropwatch/dropwatch-1.5.4.ebuild | 38 +++
 dev-util/dropwatch/metadata.xml   | 10 
 3 files changed, 49 insertions(+)

diff --git a/dev-util/dropwatch/Manifest b/dev-util/dropwatch/Manifest
index 64fdc897acf3..dadf0aa2bc72 100644
--- a/dev-util/dropwatch/Manifest
+++ b/dev-util/dropwatch/Manifest
@@ -1 +1,2 @@
 DIST dropwatch-1.4_p20150706.tar.xz 14880 BLAKE2B 
4df44a517447a7e99fe5d84a79421c9810c3b67524eb1d208c36ebb503dd43c715e57c678c33a90689707680d1f42b9d30d00080894f22889553e551a23adfa6
 SHA512 
f78f19f063408cb655869e662e92709b1cec820ab35b11272b87a990c380e0799c6e9067dcf53edab795916347dfe3fd04932f9699c3f5649f96d62567957fbd
+DIST dropwatch-1.5.4.gh.tar.gz 24774 BLAKE2B 
36cd3fa3e2afc755cb5b34d43c31424ba176db4e6c83894e6bb97e458e214638fa69ec692b8fed84befbb01fd969c04d4d1c7374e82dfcec1a512f4e9e00d86d
 SHA512 
4af06c05c694d4a044a5e92ba9869a865730bb2caa28cddc33160481f490ed77a7300ef57c9f76722d7bc8d4ac47cdfd5f13daf4f764500f3c90a72b5ee58d61

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 ..5a03257c4af2
--- /dev/null
+++ b/dev-util/dropwatch/dropwatch-1.5.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 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}"
+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)"
+}

diff --git a/dev-util/dropwatch/metadata.xml b/dev-util/dropwatch/metadata.xml
index 115e9d64a669..7bebac60453c 100644
--- a/dev-util/dropwatch/metadata.xml
+++ b/dev-util/dropwatch/metadata.xml
@@ -2,4 +2,14 @@
 https://www.gentoo.org/dtd/metadata.dtd";>
 

+   
+   Utility to diagnose problems in the Linux Networking stack, specifically
+   where packets are getting dropped.
+   
+   
+   Add support for Binary File Descriptor
+   
+   
+   nhorman/dropwatch
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2024-04-23 Thread Arthur Zamarin
commit: 1d6055e70bb9fe6a282e855ddf2d58f935913ba2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 23 09:58:57 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 23 10:01:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6055e7

dev-util/dropwatch: fix compile on musl

Closes: https://bugs.gentoo.org/831525
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/dropwatch/dropwatch-1.5.4.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-util/dropwatch/dropwatch-1.5.4.ebuild 
b/dev-util/dropwatch/dropwatch-1.5.4.ebuild
index 5a03257c4af2..3b5d9e2b529e 100644
--- a/dev-util/dropwatch/dropwatch-1.5.4.ebuild
+++ b/dev-util/dropwatch/dropwatch-1.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,7 +20,9 @@ RDEPEND="
sys-libs/readline:=
bfd? ( sys-libs/binutils-libs:= )
 "
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   elibc_musl? ( sys-libs/queue-standalone )
+"
 BDEPEND="virtual/pkgconfig"
 
 CONFIG_CHECK="~NET_DROP_MONITOR"



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2021-04-20 Thread Sam James
commit: 5e6ebe8c5bfd23906b7ff98d7c64eb771e523a5d
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 20 11:39:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 20 11:50:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6ebe8c

dev-util/dropwatch: export PKG_CONFIG

Closes: https://bugs.gentoo.org/784299
Signed-off-by: Sam James  gentoo.org>

 dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild 
b/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
index f4d2002b7f7..2ed2cddf6d8 100644
--- a/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
+++ b/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -27,6 +27,7 @@ PATCHES=(
 )
 
 src_compile() {
+   tc-export PKG_CONFIG
emake CC="$(tc-getCC)" -C src
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/files/

2021-01-27 Thread Conrad Kostecki
commit: 67e8a8f09835d5b23e5dced895f6116e3652932e
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Jan 27 12:51:58 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jan 27 18:17:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e8a8f0

dev-util/dropwatch: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/19239
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../dropwatch/files/dropwatch-1.4-makefile.patch| 21 -
 1 file changed, 21 deletions(-)

diff --git a/dev-util/dropwatch/files/dropwatch-1.4-makefile.patch 
b/dev-util/dropwatch/files/dropwatch-1.4-makefile.patch
deleted file mode 100644
index 14ffcc83513..000
--- a/dev-util/dropwatch/files/dropwatch-1.4-makefile.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 src/Makefile.orig  2012-10-24 13:27:12.0 +0400
-+++ src/Makefile   2012-10-24 13:27:47.0 +0400
-@@ -1,14 +1,14 @@
- all: dropwatch
--CFLAGS+=-c -g -D_GNU_SOURCE -Wall -Werror `pkg-config --cflags libnl-3.0`
--LDFLAGS=-lbfd -lreadline -lnl-3 -lnl-genl-3
-+CFLAGS+=-c -D_GNU_SOURCE -Wall `pkg-config --cflags libnl-3.0`
-+LIBS=-lbfd -lreadline -lnl-3 -lnl-genl-3
- OBJFILES := main.o lookup.o\
-lookup_bfd.o lookup_kas.o
- 
- dropwatch: $(OBJFILES) 
--  gcc -g -o dropwatch $(OBJFILES) $(LDFLAGS) 
-+  $(CC) -o dropwatch $(LDFLAGS) $(OBJFILES) $(LIBS)
- 
- %.o: %.c
--  gcc $(CFLAGS) $<
-+  $(CC) $(CFLAGS) $<
- clean:
-   rm -f dropwatch *.o
- 



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2020-11-28 Thread Aaron Bauman
commit: c1d5ed41427de0f84853676182e92a6aac054312
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Nov 28 17:43:30 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Nov 28 17:46:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d5ed41

dev-util/dropwatch: drop old

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-util/dropwatch/Manifest|  1 -
 dev-util/dropwatch/dropwatch-1.4-r1.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/dev-util/dropwatch/Manifest b/dev-util/dropwatch/Manifest
index 9d764314ec6..64fdc897acf 100644
--- a/dev-util/dropwatch/Manifest
+++ b/dev-util/dropwatch/Manifest
@@ -1,2 +1 @@
-DIST dropwatch-1.4.tbz2 32199 BLAKE2B 
2f6a053ed2fc1280ba5aacef79b6b43903eb115ab0b81ed6dbdd7d789dccd5dcfc7d42a76718c73b3c6cc8013ef9a8a1a0e00be83ee2944ad2f101d0193f3a3f
 SHA512 
a5744ea156464c53d31d5b54bcaf9bd61f2035285059bc05a3eec20be71d1451a6191237f194dc5d8e6fb6fcbb81d9ef87adf5ac2d878cc1f159191c47118e29
 DIST dropwatch-1.4_p20150706.tar.xz 14880 BLAKE2B 
4df44a517447a7e99fe5d84a79421c9810c3b67524eb1d208c36ebb503dd43c715e57c678c33a90689707680d1f42b9d30d00080894f22889553e551a23adfa6
 SHA512 
f78f19f063408cb655869e662e92709b1cec820ab35b11272b87a990c380e0799c6e9067dcf53edab795916347dfe3fd04932f9699c3f5649f96d62567957fbd

diff --git a/dev-util/dropwatch/dropwatch-1.4-r1.ebuild 
b/dev-util/dropwatch/dropwatch-1.4-r1.ebuild
deleted file mode 100644
index 341fd711b33..000
--- a/dev-util/dropwatch/dropwatch-1.4-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/, dev-util/dropwatch/files/

2016-11-16 Thread Andrew Savchenko
commit: 7cbec58a3a12c898ae15ebbe78e3fd81e8ceb894
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Wed Nov 16 22:06:01 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Wed Nov 16 22:06:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbec58a

dev-util/dropwatch: version bump and fixes

- update to the latest git HEAD snapshot (20150706);
- update to EAPI 6;
- add subsolt dep on binutils-libs (fixes bug 599908), thanks
  Thomas Deutschmann (whissi  gentoo.org) for the report and the patch.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 dev-util/dropwatch/Manifest|  1 +
 dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild  | 42 ++
 .../files/dropwatch-1.4-binutils-2.23.patch| 37 ---
 .../files/dropwatch-1.4_p20150706-makefile.patch   | 21 +++
 4 files changed, 89 insertions(+), 12 deletions(-)

diff --git a/dev-util/dropwatch/Manifest b/dev-util/dropwatch/Manifest
index e4cc3b5..c7d2096 100644
--- a/dev-util/dropwatch/Manifest
+++ b/dev-util/dropwatch/Manifest
@@ -1 +1,2 @@
 DIST dropwatch-1.4.tbz2 32199 SHA256 
ede45fd3b4a847a9befa73e9e8f6336aee5418fc3e041648c684e5085113a3b4 SHA512 
a5744ea156464c53d31d5b54bcaf9bd61f2035285059bc05a3eec20be71d1451a6191237f194dc5d8e6fb6fcbb81d9ef87adf5ac2d878cc1f159191c47118e29
 WHIRLPOOL 
3d8661ab85da0a7485e8f6312eeb99e1ed14f6af38d119093c835e94f518918908e596d3e5744be5f529d280b6644b459106eb503112df58b63865737f8eecc1
+DIST dropwatch-1.4_p20150706.tar.xz 14880 SHA256 
c0977172d1d1f14ddadf4fd5f5449f1ef0ced77c73b34c4ce9d256c7380c9b29 SHA512 
f78f19f063408cb655869e662e92709b1cec820ab35b11272b87a990c380e0799c6e9067dcf53edab795916347dfe3fd04932f9699c3f5649f96d62567957fbd
 WHIRLPOOL 
26e460964db3c71bb9a0d7f89fcec5985471a7ad94cdaadd4fdef0e0a70f1d990fd8db1092945fd30e34fe54868647d31d60235b4fa7d60533c58e4e1e050d4d

diff --git a/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild 
b/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
new file mode 100644
index ..69c033d
--- /dev/null
+++ b/dev-util/dropwatch/dropwatch-1.4_p20150706.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz";
+
+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}/${PN}-1.4-binutils-2.23.patch"
+)
+
+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}"
+}

diff --git a/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch 
b/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch
index 43702c4..1a7fa79 100644
--- a/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch
+++ b/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch
@@ -1,6 +1,16 @@
-diff -aurd src.orig/lookup.c src/lookup.c
 src.orig/lookup.c  2011-10-03 22:51:38.0 +0400
-+++ src/lookup.c   2013-02-18 09:13:56.683214438 +0400
+commit a5aa2c3cbae207d12b9f2fded36a47031c55be36
+Author: Andrew Savchenko 
+Date:   Thu Nov 17 00:04:47 2016 +0300
+
+Fix build with recent binutils
+
+Gentoo-Bug: 457980
+Upstream Ticket:5
+
+diff --git a/src/lookup.c b/src/lookup.c
+index ba54991..809981b 100644
+--- a/src/lookup.c
 b/src/lookup.c
 @@ -27,13 +27,13 @@
  #include 
  #include 
@@ -16,9 +26,10 @@ diff -aurd src.orig/lookup.c src/lookup.c
  
  extern struct lookup_methods bfd_methods;
  extern struct lookup_methods kallsym_methods;
-diff -aurd src.orig/lookup.h src/lookup.h
 src.orig/lookup.h  2011-10-03 22:51:38.0 +0400
-+++ src/lookup.h   2013-02-18 09:11:00.506895026 +0400
+diff --git a/src/lookup.h b/src/lookup.h
+index e6568d8..47a7b56 100644
+--- a/src/lookup.h
 b/src/lookup.h
 @@ -28,6 +28,9 @@
  #include 
  #include 
@@ -29,9 +40,10 @@ diff -aurd src.orig/lookup.h src/lookup.h
  
  /*
   * Initalization routine
-diff -aurd src.orig/lookup_bfd.c src/lookup_bfd.c
 src.orig/lookup_bfd.c  2012-01-16 22:34:11.0 +0400
-+++ src/lookup_bfd.c   2013-02-18 09:14:02.472984310 +0400
+diff --git a/src/lookup_bfd.c b/src/lookup_bfd.c
+index cc7010b..271d426 100644
+--- a/src/lookup_bfd.c
 b/src/lookup_bfd.c
 @@ -25,13 +25,13 @@
  #include 
  #include 
@@ -47,9 +59,10 @@ diff -aurd src.orig/lookup_bfd.c src/lookup_bfd

[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2015-09-29 Thread Andrew Savchenko
commit: 8cb1e14e700df00d44484d2daafae4862b7d75c3
Author: Andrew Savchenko  gmail  com>
AuthorDate: Tue Sep 29 17:44:53 2015 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Tue Sep 29 17:44:53 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb1e14e

dev-util/dropwatch: remove old

Package-Manager: portage-2.2.22
Signed-off-by: Andrew Savchenko  gentoo.org>

 dev-util/dropwatch/dropwatch-1.4.ebuild | 47 -
 1 file changed, 47 deletions(-)

diff --git a/dev-util/dropwatch/dropwatch-1.4.ebuild 
b/dev-util/dropwatch/dropwatch-1.4.ebuild
deleted file mode 100644
index 59e63c1..000
--- a/dev-util/dropwatch/dropwatch-1.4.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2014 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/readline
-   sys-devel/binutils"
-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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/dropwatch/

2015-09-29 Thread Andrew Savchenko
commit: 20bc65e1549a15131c7205b6479b007bde429716
Author: Andrew Savchenko  gmail  com>
AuthorDate: Tue Sep 29 17:43:00 2015 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Tue Sep 29 17:43:00 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20bc65e1

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  gentoo.org>

 dev-util/dropwatch/dropwatch-1.4-r1.ebuild | 47 ++
 1 file changed, 47 insertions(+)

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 000..077335f
--- /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}"
+}