Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-power/nut: Update and Enhancement to 2.8.0 and 9999 versions #31486

Closed
wants to merge 1 commit into from

Conversation

inode64
Copy link
Contributor

@inode64 inode64 commented Jun 16, 2023

I've recently made a comprehensive update to the ebuild of sys-power/nut. The way drivers are activated has been altered - instead of using a driver list, which can be hard to maintain when new ones are added, we now activate them based on the connection type (serial, USB, XML, IPMI, Modbus, etc). This simplification not only streamlines the installation process but also resolves dependency issues associated with activating a driver and its corresponding unactivated connection.

The updates align with the latest Gentoo specifications and are summarized below:

Improvements:

  • Removed unused libnsl
  • Removed outdated hotplug
  • Utilized EAPI=8
  • Default use of libusb-1
  • Added connections for GPIO, i2c, and Modbus
  • Configuration parameters required per connection type
  • Fixed the creation of PID in /run/nut
  • Removed configurations no longer necessary for nut-2.8.0 or newer
  • Creation of man pages
  • Added a flag for documentation
  • Utilized tmpfile for creating temporary directories
  • Added Q5t5 monitor (nut-9999)
  • Disabled Python2
  • Added Python3 library
  • Message for the optional function of sys-apps/util-linux[logger, tty-helpers]
  • Added configuration for Avahi
  • Added a flag for systemd (nut-9999)

TODO: (in next version)

  • nut-scanner is not working
  • /etc/init.d/upslog requires parameters of SAI and log file

Please note that I have tested different SAI drivers, but only with USB and SNMP connections. Any feedback or further testing on these updates would be highly appreciated.

I hope to get it right now, I'm afraid of git :-)

Signed-off-by: F. Javier Félix web@inode64.com
Package-Manager: Portage-3.0.45.3, pkgcheck-0.10.24

Closes: https://bugs.gentoo.org/836776
Closes: https://bugs.gentoo.org/736804
Closes: https://bugs.gentoo.org/598619
Closes: https://bugs.gentoo.org/636402
Closes: https://bugs.gentoo.org/862543
Closes: https://bugs.gentoo.org/852287
Closes: https://bugs.gentoo.org/676598
Closes: https://bugs.gentoo.org/808675
Closes: https://bugs.gentoo.org/771291
Closes: https://bugs.gentoo.org/714930
Closes: https://bugs.gentoo.org/695148
Closes: https://bugs.gentoo.org/641144
Closes: https://bugs.gentoo.org/670132
Closes: https://bugs.gentoo.org/642618
Closes: https://bugs.gentoo.org/544250
Closes: https://bugs.gentoo.org/526328

Package-Manager: Portage-3.0.45.3, pkgcheck-0.10.24
Signed-off-by: Fco Javier Felix <ffelix@inode64.com>
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @inode64
Areas affected: ebuilds
Packages affected: sys-power/nut

sys-power/nut: @robbat2, @prometheanfire

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Jun 16, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-06-16 16:40 UTC
Newest commit scanned: 5b8b4ab
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/66da588e37/output.html

@thesamesam
Copy link
Member

thesamesam commented Jun 17, 2023

Thank you! Looks like fantastic work to me.

Big thanks for working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits.
Projects
None yet
4 participants