SHA256
1
0
forked from pool/apcupsd

129 Commits

Author SHA256 Message Date
7fdcff3076 Accepting request 1188435 from hardware
OBS-URL: https://build.opensuse.org/request/show/1188435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=74
2024-07-19 13:28:27 +00:00
e3c0ee7cd2 OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=107 2024-07-18 14:39:54 +00:00
8966e0e330 * apcupsd-config.patch
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=106
2024-07-17 13:38:15 +00:00
0a201c5284 For the hardware/Factory version, Leap 15.5 and earlier seem potentially to be
broken due to missing dependency on systemd-sysvinit 
(potentially missing installed /usr/sbin/shutdown).
Deleted firewall settings might give regressions for people switching from the
Leap version to the hardware/Factory version.
 
- Revert SuSEfirewall2 removal (commit on Wed Jul  3 13:45:08 UTC 2019),
    conditionally for SLE/Leap, to avoid possible regressions.
- Require systemd-sysvinit for SLE/Leap < 15.6 to have a /usr/sbin/shutdown
    command available. For newer versions, it is included in the systemd package.

OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=105
2024-07-17 13:31:45 +00:00
3e26e06ef4 Build fix for Leap 15.6:
- remove obsolete text concerning apcupsd-early-powerdown in README.SUSE
- do not use /sbin/service, call systemctl directly
- Leap 15.6 also needs util-linux-tty-tools
- Patch configure to show correct GCC version (not configure.in, autoreconf fails)
- Use %make_build in spec file

OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=104
2024-07-10 14:16:41 +00:00
bbbe5e0c42 Accepting request 1076477 from home:michals
Remove duplicate change.

OBS-URL: https://build.opensuse.org/request/show/1076477
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=103
2023-03-31 14:16:02 +00:00
64e6367914 Accepting request 1074838 from home:seife:branches:hardware
add util-linux-tty-tools BuildRequires to satisfy configure's desire for /usr/bin/wall

OBS-URL: https://build.opensuse.org/request/show/1074838
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=102
2023-03-31 13:12:02 +00:00
f44fe81a60 Accepting request 1074971 from hardware
OBS-URL: https://build.opensuse.org/request/show/1074971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=73
2023-03-29 21:26:59 +00:00
0a5f696a36 Accepting request 1074970 from home:michals
Fix build with split util-linux

OBS-URL: https://build.opensuse.org/request/show/1074970
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=100
2023-03-28 10:37:15 +00:00
51e314bbc2 Accepting request 965010 from hardware
OBS-URL: https://build.opensuse.org/request/show/965010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=72
2022-03-26 21:31:08 +00:00
Lars Vogdt
6f7955fe56 Accepting request 964112 from home:iznogood:branches:hardware
NOTE: apcupsd is the single last consumer of gconf2, and we want to remove gconf from TW as it is dead and achived upstream - Please review and ack this sub,

- Conditionally disable build for gcapmon for Tumbleweed and newer
  via bcond. Gconf-2 is being removed from Tumbleweed, as it is
  deprecated and archived upstream.

OBS-URL: https://build.opensuse.org/request/show/964112
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=98
2022-03-26 11:34:07 +00:00
85868e2c97 Accepting request 962206 from hardware
OBS-URL: https://build.opensuse.org/request/show/962206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=71
2022-03-16 19:21:38 +00:00
0197648dc1 Accepting request 956722 from home:fbui:branches:hardware
- Drop build requirements on systemd packages
  This was done for figuring out the path of shutdown(8) (which is provided now
  by systemd itself on Factory but still by systemd-sysvinit on SLE) but OTOH
  shutdown(8) is not used at all when apcupsd is running on Linux systems. Hence
  let's hard code the path and drop the build requirements.

OBS-URL: https://build.opensuse.org/request/show/956722
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=96
2022-03-16 14:36:38 +00:00
4024fca4a7 Accepting request 859614 from hardware
OBS-URL: https://build.opensuse.org/request/show/859614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=70
2021-01-01 20:13:50 +00:00
ddad34fdc6 Accepting request 859613 from home:dimstar:Factory
- Use apache_serverroot instead of apache_datadir.

OBS-URL: https://build.opensuse.org/request/show/859613
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=94
2020-12-31 14:58:50 +00:00
17d1a744bd Accepting request 828032 from hardware
OBS-URL: https://build.opensuse.org/request/show/828032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=69
2020-08-20 20:29:58 +00:00
2d229b981b Accepting request 828023 from home:dimstar:Factory
Attempt to fix build in hardware project; in Factory it worked alwasys

