Commit Graph

366 Commits

Author SHA1 Message Date
Anton
7e83ec69d1 Add status debug 2023-09-15 11:46:15 +03:00
Anton
1016990cc6 Add missing battery variables 2023-09-07 15:04:47 +03:00
Anton
7d7a827eb5 Define outlets with fixed numbers 2023-09-04 22:36:23 +03:00
Anton
3d010be219 Implement the RPi UPS driver 2023-09-02 21:32:36 +03:00
Anton
d459ec6ce9 Init the new driver 2023-09-02 21:32:36 +03:00
Laurent Bigonville
06fcdbc9b1 Release to unstable 2023-01-25 10:27:41 +01:00
Laurent Bigonville
34c40ec9ae debian/tests/test-nut.py: Skip the flaky tests for now
That will hopefully allow us to ship nut for bookworm

Closes: #1023530
Thanks: Athos Ribeiro <athos.ribeiro@canonical.com>
Gbp-Dch: Full
2023-01-25 10:27:04 +01:00
Laurent Bigonville
f0654fd233 Release to unstable 2022-12-31 13:34:30 +01:00
Laurent Bigonville
a009ca10a3 debian/tests/test-nut.py: Increase sleep after starting drivers
The tests are flaky on some architectures, try to wait a bit longer that
the driver starts.

Closes: #1023530
Gbp-Dch: Full
2022-12-31 13:32:41 +01:00
Laurent Bigonville
622db9c453 debian/patches/appdata-launchable.patch: Add launchable tag
This is needed as the .desktop file is not the same as the appdata file
2022-11-14 09:39:33 +01:00
Laurent Bigonville
26afcf7ebd Release to unstable 2022-11-02 12:32:44 +01:00
Laurent Bigonville
21bb558436 debian/control: Make libups-nut-perl and nut-doc as M-A foreign 2022-10-21 21:59:56 +02:00
Laurent Bigonville
daceba7396 Update debian/changelog 2022-10-21 21:08:24 +02:00
Laurent Bigonville
36ec4b0e0e Run wrap-and-sort
Gbp-Dch: Ignore
2022-10-21 21:07:57 +02:00
Laurent Bigonville
b3cca42804 debian/control: Make sure the drivers depend against the server version 2022-10-21 21:02:01 +02:00
Laurent Bigonville
982994a323 Make sure that the installed manpages are built from the sources 2022-10-21 20:40:13 +02:00
Laurent Bigonville
b89e968183 debian/nut-client.lintian-overrides: Override init-script-is-not-a-file
This symlink is needed to integrate into the sysv halt initscript and to
poweroff the UPS in case of power failure
2022-10-21 19:56:25 +02:00
Laurent Bigonville
73704c0d40 Merge branch 'nut-scrub-obsolete' into debian 2022-10-21 19:56:02 +02:00
Laurent Bigonville
1a5fb712f8 Release to unstable 2022-10-19 22:38:20 +02:00
Laurent Bigonville
7bd5eda599 debian/tests/test-nut.py: set SYSTEMCTL_SKIP_REDIRECT to 1
The behaviour of the upstream systemd services has changed breaking the
existing tests. This is a quick fix for the tests so they use the sysv
initscript instead of the systemd services.

Gbp-Dch: Full
Closes: #1019221
2022-10-19 22:36:25 +02:00
Laurent Bigonville
e10849a613 Add debian/salsa-ci.yml for automated tests in salsa 2022-10-19 09:59:04 +02:00
Debian Janitor
2ee6c3a615 Remove constraints unnecessary since buster (oldstable)
* Build-Depends: Drop versioned constraint on libfreeipmi-dev, libipmimonitoring-dev, libpowerman0-dev, libusb-1.0-0-dev and libwrap0-dev.
* Build-Depends-Indep: Drop versioned constraint on asciidoc and dblatex.
* nut-server: Drop versioned constraint on lsb-base in Depends.
* nut-client: Drop versioned constraint on lsb-base in Depends.
* nut-snmp: Drop versioned constraint on nut in Depends.
* nut-ipmi: Drop versioned constraint on nut in Depends.
* nut-xml: Drop versioned constraint on nut in Depends.
* nut-powerman-pdu: Drop versioned constraint on nut and powerman in Depends.
* Remove 1 maintscript entries from 1 files.

Changes-By: deb-scrub-obsolete
2022-09-25 08:02:56 +00:00
Laurent Bigonville
2fc70a35cc Drop the debian/libnutclient2.symbols file entierly, generate a shlibs file with strong dependency instead
Managing a .symbols file for C++ libraries is a nightmare

