Add debian/patches/0001-fix-upsmon-regression.patch: Fix upsmon/upssched regression (Taken from upstream) (Closes: #679513)

This commit is contained in:
Laurent Bigonville 2012-08-09 11:39:46 +02:00
parent e038ffaf38
commit 07ab571061
3 changed files with 19 additions and 1 deletions

4
debian/changelog vendored
View file

@ -7,8 +7,10 @@ nut (2.6.4-2) UNRELEASED; urgency=low
* Rename nut-server.lintian-overrides to nut-client.lintian-overrides and
adjust overrides now that ups-monitor is shipped in nut-client package
(Closes: #677947)
* Add debian/patches/0001-fix-upsmon-regression.patch: Fix upsmon/upssched
regression (Taken from upstream) (Closes: #679513)
-- Laurent Bigonville <bigon@debian.org> Thu, 09 Aug 2012 11:20:06 +0200
-- Laurent Bigonville <bigon@debian.org> Thu, 09 Aug 2012 11:36:41 +0200
nut (2.6.4-1) unstable; urgency=high

View file

@ -0,0 +1,15 @@
Description: Fix upsmon/upssched regression
Origin: upstream, http://trac.networkupstools.org/projects/nut/changeset/3670
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679513
Index: /trunk/clients/upssched.c
===================================================================
--- a/clients/upssched.c (revision 3555)
+++ b/clients/upssched.c (revision 3670)
@@ -695,5 +695,5 @@
pconf_encode(arg2, enc, sizeof(enc)));
- snprintfcat(enc, sizeof(enc), "%s\n", buf);
+ snprintf(enc, sizeof(enc), "%s\n", buf);
/* see if the parent needs to be started (and maybe start it) */

View file

@ -1 +1,2 @@
0001-fix-upsmon-regression.patch
0002-nut-monitor-paths.patch