OBS-URL: https://build.opensuse.org/request/show/828023
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=92
2020-08-20 08:05:36 +00:00
8433e97b27 Accepting request 827810 from home:gmbr3:libexecdir
- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)

OBS-URL: https://build.opensuse.org/request/show/827810
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=91
2020-08-19 17:57:02 +00:00
abd5be25d8 Accepting request 724697 from hardware
OBS-URL: https://build.opensuse.org/request/show/724697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=68
2019-08-20 08:59:49 +00:00
Tomáš Chvátal
797de2eb2d Accepting request 724652 from home:iznogood:branches:hardware
Fixup previous change.

OBS-URL: https://build.opensuse.org/request/show/724652
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=89
2019-08-20 07:03:15 +00:00
9941452b98 Accepting request 722800 from hardware
OBS-URL: https://build.opensuse.org/request/show/722800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=67
2019-08-13 11:24:56 +00:00
Tomáš Chvátal
dd24e200fa Accepting request 722067 from home:iznogood:branches:hardware
Tweak packaging a bit.

We should consider dropping the gui packaging here, as it depends on old obsolete gtk2 tech.

OBS-URL: https://build.opensuse.org/request/show/722067
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=87
2019-08-12 14:20:49 +00:00
f205201c19 Accepting request 713343 from hardware
OBS-URL: https://build.opensuse.org/request/show/713343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=66
2019-07-11 11:14:55 +00:00
Tomáš Chvátal
0f34cdc9b0 Accepting request 713341 from home:mgerstner:branches:hardware
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

OBS-URL: https://build.opensuse.org/request/show/713341
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=85
2019-07-04 08:45:10 +00:00
c1d485cbcc Accepting request 589741 from hardware
- Do not use path based dependency but use normal package name

OBS-URL: https://build.opensuse.org/request/show/589741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=65
2018-03-22 11:07:13 +00:00
Tomáš Chvátal
95673a0399 - Do not use path based dependency but use normal package name
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=83
2018-03-21 12:25:43 +00:00
904f5ecb60 Accepting request 588548 from hardware
OBS-URL: https://build.opensuse.org/request/show/588548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=64
2018-03-19 22:39:45 +00:00
Tomáš Chvátal
af8450ec3e Accepting request 587477 from home:scarabeus_iv:branches:hardware
- Drop support for < sle12, also removes patch:
  * apcupsd-pm-utils.patch
- Drop intitscript
- Format with spec-cleaner
- Use license macros instead of %doc macros

  are commented out, so this file acts as example only. bsc#950950

OBS-URL: https://build.opensuse.org/request/show/587477
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=81
2018-03-19 12:12:52 +00:00
21ea4d73f0 Accepting request 558675 from hardware
OBS-URL: https://build.opensuse.org/request/show/558675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=63
2017-12-20 09:40:39 +00:00
Philipp Seiler
7405f1ccbc Accepting request 555989 from home:elvigia:branches:hardware
- BuildRequire pkgconfig(x11) not xorg-x11-devel

OBS-URL: https://build.opensuse.org/request/show/555989
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=79
2017-12-19 19:24:09 +00:00
ec3335dd64 Accepting request 545068 from hardware
OBS-URL: https://build.opensuse.org/request/show/545068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=62
2017-11-25 07:42:31 +00:00
17e16553d0 Accepting request 544720 from home:RBrownSUSE:branches:hardware
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544720
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=77
2017-11-24 08:42:05 +00:00
8b37837ddc Accepting request 520255 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/520255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=61
2017-09-04 10:35:35 +00:00
8622ea4a70 Accepting request 519992 from home:dimstar:Factory
- Pass --with-distname=, based on the values of ID_LIKE from
  /etc/os-release to configure. Since the removal of
  /etc/SuSE-release, the build system is no longer able to identify
  us building on a SUSE system. Let's help it.

OBS-URL: https://build.opensuse.org/request/show/519992
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=75
2017-09-01 20:46:05 +00:00
Ludwig Nussel
ee471d765d Accepting request 445652 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/445652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=60
2016-12-26 20:45:50 +00:00
8765faa0b0 Accepting request 444892 from home:manfred999
Modify apcupsd-httpd.patch to support apache2 >= 2.4. Apache2 refused to start after installation of the apcupsd package due to syntax errors (at least for leap 42.2). I opted to comment out the relevant entries as this patch was ineffective until now (wrong directory) and could lead to bad surprises otherwise. Therefore, now the resulting apache2 config file acts as example only.

