app-portage/portage-sync-notifier
A DBus notification agent for Portage sync completion
-
portage-sync-notifier-1.0~amd64
View
Download
Browse License: MIT Overlay: arrans-overlay
ChangeLog
commit 8be0e91eac61948bab4d2d13f80772bb9f1928f3
Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue Mar 24 23:56:29 2026 +0000
Use runuser strictly for portage-sync-notifier
Updated portage-sync-notifier script to strictly depend on runuser, removing the sudo fallback as per code review.
Added sys-apps/coreutils to RDEPEND in the ebuild.
commit 36c43718cd2a209dc63ac9a30475de0d737a361a
Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue Mar 24 23:51:43 2026 +0000
Refactor portage-sync-notifier to use runuser/sudo instead of su
Refactored the script to pre-determine if `notify-send` or `kdialog` is available instead of checking per-user iteration.
Replaced `su -` with `sudo` (and a fallback to `runuser`) for a cleaner privilege dropping mechanism, directly executing the DBus command without spawning interactive shells.
commit e9f3991fba217714631aa5f52a6d6fe236dec6de
Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue Mar 24 23:45:39 2026 +0000
Add portage-sync-notifier to broadcast emerge --sync completion
Creates `app-portage/portage-sync-notifier` which installs a bash script into `/etc/portage/postsync.d`. The script iterates over active user sessions using `/run/user/*/bus` to broadcast a DBus notification via libnotify (notify-send) or KDE (kdialog) alerting users that a Portage sync has finished.
Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue Mar 24 23:56:29 2026 +0000
Use runuser strictly for portage-sync-notifier
Updated portage-sync-notifier script to strictly depend on runuser, removing the sudo fallback as per code review.
Added sys-apps/coreutils to RDEPEND in the ebuild.
commit 36c43718cd2a209dc63ac9a30475de0d737a361a
Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue Mar 24 23:51:43 2026 +0000
Refactor portage-sync-notifier to use runuser/sudo instead of su
Refactored the script to pre-determine if `notify-send` or `kdialog` is available instead of checking per-user iteration.
Replaced `su -` with `sudo` (and a fallback to `runuser`) for a cleaner privilege dropping mechanism, directly executing the DBus command without spawning interactive shells.
commit e9f3991fba217714631aa5f52a6d6fe236dec6de
Author: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue Mar 24 23:45:39 2026 +0000
Add portage-sync-notifier to broadcast emerge --sync completion
Creates `app-portage/portage-sync-notifier` which installs a bash script into `/etc/portage/postsync.d`. The script iterates over active user sessions using `/run/user/*/bus` to broadcast a DBus notification via libnotify (notify-send) or KDE (kdialog) alerting users that a Portage sync has finished.

