76 Commits

Author SHA256 Message Date
ebce6bdaa5 Accepting request 1204299 from home:kukuk:cleanup
- Add /srv/www directories to filelist [bsc#1231027]

OBS-URL: https://build.opensuse.org/request/show/1204299
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=109
2024-10-21 11:56:10 +00:00
98e370b600 Accepting request 1188433 from home:ateixeira:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/1188433
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=107
2024-07-18 14:39:54 +00:00
277c484d15 Accepting request 1187170 from home:manfred999
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/request/show/1187170
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=105
2024-07-17 13:31:45 +00:00
4789aa9d95 Accepting request 1186572 from home:manfred999
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/request/show/1186572
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=104
2024-07-10 14:16:41 +00:00
eee18ef73c 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
3d50e21e55 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
f45d621eaf 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
Lars Vogdt
dc9c9cc683 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
63322c64c6 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
a2226ca609 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
111ee3dedc 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
4202e106b6 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
Tomáš Chvátal
3c1f771295 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
Tomáš Chvátal
84883bee75 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
Tomáš Chvátal
223f324d1c 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
Tomáš Chvátal
5b52c319b1 - 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
Tomáš Chvátal
624d6d5e46 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
Philipp Seiler
d6d4be872a 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
5646f572c3 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
576301ee1d 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
9bad8eb485 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
e5b9d0d613 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
Philipp Seiler
c2e39eae85 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
Philipp Seiler
045cf1cd97 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
fad90bb14f 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
Ismail Dönmez
94b4acdde8 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
Tomáš Chvátal
eecc28b4fe 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
Philipp Seiler
1f184ce93b Accepting request 234116 from home:msmeissn:branches:hardware
- %service_add_pre in  %pre section missing, added.

OBS-URL: https://build.opensuse.org/request/show/234116
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=57
2014-05-17 11:27:33 +00:00
91e74a5333 Revert previous change, there is %fillup_and_insserv in %else branch.
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=54
2014-05-14 15:47:39 +00:00
da326afc98 - Call fillup for all SUSE versions.
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=53
2014-05-12 21:41:47 +00:00
63814beb34 Accepting request 227335 from home:sbrabec:branches:hardware
- Replace pm-utils support by systemd (FATE#316824).
- Fix init script references to apcupsd-lite.

OBS-URL: https://build.opensuse.org/request/show/227335
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=52
2014-04-03 14:26:56 +00:00
d3d1a6c73e Accepting request 222091 from home:sbrabec:branches:hardware
- Updated to version 3.14.11:
  * APC MODBUS protocol support over RS232
    For more see ReleaseNotes.
- Verify GPG signature.
- Remove obsolete apcupsd-early-powerdown script.
- Remove upgrade scripts for SuSE Linux 8 and SLES 8.
- Do not call powersave-notify (regression bnc#856907).

OBS-URL: https://build.opensuse.org/request/show/222091
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=50
2014-02-12 22:23:36 +00:00
fdcaef1803 Accepting request 213539 from home:posophe:branches:hardware
fix bnc#837337

OBS-URL: https://build.opensuse.org/request/show/213539
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=48
2014-01-28 19:55:49 +00:00
Ismail Dönmez
ce60af98f5 Accepting request 148109 from home:babelworx:ldig:branches:hardware
license update: GPL-2.0

OBS-URL: https://build.opensuse.org/request/show/148109
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=44
2013-01-11 19:17:08 +00:00
5ae748e904 Accepting request 148003 from home:coolo:branches:openSUSE:Factory
- fix build on factory - systemd moved to /usr

OBS-URL: https://build.opensuse.org/request/show/148003
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=41
2013-01-11 09:23:35 +00:00
6153d3e8ee Accepting request 135744 from home:posophe:branches:hardware
Update to 3.14.10
Improve systemd and logrotate support
Remove apcupsd-lite for reasons you can found on changes file

OBS-URL: https://build.opensuse.org/request/show/135744
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=40
2012-09-24 22:39:34 +00:00
Ismail Dönmez
75f6566a3b Accepting request 122790 from home:jengelh:branches:am
Fix openSUSE:Factory:Staging/apcupsd build failure
http://lists.opensuse.org/opensuse-factory/2012-05/msg00752.html

OBS-URL: https://build.opensuse.org/request/show/122790
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=38
2012-05-29 16:33:38 +00:00
Ismail Dönmez
7bede44080 Accepting request 107709 from home:a_jaeger:FactoryFix
Fix build.

OBS-URL: https://build.opensuse.org/request/show/107709
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=36
2012-03-01 20:50:44 +00:00
Ismail Dönmez
66244b1124 Accepting request 103291 from home:k0da:ppc
- fix ppc64 build

OBS-URL: https://build.opensuse.org/request/show/103291
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=34
2012-02-08 12:10:20 +00:00
4c18fb4860 Accepting request 102280 from home:sbrabec:branches:hardware
- Mark all files in /etc/apcupsd as config files. Their editing
  sometimes makes sense.

OBS-URL: https://build.opensuse.org/request/show/102280
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=30
2012-01-31 16:35:55 +00:00
Ismail Dönmez
06bd2134ca Accepting request 97678 from home:coolo:removeautoconf
- remove call to suse_update_config (very old work around)

OBS-URL: https://build.opensuse.org/request/show/97678
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=28
2011-12-21 16:07:39 +00:00
815497b96c Accepting request 88164 from home:mkubecek:branches:hardware
avoid race condition on exit (bnc#724487)

OBS-URL: https://build.opensuse.org/request/show/88164
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=26
2011-10-18 08:55:46 +00:00
Ismail Dönmez
e1d2af3c79 Accepting request 82986 from home:jengelh:bl-a
- Remove redundant tags/sections from specfile as discussed on oSC2011/opensuse-packaging
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82986
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=24
2011-09-18 11:04:55 +00:00
OBS User buildservice-autocommit
df93bf75e5 Updating link to change in openSUSE:Factory/apcupsd revision 33.0
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=6b051f37131736d99be36bead2c6bbd4
2011-08-29 09:01:04 +00:00
28d94a3879 Accepting request 79877 from home:sbrabec:branches:hardware
- Implemented hibernate on power fail (bnc#703592#c39).

OBS-URL: https://build.opensuse.org/request/show/79877
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=22
2011-08-26 14:16:57 +00:00
OBS User buildservice-autocommit
f606f85509 Updating link to change in openSUSE:Factory/apcupsd revision 31.0
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=efe38c80bf6080bedb6d07173e29a9ca
2011-08-03 07:41:47 +00:00
12cf2ddf18 11.1 did not have powersave.
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=19
2011-07-13 14:37:13 +00:00
OBS User buildservice-autocommit
26da6ef6fd Updating link to change in openSUSE:Factory/apcupsd revision 29.0
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=114582f927f3f4ad4fc22e2239a8d19c
2011-07-05 09:02:54 +00:00
e11d3871a2 Accepting request 75351 from home:sbrabec:branches:hardware
- Updated to version 3.14.8:
  * Implement battery calibration and self-test interval in apctest
    for USB models.
  * Add support for turning the UPS off completely.
  * Updates of SNMP code.
  * Add support for reading battery voltage from the PowerSummary.
  * Switch time/date output format to simplified ISO.
  * Compilation warning fixes.
  * Other bug fixes and improvements.
  * Documentation improvements.
- Removed HAL support.

- fixed apcupsd-lite path in init script
  (reported later as bnc#703592)

OBS-URL: https://build.opensuse.org/request/show/75351
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=16
2011-07-04 19:20:14 +00:00
OBS User buildservice-autocommit
bc8c778183 Updating link to change in openSUSE:Factory/apcupsd revision 27.0
OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=3e0892390b173add5f379c6d23338f25
2011-03-25 08:13:40 +00:00