nut/nut-systemd-dirs.patch

21 lines
870 B
Diff
Raw Normal View History

Accepting request 258925 from home:mvyskocil:branches:hardware - Update to version 2.7.2: For more see NEWS and UPGRADING in /usr/share/doc/packages/nut. * upsdrvctl is now installed to $prefix/sbin rather than $driverexec. This usually means moving from /bin to /sbin, apart from few exceptions. * FreeDesktop Hardware Abstraction Layer (HAL) support was removed. * This is a good time to point out that for stricter packaging systems, it may be beneficial to add "--enable-option-checking=fatal" to the ./configure command line, in order to quickly pick up any other removed option flags. Other changes: * libupsclient had undefined references related to functions of libcommon.This issue was reported on Debian (bug #731156) and is now fixed * support for new devices: + CABAC UPS-1700DV2 + Eaton Powerware 3105 + Emerson Network Power Liebert PSI 1440 + MicroDowell B.Box LP 500 + Numeric Digital 800 plus + OptiUPS VS 575C + Tripp Lite SU10KRT3/1X * nutdrv_atcl_usb: new driver for 'ATCL FOR UPS' * al175: re-introduced this driver (actually, it was in 2.7.1) * upsdrvctl now provides retry options for upsdrvctl and driver(s) * snmp-ups: add support for XPPC-MIB and Tripp Lite SU10KRT3/1X. Also fix erroneous status in HP/Compaq SNMP MIB (with the most recent HP firmware (1.76) ; improved various MIBs (APC, HP/Compaq, ...) * nutdrv_qx: add new 'fallback' Q1 subdriver, with minimal OBS-URL: https://build.opensuse.org/request/show/258925 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=49
2014-11-01 22:34:50 +00:00
Index: nut-2.6.5/configure.ac
Accepting request 221361 from home:sbrabec:branches:hardware - Update to version 2.7.1: For more see NEWS and UPGRADING in /usr/share/doc/packages/nut. Potentially incompatible changes: * First release after the transition from Subversion to Git. * The linkman:apcsmart[8] driver has been replaced by a new implementation. There is a new parameter, 'ttymode'. In case of issues with this new version, users can revert to apcsmart-old. * The linkman:nutdrv_qx[8] driver will eventually supersede blazer_ser and blazer_usb. Options are not exactly the same, but are documented in the nutdrv_qx man page. * Mozilla NSS support has been added. * linkman:upsrw[8] now prints out the maximum size of variables. Other changes: * Added a new driver, nutdrv_qx, for Megatec/Qx devices. This driver will eventually replace the blazer_ser and blazer_usb drivers. In particular, it adds support for Voltronic Power devices. * Increased USB_TIMEOUT to standards-compliant 5.000 seconds in most drivers. This should reduce the number of timeouts on low-speed USB 1.1 devices. * Added many devices to the HCL. Of particular note are many Tripp Lite USB HID PDC models which were tested against NUT by Tripp Lite. * Reworked some visual elements of the HCL. * Also increased timeouts and added redundant commands to improve reliability of mge-utalk driver. * Added the apcupsd-ups driver to interoperate with apcupsd installations. * Added documentation on creating subdrivers for snmp-ups and nutdrv_qx. * Added new drivers for the Riello UPS product line (riello_ser/riello_usb). * Many improvements to the BCM/XCP. * Added a few variables to the Powercom HID mappings. * Updated the apcsmart driver, and renamed the previous driver to apcsmart-old. * Fixed the battery percentage calculation in the bestfcom driver. * libnutclient has been added as a C++ alternative to libupsclient. * Fix shutdown of Eaton HID, using usbhid-ups and mge-shut * usbhid-ups: final fix for APC Back UPS ES. * nut-scanner: fix crash * IPMI support can handle more different versions of FreeIPMI * Support power supplies scan over the network nut-scanner can now scan for power supplies with IPMI over LAN. This is currently limited to IPMI 1.5 only * Improve systemd integration * snmp-ups: Fixed a crash on outlet management, and added delta_ups MIB support. Also fixed mappings for upsBypassVoltage, upsBypassCurrent, and upsBypassPower in three-phase IETF MIB. - Enable FreeIPMI. - Turn systemd integration on. - Fix README.SUSE. - nut-preconfig.patch: Fix UID recommendation. OBS-URL: https://build.opensuse.org/request/show/221361 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=39
2014-02-10 16:13:33 +00:00
===================================================================
Accepting request 258925 from home:mvyskocil:branches:hardware - Update to version 2.7.2: For more see NEWS and UPGRADING in /usr/share/doc/packages/nut. * upsdrvctl is now installed to $prefix/sbin rather than $driverexec. This usually means moving from /bin to /sbin, apart from few exceptions. * FreeDesktop Hardware Abstraction Layer (HAL) support was removed. * This is a good time to point out that for stricter packaging systems, it may be beneficial to add "--enable-option-checking=fatal" to the ./configure command line, in order to quickly pick up any other removed option flags. Other changes: * libupsclient had undefined references related to functions of libcommon.This issue was reported on Debian (bug #731156) and is now fixed * support for new devices: + CABAC UPS-1700DV2 + Eaton Powerware 3105 + Emerson Network Power Liebert PSI 1440 + MicroDowell B.Box LP 500 + Numeric Digital 800 plus + OptiUPS VS 575C + Tripp Lite SU10KRT3/1X * nutdrv_atcl_usb: new driver for 'ATCL FOR UPS' * al175: re-introduced this driver (actually, it was in 2.7.1) * upsdrvctl now provides retry options for upsdrvctl and driver(s) * snmp-ups: add support for XPPC-MIB and Tripp Lite SU10KRT3/1X. Also fix erroneous status in HP/Compaq SNMP MIB (with the most recent HP firmware (1.76) ; improved various MIBs (APC, HP/Compaq, ...) * nutdrv_qx: add new 'fallback' Q1 subdriver, with minimal OBS-URL: https://build.opensuse.org/request/show/258925 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=49
2014-11-01 22:34:50 +00:00
--- nut-2.6.5.orig/configure.ac
+++ nut-2.6.5/configure.ac
Accepting request 221361 from home:sbrabec:branches:hardware - Update to version 2.7.1: For more see NEWS and UPGRADING in /usr/share/doc/packages/nut. Potentially incompatible changes: * First release after the transition from Subversion to Git. * The linkman:apcsmart[8] driver has been replaced by a new implementation. There is a new parameter, 'ttymode'. In case of issues with this new version, users can revert to apcsmart-old. * The linkman:nutdrv_qx[8] driver will eventually supersede blazer_ser and blazer_usb. Options are not exactly the same, but are documented in the nutdrv_qx man page. * Mozilla NSS support has been added. * linkman:upsrw[8] now prints out the maximum size of variables. Other changes: * Added a new driver, nutdrv_qx, for Megatec/Qx devices. This driver will eventually replace the blazer_ser and blazer_usb drivers. In particular, it adds support for Voltronic Power devices. * Increased USB_TIMEOUT to standards-compliant 5.000 seconds in most drivers. This should reduce the number of timeouts on low-speed USB 1.1 devices. * Added many devices to the HCL. Of particular note are many Tripp Lite USB HID PDC models which were tested against NUT by Tripp Lite. * Reworked some visual elements of the HCL. * Also increased timeouts and added redundant commands to improve reliability of mge-utalk driver. * Added the apcupsd-ups driver to interoperate with apcupsd installations. * Added documentation on creating subdrivers for snmp-ups and nutdrv_qx. * Added new drivers for the Riello UPS product line (riello_ser/riello_usb). * Many improvements to the BCM/XCP. * Added a few variables to the Powercom HID mappings. * Updated the apcsmart driver, and renamed the previous driver to apcsmart-old. * Fixed the battery percentage calculation in the bestfcom driver. * libnutclient has been added as a C++ alternative to libupsclient. * Fix shutdown of Eaton HID, using usbhid-ups and mge-shut * usbhid-ups: final fix for APC Back UPS ES. * nut-scanner: fix crash * IPMI support can handle more different versions of FreeIPMI * Support power supplies scan over the network nut-scanner can now scan for power supplies with IPMI over LAN. This is currently limited to IPMI 1.5 only * Improve systemd integration * snmp-ups: Fixed a crash on outlet management, and added delta_ups MIB support. Also fixed mappings for upsBypassVoltage, upsBypassCurrent, and upsBypassPower in three-phase IETF MIB. - Enable FreeIPMI. - Turn systemd integration on. - Fix README.SUSE. - nut-preconfig.patch: Fix UID recommendation. OBS-URL: https://build.opensuse.org/request/show/221361 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=39
2014-02-10 16:13:33 +00:00
@@ -986,9 +986,13 @@ dnl Override installation directory, wit
dnl prefix. This is needed for 'distcheck*' targets, otherwise
dnl files will try to get intalled to the actual system directories
if test -n "${systemdsystemunitdir}"; then
- systemdsystemshutdowndir="${libdir}/systemd/system-shutdown"
+ systemdutildir=`$PKG_CONFIG --variable=systemdutildir systemd`
+ if test -n "${systemdutildir}"; then
+ systemdsystemshutdowndir="${systemdutildir}/system-shutdown"
+ else
+ systemdsystemshutdowndir="${systemdsystemunitdir}/system-shutdown"
+ fi
AC_MSG_RESULT(using ${systemdsystemunitdir})
- systemdsystemunitdir="`echo ${systemdsystemunitdir} | sed 's/\/lib/\${libdir}/'`"
else
AC_MSG_RESULT(no)
fi