Add debian/patches/0001-fix-upsmon-regression.patch: Fix upsmon/upssched regression (Taken from upstream) (Closes: #679513)
This commit is contained in:
parent
e038ffaf38
commit
07ab571061
3 changed files with 19 additions and 1 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -7,8 +7,10 @@ nut (2.6.4-2) UNRELEASED; urgency=low
|
||||||
* Rename nut-server.lintian-overrides to nut-client.lintian-overrides and
|
* Rename nut-server.lintian-overrides to nut-client.lintian-overrides and
|
||||||
adjust overrides now that ups-monitor is shipped in nut-client package
|
adjust overrides now that ups-monitor is shipped in nut-client package
|
||||||
(Closes: #677947)
|
(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
|
nut (2.6.4-1) unstable; urgency=high
|
||||||
|
|
||||||
|
|
15
debian/patches/0001-fix-upsmon-regression.patch
vendored
Normal file
15
debian/patches/0001-fix-upsmon-regression.patch
vendored
Normal 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) */
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -1 +1,2 @@
|
||||||
|
0001-fix-upsmon-regression.patch
|
||||||
0002-nut-monitor-paths.patch
|
0002-nut-monitor-paths.patch
|
||||||
|
|
Loading…
Reference in a new issue