Патчи nethogs-debian-* для текущей версии -0.8.0 частично(?) включены авторами в новую версию -0.8.5: https://github.com/raboof/nethogs/releases Формат вывода тоже исправлен авторами. .spec для -0.8.5 прилагается. .src.rpm: http://hermes.ihep.su:8001/pool/lx/SRPMS/nethogs-0.8.5-alt0.src.rpm Мелкие изменения по замечаниям трудящихся готов добавить. Спасибо.
Created attachment 7099 [details] .spec.diff
Comment on attachment 7099 [details] .spec.diff поправка
Comment on attachment 7099 [details] .spec.diff >--- nethogs.spec.orig 2017-06-01 22:03:18.837808740 +0300 >+++ nethogs.spec 2017-06-01 22:39:34.000000000 +0300 >@@ -1,17 +1,15 @@ > Name: nethogs >-Version: 0.8.0 >-Release: alt3 >+Version: 0.8.5 >+Release: alt0 > > Summary: net top > License: GPL > Group: Monitoring > >-Url: http://nethogs.sourceforge.net >-Source0: http://nethogs.sourceforge.net/%name-%version.tar.gz >+Url: https://github.com/raboof/nethogs >+Source0: %name-%version.tar > Source1: nethogs.control >-Patch0: nethogs-0.8.0-debian-makefile.patch >-Patch1: nethogs-0.8.0-debian-geteuid.patch >-Patch2: nethogs-0.8.0-alt-pid32.patch >+#Patch2: nethogs-0.8.0-alt-pid32.patch > Packager: Michael Shigorin <mike@altlinux.org> > > # Automatically added by buildreq on Tue Apr 07 2009 >@@ -36,17 +34,15 @@ > ewentualnie go zabiÄ. > > %prep >-%setup -n %name >-%patch0 -p0 >-%patch1 -p0 >-%patch2 -p1 >+%setup -n %name-%version >+#%patch2 -p1 > > %build >-%make GCC="g++" CFLAGS="%optflags -I%_includedir/ncurses" >+%make PREFIX=/usr GCC="g++" CFLAGS="%optflags -I%_includedir/ncurses" > > %install >-install -pDm755 %name %buildroot%_sbindir/%name >-install -pDm644 %name.8 %buildroot%_man8dir/%name.8 >+install -pDm755 src/%name %buildroot%_sbindir/%name >+install -pDm644 doc/%name.8 %buildroot%_man8dir/%name.8 > install -pDm755 %SOURCE1 %buildroot%_controldir/%name > > %pre >@@ -57,12 +53,16 @@ > %post_control -s netadmin %name > > %files >-%doc Changelog README >+%doc Changelog README.md > %_sbindir/* > %_man8dir/* > %config %_controldir/%name > > %changelog >+* Thu Jun 01 2017 Oleg Zenin <zenin_o@ihep.ru> 0.8.5-alt0 >+- Makefile and get(e)uid patches (cf. 0.8.0-alt3) appear >+ to have been merged into the upstream. >+ > * Fri Oct 14 2011 Michael Shigorin <mike@altlinux.org> 0.8.0-alt3 > - replaced my kludge with a patch by vx8400/gmail.com (thx!) >
Created attachment 7101 [details] поправка
Спасибо! Там ещё BuildRequires: /proc понадобился только для сборки в hasher.
nethogs-0.8.5-alt1 -> sisyphus: Fri Jun 02 2017 Michael Shigorin <mike@altlinux.org> 0.8.5-alt1 - built for sisyphus (closes: #33524), thanks Oleg! - BR: /proc for tests Thu Jun 01 2017 Oleg Zenin <zenin_o@ihep.ru> 0.8.5-alt0 - Makefile and get(e)uid patches (cf. 0.8.0-alt3) appear to have been merged into the upstream.