147 Commits

Author SHA256 Message Date
31d01b485c Accepting request 1299247 from hardware
OBS-URL: https://build.opensuse.org/request/show/1299247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=83
2025-08-13 16:16:05 +00:00
6e89807d90 Accepting request 1299135 from home:ateixeira:branches:hardware
- Update to 2.8.4:
  https://github.com/networkupstools/nut/releases/tag/v2.8.4
  For more see NEWS.adoc and UPGRADING.adoc in /usr/share/doc/packages/nut
- Add new manpage files
- Remove patches included in upstream release
  * fix-upsd-buffer-overflow.patch
  * fix-usbhid-ups-commands.patch
- Bump libnutscan3 suffix with new SONAME, now libnutscan4

OBS-URL: https://build.opensuse.org/request/show/1299135
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=122
2025-08-13 14:05:07 +00:00
a382f19241 Accepting request 1291260 from hardware
OBS-URL: https://build.opensuse.org/request/show/1291260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=82
2025-07-09 15:27:17 +00:00
e478744b4d Accepting request 1291259 from home:ateixeira:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/1291259
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=120
2025-07-08 12:35:40 +00:00
e74205587b Accepting request 1290531 from home:ateixeira:branches:hardware
- Update to 2.8.3:
  https://github.com/networkupstools/nut/releases/tag/v2.8.3
  For more see NEWS.adoc and UPGRADING.adoc in /usr/share/doc/packages/nut
- Use upstream sources directly instead of repacking, license issues with
  Eaton scripts have been fixed (files have been relicensed to the GPL)
- SO version bump for libnutscan and libupsclient
- Package new library libnutconf
- Add %service_* calls for new systemd units
- Install html-doc through build system instead of manually
  * html-doc files have been moved to /usr/share/doc/packages/nut/html-doc
- Move python files to %python_sitelib
- Drop pynut-replace-telnetlib.patch
  * Included in upstream release
- Package systemd preset files
- Refresh patches
  * nut-doc-fixed-date.patch
  * harden_nut-server.service.patch
  * harden_nut-monitor.service.patch
  * harden_nut-driver.service.patch
- Add patches
  * fix-upsd-buffer-overflow.patch
    Fixes some portability problems and potential buffer overflow in upsd
  * fix-usbhid-ups-commands.patch
    Fixes failing commands with usbhid-ups

OBS-URL: https://build.opensuse.org/request/show/1290531
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=119
2025-07-07 13:43:36 +00:00
cbe341c9ad Accepting request 1266630 from hardware
OBS-URL: https://build.opensuse.org/request/show/1266630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=81
2025-04-02 19:39:02 +00:00
8034be877c Accepting request 1266312 from home:ateixeira:branches:hardware
- Add pynut-replace-telnetlib.patch
  * Removes dependency on telnetlib module which was removed in python 3.13

