###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2013 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
+SUMMARY = Top Like UI to Show Per-Process I/O Going on
+
VER = 0.6
THISAPP = iotop-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = iotop
-PAK_VER = 1
-DEPS = ""
+PAK_VER = 3
+DEPS =
+
+SERVICES =
###############################################################################
# Top-level Rules
md5 : $(subst %,%_MD5,$(objects))
-dist:
+dist:
$(PAK)
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && python setup.py install
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/iotop-0.6-replace-itervalues-with-values-in-setup.py.patch
+ cd $(DIR_APP) && python3 setup.py install
@rm -rf $(DIR_APP)
@$(POSTBUILD)