Package Details: netatop 3.2.2-2

Git Clone URL: https://aur.archlinux.org/netatop.git (read-only, click to copy)
Package Base: netatop
Description: Atop network kernel module, enables network statistics in atop
Upstream URL: http://www.atoptool.nl/
Keywords: atop kernel module netatop
Licenses: GPL
Groups: modules
Submitter: Spider.007
Maintainer: batot
Last Packager: batot
Votes: 27
Popularity: 0.000005
First Submitted: 2013-02-16 11:58 (UTC)
Last Updated: 2025-04-25 22:24 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

bartus commented on 2025-05-09 07:40 (UTC) (edited on 2025-05-14 10:11 (UTC) by bartus)

@batot: shit me not, mate. The post_{install,upgrade,remove} functions are doing nothing in the PKGBUILD 😂 They belong in the .install file.

https://man.archlinux.org/man/PKGBUILD.5#INSTALL/UPGRADE/REMOVE_SCRIPTING

Just merge this and be done with it. 😁 git am -s < <(curl -s http://0x0.st/8tXG.mbox)

bartus commented on 2025-04-28 07:23 (UTC) (edited on 2025-04-30 11:22 (UTC) by bartus)

@batot: don't try to be contrarian. 😁

Just conform to the Arch packaging standards:

  • a -dkms package for dynamic kernel module compilation
  • a non-dkms one for the static one.

https://wiki.archlinux.org/title/DKMS_package_guidelines

Also:

And please read the manual before pushing changes to AUR, or at least consult with an AI agent - they are pretty good at following standards (vibe coding is not strictly forbidden but strongly discouraged) 😏

batot commented on 2025-04-26 10:55 (UTC)

@bartus thanks for many hints.
Fixed some cosmetic thinks
Regarding DMKS, I suspect the author will not release separate versions without DKMS, so I will not refer to information about the netatop-dkms version.
I will consider whether to make a universal version that will install in the way you choose.
If someone wants to do it without DKMS, it is probably enough to comment point 4 and uncomment point 3 in PKGBUILD - not tested.

bartus commented on 2025-04-24 08:26 (UTC) (edited on 2025-04-25 11:05 (UTC) by bartus)

@batot: PKGBUILD is broken !!

All files required to build the package have to be listed in the source[] array.

Then in prepare stage they are getting copied to ${srcdir} for build() to run.

You can't rely on ${srcdir}/.. pointing to the cloned dir with some extra files build needs.

makepkg can build outside of the current path (using $DSTDIR) with sources being downloaded outside of the clone dir (using $SRCDST).

https://wiki.archlinux.org/title/Makepkg#Package_output

Also, there's already the netatop-dkms package for the dkms infrastructure, so your dkms changes here are redundant.

btw. you don't have to list base-devel in the makedepends[] array - it's implied.

All you need to do to update this package was: http://0x0.st/8VVX.diff

batot commented on 2025-04-23 00:03 (UTC)

  • DKMS required
  • propably working wiht LTS (still testing)
  • running with flag "-K"

batot commented on 2025-02-08 08:52 (UTC) (edited on 2025-02-08 08:52 (UTC) by batot)

At this moment I have now 2 version.

3.2.2 on systemd - working 100% property

3.2.2 on DKMS - not working 70% done - bugs when DKMS trying compile files.

In the future i try fusion all version DKMS/LTS/systemd for only 1 version. Probably will be not easy but I try.

batot commented on 2025-02-07 07:32 (UTC)

The package does not require DKMS to function.

ewtoombs commented on 2024-11-21 11:55 (UTC)

Why is this package able to work without dkms?

batot commented on 2023-04-05 20:28 (UTC) (edited on 2023-04-05 20:28 (UTC) by batot)

Hi all. I was testing with Archlinux with kernel 5.15.84 and working property.

If I will be find time, I put file PKGBUILD to replace for MANJARO systems.

valandil commented on 2021-12-12 18:50 (UTC)

Have you updated your kernel without rebooting? I believe Manjaro (like Arch) will delete the /lib/modules/<old_kernel_version> when doing an upgrade, so you can't install kernel modules after you've updated it.