Lately I noticed a new port opened on my system, apparently by the kdeconnectd process. netstat -tulpn | grep kdeconnect tcp6 0 0 :::1716 :::* LISTEN 4497/kdeconnectd udp6 0 0 :::1716 :::* 4497/kdeconnectd I could not find a KDE/Plasma setting to disable this daemon, and briefly searching the web revealed various hacks, such as removing executable bit on the program file, renaming it, or renaming the dbus launcher etc. Luckily, Gentoo has USE flags, so we can just avoid installing the corresponding package. Judging by the solutions from other distros, removing it does not break the rest of KDE/Plasma. I have already installed the build from my portage overlay here: https://github.com/CMoH/portage-overlay/blob/master/kde-apps/kdenetwork-meta/kdenetwork-meta-24.08.3-r1.ebuild I will attach the ebuild, and also provide the patch diff, in the hope it can be easily applied to ulterior ebuild versions. Let me know. Reproducible: Always
Created attachment 918793 [details] kdenetwork-meta-24.08.3-r1.ebuild New kdenetwork-meta ebuild for stable branch
Here is the patch, demonstrating changes to the original ebuild: --- kdenetwork-meta-24.08.3-r1.ebuild 2025-02-11 23:40:15.977735750 +0200 +++ /var/db/repos/gentoo/kde-apps/kdenetwork-meta/kdenetwork-meta-24.08.3.ebuild 2024-12-04 20:11:28.000000000 +0200 @@ -9,14 +9,12 @@ LICENSE="metapackage" SLOT="0" KEYWORDS="amd64 arm64 ~ppc64 ~x86" -IUSE="+bittorrent dropbox kdeconnect samba +screencast +webengine" +IUSE="+bittorrent dropbox samba +screencast +webengine" RDEPEND=" >=kde-apps/kget-${PV}:* >=kde-apps/krdc-${PV}:* - kdeconnect? ( - >=kde-misc/kdeconnect-${PV}:* - ) + >=kde-misc/kdeconnect-${PV}:* >=net-im/tokodon-${PV} >=net-irc/konversation-${PV}:* >=net-misc/kio-zeroconf-${PV}:*
Actually, I did a reverse patch, instead of old vs new - sorry about that.
We're not micro-managing meta ebuilds. But you can already disable kdenetwork-meta via kde-apps-meta[-network] and then only pick those applications that you need.