]> git.pld-linux.org Git - packages/nut.git/commitdiff
- up to 2.4.3 auto/th/nut-2_4_3-1 auto/ti/nut-2_4_3-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 15 Jul 2010 07:57:28 +0000 (07:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nut-config.patch -> 1.7
    nut-hal-paths.patch -> 1.3
    nut-matrix.patch -> 1.4
    nut.spec -> 1.157

nut-config.patch
nut-hal-paths.patch
nut-matrix.patch
nut.spec

index d5d37c9e9f2801eea5aa6b31d0ee9f9280459700..254e84b241dfd358f79ba26aee59905c289df8ad 100644 (file)
@@ -17,7 +17,7 @@ diff -Nuard nut-2.0.1.orig/conf/upssched.conf nut-2.0.1/conf/upssched.conf
  # A shell script with a big case..esac construct should work nicely for this.
  # An example has been provided to help you get started.
  
--CMDSCRIPT /usr/local/ups/bin/upssched-cmd
+-CMDSCRIPT @BINDIR@/upssched-cmd
 +CMDSCRIPT /usr/sbin/upssched-cmd
  
  # ============================================================================
index 7287c6a2a448fb4dc95ea138701d400a62429304..b55e5e64d296b9d80d2494e980b08959680c8cc1 100644 (file)
@@ -1,54 +1,53 @@
---- nut-2.2.2/m4/nut_check_libhal.m4~  2008-05-07 11:25:45.000000000 +0200
-+++ nut-2.2.2/m4/nut_check_libhal.m4   2008-06-04 13:41:31.000000000 +0200
-@@ -74,7 +74,20 @@
-    dnl Determine installation paths for callout and .fdi
-    dnl As per HAL spec, §5 Callouts and §2 Device Information Files
-    dnl - addon install path: $libdir/hal
-+   HAL_CALLOUTS_PATH=""
-    AC_MSG_CHECKING(for libhal Callouts path)
-+   AC_ARG_WITH(hal-callouts-path,
-+   AC_HELP_STRING([--with-hal-callouts-path=PATH], [path for callout and .fdi files (auto)]),
-+   [case "${withval}" in
-+      yes|no)
-+              ;;
-+      *)
-+              HAL_CALLOUTS_PATH="${withval}"
-+              ;;
-+    esac],)
-+
-+   if (test -z "${HAL_CALLOUTS_PATH}")
-+   then
-    HAL_CALLOUTS_PATH=`pkg-config --silence-errors  --variable=libexecdir hal`
-    if (test -z "$HAL_CALLOUTS_PATH")
-    then
-@@ -98,9 +98,22 @@
-    else
-          AC_MSG_RESULT(${HAL_CALLOUTS_PATH})
-    fi
-+   fi
-    
-    dnl - fdi install path: $datarootdir/hal/fdi/information/20thirdparty
-+   HAL_FDI_PATH=""
-    AC_MSG_CHECKING(for libhal Device Information path)
-+   AC_ARG_WITH(hal-fdi-path,
-+   AC_HELP_STRING([--with-hal-fdi-path=PATH], [fdi install path (auto)]),
-+   [case "${withval}" in
-+      yes|no)
-+              ;;
-+      *)
-+              HAL_FDI_PATH="${withval}"
-+              ;;
-+    esac],)
-+   if (test -z "${HAL_FDI_PATH}")
-+   then
-    HAL_FDI_PATH=`pkg-config --silence-errors  --variable=hal_fdidir hal`
-    if (test -z "$HAL_FDI_PATH")
-    then
-@@ -120,6 +120,7 @@
-      HAL_FDI_PATH="${HAL_FDI_PATH}/information/20thirdparty"
-      AC_MSG_RESULT(${HAL_FDI_PATH})
-    fi
-+   fi
+--- nut-2.4.3/m4/nut_check_libhal.m4~  2010-02-11 22:43:05.000000000 +0100
++++ nut-2.4.3/m4/nut_check_libhal.m4   2010-07-15 09:44:54.901127729 +0200
+@@ -85,7 +85,19 @@
+               dnl Determine installation paths for callout and .fdi
+               dnl As per HAL spec, §5 Callouts and §2 Device Information Files
+               dnl - addon install path: $libdir/hal
++              HAL_CALLOUTS_PATH=""
+               AC_MSG_CHECKING(for libhal Callouts path)
++              AC_ARG_WITH(hal-callouts-path,
++              AC_HELP_STRING([--with-hal-callouts-path=PATH], [path for callout and .fdi files (auto)]),
++              [case "${withval}" in
++                      yes|no)
++                      ;;
++                      *)
++                      HAL_CALLOUTS_PATH="${withval}"
++                      ;;
++              esac],)
++              if (test -z "${HAL_CALLOUTS_PATH}")
++              then                          
+               HAL_CALLOUTS_PATH=`pkg-config --silence-errors --variable=libexecdir hal`
+               if test -n "$HAL_CALLOUTS_PATH"; then
+                       AC_MSG_RESULT(${HAL_CALLOUTS_PATH})
+@@ -109,9 +121,22 @@
+                               AC_MSG_RESULT(using default (${HAL_CALLOUTS_PATH}))
+                       fi
+               fi
++              fi
  