Closes: #1017392
2022-09-25 09:23:56 +02:00
Laurent Bigonville
f2bcd2dbd9 debian/libnutclient2.symbols: Update the symbols file, again 2022-08-14 23:08:29 +02:00
Laurent Bigonville
188281ac99 Release to unstable 2022-08-14 18:58:11 +02:00
Laurent Bigonville
f21a3cee19 debian/libnutclient2.symbols: Update again for the other architectures 2022-08-14 18:57:57 +02:00
Laurent Bigonville
f1a274b28e debian/libnutclient2.symbols: Update again on amd64
gcc12 changed the things, again
2022-08-14 10:29:54 +02:00
Laurent Bigonville
94c5a19270 debian/libnutclient2.symbols: Add symbols for arm64, really 2022-07-13 13:50:10 +02:00
Laurent Bigonville
a6692cea5d debian/libnutclient2.symbols: Add symbols for arm64 2022-07-13 13:38:06 +02:00
Laurent Bigonville
2f774773a5 debian/libnutclient2.symbols: Quote demangled C++ symbols 2022-07-13 10:10:26 +02:00
Laurent Bigonville
fd9c82014f debian/control: Mark python3 BD with :any, that should fix cross-compilation 2022-07-13 09:53:32 +02:00
Laurent Bigonville
d2d09715b8 debian/control: Drop explicit dependency against libi2c0 and libmodbus5
Let debhelper manage those
2022-07-13 09:01:31 +02:00
Laurent Bigonville
f077e688af debian/libnutclient2.symbols: Adjust the symbols file for architecture specific symbols 2022-07-13 08:59:26 +02:00
Laurent Bigonville
04f889fb6a debian/control: Mark libi2c-dev BD as linux-any
i2c-tools is restricted to these architectures
2022-07-12 09:09:25 +02:00
Laurent Bigonville
2740456b51 Properly install the icons and other UI data for nut-monitor 2022-07-10 20:09:04 +02:00
Laurent Bigonville
bbda8c3814 debian/rules: Only try to build manpages if asciidoc is installed 2022-07-10 20:06:15 +02:00
Laurent Bigonville
ce9a71e024 debian/libnutclient2.symbols: Run through c++filt to make symbols readable 2022-07-10 12:57:02 +02:00
Laurent Bigonville
b77bb84a87 debian/*.symbols: Add Build-Depends-Package field 2022-07-10 12:57:02 +02:00
Laurent Bigonville
793fac36f3 Install nut-driver-enumerator.sh in /usr/libexec/ 2022-07-10 12:57:02 +02:00
Laurent Bigonville
e7e536b028 Install the nut.target file in the nut-client package 2022-07-10 12:57:02 +02:00
Laurent Bigonville
e03f1c997d Override systemd-service-file-refers-to-unusual-wantedby-target for nut-client and nut-server packages 2022-07-10 12:57:02 +02:00
Laurent Bigonville
4897ca64b0 debian/control: Add libavahi-client-dev and libavahi-core-dev to the BD 2022-07-10 12:11:21 +02:00
Laurent Bigonville
e20fede4d1 debian/rules: Fix links to the shared libraries for the -dev packages 2022-07-10 12:11:21 +02:00
Laurent Bigonville
e4896f6084 debian/rules: Build the package in parallel 2022-07-10 11:28:49 +02:00
Laurent Bigonville
d8dfcf1102 debian/nut-server.lintian-overrides: Update to properly override udev-rule-missing-subsystem 2022-07-10 11:19:41 +02:00
Laurent Bigonville
4ce415be3c debian/patches/: Drop all patches merged upstream 2022-07-10 11:05:29 +02:00
Laurent Bigonville
9e5d5b9c96 debian/patches/0004-fix-systemd-service.patch: Drop, not needed anymore 2022-07-10 11:05:29 +02:00
Laurent Bigonville
dae4e2a91f debian/patches/series: Continue to apply 0003-install-dev-files-in-usr.patch 2022-07-10 11:05:29 +02:00
Laurent Bigonville
98eea7e938 debian/patches/0001-reproductible-build.patch: Refreshed 2022-07-10 11:05:29 +02:00
Laurent Bigonville
360f58830e debian/control: BD against libusb-1.0-0-dev instead of libusb-dev 2022-07-10 11:05:29 +02:00