OBS-URL: https://build.opensuse.org/request/show/444892
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=73
2016-12-13 20:19:40 +00:00
cc116ddc7a Accepting request 401613 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/401613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=59
2016-06-19 08:48:36 +00:00
365225205c Accepting request 401229 from home:manfred999
Update to version 3.14.14

OBS-URL: https://build.opensuse.org/request/show/401229
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=71
2016-06-13 11:25:34 +00:00
Stephan Kulow
e3f646dfe2 Accepting request 316468 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/316468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=58
2015-07-14 15:45:11 +00:00
19899e2865 Accepting request 316412 from home:scarabeus_iv:branches:hardware
- Ensure locfile is properly set bnc#929444

OBS-URL: https://build.opensuse.org/request/show/316412
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=69
2015-07-13 14:49:57 +00:00
8766ce7235 Accepting request 304338 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/304338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=57
2015-05-02 19:36:01 +00:00
Philipp Seiler
c6f26fe9e8 Accepting request 297918 from home:matwey:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/297918
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=67
2015-04-28 10:20:55 +00:00
370f5f130c Accepting request 297200 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/297200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=56
2015-04-18 08:39:16 +00:00
Philipp Seiler
86a9d04ead Accepting request 294115 from home:scarabeus_iv:branches:hardware
- Version bumpt o 3.13.13:
  * apcaccess and apcupsd status format updates to ease parsing by scripts
  * UPS name is included in subject line of emails in default scripts
  * Default event scripts pull SYSADMIN and APCUPSD_MAIL definitions from a
    common config file so they can easily be configured in one place
  * MODBUS USB support
    Previous releases supported MODBUS serial (RS232). This release adds
    support for MODBUS over USB. This protocol is preferable to the normal
    USB HID driver because it offers access to more UPS data readouts and
    controls. The only configuration file change needed versus MODBUS serial
    is to change UPSCABLE to usb and use an empty DEVICE setting. See the 
    MODBUS section of the apcupsd manual for more details.
  * Support for Apple Notification Center on Mac OS X (replaces Growl)
  * Apple install packages and binaries are signed with an Apple Developer
    key for compatibility with Gate Keeper
  * Windows USB driver has been updated with additional USB identifiers to
    support future APC products.
  * Fix issue with certain Back-UPS USB models repeatedly cycling power on/off 
    after killpower is issued
  * Fix display of battery level during MODBUS calibration
  * Fix apctest EEPROM setting on various models
  * Close and reopen serial port during extended COMMLOST in apcsmart driver
    (helps recover connection when USB serial port dongles are reconnected)
  * Avoid probing non-APC USB devices as it can cause lockups
  * Fix issue with service failing to start on Windows during boot with USB UPS
  * Fix bogus lock file error when config file error forces early termination
  * Fix MODBUS NOMOUTV reading for voltages other than 120VAC
  * Fix LOADPCT (CI_LOAD) on MODBUS driver
  * Fix issue with net driver not reporting MODEL value
  * Fix several potential issues identified by Coverity static analysis

OBS-URL: https://build.opensuse.org/request/show/294115
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=65
2015-04-16 15:20:36 +00:00
e57eee7e55 Accepting request 263771 from hardware
- Fix removal of HALT_POWERDOWN_INSERT (bsc#907702). (forwarded request 263770 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/263771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=55
2014-12-03 21:50:13 +00:00
197e9f1c45 Accepting request 263770 from home:sbrabec:branches:hardware
- Fix removal of HALT_POWERDOWN_INSERT (bsc#907702).

OBS-URL: https://build.opensuse.org/request/show/263770
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=63
2014-12-02 22:03:32 +00:00
776fae6e65 Accepting request 262183 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/262183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=54
2014-11-20 17:43:09 +00:00
Ismail Dönmez
285104e521 Accepting request 261947 from home:matwey:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/261947
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=61
2014-11-18 13:40:14 +00:00
Stephan Kulow
b2969e72c0 Accepting request 247639 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/247639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apcupsd?expand=0&rev=53
2014-09-06 10:18:40 +00:00
Tomáš Chvátal
5f5a89fdee Accepting request 245212 from home:Aikhjarto:branches:hardware
added config for SuSEfirewall2

OBS-URL: https://build.opensuse.org/request/show/245212
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=59
2014-09-05 07:45:15 +00:00