-    if test "${nut_have_libhal}" != "yes"; then
-       dnl try again
+               dnl - fdi install path: $datarootdir/hal/fdi/information/20thirdparty
++              HAL_FDI_PATH=""
+               AC_MSG_CHECKING(for libhal Device Information path)
++              AC_ARG_WITH(hal-fdi-path,
++              AC_HELP_STRING([--with-hal-fdi-path=PATH], [fdi install path (auto)]),
++              [case "${withval}" in
++                      yes|no)
++                      ;;
++                      *)
++                      HAL_FDI_PATH="${withval}"
++                      ;;
++              esac],)
++              if (test -z "${HAL_FDI_PATH}")
++              then
+               HAL_FDI_PATH=`pkg-config --silence-errors --variable=hal_fdidir hal`
+               if test -n "$HAL_FDI_PATH"; then
+                       HAL_FDI_PATH="${HAL_FDI_PATH}/information/20thirdparty"
+@@ -121,6 +146,7 @@
+                       HAL_FDI_PATH="${datarootdir}/hal/fdi/information/20thirdparty"
+                       AC_MSG_RESULT(${HAL_FDI_PATH})
+               fi
++              fi
+       fi
+       CFLAGS="${CFLAGS_ORIG}"
index d81ea3c5dcd265d29baee452cadd3e6dfcb60ca3..b5548d859d1ceeb485c8cceb8761068f538bab81 100644 (file)
@@ -1,23 +1,10 @@
---- nut-2.2.2/drivers/apcsmart.h~      2008-06-10 16:43:03.000000000 +0200
-+++ nut-2.2.2/drivers/apcsmart.h       2008-06-12 17:14:18.000000000 +0200
-@@ -265,6 +265,7 @@
+--- nut-2.4.3/drivers/apcsmart.h~      2010-07-15 09:48:38.358605322 +0200
++++ nut-2.4.3/drivers/apcsmart.h       2010-07-15 09:49:46.457765191 +0200
+@@ -257,6 +257,7 @@
        /* APC Matrix */
        { "0ZI",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
        { "5UI",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
-+      { "5YI",        "789ABCDEFGLMNOPQTUVWXYcefgjklmnopqrsuwxyz\\<>/", 0 },
-       { NULL,         NULL,                   0 },
- };
---- nut-2.2.2/drivers/apcsmart.c~      2007-12-12 21:34:51.000000000 +0100
-+++ nut-2.2.2/drivers/apcsmart.c       2008-06-12 17:38:28.000000000 +0200
-@@ -540,8 +540,8 @@
-                               !strcmp(buf, "6QI")) { /* (APC600.) */
-                       upsdebugx(1, "Found Smart-UPS");
-                       dstate_setinfo("ups.model", "Smart-UPS");
--              }
--              else return 0;
-+              } else if (strcmp(buf, "5YI")) /* Matrix */
-+                      return 0;
-       }
-       upsdebugx(2, "Firmware: [%s]", buf);
++      { "5YI",        "789ABCDEFGLMNOPQTUVWXYcefgjklmnopqrsuwxyz\\<>/", 0 },
+       { "5ZM",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
+       /* APC600 */
+       { "6QD",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz", 0 },
index 04cc27e65255578d1b5239608971692fc9a84e0c..31e516d88b0647d34ebb8690c3bc0e9eab3a50d4 100644 (file)
--- a/nut.spec
+++ b/nut.spec
 Summary:       Network UPS Tools
 Summary(pl.UTF-8):     Sieciowe narzędzie do UPS-ów
 Name:          nut
-Version:       2.4.1
-Release:       4
+Version:       2.4.3
+Release:       1
 License:       GPL
 Group:         Applications/System
 Source0:       http://www.networkupstools.org/source/2.4/%{name}-%{version}.tar.gz
-# Source0-md5: 609ebaf2123fc7171d25a6c742dd7d66
+# Source0-md5: 6f893b61b07915e7a139324fa3f79121
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}-upsmon.init
@@ -208,8 +208,7 @@ cp -f /usr/share/automake/config.sub .
        --with%{!?with_hal:out}-hal \
        --with%{!?with_cgi:out}-cgi \
        --with-dev \
-       --with%{!?with_neon:out}-neonxml \
-       --with-linux-hiddev=%{_includedir}/linux/hiddev.h \
+       --with%{!?with_neon:out}-neon \
        --with-ssl \
        --with-ipv6 \
        %{?with_usb:--with-udev-dir=/etc/udev} \
@@ -318,18 +317,22 @@ fi
 %attr(755,root,root) /lib/nut/belkin
 %attr(755,root,root) /lib/nut/belkinunv
 %attr(755,root,root) /lib/nut/bestfcom
+%attr(755,root,root) /lib/nut/bestfortress
 %attr(755,root,root) /lib/nut/bestuferrups
 %attr(755,root,root) /lib/nut/bestups
 %attr(755,root,root) /lib/nut/blazer_ser
 %{?with_usb:%attr(755,root,root) /lib/nut/blazer_usb}
-%attr(755,root,root) /lib/nut/cyberpower
+%attr(755,root,root) /lib/nut/clone
+%attr(755,root,root) /lib/nut/clone-outlet
 %attr(755,root,root) /lib/nut/dummy-ups
 %attr(755,root,root) /lib/nut/etapro
 %attr(755,root,root) /lib/nut/everups
 %attr(755,root,root) /lib/nut/gamatronic
 %attr(755,root,root) /lib/nut/genericups
 %attr(755,root,root) /lib/nut/isbmex
+%attr(755,root,root) /lib/nut/ivtscd
 %attr(755,root,root) /lib/nut/liebert
+%attr(755,root,root) /lib/nut/liebertgxt2
 %attr(755,root,root) /lib/nut/masterguard
 %attr(755,root,root) /lib/nut/megatec
 %{?with_usb:%attr(755,root,root) /lib/nut/megatec_usb}
@@ -357,23 +360,27 @@ fi
 %{?with_usb:%attr(755,root,root) /lib/nut/usbhid-ups}
 %attr(755,root,root) /lib/nut/victronups
 %{_datadir}/nut
+%{_mandir}/man5/nut.conf.5*
 %{_mandir}/man8/apcsmart.8*
 %{_mandir}/man8/bcmxcp.8*
 %{?with_usb:%{_mandir}/man8/bcmxcp_usb.8*}
 %{_mandir}/man8/belkin.8*
 %{_mandir}/man8/belkinunv.8*
 %{_mandir}/man8/bestfcom.8*
+%{_mandir}/man8/bestfortress.8*
 %{_mandir}/man8/bestuferrups.8*
 %{_mandir}/man8/bestups.8*
 %{_mandir}/man8/blazer.8*
-%{_mandir}/man8/cyberpower.8*
+%{_mandir}/man8/clone.8*
 %{_mandir}/man8/dummy-ups.8*
 %{_mandir}/man8/etapro.8*
 %{_mandir}/man8/everups.8*
 %{_mandir}/man8/gamatronic.8*
 %{_mandir}/man8/genericups.8*
 %{_mandir}/man8/isbmex.8*
+%{_mandir}/man8/ivtscd.8*
 %{_mandir}/man8/liebert.8*
+%{_mandir}/man8/liebertgxt2.8*
 %{_mandir}/man8/masterguard.8*
 %{_mandir}/man8/megatec.8*
 %{?with_usb:%{_mandir}/man8/megatec_usb.8*}
This page took 0.42939 seconds and 4 git commands to generate.