hello! The current 0.12.6 is pretty old and I would like to release 0.17.4 which is available on https://github.com/tessus/apachetop/releases I will try to create the new ebuild myself. I am filing this ticket so I have some workspace to track my progress.
I've created a pull request. With that new ebuild, on my ~amd64 laptop I emerged with all possible USE flag combinations and confirmed the package works. There are quite a few patches that were applied on the previous version of source code. I tried to read through them, most of them are applied in the upstream. But I just couldn't fully understand what they do. So I gave up on it and just tried to emerge without them (which succeeded). Probably that's a very stupid step, but that's as much as I can do at the moment due to my limited knowledge in the subject. I also manually compared source code 0.12.6 vs 0.17.4 and most of it was code styling and a potential buffer overflow fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b266a983c7d94e83ba264d78892effbf17eeb9f commit 6b266a983c7d94e83ba264d78892effbf17eeb9f Author: Oleksandr Trotsenko <oleksandr.trotsenko@gmail.com> AuthorDate: 2018-02-12 11:24:27 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2018-02-13 16:29:15 +0000 app-admin/apachetop: Bumping the version Bumping to the latest available version of the package. Closes: https://bugs.gentoo.org/647116 Package-Manager: Portage-2.3.23, Repoman-2.3.6 app-admin/apachetop/Manifest | 1 + app-admin/apachetop/apachetop-0.17.4.ebuild | 36 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea6044206c17d2d84867dbd6001ef9bd201df0b7 commit ea6044206c17d2d84867dbd6001ef9bd201df0b7 Author: Jonas Stein <jstein@gentoo.org> AuthorDate: 2018-02-14 23:17:16 +0000 Commit: Jonas Stein <jstein@gentoo.org> CommitDate: 2018-02-14 23:17:38 +0000 app-admin/apachetop: Add proxied maintainer Works on the package since Bug: https://bugs.gentoo.org/647116 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-admin/apachetop/metadata.xml | 8 ++++++++ 1 file changed, 8 insertions(+)}