nut/nut-doc-fixed-date.patch

31 lines
1.4 KiB
Diff
Raw Normal View History

Accepting request 489344 from home:sbrabec:branches:hardware - Update to version 2.7.4: For more see NEWS and UPGRADING in /usr/share/doc/packages/nut. * New class of device supported: ATS - Automatic Transfer Switch * NUT command and variable naming scheme changes. * support for new devices: AEG PROTECT B / NAS APC ATS AP7724 (should be supported) Asium P700 Eaton ATS Eaton 5E 1100iUSB Eaton E Series DX UPS 1-20 kVA Eaton Powerware 9125-5000g Electrys UPS 2500 Fideltronic INIGO Viper 1200 Legrand Keor Multiplug LYONN CTB-800V Micropower LCD 1000 NHS Laser Senoidal 5000VA Sweex model P220 TS Shara Various APCUPSD-controlled APC devices * snmp-ups improvements. * Eaton: improvements and fixes of 3ph SNMP, ePDU (G2 and G3) and XML/PDC. * Further fixes and improvements of bcmxcp_usb, dummy-ups, libnutclient, nutdrv_atcl_usb, nutdrv_qx, nut-ipmipsu, solis, tripplitesu, usbhid-ups. * nut-scanner: Don't depend on development libraries (boo#963505). * Improved SSL support through Mozilla NSS, Augeas support. * Fixed UPower device matching in recent kernels. * nut-server.service: Restore systemd relationship (drop 0001-Restore-systemd-relationship-with-nut-driver-service.patch). * Network protocol information change. - Drop dummy init scripts. They are not needed any more (nut-monitor, nut-server, nut-driver, boo#801542#c2). - Build and package documentation (nut-doc-fixed-date.patch, nut-doc-cables.patch). - Fix dependencies. - Fix bash-completion path. OBS-URL: https://build.opensuse.org/request/show/489344 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=57
2017-05-05 16:53:57 +00:00
Index: nut-2.7.4/docs/Makefile.am
===================================================================
--- nut-2.7.4.orig/docs/Makefile.am
+++ nut-2.7.4/docs/Makefile.am
@@ -92,8 +92,8 @@ packager-guide.html packager-guide.chunk
# $ ASCIIDOC_VERBOSE=-v make
A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
--xsltproc-opts "--nonet" \
- --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d`\"" \
- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
+ --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -r $(top_srcdir)/ChangeLog`\"" \
+ --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -r $(top_srcdir)/ChangeLog`\"" \
--xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
--attribute iconsdir=$(srcdir)/images \
--attribute=badges \
Index: nut-2.7.4/docs/man/Makefile.am
===================================================================
--- nut-2.7.4.orig/docs/man/Makefile.am
+++ nut-2.7.4/docs/man/Makefile.am
@@ -591,8 +591,8 @@ if HAVE_ASCIIDOC
.txt.html:
$(ASCIIDOC) --backend=xhtml11 \
- --attribute localdate=`TZ=UTC date +%Y-%m-%d` \
- --attribute localtime=`TZ=UTC date +%H:%M:%S` \
+ --attribute localdate=`TZ=UTC date +%Y-%m-%d -r $(top_srcdir)/ChangeLog` \
+ --attribute localtime=`TZ=UTC date +%H:%M:%S -r $(top_srcdir)/ChangeLog` \
--attribute nutversion="@PACKAGE_VERSION@" \
-o $@ $<