Bug 33524 - Обновить до nethogs-0.8.5
Summary: Обновить до nethogs-0.8.5
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: nethogs (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-01 23:16 MSK by Oleg Zenin
Modified: 2017-06-02 17:35 MSK (History)
1 user (show)

See Also:


Attachments
.spec.diff (1.74 KB, patch)
2017-06-01 23:17 MSK, Oleg Zenin
no flags Details | Diff
поправка (1.73 KB, patch)
2017-06-02 12:06 MSK, Oleg Zenin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Zenin 2017-06-01 23:16:29 MSK
Патчи 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

Мелкие изменения по замечаниям трудящихся готов добавить.

Спасибо.
Comment 1 Oleg Zenin 2017-06-01 23:17:43 MSK
Created attachment 7099 [details]
.spec.diff
Comment 2 Oleg Zenin 2017-06-02 12:03:23 MSK
Comment on attachment 7099 [details]
.spec.diff

поправка
Comment 3 Oleg Zenin 2017-06-02 12:04:08 MSK
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!)
>
Comment 4 Oleg Zenin 2017-06-02 12:06:06 MSK
Created attachment 7101 [details]
поправка
Comment 5 Michael Shigorin 2017-06-02 17:30:45 MSK
Спасибо!  Там ещё BuildRequires: /proc понадобился только для сборки в hasher.
Comment 6 Repository Robot 2017-06-02 17:35:23 MSK
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.