Hello community,

here is the log from the commit of package apcupsd for openSUSE:Factory checked 
in at 2014-11-20 18:43:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apcupsd (Old)
 and      /work/SRC/openSUSE:Factory/.apcupsd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apcupsd"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes  2014-09-06 
16:53:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apcupsd.new/apcupsd.changes     2014-11-20 
18:43:10.000000000 +0100
@@ -1,0 +2,11 @@
+Sun Nov 16 20:08:17 UTC 2014 - matwey.korni...@gmail.com
+
+- Add patch apcupsd-3.14.10-nodbg.patch: reduce amount of debug
+  messages (redhat #1053324)
+
+-------------------------------------------------------------------
+Sun Nov 16 17:35:44 UTC 2014 - matwey.korni...@gmail.com
+
+- fix HIBERNATE variable initialization in apccontrol script
+
+-------------------------------------------------------------------

New:
----
  apcupsd-3.14.10-nodbg.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apcupsd.spec ++++++
--- /var/tmp/diff_new_pack.N26SdV/_old  2014-11-20 18:43:11.000000000 +0100
+++ /var/tmp/diff_new_pack.N26SdV/_new  2014-11-20 18:43:11.000000000 +0100
@@ -88,6 +88,8 @@
 Patch14:        fix-fsf-adress.patch
 # PATCH-FEATURE-OPENSUSE apcupsd-pm-utils.patch sbra...@suse.cz -- Use 
pm-utils in openSUSE < 13.1 and SLE < 12
 Patch15:        apcupsd-pm-utils.patch
+# PATCH-FIX-OPENSUSE apcupsd-3.14.10-nodbg.patch rhbz#1053324 
matwey.korni...@gmail.com -- reduce amount of debug messages
+Patch16:        apcupsd-3.14.10-nodbg.patch
 Requires:       /usr/bin/mail
 Requires(post):  %fillup_prereq
 # sed and grep are still prerequred to finish upgrade from sysvinit scripts:
@@ -161,6 +163,7 @@
 %if %suse_version < 1310
 %patch15
 %endif
+%patch16 -p1
 
 %build
 %configure\

++++++ apcupsd-3.14.10-nodbg.patch ++++++
diff -up apcupsd-3.14.10/src/drivers/snmplite/asn.cpp.nodbg 
apcupsd-3.14.10/src/drivers/snmplite/asn.cpp
--- apcupsd-3.14.10/src/drivers/snmplite/asn.cpp.nodbg  2010-09-07 
17:35:13.000000000 +0200
+++ apcupsd-3.14.10/src/drivers/snmplite/asn.cpp        2014-01-21 
17:07:27.603049214 +0100
@@ -26,10 +26,13 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+extern int debug_level;
+
 using namespace Asn;
 
 void debug(const char *foo, int indent)
 {
+   if (!debug_level) return;
    while (indent--)
       printf(" ");
    printf("%s\n", foo);
@@ -86,7 +89,7 @@ Object *Object::Demarshal(unsigned char
       obj = new Sequence(type);
       break;      
    default:
-      printf("UNKNOWN ASN type=0x%02x\n", type);
+      if (debug_level) printf("UNKNOWN ASN type=0x%02x\n", type);
       debug("UNKNOWN", indent);
       obj = NULL;
       break;      

++++++ apcupsd-hibernate.patch ++++++
--- /var/tmp/diff_new_pack.N26SdV/_old  2014-11-20 18:43:11.000000000 +0100
+++ /var/tmp/diff_new_pack.N26SdV/_new  2014-11-20 18:43:11.000000000 +0100
@@ -4,7 +4,7 @@
  
  APCPID=@PIDDIR@/apcupsd.pid
  APCUPSD=@sbindir@/apcupsd
-+HIBERNATE=/usr/bin/systemctl hibernate
++HIBERNATE="/usr/bin/systemctl hibernate"
  SHUTDOWN=@SHUTDOWN@
  SCRIPTSHELL=@SCRIPTSHELL@
  SCRIPTDIR=@sysconfdir@

++++++ apcupsd-pm-utils.patch ++++++
--- /var/tmp/diff_new_pack.N26SdV/_old  2014-11-20 18:43:11.000000000 +0100
+++ /var/tmp/diff_new_pack.N26SdV/_new  2014-11-20 18:43:11.000000000 +0100
@@ -4,7 +4,7 @@
  
  APCPID=@PIDDIR@/apcupsd.pid
  APCUPSD=@sbindir@/apcupsd
--HIBERNATE=/usr/bin/systemctl hibernate
+-HIBERNATE="/usr/bin/systemctl hibernate"
 +HIBERNATE=/usr/sbin/pm-hibernate
  SHUTDOWN=@SHUTDOWN@
  SCRIPTSHELL=@SCRIPTSHELL@

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to