Your message dated Fri, 30 Jun 2017 18:45:53 +0300
with message-id <20170630154553.saqmw5ikukihk5d6@localhost>
and subject line Closing unwanted pu requests
has caused the Debian Bug report #863377,
regarding jessie-pu: package nethogs/0.8.0-1+deb8u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
863377: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863377
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu


 changelog                  |    8 ++++++++
 patches/series             |    1 +
 patches/ugram-socket.patch |   16 ++++++++++++++++
 3 files changed, 25 insertions(+)

diff -Nru nethogs-0.8.0/debian/changelog nethogs-0.8.0/debian/changelog
--- nethogs-0.8.0/debian/changelog      2011-08-27 20:48:58.000000000 +0300
+++ nethogs-0.8.0/debian/changelog      2017-05-25 23:17:54.000000000 +0300
@@ -1,3 +1,11 @@
+nethogs (0.8.0-1+deb8u1) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * Add upstream patch for "creating socket failed while
+    establishing local IP" bug. (Closes: #808433)
+ 
+ -- Adrian Bunk <b...@debian.org>  Thu, 25 May 2017 23:12:56 +0300
+
 nethogs (0.8.0-1) unstable; urgency=low
 
   * Switch to dpkg-source 3.0 (quilt) format.
diff -Nru nethogs-0.8.0/debian/patches/series 
nethogs-0.8.0/debian/patches/series
--- nethogs-0.8.0/debian/patches/series 2011-08-27 20:44:48.000000000 +0300
+++ nethogs-0.8.0/debian/patches/series 2017-05-25 23:15:26.000000000 +0300
@@ -1,2 +1,3 @@
 02_geteuid.diff
 04_makefile.diff
+ugram-socket.patch
diff -Nru nethogs-0.8.0/debian/patches/ugram-socket.patch 
nethogs-0.8.0/debian/patches/ugram-socket.patch
--- nethogs-0.8.0/debian/patches/ugram-socket.patch     1970-01-01 
02:00:00.000000000 +0200
+++ nethogs-0.8.0/debian/patches/ugram-socket.patch     2017-05-25 
23:16:49.000000000 +0300
@@ -0,0 +1,16 @@
+Description: Use a normal DGRAM (UDP) socket to determine local IPv4 IP
+Author: Arnout Engelen <arnou...@bzzt.net>
+Bug-Debian: https://bugs.debian.org/808433
+Origin: upstream, 
https://github.com/raboof/nethogs/commit/ee8b7ea8a4c6f109f8080894734bbf4d6281c809
+
+--- nethogs-0.8.0.orig/packet.cpp
++++ nethogs-0.8.0/packet.cpp
+@@ -38,7 +38,7 @@ void getLocal (const char *device, bool
+       struct ifreq iFreq;
+       struct sockaddr_in *saddr;
+ 
+-      if((sock=socket(AF_INET, SOCK_RAW, htons(0x0806)))<0){
++      if((sock=socket(AF_INET, SOCK_DGRAM, 0))<0){
+               forceExit("creating socket failed while establishing local IP - 
are you root?");
+       }
+       strcpy(iFreq.ifr_name, device);

--- End Message ---
--- Begin Message ---
The release team has made it clear that pu requests are not welcome when 
they are submitted by me.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--- End Message ---

Reply via email to