OBS-URL: https://build.opensuse.org/request/show/1266312
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=117
2025-04-02 17:55:51 +00:00
a1b7cd6df0 Accepting request 1206666 from hardware
OBS-URL: https://build.opensuse.org/request/show/1206666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=80
2024-10-11 15:02:23 +00:00
9b70f99b4e Accepting request 1204589 from home:kukuk:cleanup
- Add /srv/www directories to filelist [bsc#1231027]

OBS-URL: https://build.opensuse.org/request/show/1204589
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=115
2024-10-10 10:36:45 +00:00
f584b2f342 Accepting request 1202014 from hardware
OBS-URL: https://build.opensuse.org/request/show/1202014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=79
2024-09-19 19:18:25 +00:00
ccbd51de54 Accepting request 1200677 from home:ateixeira:branches:hardware
- Eaton scripts were mistakenly shipped by upstream with a proprietary
  license. Repack with upstream re-licensing patch (gh#2623).
  * nut-2.8.2-repack.tar.gz
- Add missing %service_* calls

OBS-URL: https://build.opensuse.org/request/show/1200677
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=113
2024-09-19 13:49:56 +00:00
761d135462 Accepting request 1166465 from hardware
OBS-URL: https://build.opensuse.org/request/show/1166465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=78
2024-04-10 15:49:00 +00:00
8bfece7a24 Accepting request 1165878 from home:adkorte:branches:hardware
- Update to version 2.8.2
  For more see NEWS.adoc and UPGRADING.adoc in /usr/share/doc/packages/nut
  (the list of changes is too long to list).

OBS-URL: https://build.opensuse.org/request/show/1165878
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=111
2024-04-09 14:39:20 +00:00
aac5c61d92 Accepting request 1127576 from hardware
OBS-URL: https://build.opensuse.org/request/show/1127576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=77
2023-11-20 20:19:48 +00:00
9a6c7ae67f Accepting request 1123362 from home:adkorte:branches:hardware
- Update to version 2.8.1
  For more see NEWS.adoc and UPGRADING.adoc in /usr/share/doc/packages/nut
  (the list of changes is too long to list).
- Remove obsolete patch:
  * nut-Solaris-init-files.patch

OBS-URL: https://build.opensuse.org/request/show/1123362
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=109
2023-11-19 19:26:20 +00:00
6e1c0e5e21 Accepting request 1097962 from hardware
OBS-URL: https://build.opensuse.org/request/show/1097962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=76
2023-07-11 13:56:51 +00:00
d0cce74c7c Accepting request 1097446 from home:ateixeira:branches:hardware
- Fix nut.system-sleep script to allow NUT usage with sleep and
  hibernation (bsc#1188990)

OBS-URL: https://build.opensuse.org/request/show/1097446
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=107
2023-07-10 12:42:35 +00:00
b4c9026e90 Accepting request 1097023 from hardware
OBS-URL: https://build.opensuse.org/request/show/1097023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=75
2023-07-06 16:29:15 +00:00
Lars Vogdt
1665098c0e Accepting request 1096210 from home:adkorte:branches:hardware
- Rerelease of package and switch to GPG signed package
  + add nut.keyring

OBS-URL: https://build.opensuse.org/request/show/1096210
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=105
2023-07-05 21:35:40 +00:00
dff7e8ee5f Accepting request 1079467 from hardware
OBS-URL: https://build.opensuse.org/request/show/1079467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=74
2023-04-15 20:32:35 +00:00
dd284e7e66 Accepting request 1068529 from home:adkorte:branches:hardware
- Fix reproducible build (remove files only needed for packaging)

OBS-URL: https://build.opensuse.org/request/show/1068529
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=103
2023-04-14 14:45:54 +00:00
e2b492e8bf Accepting request 1063449 from hardware
OBS-URL: https://build.opensuse.org/request/show/1063449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=73
2023-02-07 17:48:43 +00:00
782c77d19c Accepting request 1062385 from home:adkorte:branches:hardware
- Update to version 2.8.0
  For more see NEWS and UPGRADING in /usr/share/doc/packages/nut.
  * NUT now supports more i2c and modbus devices, as well as libusb-1.0
    support as an alternative to earlier libusb-0.1 (so new
    dependency-based categories of packages for drivers may be due).
  * NUT Python modules and scripts (e.g. NUT-Monitor variants) should
    work with python-2.7 and with python-3.x, so covering historic
    distro releases as well as new ones (and so your distro can deliver
    one or both, probably in several packages with different
    dependencies in the latter case).
  * NUT provides revised reference systemd and SMF service unit
    definitions, including support of drivers wrapped into individual
    service instances with varying dependencies based on different
    media required (networked stack, USB stack, etc.), and many daemons
    include -F option for running "in foreground" to avoid extra
    forking after one already done by a service framework - you may
    want to use those in your packaged deliverables.
  * NUT newly provides the "nut-driver-enumerator" script and service,
    which allows it to follow edition of ups.conf and dynamically
    define+(re)start and stop+undefine service instances for drivers -
    there are several ways it can be integrated for different
    use-cases.
  * Yhere are several new configuration keywords and CLI options - so
    while new NUT builds should work with old configs and scripts, the
    opposite is not necessarily true (old binaries may reject
    configurations taking advantage of new features).
  * There are several new protocol keywords - but old and new NUT
    daemons (data server and clients) should be able to communicate
    both ways.
  * It is assumed that API/ABI changes may require third-party NUT
    clients (library consumers of libnutclient, libupsclient,
    libnutscan... -- their version info was bumped accordingly) to get
    rebuilt, in order to work with the new NUT release in a stable
    fashion.
  * The dummy-ups driver used in automated testing now processes *.dev
    filename patterns once and does not loop, like it still does for
    *.seq and other files (by default).
  * USB code is now more strict about logical minimum/maximum ranges
    for data reported from devices, and some devices were already found
    to make mistakes - so there is also a mechanism for turning a blind
    eye to known issues and fix-up such report descriptors to produce
    intended sane values.
  * New documentation page docs/config-prereqs.txt highlights packaged
    dependencies installable on a large range of platforms to build as
    much of NUT as possible (incidentally, ones NUT CI farm uses to
    test every iteration).
- Remove upstreamed and obsolete patches:
  * nut-doc-cables.patch
  * nut-systemd-dirs.patch
  * nut-upssched.patch
  * nutscanner-ftbfs.patch
  * openssl-1_1.patch
  * reproducible.patch
  * use-pkg-config-gdlib.diff
- Source is no longer GPG signed, so keyring is not needed anymore
  * nut.keyring
- Unused additional source file removed (was added as a source, but
  not packaged)
  * nut.sleep
- Don't install Solaris init files univited (PR#
  * nut-Solaris-init-files.patch

OBS-URL: https://build.opensuse.org/request/show/1062385
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=101
2023-02-06 16:03:16 +00:00
7dff57872a Accepting request 977547 from hardware
OBS-URL: https://build.opensuse.org/request/show/977547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=72
2022-05-16 16:09:01 +00:00
0ff02f47ce Accepting request 976497 from home:sbrabec:branches:nut-doc
- Build the basic documentation again (bsc#1197789#c7).
- Make possible to build PDF documentation.

OBS-URL: https://build.opensuse.org/request/show/976497
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=99
2022-05-16 14:49:54 +00:00
8da4af209b Accepting request 973192 from home:jengelh:branches:hardware
- Resolve rpmlit reports
  * libupsclient1.x86_64: E: shlib-policy-name-error SONAME:
    libnutclient.so.0, expected package suffix: 0
  * libupsclient1.x86_64: E: shlib-policy-name-error SONAME:
    libupsclient.so.4, expected package suffix: 4

OBS-URL: https://build.opensuse.org/request/show/973192
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=98
2022-05-16 14:49:03 +00:00
2a9c007765 Accepting request 942925 from hardware
OBS-URL: https://build.opensuse.org/request/show/942925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=71
2021-12-29 20:10:45 +00:00
Lars Vogdt
72cb69165a Accepting request 942313 from home:alarrosa:branches:hardware
- Use --with-pidpath to set PIDFile to /run in the service file and
  get rid of a systemd warning about using the legacy directory
  /var/run.

OBS-URL: https://build.opensuse.org/request/show/942313
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=97
2021-12-28 13:11:20 +00:00
0f4b8fee74 Accepting request 927573 from hardware
OBS-URL: https://build.opensuse.org/request/show/927573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=70
2021-10-26 18:14:23 +00:00
fb92b1617b Accepting request 925370 from home:jsegitz:branches:systemdhardening:hardware
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/925370
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=96
2021-10-26 16:40:59 +00:00
d1ae7cd3c0 Accepting request 902791 from hardware
OBS-URL: https://build.opensuse.org/request/show/902791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=69
2021-06-28 13:33:47 +00:00
9bc3e3746e Accepting request 902622 from home:adkorte:branches:hardware
- Fix build with GCC11 (as default in GCC11 is now -std=gnu++17)

OBS-URL: https://build.opensuse.org/request/show/902622
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=95
2021-06-28 10:18:51 +00:00
5917e67e91 Accepting request 863888 from hardware
OBS-URL: https://build.opensuse.org/request/show/863888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=68
2021-01-18 10:29:36 +00:00
e1e5bb478c Accepting request 857934 from home:adkorte:branches:hardware
- use pkg-config to determine version of libgd
- use apache-rpm-macros

OBS-URL: https://build.opensuse.org/request/show/857934
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=93
2021-01-17 15:01:00 +00:00
393a8639a2 Accepting request 805684 from hardware
OBS-URL: https://build.opensuse.org/request/show/805684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=67
2020-05-15 21:51:49 +00:00
Lars Vogdt
c3a213dd86 Accepting request 800680 from home:pgajdos:libexec
- use /usr/lib instead of %{_libexecdir} for systemd and udev
  rules, %{_libexecdir} is dedicated for internal binaries

OBS-URL: https://build.opensuse.org/request/show/800680
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=91
2020-05-14 21:20:33 +00:00
06d9a26658 Accepting request 779298 from hardware
OBS-URL: https://build.opensuse.org/request/show/779298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=66
2020-02-26 14:05:48 +00:00
Tomáš Chvátal
192d3bf7d9 Accepting request 779223 from home:sbrabec:branches:hardware
- Remove obsolete chown from %post. We no more support upgrade from
  SUSE Linux 9 (bsc#1157325).

OBS-URL: https://build.opensuse.org/request/show/779223
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=89
2020-02-26 07:52:31 +00:00
c497e5b605 Accepting request 718293 from hardware
- Add patch to fix build on TW:
  * nutscanner-ftbfs.patch

- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].

OBS-URL: https://build.opensuse.org/request/show/718293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=65
2019-07-24 18:50:51 +00:00
Tomáš Chvátal
ee19a3bc16 - Add patch to fix build on TW:
* nutscanner-ftbfs.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=87
2019-07-24 14:16:13 +00:00
Tomáš Chvátal
cfb3fdafc9 Accepting request 718280 from home:mgerstner:branches:hardware
Okay, this time it should be right. The remaining build error was there before
...

- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].

OBS-URL: https://build.opensuse.org/request/show/718280
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=86
2019-07-24 14:08:52 +00:00
6b9c7c8e8e Accepting request 652114 from hardware
- Give up on packaging the tex docu as it fails to build with
  latest texlive

- Add missing tex dependencies so we can generate the pdf with
  newer releases of texlive

- Drop patch docs-destination-dir.patch which is quite pointless

- Remove invalid option 'destination-dir' when generating PDF
  files (docs-destination-dir.patch)

OBS-URL: https://build.opensuse.org/request/show/652114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=64
2018-11-28 10:13:29 +00:00
Tomáš Chvátal
dd12949ab9 - Give up on packaging the tex docu as it fails to build with
latest texlive

OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=84
2018-11-27 09:19:42 +00:00
Tomáš Chvátal
a7d0606911 - Add missing tex dependencies so we can generate the pdf with
newer releases of texlive

OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=83
2018-11-13 09:49:07 +00:00
Tomáš Chvátal
d6eae63124 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=82 2018-11-13 09:27:47 +00:00
Tomáš Chvátal
9ce3f41c04 - Drop patch docs-destination-dir.patch which is quite pointless
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=81
2018-11-13 09:27:38 +00:00
Tomáš Chvátal
968e1dff07 Accepting request 640452 from home:adkorte:branches:hardware
- Remove invalid option 'destination-dir' when generating PDF
  files (docs-destination-dir.patch)

OBS-URL: https://build.opensuse.org/request/show/640452
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=80
2018-10-08 08:04:58 +00:00
8ff09b7fa5 Accepting request 628814 from hardware
OBS-URL: https://build.opensuse.org/request/show/628814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=63
2018-08-13 07:54:40 +00:00
Ismail Dönmez
2cc0b9c0a0 Accepting request 628805 from home:bmwiedemann:branches:hardware
build non-parallel and
Add reproducible.patch to sort input file list to make package build reproducible (boo#1041090)

OBS-URL: https://build.opensuse.org/request/show/628805
OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=78
2018-08-12 12:30:47 +00:00
b254665455 Accepting request 571097 from hardware
OBS-URL: https://build.opensuse.org/request/show/571097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nut?expand=0&rev=62
2018-01-31 18:51:51 +00:00