gpo.zugaina.org

Search Portage & Overlays:

sys-power/fake-battery-nut

Bridge a NUT-monitored UPS into a virtual battery for UPower

Screenshots

  • fake-battery-nut-1.2.1
    ~amd64
    dist-kernel modules-compress modules-sign +strip

    View      Download      Browse     License: GPL-2+   
    Overlay: vowstar

ChangeLog

commit 984b232b526fe0598fc870f99a772187bf077853
Author: Huang Rui <vowstar@gmail.com>
Date: Thu Sep 10 21:39:31 2026 -0700

sys-power/fake-battery-nut: add 1.2.1, drop 1.2.0-r1

OpenRC sources conf.d without set -a, so NUT_UPS stayed a shell variable
and never reached the daemon. The init script now exports it. The systemd
unit drops EnvironmentFile, which Gentoo systemd policy forbids pointing
at conf.d, and users override it with systemctl edit.

Signed-off-by: Huang Rui <vowstar@gmail.com>

commit 6ba4f3c60cd87506005e30186b99b92212e9e79f
Author: Huang Rui <vowstar@gmail.com>
Date: Mon Jun 22 09:17:31 2026 +0800

sys-power/fake-battery-nut: read NUT_UPS from conf.d under systemd

The systemd unit ignored /etc/conf.d/fake-battery-nut and only honoured
a systemctl edit override, which silently did nothing when left empty.
Source the same conf.d file so one config works for both init systems.

Signed-off-by: Huang Rui <vowstar@gmail.com>

commit c8d7a173fb848c8ec6035922828f35ad5db03182
Author: Huang Rui <vowstar@gmail.com>
Date: Sun Jun 21 21:30:43 2026 +0800

sys-power/fake-battery-nut: new package, add 1.2.0

Signed-off-by: Huang Rui <vowstar@gmail.com>