Merge ~paelzer/ubuntu/+source/nut:merge-eoan-2.4.7-9 into ubuntu/+source/nut:debian/sid

Proposed by Christian Ehrhardt 
Status: Merged
Merge reported by: Christian Ehrhardt 
Merged at revision: b7435bb8033da2e4eb0f2ac60c8e95b2393cec0e
Proposed branch: ~paelzer/ubuntu/+source/nut:merge-eoan-2.4.7-9
Merge into: ubuntu/+source/nut:debian/sid
Diff against target: 1300 lines (+922/-30)
12 files modified
debian/changelog (+855/-3)
debian/control (+2/-18)
debian/libnutclient0.symbols (+3/-2)
debian/nut-cgi.postinst (+1/-0)
debian/nut-client.install (+1/-0)
debian/nut-server.install (+1/-0)
debian/nut-server.postinst (+1/-0)
debian/nut.install (+1/-0)
debian/rules (+7/-0)
debian/source_nut.py (+43/-0)
debian/tests/test-nut.py (+7/-6)
dev/null (+0/-1)
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
Canonical Server packageset reviewers Pending
Canonical Server Pending
Review via email: mp+370947@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

A ppa build is available at [1] PPA.

I did a component mismatch check and nut-monitor would trigger some dependencies that are demoted since Bionic (python-gtk2 python-gobject-2 python-glade2) but nut-monitor itself isn't in main so that will be ok.

[1]: https://launchpad.net/~paelzer/+archive/ubuntu/merge-nut-eoan-2.4.7-9/+packages

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hmm, this has a test so I also put it into https://bileto.ubuntu.com/#/ticket/3778

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Bileto ticket https://bileto.ubuntu.com/excuses/3778/eoan.html shows that dep8 tests are successful

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I think you didn't push the tags, or for some reason I'm not seeing them. Since the delta is large, it would help a lot here.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Sure, I pushed again and in fact tey were not there :-/?
Sorry, but well now they are ...

 * [new tag] lp1814314/logical/2.7.4-8ubuntu2 -> lp1814314/logical/2.7.4-8ubuntu2
 * [new tag] lp1814314/new/debian -> lp1814314/new/debian
 * [new tag] lp1814314/old/debian -> lp1814314/old/debian
 * [new tag] lp1814314/old/ubuntu -> lp1814314/old/ubuntu
 * [new tag] lp1814314/reconstruct/2.7.4-8ubuntu2 -> lp1814314/reconstruct/2.7.4-8ubuntu2
 * [new tag] lp1814314/split/2.7.4-8ubuntu2 -> lp1814314/split/2.7.4-8ubuntu2

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

ack to carried delta
ack to dropped delta
package installs, upgrades
ack to d/changelog

+1

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tagged and uploaded

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index a5da2b7..074ace2 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,30 @@
6+nut (2.7.4-9ubuntu1) eoan; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #1505288). Remaining changes:
9+ - remove Build-Depends on libpowerman0-dev
10+ - remove nut-powerman-pdu
11+ + debian/control: remove nut-powerman-pdu package
12+ + debian/nut-powerman-pdu.{install,manpages}: dropped for now
13+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
14+ debian/rules: Install apport hooks for all top-level nut packages.
15+ - debian/tests/test-nut.py: in the CVE_2012_2944 test, give nut at most
16+ + 5 seconds to shut down, instead of expecting it to be shut down
17+ immediately after sending the killall.
18+ + Additional indication on how to run tests for xenial+
19+ - d/nut-server.postinst, d/nut-cgi.postinst: ensure nut is member of group
20+ dialout (This existed, but was missed in the Changelog).
21+ - debian/libnutclient0.symbols: Correct symbols file for ppc64el.
22+ - Mark more symbols as optional (ppc64el, -O3).
23+ * Dropped changes (in Debian now):
24+ - debian/tests/control : Fix dep8 test failures:
25+ + Drop python-unit from dep8 dependencies since the python-test
26+ package has now been removed. The unittest module has shipped with
27+ Python since 2.1.
28+ + Add dep8 test dependency on python, since Python 2 is required and
29+ is not necessarily installed by default any more.
30+
31+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 05 Aug 2019 12:32:08 +0200
32+
33 nut (2.7.4-9) unstable; urgency=medium
34
35 [ Ondřej Nový ]
36@@ -54,6 +81,37 @@ nut (2.7.4-9) unstable; urgency=medium
37
38 -- Laurent Bigonville <bigon@debian.org> Sun, 04 Aug 2019 10:34:17 +0200
39
40+nut (2.7.4-8ubuntu2) eoan; urgency=medium
41+
42+ * Mark more symbols as optional (ppc64el, -O3).
43+
44+ -- Matthias Klose <doko@ubuntu.com> Mon, 24 Jun 2019 12:31:07 +0200
45+
46+nut (2.7.4-8ubuntu1) cosmic; urgency=medium
47+
48+ * Merge with Debian unstable (LP: #1774147). Remaining changes:
49+ - remove Build-Depends on libpowerman0-dev
50+ - remove nut-powerman-pdu
51+ + debian/control: remove nut-powerman-pdu package
52+ + debian/nut-powerman-pdu.{install,manpages}: dropped for now
53+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
54+ debian/rules: Install apport hooks for all top-level nut packages.
55+ - debian/tests/test-nut.py: in the CVE_2012_2944 test, give nut at most
56+ + 5 seconds to shut down, instead of expecting it to be shut down
57+ immediately after sending the killall.
58+ + Additional indication on how to run tests for xenial+
59+ - debian/tests/control : Fix dep8 test failures:
60+ + Drop python-unit from dep8 dependencies since the python-test
61+ package has now been removed. The unittest module has shipped with
62+ Python since 2.1.
63+ + Add dep8 test dependency on python, since Python 2 is required and
64+ is not necessarily installed by default any more.
65+ - d/nut-server.postinst, d/nut-cgi.postinst: ensure nut is member of group
66+ dialout (This existed, but was missed in the Changelog).
67+ - debian/libnutclient0.symbols: Correct symbols file for ppc64el.
68+
69+ -- dann frazier <dann.frazier@canonical.com> Fri, 03 Aug 2018 12:10:45 -0600
70+
71 nut (2.7.4-8) unstable; urgency=medium
72
73 * debian/libnutclient0.symbols: Use arch-bits=32 and arch-bits=64 instead of
74@@ -67,6 +125,38 @@ nut (2.7.4-8) unstable; urgency=medium
75
76 -- Laurent Bigonville <bigon@debian.org> Fri, 01 Jun 2018 17:55:25 +0200
77
78+nut (2.7.4-7ubuntu1) cosmic; urgency=medium
79+
80+ * Merge with Debian unstable (LP: #1774147). Remaining changes:
81+ - remove Build-Depends on libpowerman0-dev
82+ - remove nut-powerman-pdu
83+ + debian/control: remove nut-powerman-pdu package
84+ + debian/nut-powerman-pdu.{install,manpages}: dropped for now
85+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
86+ debian/rules: Install apport hooks for all top-level nut packages.
87+ - debian/tests/test-nut.py: in the CVE_2012_2944 test, give nut at most
88+ + 5 seconds to shut down, instead of expecting it to be shut down
89+ immediately after sending the killall.
90+ + Additional indication on how to run tests for xenial+
91+ - debian/tests/control : Fix dep8 test failures:
92+ + Drop python-unit from dep8 dependencies since the python-test
93+ package has now been removed. The unittest module has shipped with
94+ Python since 2.1.
95+ + Add dep8 test dependency on python, since Python 2 is required and
96+ is not necessarily installed by default any more.
97+ - d/nut-server.postinst, d/nut-cgi.postinst: ensure nut is member of group
98+ dialout (This existed, but was missed in the Changelog).
99+ - debian/libnutclient0.symbols: Correct symbols file for ppc64el.
100+ (Reduced as it is partially in Debian now)
101+ * Dropped Changes
102+ - fix cflags/ldflags mismatch (LP #1711092)
103+ (no more needed)
104+ - debian/nut-{cgi,server}.postinst: fix 'adduser' logic to be
105+ unconditional, since adduser is guaranteed to be idempotent.
106+ (was a non functional comment only change)
107+
108+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 30 May 2018 10:44:42 +0200
109+
110 nut (2.7.4-7) unstable; urgency=medium
111
112 * debian/libnutclient0.symbols: Fix symbols file, this should fix FTBFS on
113@@ -95,6 +185,51 @@ nut (2.7.4-6) unstable; urgency=medium
114
115 -- Laurent Bigonville <bigon@debian.org> Tue, 20 Feb 2018 13:08:57 +0100
116
117+nut (2.7.4-5.1ubuntu2) bionic; urgency=medium
118+
119+ * Drop change which is no more needed, thereby fixes systemd integration
120+ and the availability of /lib/systemd/system-shutdown/nutshutdown
121+ (LP: #1603609)
122+ - Disable systemd unit; it does not check nut.conf whether nut is
123+ configured, and thus fails to start (and the package install). The
124+ init.d script works well enough for the time being.
125+
126+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 15 Nov 2017 16:47:10 +0100
127+
128+nut (2.7.4-5.1ubuntu1) bionic; urgency=medium
129+
130+ * Merge with Debian unstable. Remaining changes:
131+ - remove Build-Depends on libpowerman0-dev
132+ - remove nut-powerman-pdu
133+ + debian/nut-powerman-pdu.{install,manpages}: dropped for now
134+ - debian/nut-{cgi,server}.postinst: fix 'adduser' logic to be
135+ unconditional, since adduser is guaranteed to be idempotent.
136+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
137+ debian/rules: Install apport hooks for all top-level nut packages.
138+ - Disable systemd unit; it does not check nut.conf whether nut is
139+ configured, and thus fails to start (and the package install). The
140+ init.d script works well enough for the time being.
141+ - debian/tests/test-nut.py: in the CVE_2012_2944 test, give nut at most
142+ + 5 seconds to shut down, instead of expecting it to be shut down
143+ immediately after sending the killall.
144+ + Additional indication on how to run tests for xenial+
145+ - debian/tests/control : Fix dep8 test failures:
146+ + Drop python-unit from dep8 dependencies since the python-test
147+ package has now been removed. The unittest module has shipped with
148+ Python since 2.1.
149+ + Add dep8 test dependency on python, since Python 2 is required and
150+ is not necessarily installed by default any more.
151+ - debian/libnutclient0.symbols: Correct symbols file for ppc64el.
152+ - fix cflags/ldflags mismatch (LP #1711092)
153+ * Drop:
154+ - udevd is called systemd-udevd (LP #1540008)
155+ [ Fixed in Debian 2.7.4-5.1 ]
156+ - d/libnutclient0.symbols: fix symbols in regard to gcc-7
157+ (LP #1711091)
158+ [ Fixed in Debian 2.7.4-5.1 ]
159+
160+ -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Fri, 03 Nov 2017 16:34:18 -0700
161+
162 nut (2.7.4-5.1) unstable; urgency=medium
163
164 * Non-maintainer upload.
165@@ -114,6 +249,66 @@ nut (2.7.4-5.1) unstable; urgency=medium
166
167 -- Michael Stapelberg <stapelberg@debian.org> Wed, 23 Aug 2017 22:24:57 +0200
168
169+nut (2.7.4-5ubuntu4) artful; urgency=medium
170+
171+ * d/p/fix-snmp-driver-compile-options.patch: fix cflags/ldflags
172+ mismatch (LP: #1711092).
173+ * d/libnutclient0.symbols: fix symbols in regard to gcc-7 (LP: #1711091).
174+
175+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 16 Aug 2017 12:44:26 +0200
176+
177+nut (2.7.4-5ubuntu3) artful; urgency=medium
178+
179+ * debian/nut-server.postinst: The udevd process is called systemd-udevd
180+ for quite sometimes already, properly detect whether it's running or not,
181+ this should fix the devices permissions for USB UPS's (LP: #1540008).
182+
183+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 09 Aug 2017 10:16:38 +0200
184+
185+nut (2.7.4-5ubuntu2) zesty; urgency=medium
186+
187+ * debian/libnutclient0.symbols: Correct symbols file for ppc64el.
188+
189+ -- Adam Conrad <adconrad@ubuntu.com> Fri, 17 Feb 2017 05:38:03 -0700
190+
191+nut (2.7.4-5ubuntu1) zesty; urgency=medium
192+
193+ * Merge with Debian; remaining changes (LP: #1643618)
194+ - debian/control:
195+ + remove Build-Depends on libpowerman0-dev
196+ + remove nut-powerman-pdu
197+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now
198+ - debian/nut-{cgi,server}.postinst: fix 'adduser' logic to be
199+ unconditional, since adduser is guaranteed to be idempotent.
200+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
201+ debian/rules: Install apport hooks for all top-level nut packages.
202+ - Disable systemd unit; it does not check nut.conf whether nut is
203+ configured, and thus fails to start (and the package install). The
204+ init.d script works well enough for the time being.
205+ - debian/tests/test-nut.py:
206+ + In the CVE_2012_2944 test, give nut at most 5 seconds to shut down,
207+ instead of expecting it to be shut down immediately after sending the
208+ killall.
209+ + Additional indication on how to run tests for oneiric, precise to
210+ vivid and wily+
211+ - debian/tests/control : Fix dep8 test failures:
212+ + Drop python-unit from dep8 dependencies since the python-test
213+ package has now been removed. The unittest module has shipped with
214+ Python since 2.1.
215+ + Add dep8 test dependency on python, since Python 2 is required and
216+ is not necessarily installed by default any more.
217+ * Dropped changes:
218+ - Patch libtool.m4 and configure to support ppc64le. (Fixed upstream)
219+ - Remove unnecessary chmod 755 on files introduced by previous merge,
220+ assumed to be an error
221+ - debian/patches/0006-ups-conf-maxretry.patch: documentation tweaks
222+ (unnecessary Ubuntu delta). This was formerly listed as "Move maxretry
223+ setting above Examples section" but no longer did this at all.
224+ * Replace outdated indictions on how to run tests (Oneric, Precise, Vivid,
225+ Wily+) with proper indications for current version (Xenial+)
226+
227+ -- Louis Bouchard <louis.bouchard@ubuntu.com> Thu, 15 Dec 2016 15:30:05 +0100
228+
229 nut (2.7.4-5) unstable; urgency=medium
230
231 * debian/control: Build-depends against asciidoc-dblatex, Recommends are not
232@@ -180,6 +375,48 @@ nut (2.7.4-1) unstable; urgency=low
233
234 -- Laurent Bigonville <bigon@debian.org> Mon, 18 Jul 2016 10:58:49 +0200
235
236+nut (2.7.2-4ubuntu1) xenial; urgency=low
237+
238+ * Merge with Debian; remaining changes (LP: #1522346) :
239+ - debian/control:
240+ + remove Build-Depends on libpowerman0-dev
241+ + remove nut-powerman-pdu
242+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now
243+ - debian/{nut-cgi,nut-server}.postinst: add nut to the group
244+ unconditonally, for compatibility with UPSes connected by serial port.
245+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
246+ debian/rules: Install apport hooks for all top-level nut packages.
247+ - Patch libtool.m4 and configure to support ppc64le.
248+ - Disable systemd unit; it does not check nut.conf whether nut is
249+ configured, and thus fails to start (and the package install). The
250+ init.d script works well enough for the time being.
251+ - debian/tests/test-nut.py: in the CVE_2012_2944 test, give nut at most
252+ + 5 seconds to shut down, instead of expecting it to be shut down
253+ immediately after sending the killall.
254+ + Additional indication on how to run tests for oneiric, precise to
255+ vivid and wily+
256+ - debian/patches/0006-ups-conf-reorder.patch: Move maxretry setting
257+ above Examples section.
258+ - debian/tests/control : Fix dep8 test failures:
259+ + Drop python-unit from dep8 dependencies since the python-test
260+ package has now been removed. The unittest module has shipped with
261+ Python since 2.1.
262+ + Add dep8 test dependency on python, since Python 2 is required and
263+ is not necessarily installed by default any more.
264+
265+ * Dropped changes:
266+ - Fix linking libupsclient : Superseded upstream
267+ - debian/patches/backport-fix-lp753661.patch: extraneous end-of-line now
268+ fixed differently upstream.
269+ - debian/rules: Use udev version for Ubuntu; delta no longer needed as
270+ both versions are earlier than the earliest supported udev in Ubuntu.
271+
272+ [ Steve Langasek ]
273+ * debian/nut-{cgi,server}.postinst: fix 'adduser' logic to be
274+ unconditional, since adduser is guaranteed to be idempotent.
275+
276+ -- Louis Bouchard <louis.bouchard@ubuntu.com> Thu, 03 Dec 2015 12:37:13 +0100
277+
278 nut (2.7.2-4) unstable; urgency=medium
279
280 * Really fix package initial installation when PID1 is systemd (Closes:
281@@ -241,6 +478,59 @@ nut (2.7.2-1) unstable; urgency=low
282
283 -- Laurent Bigonville <bigon@debian.org> Tue, 22 Apr 2014 22:46:12 +0200
284
285+nut (2.7.1-1ubuntu5) wily; urgency=medium
286+
287+ * Fix dep8 test failures:
288+ - Drop python-unit from dep8 dependencies since the python-test
289+ package has now been removed. The unittest module has shipped with
290+ Python since 2.1.
291+ - Add dep8 test dependency on python, since Python 2 is required and
292+ is not necessarily installed by default any more.
293+
294+ -- Robie Basak <robie.basak@ubuntu.com> Mon, 12 Oct 2015 10:08:30 +0000
295+
296+nut (2.7.1-1ubuntu4) vivid; urgency=low
297+
298+ * debian/patches/0006-ups-conf-reorder.patch: Move maxretry setting
299+ above Examples section, closer to the "outside of a driver definition"
300+ comment. (LP: #1405822)
301+
302+ -- Tuomas Heino <iheino+ub@cc.hut.fi> Fri, 26 Dec 2014 19:36:45 +0200
303+
304+nut (2.7.1-1ubuntu3) utopic; urgency=medium
305+
306+ * debian/tests/test-nut.py: in the CVE_2012_2944 test, give nut at most 5
307+ seconds to shut down, instead of expecting it to be shut down immediately
308+ after sending the killall. (LP: #1291378)
309+
310+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 07 Jul 2014 07:56:43 +0200
311+
312+nut (2.7.1-1ubuntu2) utopic; urgency=medium
313+
314+ * Disable systemd unit; it does not check nut.conf whether nut is
315+ configured, and thus fails to start (and the package install). The init.d
316+ script works well enough for the time being. (LP: #1313231)
317+
318+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 12 May 2014 13:22:12 +0200
319+
320+nut (2.7.1-1ubuntu1) trusty; urgency=medium
321+
322+ * Merge with Debian; remaining changes:
323+ - debian/control:
324+ + remove Build-Depends on libpowerman0-dev
325+ + remove nut-powerman-pdu
326+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now
327+ - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
328+ groups unconditonally to handle the upgrade from hardy release.
329+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
330+ debian/rules: Install apport hooks for all top-level nut packages.
331+ - debian/rules: Use udev version for Ubuntu
332+ - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled
333+ * Fix linking libupsclient.
334+ * Patch libtool.m4 and configure to support ppc64le.
335+
336+ -- Matthias Klose <doko@ubuntu.com> Mon, 30 Dec 2013 10:37:07 +0100
337+
338 nut (2.7.1-1) unstable; urgency=low
339
340 * New upstream release (Closes: #730183)
341@@ -348,6 +638,46 @@ nut (2.6.5-1) experimental; urgency=low
342
343 -- Laurent Bigonville <bigon@debian.org> Mon, 13 Aug 2012 01:59:18 +0200
344
345+nut (2.6.4-2.3ubuntu2) saucy; urgency=low
346+
347+ * Rebuild for libgd3 and libsnmp30.
348+
349+ -- Colin Watson <cjwatson@ubuntu.com> Mon, 20 May 2013 00:33:46 +0100
350+
351+nut (2.6.4-2.3ubuntu1) saucy-proposed; urgency=low
352+
353+ * Merge from Debian. Remaining changes:
354+ - debian/control:
355+ + remove Build-Depends on libpowerman0-dev
356+ + remove nut-powerman-pdu
357+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now
358+ - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
359+ groups unconditonally to handle the upgrade from hardy release.
360+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
361+ debian/rules: Install apport hooks for all top-level nut packages.
362+ - debian/rules: Use udev version for Ubuntu
363+ - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled
364+
365+ -- Jamie Strandboge <jamie@ubuntu.com> Thu, 09 May 2013 12:38:31 -0500
366+
367+nut (2.6.4-2.2ubuntu1) raring-proposed; urgency=low
368+
369+ * Merge from Debian. Remaining changes:
370+ - debian/control:
371+ + remove Build-Depends on libpowerman0-dev
372+ + remove nut-powerman-pdu
373+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now
374+ - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
375+ groups unconditonally to handle the upgrade from hardy release.
376+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
377+ debian/rules: Install apport hooks for all top-level nut packages.
378+ - debian/rules: Use udev version for Ubuntu
379+ - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled
380+ * Dropped the following patches, no longer required:
381+ - debian/patches/CVE-2012-2944.patch (included upstream)
382+
383+ -- Jamie Strandboge <jamie@ubuntu.com> Wed, 23 Jan 2013 07:32:58 -0600
384+
385 nut (2.6.4-2) unstable; urgency=low
386
387 * debian/rules: Stop the nut-client before nut-server on systems using static
388@@ -411,6 +741,30 @@ nut (2.6.3-2) unstable; urgency=low
389
390 -- Arnaud Quette <aquette@debian.org> Tue, 24 Jan 2012 13:14:59 +0100
391
392+nut (2.6.3-1ubuntu2) quantal; urgency=low
393+
394+ * SECURITY UPDATE: remote denial of service
395+ - debian/CVE-2012-2944.patch: limit the set of parsed characters to ' '
396+ through '~'
397+ - CVE-2012-2944
398+
399+ -- Jamie Strandboge <jamie@ubuntu.com> Wed, 30 May 2012 13:36:58 -0500
400+
401+nut (2.6.3-1ubuntu1) precise; urgency=low
402+
403+ * Merge from Debian testing. Remaining changes:
404+ - debian/control: Drop Build-Depends on libpowerman0-dev (currently in
405+ universe)
406+ - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
407+ groups unconditonally to handle the upgrade from hardy release.
408+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
409+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
410+ debian/rules: Install apport hooks for all top-level nut packages.
411+ - debian/rules: Use udev version for Ubuntu.
412+ - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled.
413+
414+ -- Chuck Short <zulcss@ubuntu.com> Mon, 06 Feb 2012 09:23:24 -0500
415+
416 nut (2.6.3-1) unstable; urgency=low
417
418 * New upstream release (Closes: #635186, #598741, #633756, #638221)
419@@ -425,6 +779,21 @@ nut (2.6.3-1) unstable; urgency=low
420
421 -- Arnaud Quette <aquette@debian.org> Tue, 24 Jan 2012 13:14:59 +0100
422
423+nut (2.6.2-1ubuntu1) precise; urgency=low
424+
425+ * Merge from debian unstable. Remaining changes:
426+ - debian/control: Drop Build-Depends on libpowerman0-dev (currently in
427+ universe)
428+ - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
429+ groups unconditonally to handle the upgrade from hardy release.
430+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
431+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
432+ debian/rules: Install apport hooks for all top-level nut packages.
433+ - debian/rules: Use udev version for Ubuntu.
434+ - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled.
435+
436+ -- Chuck Short <zulcss@ubuntu.com> Tue, 04 Oct 2011 05:45:12 +0000
437+
438 nut (2.6.2-1) unstable; urgency=low
439
440 * New upstream release (Closes: #594989)
441@@ -444,6 +813,29 @@ nut (2.6.2-1) unstable; urgency=low
442
443 -- Arnaud Quette <aquette@debian.org> Thu, 29 Sep 2011 18:39:16 +0200
444
445+nut (2.6.1-2ubuntu2) oneiric; urgency=low
446+
447+ * Fix FTBFS for Ubuntu (LP: #815760):
448+ - debian/control: Build-Depends-Indep on docbook-xsl for offline
449+ document generation.
450+
451+ -- James Page <james.page@ubuntu.com> Mon, 25 Jul 2011 12:02:48 +0100
452+
453+nut (2.6.1-2ubuntu1) oneiric; urgency=low
454+
455+ * Merge from Debian unstable (LP: #811976). Remaining changes:
456+ - debian/control: Drop Build-Depends on libpowerman0-dev (currently in
457+ universe)
458+ - debian/{nut-cgi,nut-server}.postinst: add nut to the dialout and nut
459+ groups unconditonally to handle the upgrade from hardy release.
460+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
461+ - debian/source_nut.py, debian/{nut,nut-server,nut-client}.install,
462+ debian/rules: Install apport hooks for all top-level nut packages.
463+ - debian/rules: Use udev version for Ubuntu.
464+ - debian/series, debian/patches/backport-fix-lp753661.patch: re-enabled.
465+
466+ -- James Page <james.page@ubuntu.com> Fri, 22 Jul 2011 14:12:46 +0100
467+
468 nut (2.6.1-2) unstable; urgency=low
469
470 * debian/nut.README.Debian: Adjust udev rules naming for permissions override
471@@ -467,6 +859,21 @@ nut (2.6.1-2) unstable; urgency=low
472
473 -- Laurent Bigonville <bigon@debian.org> Sun, 17 Jul 2011 19:03:18 +0200
474
475+nut (2.6.1-1ubuntu1) oneiric; urgency=low
476+
477+ * Merge from debian unstable. Remaining changes:
478+ - debian/control:
479+ + Drop Build-Depends on libpowerman0-dev (currently in universe)
480+ - debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
481+ unconditonally to handle the upgrade from hardy release.
482+ - debian/nut-powerman-pdu.{install,manpages}: dropped for now.
483+ - debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
484+ - debian/rules: Use udev version for Ubuntu.
485+ * debian/patches/backport-fix-lp753661.patch: Refreshed.
486+ * Drop changes due to .pc being not clean.
487+
488+ -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 06 Jun 2011 13:38:09 -0400
489+
490 nut (2.6.1-1) unstable; urgency=low
491
492 * New upstream release (Closes: #595953, #614842, #595773)
493@@ -482,6 +889,28 @@ nut (2.6.1-1) unstable; urgency=low
494
495 -- Arnaud Quette <aquette@debian.org> Wed, 01 Jun 2011 22:34:28 +0200
496
497+nut (2.6.0-2ubuntu1) oneiric; urgency=low
498+
499+ * Merge from debian unstable (LP: #789323). Remaining changes:
500+ + debian/control:
501+ - Update maintainer as per spec.
502+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
503+ - Drop libpowerman0-dev from the Build-Depends (currently in universe)
504+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
505+ unconditonally to handle the upgrade from hardy release.
506+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
507+ + debian/nul-hal-drivers.{docs,install,postinst,preinst}: Dropped since hal is in universe now
508+ + debian/nut.links: must create the init script link, used if the upse needs to be powered down
509+ (LP: #357583)
510+ + debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
511+ + debian/patches/backport-fix-lp753661.patch
512+ + Dropped:
513+ - debian/patches/fix_pc_file.patch: replaced by debian's 0002-fix_libupsclient_pc.patch
514+ * debian/patches/fix_pc_file.patch: add DEP3 patch header
515+ * debian/patches/debian-changes-2.6.0-1: remove that accidental file
516+
517+ -- Scott Moser <smoser@ubuntu.com> Fri, 27 May 2011 16:16:10 -0400
518+
519 nut (2.6.0-2) unstable; urgency=low
520
521 * debian/nut-snmp.docs: Distribute snmp.txt doc file (Closes: #548295)
522@@ -498,6 +927,45 @@ nut (2.6.0-2) unstable; urgency=low
523
524 -- Laurent Bigonville <bigon@debian.org> Sun, 08 May 2011 21:23:46 +0200
525
526+nut (2.6.0-1ubuntu3) natty; urgency=low
527+
528+ * debian/patches/backport-fix-lp753661.patch: Backport fix
529+ to trim extraneous end-of-line, in buggy HID string tables,
530+ which results in upsc breaking the communication pipe.
531+ (LP: #753661)
532+
533+ -- Chuck Short <zulcss@ubuntu.com> Wed, 20 Apr 2011 10:47:05 -0400
534+
535+nut (2.6.0-1ubuntu2) natty; urgency=low
536+
537+ * fix_pc_file.patch: fix .pc source files by using LIBSSL_LIBS instead of
538+ LIBSSL_LDFLAGS to avoid a FTBFS in packages that uses libupsclient.pc
539+ (LP: #743484)
540+
541+ -- Fabrice Coutadeur <fabricesp@ubuntu.com> Sun, 27 Mar 2011 08:21:01 +0200
542+
543+nut (2.6.0-1ubuntu1) natty; urgency=low
544+
545+ * Merge from Debian unstable, remaining changes:
546+ + debian/control:
547+ - Update maintainer as per spec.
548+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
549+ - Drop libpowerman0-dev from the Build-Depends (currently in universe)
550+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
551+ unconditonally to hanle the upgrade from hardy release.
552+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
553+ + debian/nul-hal-drivers.{docs,install,postinst,preinst}: Dropped since hal is in universe now
554+ + debian/nut.links: must create the init script link, used if the upse needs to be powered down
555+ (LP: #357583)
556+ + debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
557+ + Dropped:
558+ - debian/patches/0002-fix_udev_action.patch: Accepted upstream.
559+ - debian/patches/0004-netvision-improvements-lp-600950: no longer needed.
560+ - debian/patches/0005-fix-nut-m4.patch: no longer needed.
561+ - debian/patches/9999-autoconf.patch: no longer needed.
562+
563+ -- Chuck Short <zulcss@ubuntu.com> Wed, 23 Feb 2011 09:01:35 -0500
564+
565 nut (2.6.0-1) unstable; urgency=low
566
567 * New upstream release (Closes: #575176, #588648, #609597, #687985)
568@@ -521,6 +989,59 @@ nut (2.4.3-3) UNRELEASED; urgency=low
569
570 -- Laurent Bigonville <bigon@debian.org> Tue, 11 Jan 2011 22:24:07 +0100
571
572+nut (2.4.3-2ubuntu4) natty; urgency=low
573+
574+ * debian/control, debian/rules,
575+ debian/nut-hal-drivers.{docs,install,postinst,preinst}: Drop
576+ nut-hal-drivers since Nut doesnt go into universe.
577+
578+ -- Chuck Short <zulcss@ubuntu.com> Thu, 27 Jan 2011 11:18:14 -0500
579+
580+nut (2.4.3-2ubuntu3) natty; urgency=low
581+
582+ * Split patches/debian-changes-2.4.3-2ubuntu1 into
583+ patches/0005-fix-nut-m4.patch and patches/9999-autoconf.patch
584+ * Readd lost debian/patches0004-netvision-improvements-lp-600950.patch patch
585+ (LP: #707050)
586+ * debian/patches/0002-fix_udev_action.patch:
587+ Change BUS to SUBSYSTEMS, since the former is deprecated. (LP: #692171)
588+ * debian/nut.postinst: Uncomment missing call to adduser
589+
590+ -- Laurent Bigonville <bigon@ubuntu.com> Thu, 27 Jan 2011 09:18:20 -0500
591+
592+nut (2.4.3-2ubuntu2) natty; urgency=low
593+
594+ * debian/control: Drop hal build dependency, we don't need the daemon to
595+ build the package. Add a hal dependency to nut-hal-drivers, which is the
596+ only thing that actually needs it.
597+
598+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 27 Jan 2011 10:00:42 +0100
599+
600+nut (2.4.3-2ubuntu1) natty; urgency=low
601+
602+ * Merge from debian unstable. Remaining changes:
603+ + debian/control:
604+ - Update maintainer as per spec.
605+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
606+ - Drop libpowerman0-dev from the Build-Depends (currently in universe)
607+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
608+ unconditonally to hanle the upgrade from hardy release.
609+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
610+ + debian/nut.links: must create the init script link, used if the upse needs to be powered down
611+ (LP: #357583)
612+ + debian/nut.postinst: Update udevadm trigger.
613+ "libusb_get_report: error sending control message:
614+ Operation not permitted" error on some UPS devices. (LP: #572262)
615+ + debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
616+ + debian/patches/netvision-improvements-lp-600950.patch: Add improvements
617+ for netvision UPSes
618+ + Fix FTBFS with ld --as-needed.
619+ + Dropped:
620+ - debian/patches/03_udev_rules_change.dpatch: Use debian's instead.
621+ - debian/patches/04_nut_small-buffers.dpatch: Use debian's instead.
622+
623+ -- Chuck Short <zulcss@ubuntu.com> Mon, 10 Jan 2011 21:21:02 +0000
624+
625 nut (2.4.3-2) unstable; urgency=medium
626
627 * debian/control:
628@@ -562,6 +1083,64 @@ nut (2.4.3-1.1) unstable; urgency=low
629
630 -- Tim Retout <diocles@debian.org> Fri, 15 Oct 2010 19:31:39 +0100
631
632+nut (2.4.3-1ubuntu6) natty; urgency=low
633+
634+ * Fix FTBFS with ld --as-needed.
635+
636+ -- Matthias Klose <doko@ubuntu.com> Mon, 10 Jan 2011 19:14:35 +0100
637+
638+nut (2.4.3-1ubuntu5) maverick; urgency=low
639+
640+ * debian/patches/netvision-improvements-lp-600950.patch: Add improvements for netvision UPSes
641+ (LP: #600950)
642+
643+ -- Chuck Short <zulcss@ubuntu.com> Fri, 13 Aug 2010 13:28:10 -0500
644+
645+nut (2.4.3-1ubuntu4) maverick; urgency=low
646+
647+ * debian/source_nut.py, debian/nut.install, debian/rules: Install apport hook.
648+
649+ -- Chuck Short <zulcss@ubuntu.com> Thu, 08 Jul 2010 11:06:30 -0400
650+
651+nut (2.4.3-1ubuntu3.1) lucid-proposed; urgency=low
652+
653+ * debian/patches/04_nut-small-buffers.dpatch: Fix "libusb_get_report: error sending control message:
654+ Operation not permitted" error on some UPS devices. (LP: #572262)
655+
656+ -- Chuck Short <zulcss@ubuntu.com> Mon, 03 May 2010 13:38:37 -0400
657+
658+nut (2.4.3-1ubuntu3) lucid; urgency=low
659+
660+ * debian/nut.postinst: Revert dropping of --action=change. "add" events must
661+ not ever be triggered automatically.
662+ * Add 03_udev_rules_change.dpatch: Run udev rules on change events, too.
663+
664+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 23 Mar 2010 08:00:53 +0100
665+
666+nut (2.4.3-1ubuntu2) lucid; urgency=low
667+
668+ * debian/control: grr...fix ftbfs.
669+
670+ -- Chuck Short <zulcss@ubuntu.com> Mon, 22 Mar 2010 11:48:02 -0400
671+
672+nut (2.4.3-1ubuntu1) lucid; urgency=low
673+
674+ * Merge from debian testing. Remaining changes (LP: #535152):
675+ + debian/control:
676+ - Update maintainer as per spec.
677+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
678+ - Drop libpowerman0-dev from the Build-Depends (currently in universe)
679+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
680+ unconditonally to hanle the upgrade from hardy release.
681+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped for now.
682+ + debian/nut.links: must create the init script link, used if the upse needs to be powered down
683+ (LP: #357583)
684+ + debian/nut.postinst: Update udevadm trigger.
685+ + Dropped:
686+ - debian/patches/02-fix-trust-pw4130m.dpatch: No longer needed.
687+
688+ -- Chuck Short <zulcss@ubuntu.com> Tue, 16 Mar 2010 06:22:26 +0000
689+
690 nut (2.4.3-1) unstable; urgency=low
691
692 * New upstream release (Closes: #544390, #528222, #539747, #526811,
693@@ -606,6 +1185,57 @@ nut (2.4.3-1) unstable; urgency=low
694
695 -- Arnaud Quette <aquette@debian.org> Wed, 24 Feb 2010 22:58:53 +0100
696
697+nut (2.4.1-3.2ubuntu2) lucid; urgency=low
698+
699+ * debian/patches/02-fix-trust-pw4130m.dpatch: Fix issues with Trust
700+ PW-4130M UPS. (LP: #447586)
701+
702+ -- Chuck Short <zulcss@ubuntu.com> Thu, 04 Feb 2010 13:26:33 -0500
703+
704+nut (2.4.1-3.2ubuntu1) lucid; urgency=low
705+
706+ * Resynchronize with debian, remaining changes:
707+ + debian/control:
708+ - Update maintainer field as per spec.
709+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
710+ - Drop libpowerman0-dev from the Build-Depends (currently in universe).
711+ - Remove the nut-powerman-pdu package for now.
712+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
713+ unconditionally, to handle the upgrade from hardy release.
714+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped
715+ for now.
716+ + debian/nut.links: must create the init script link, used if the ups
717+ needs to be powered down. (LP: #357583)
718+ + debian/nut.init: Fix status_of_proc messages not to lie to the user (LP: #416182)
719+
720+ -- Chuck Short <zulcss@ubuntu.com> Fri, 18 Dec 2009 09:00:45 -0500
721+
722+nut (2.4.1-3.2) unstable; urgency=low
723+
724+ * Non-maintainer upload.
725+ * nut.postinst: fix post-processing of nut.conf to avoid overriding
726+ user settings (Closes: #531220)
727+
728+ -- Stefano Zacchiroli <zack@debian.org> Thu, 26 Nov 2009 09:30:45 +0100
729+
730+nut (2.4.1-3.1ubuntu1) lucid; urgency=low
731+
732+ * Merge from debian testing, remaining changes:
733+ + debian/control:
734+ - Update maintainer field as per spec.
735+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
736+ - Drop libpowerman0-dev from the Build-Depends (currently in universe)
737+ - remove the nut-powerman-pdu package for now
738+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
739+ unconditionally, to handle the upgrade from hardy release.
740+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped
741+ for now
742+ + debian/nut.links: must create the init script link, used if the ups
743+ needs to be powered down (LP: #357583)
744+ + debian/nut.init: Fix status_of_proc messages not to lie to the user (LP: #416182)
745+
746+ -- Chuck Short <zulcss@ubuntu.com> Fri, 06 Nov 2009 01:34:44 +0000
747+
748 nut (2.4.1-3.2) unstable; urgency=low
749
750 * Non-maintainer upload.
751@@ -626,6 +1256,30 @@ nut (2.4.1-3.1) unstable; urgency=low
752
753 -- Christian Perrier <bubulle@debian.org> Tue, 20 Oct 2009 21:45:21 +0200
754
755+nut (2.4.1-3ubuntu2) karmic; urgency=low
756+
757+ * debian/nut.init: Fix status_of_proc messages not to lie to
758+ the user. (LP: #416182)
759+
760+ -- Chuck Short <zulcss@ubuntu.com> Wed, 23 Sep 2009 09:37:16 -0400
761+
762+nut (2.4.1-3ubuntu1) karmic; urgency=low
763+
764+ * Merge from debian unstable, remaining changes:
765+ + debian/control:
766+ - Update maintainer field as per spec.
767+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
768+ - Drop libpowerman0-dev from the Build-Depends (currently in universe)
769+ - remove the nut-powerman-pdu package for now
770+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
771+ unconditionally, to handle the upgrade from hardy release.
772+ + debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped
773+ for now.
774+ + debian/nut.links: must create the init script link, used if the ups
775+ needs to be powered down (LP: #357583)
776+
777+ -- Chuck Short <zulcss@ubuntu.com> Thu, 28 May 2009 06:55:21 +0100
778+
779 nut (2.4.1-3) unstable; urgency=low
780
781 * Debconf templates and debian/control reviewed by the debian-l10n-
782@@ -644,6 +1298,52 @@ nut (2.4.1-3) unstable; urgency=low
783
784 -- Christian Perrier <bubulle@debian.org> Sat, 21 Mar 2009 08:08:59 +0100
785
786+nut (2.4.1-2ubuntu4) jaunty; urgency=low
787+
788+ * debian/nut.links: must create the init script link, used if the ups
789+ needs to be powered down, LP: #357583
790+
791+ -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 09 Apr 2009 14:01:54 -0700
792+
793+nut (2.4.1-2ubuntu3) jaunty; urgency=low
794+
795+ Fixes for LP: #348454
796+ * debian/control: add dpatch to Build-Depends,
797+ * debian/patches/*: back for the below fix
798+ * debian/patches/01_epdu_fix.dpatch: fix an upstream problem with Eaton PDUs
799+ vs untested PDUs from Raritan
800+ * debian/rules: reactivate again dpatch rules
801+
802+ -- Arnaud Quette <aquette@debian.org> Wed, 25 Mar 2009 13:17:21 +0100
803+
804+nut (2.4.1-2ubuntu2) jaunty; urgency=low
805+
806+ [ Arnaud Quette <aquette@debian.org> ]
807+ * Fix FTBFS
808+ * debian/control:
809+ - drop libpowerman0-dev from the Build-Depends (currently in universe)
810+ - remove the nut-powerman-pdu package for now
811+ * debian/nut-powerman-pdu.install, debian/nut-powerman-pdu.manpages: dropped
812+ for now
813+
814+ -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 05 Mar 2009 14:34:06 -0600
815+
816+nut (2.4.1-2ubuntu1) jaunty; urgency=low
817+
818+ * Acknowledge closed bugs in upstream and Debian: LP: #1568, LP: #221737,
819+ LP: #239025, LP: #278495, LP: #332030, LP: #332032
820+ * Merge from debian unstable, remaining changes:
821+ + debian/control:
822+ - Update maintainer field as per spec.
823+ - Add Breaks on nut-hal-drivers to ensure we have correct udev version.
824+ + debian/{nut-cgi,nut}.postinst: add nut to the dialout and nut groups
825+ unconditionally, to handle the upgrade from the hardy release (simply
826+ uncommented).
827+ + debian/rules: pre merge the changes for Ubuntu (udev path and version),
828+ (simply uncommented).
829+
830+ -- Arnaud Quette <aquette@debian.org> Fri, 27 Feb 2009 12:49:24 +0100
831+
832 nut (2.4.1-2) unstable; urgency=low
833
834 * debian/control:
835@@ -733,6 +1433,50 @@ nut (2.4.1-1) unstable; urgency=low
836
837 -- Arnaud Quette <aquette@debian.org> Tue, 17 Feb 2009 14:15:24 +0100
838
839+nut (2.2.2-10ubuntu3) jaunty; urgency=low
840+
841+ * debian/{nut-cgi,nut}.preinst: don't call adduser or addgroup *at
842+ all*, these operations should be handled in the postinst. Since
843+ this is the only custom action at all for nut-cgi, remove that
844+ preinst completely.
845+ * debian/{nut-cgi,nut}.postinst: add nut to the dialout
846+ and nut groups unconditionally, to handle the upgrade from the hardy
847+ release. LP: #222761, LP: #287781.
848+ * debian/control: nut needs Pre-Depends: debconf instead of Depends:,
849+ because we use debconf unconditionally in the preinst.
850+ * reinstate debian/nut-hal-drivers.postinst, which was lost in a
851+ merge; and fix it up to use udevadm trigger --action=change, the
852+ safe way to install udev rules.
853+ * have nut-hal-drivers Depend: on udev so it can use the above.
854+ * fix up nut postinst to also use 'udevadm trigger --action=change'
855+
856+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 30 Jan 2009 01:06:53 +0000
857+
858+nut (2.2.2-10ubuntu2) jaunty; urgency=low
859+
860+ * debian/rules: Install udev rules into /lib/udev/rules, bump versioned
861+ dependency on udev.
862+ * debian/nut.install, debian/nut-hal-drivers.install: Update path
863+ * debian/patches/04-ubuntu-udev-rules-name.dpatch: Use a dash to
864+ separate the name, not an underscore.
865+ * debian/nut.preinst, debian/nut-hal-drivers.preinst: Remove previous
866+ rules if unchanged, otherwise move to new filename.
867+ * debian/control: Add Breaks to ensure we have correct udev version.
868+
869+ -- Scott James Remnant <scott@ubuntu.com> Tue, 13 Jan 2009 02:50:14 +0000
870+
871+nut (2.2.2-10ubuntu1) jaunty; urgency=low
872+
873+ * Merge from debian unstable, remaining changes:
874+ + debian/control:
875+ - Update maintainer field as per spec.
876+ + debian/nut{-cgi,-hal-drivers}.preinst:
877+ - Add nut user to dialout group.
878+ + debian/nut.install
879+ - Install the configuration files in /etc/nut.
880+
881+ -- Chuck Short <zulcss@ubuntu.com> Fri, 28 Nov 2008 23:01:47 +0000
882+
883 nut (2.2.2-10) unstable; urgency=low
884
885 * Merge from Ubuntu (Morten Kjeldgaard):
886@@ -773,6 +1517,18 @@ nut (2.2.2-9) unstable; urgency=low
887
888 -- Arnaud Quette <aquette@debian.org> Wed, 15 Oct 2008 17:20:29 +0200
889
890+nut (2.2.2-8ubuntu1) jaunty; urgency=low
891+
892+ * Merge from debian unstable, remaining changes:
893+ + debian/control:
894+ - Update maintainer field as per spec.
895+ + debian/nut{-cgi,-hal-drivers}.preinst:
896+ - Add nut user to dialout group.
897+ + debian/rules:
898+ - Move the configuration files to /etc/nut from examples.
899+
900+ -- Chuck Short <zulcss@ubuntu.com> Wed, 05 Nov 2008 02:59:59 -0400
901+
902 nut (2.2.2-8) unstable; urgency=high
903
904 * debian/nut.links: restored since it's now handled by insserv (Closes:
905@@ -796,6 +1552,18 @@ nut (2.2.2-7) unstable; urgency=high
906
907 -- Arnaud Quette <aquette@debian.org> Mon, 15 Sep 2008 17:18:28 +0200
908
909+nut (2.2.2-6ubuntu1) intrepid; urgency=low
910+
911+ * Merge from debian unstable, remaining changes:
912+ + debian/control:
913+ - Update maintainer field as per spec.
914+ + debian/nut{-cgi,-hal-drivers}.preinst:
915+ - Add nut user to dialout group.
916+ + debian/rules:
917+ - Move the configuration files to /etc/nut from examples.
918+
919+ -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Jul 2008 00:54:42 +0100
920+
921 nut (2.2.2-6) unstable; urgency=low
922
923 * tag this bug as closed by the 2.2.2 release (Closes: #490048)
924@@ -839,6 +1607,18 @@ nut (2.2.2-4) unstabl e; urgency=low
925
926 -- Arnaud Quette <aquette@debian.org> Sat, 05 Jul 2008 22:56:35 +0200
927
928+nut (2.2.2-3ubuntu1) intrepid; urgency=low
929+
930+ * Merge from debian unstable, remaining changes:
931+ + debian/control:
932+ - Update maintainer field as per spec.
933+ + debian/nut{-cgi,-hal-drivers}.preinst:
934+ - Add nut to user to dialout group.
935+ + debian/rules:
936+ - Move the configuation files to /etc/nut from examples.
937+
938+ -- Chuck Short <zulcss@ubuntu.com> Tue, 01 Jul 2008 11:57:01 +0100
939+
940 nut (2.2.2-3) unstable; urgency=low
941
942 * debian/rules: reactivate dpatch support
943@@ -868,6 +1648,20 @@ nut (2.2.2-2) unstable; urgency=low
944
945 -- Arnaud Quette <aquette@debian.org> Fri, 20 Jun 2008 21:29:31 +0200
946
947+nut (2.2.2-1ubuntu1) intrepid; urgency=low
948+
949+ * Merge from debian unstable, remaining changes:
950+ + debian/control:
951+ - Update maintainer field as per spec.
952+ + debian/nut{-cgi,-hal-drivers}.preinst:
953+ - Add nut to user to dialout group.
954+ + debian/rules:
955+ - Move the configuration files to /etc/nut from examples
956+ + debian/patches/01_fix_megatec_regression.dpatch.
957+ - Dropped no longer since its fixed in this version.
958+
959+ -- Chuck Short <zulcss@ubuntu.com> Wed, 18 Jun 2008 11:30:10 -0500
960+
961 nut (2.2.2-1) unstable; urgency=low
962
963 * New upstream release (Closes: #471828, #462468, #334105, #463150)
964@@ -895,6 +1689,59 @@ nut (2.2.2-1) unstable; urgency=low
965
966 -- Arnaud Quette <aquette@debian.org> Wed, 04 Jun 2008 13:35:41 +0200
967
968+nut (2.2.1-2.1ubuntu7) hardy; urgency=low
969+
970+ * debian/patches/01_fix_megatec_regression.dpatch
971+ - Fix more megatec_usb driver regressions. (LP: #215389)
972+
973+ -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Apr 2008 14:25:48 -0400
974+
975+nut (2.2.1-2.1ubuntu6) hardy; urgency=low
976+
977+ * debian/patches/01_fix_megatec_regression.dpatch
978+ - Updated patch thanks to Alexander I. Gordeev <lasaine -at-
979+ lvk.cs.msu.su>. (LP: #209001)
980+
981+ -- Chuck Short <zulcss@ubuntu.com> Thu, 10 Apr 2008 09:33:53 -0400
982+
983+nut (2.2.1-2.1ubuntu5) hardy; urgency=low
984+
985+ * debian/patches/01_fix_megatec_regression.dpatch
986+ - Readded support for various USB devices. (LP: #209001)
987+
988+ -- Chuck Short <zulcss@ubuntu.com> Mon, 07 Apr 2008 08:46:46 -0400
989+
990+nut (2.2.1-2.1ubuntu4) hardy; urgency=low
991+
992+ * Use udevtrigger to restart udev. (LP: #204612)
993+
994+ -- Chuck Short <zulcss@ubuntu.com> Wed, 26 Mar 2008 13:30:24 -0400
995+
996+nut (2.2.1-2.1ubuntu3) hardy; urgency=low
997+
998+ * Fix FTBFS.
999+
1000+ -- Chuck Short <zulcss@ubuntu.com> Sat, 22 Mar 2008 10:00:06 -0400
1001+
1002+nut (2.2.1-2.1ubuntu2) hardy; urgency=low
1003+
1004+ * Fix udev rules. (LP: #204612).
1005+ * Cleaned up debian/control.
1006+
1007+ -- Chuck Short <zulcss@ubuntu.com> Fri, 21 Mar 2008 20:30:44 -0400
1008+
1009+nut (2.2.1-2.1ubuntu1) hardy; urgency=low
1010+
1011+ * Merge from debian unstable (LP: #203366), remaining Ubuntu changes:
1012+ + debian/rules:
1013+ - Move the configuration files to /etc/nut from examples.
1014+ + debian/nut{,-cgi,-hal-drivers}.preinst
1015+ - Add nut user to dialout group.
1016+ + debian/control:
1017+ - Updated Maintainer field as per spec.
1018+
1019+ -- Luca Falavigna <dktrkranz@ubuntu.com> Mon, 17 Mar 2008 23:59:38 +0100
1020+
1021 nut (2.2.1-2.1) unstable; urgency=low
1022
1023 * Non-maintainer upload.
1024@@ -902,6 +1749,14 @@ nut (2.2.1-2.1) unstable; urgency=low
1025
1026 -- Joe Nahmias <jello@debian.org> Sun, 09 Mar 2008 13:12:12 -0400
1027
1028+nut (2.2.1-2ubuntu1) hardy; urgency=low
1029+
1030+ * Move the configuration files to /etc/nut from examples. (LP: #85598)
1031+ * Add nut user to dialout group. (LP: #157079)
1032+ * Updated Maintainer according to specs.
1033+
1034+ -- Chuck Short <zulcss@ubuntu.com> Thu, 28 Feb 2008 10:10:24 -0500
1035+
1036 nut (2.2.1-2) unstable; urgency=low
1037
1038 * debian/po/de.po: update the German po-debconf translation (Closes:
1039@@ -1866,6 +2721,3 @@ nut (0.43.2-1) unstable; urgency=low
1040
1041 -- Luca Filipozzi <lfilipoz@emyr.net> Wed, 3 May 2000 20:50:30 -0700
1042
1043-Local variables:
1044-mode: debian-changelog
1045-End:
1046diff --git a/debian/control b/debian/control
1047index f6b838d..76c6294 100644
1048--- a/debian/control
1049+++ b/debian/control
1050@@ -1,7 +1,8 @@
1051 Source: nut
1052 Section: admin
1053 Priority: optional
1054-Maintainer: Arnaud Quette <aquette@debian.org>
1055+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1056+XSBC-Original-Maintainer: Arnaud Quette <aquette@debian.org>
1057 Uploaders: Laurent Bigonville <bigon@debian.org>
1058 Build-Depends: debhelper (>= 12),
1059 dh-python,
1060@@ -11,7 +12,6 @@ Build-Depends: debhelper (>= 12),
1061 libltdl-dev,
1062 libneon27-gnutls-dev | libneon27-dev,
1063 libnss3-dev,
1064- libpowerman0-dev (>= 2.3.3),
1065 libsnmp-dev | libsnmp9-dev,
1066 libusb-dev (>= 0.1.8),
1067 libwrap0-dev (>= 7.6),
1068@@ -137,22 +137,6 @@ Description: network UPS tools - XML/HTTP driver
1069 Eaton or MGE that use an XML/HTTP-based Network Management Card or
1070 Proxy.
1071
1072-Package: nut-powerman-pdu
1073-Architecture: any
1074-Depends: nut (>= 2.4.0),
1075- powerman (>= 2.3.3),
1076- ${misc:Depends},
1077- ${shlibs:Depends}
1078-Description: network UPS tools - PowerMan PDU driver
1079- Network UPS Tools (NUT) is a client/server monitoring system that
1080- allows computers to share uninterruptible power supply (UPS) and
1081- power distribution unit (PDU) hardware. Clients access the hardware
1082- through the server, and are notified whenever the power status
1083- changes.
1084- .
1085- This package provides powerman-pdu, which allows NUT clients to communicate
1086- with the PowerMan daemon to support PDUs.
1087-
1088 Package: nut-doc
1089 Architecture: all
1090 Section: doc
1091diff --git a/debian/libnutclient0.symbols b/debian/libnutclient0.symbols
1092index 6501d69..073133a 100644
1093--- a/debian/libnutclient0.symbols
1094+++ b/debian/libnutclient0.symbols
1095@@ -1,6 +1,7 @@
1096 # SymbolsHelper-Confirmed: 2.7.4-9~ amd64 armel armhf hppa i386 ia64 m68k mips mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64
1097 libnutclient.so.0 libnutclient0 #MINVER#
1098 * Build-Depends-Package: libnutclient-dev
1099+ (optional=templinst|arch=ppc64el)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE19_M_emplace_back_auxIJS5_EEEvDpOT_@Base 2.7.4
1100 (c++)"nut::Client::Client()@Base" 2.7.3
1101 (c++)"nut::Client::getDevice(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1102 (c++)"nut::Client::getDeviceVariableValues(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1103@@ -159,12 +160,12 @@ libnutclient.so.0 libnutclient0 #MINVER#
1104 (c++)"std::_Rb_tree<nut::Device, nut::Device, std::_Identity<nut::Device>, std::less<nut::Device>, std::allocator<nut::Device> >::_M_erase(std::_Rb_tree_node<nut::Device>*)@Base" 2.7.3
1105 (c++)"std::_Rb_tree<nut::Variable, nut::Variable, std::_Identity<nut::Variable>, std::less<nut::Variable>, std::allocator<nut::Variable> >::_M_erase(std::_Rb_tree_node<nut::Variable>*)@Base" 2.7.3
1106 (c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_erase(std::_Rb_tree_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >*)@Base" 2.7.3
1107- (c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1108+ (c++|arch=!ppc64el)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1109 (c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_erase(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >*)@Base" 2.7.3
1110 (c++|optional=templinst|arch=amd64 arm64 hppa ia64 m68k mips64el ppc64el riscv64 sh4 sparc64 x32)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.4
1111 (c++)"std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_insert_unique_pos(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1112 (c++|optional=templinst)"std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&)@Base" 2.7.4-9~
1113- (c++)"std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1114+ (c++|optional=templinst)"std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1115 (c++)"std::pair<std::_Rb_tree_iterator<nut::Variable>, bool> std::_Rb_tree<nut::Variable, nut::Variable, std::_Identity<nut::Variable>, std::less<nut::Variable>, std::allocator<nut::Variable> >::_M_insert_unique<nut::Variable>(nut::Variable&&)@Base" 2.7.3
1116 (c++)"std::pair<std::_Rb_tree_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, bool> std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_unique<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 2.7.3
1117 (c++)"std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::operator=(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)@Base" 2.7.3
1118diff --git a/debian/nut-cgi.postinst b/debian/nut-cgi.postinst
1119index bdb72a0..5d89f2b 100644
1120--- a/debian/nut-cgi.postinst
1121+++ b/debian/nut-cgi.postinst
1122@@ -17,6 +17,7 @@ case "$1" in
1123 # if ! groups nut | grep -qw dialout; then
1124 # adduser nut dialout
1125 # fi
1126+ adduser --quiet nut dialout
1127
1128 # Ensure /etc/nut is readable/crossable for others
1129 if [ -d /etc/nut/ ] ; then
1130diff --git a/debian/nut-client.install b/debian/nut-client.install
1131index 318c1e8..f11a362 100644
1132--- a/debian/nut-client.install
1133+++ b/debian/nut-client.install
1134@@ -18,6 +18,7 @@ debian/tmp/usr/share/augeas/lenses/nutupsmonconf.aug
1135 debian/tmp/usr/share/augeas/lenses/nutupsschedconf.aug
1136 debian/tmp/usr/share/augeas/lenses/nutupssetconf.aug
1137 debian/tmp/usr/share/augeas/lenses/tests/test_nut.aug
1138+debian/tmp/usr/share/apport/package-hooks/source_nut-client.py
1139 debian/tmp/usr/share/bash-completion/completions/nut
1140 debian/tmp/lib/systemd/system/nut-monitor.service
1141 debian/tmp/lib/systemd/system/nut-client.service
1142diff --git a/debian/nut-powerman-pdu.install b/debian/nut-powerman-pdu.install
1143deleted file mode 100644
1144index f0acaa4..0000000
1145--- a/debian/nut-powerman-pdu.install
1146+++ /dev/null
1147@@ -1 +0,0 @@
1148-debian/tmp/lib/nut/powerman-pdu
1149diff --git a/debian/nut-powerman-pdu.manpages b/debian/nut-powerman-pdu.manpages
1150deleted file mode 100644
1151index 43bbc81..0000000
1152--- a/debian/nut-powerman-pdu.manpages
1153+++ /dev/null
1154@@ -1 +0,0 @@
1155-debian/tmp/usr/share/man/man8/powerman-pdu.8
1156diff --git a/debian/nut-server.install b/debian/nut-server.install
1157index 25864f2..c1acec4 100644
1158--- a/debian/nut-server.install
1159+++ b/debian/nut-server.install
1160@@ -1,4 +1,5 @@
1161 debian/tmp/*/udev/rules.d/62-nut-usbups.rules
1162+debian/tmp/usr/share/apport/package-hooks/source_nut-server.py
1163 debian/tmp/etc/avahi/services/nut.service
1164 debian/tmp/etc/nut/ups.conf
1165 debian/tmp/etc/nut/upsd.conf
1166diff --git a/debian/nut-server.postinst b/debian/nut-server.postinst
1167index 41b1d08..81c4d09 100644
1168--- a/debian/nut-server.postinst
1169+++ b/debian/nut-server.postinst
1170@@ -30,6 +30,7 @@ case "$1" in
1171 # if ! groups nut | grep -qw dialout; then
1172 # adduser nut dialout
1173 # fi
1174+ adduser --quiet nut dialout
1175
1176 # make sure that conffiles are secured and have the correct ownerships
1177 # on first install
1178diff --git a/debian/nut.install b/debian/nut.install
1179new file mode 100644
1180index 0000000..281f143
1181--- /dev/null
1182+++ b/debian/nut.install
1183@@ -0,0 +1 @@
1184+debian/tmp/usr/share/apport/package-hooks/source_nut.py
1185diff --git a/debian/rules b/debian/rules
1186index 07ba4e3..f8482c1 100755
1187--- a/debian/rules
1188+++ b/debian/rules
1189@@ -93,6 +93,10 @@ override_dh_auto_install-arch:
1190 ln -s nut-monitor.service $(CURDIR)/debian/tmp/lib/systemd/system/nut-client.service
1191 ln -s /dev/null $(CURDIR)/debian/tmp/lib/systemd/system/ups-monitor.service
1192
1193+ # install apport hooks
1194+ install -D -m 644 debian/source_nut.py $(CURDIR)/debian/tmp/usr/share/apport/package-hooks/source_nut-server.py
1195+ install -D -m 644 debian/source_nut.py $(CURDIR)/debian/tmp/usr/share/apport/package-hooks/source_nut-client.py
1196+
1197 override_dh_auto_install-indep:
1198 #install documentation
1199 mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/pdf
1200@@ -105,6 +109,9 @@ override_dh_auto_install-indep:
1201 cp -a $${f} $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/html/$${nf}/; \
1202 done
1203
1204+ # install apport hooks
1205+ install -D -m 644 debian/source_nut.py $(CURDIR)/debian/tmp/usr/share/apport/package-hooks/source_nut.py
1206+
1207 override_dh_installinit:
1208 dh_installinit --error-handler=handle_start_failure
1209
1210diff --git a/debian/source_nut.py b/debian/source_nut.py
1211new file mode 100644
1212index 0000000..1dd5fd5
1213--- /dev/null
1214+++ b/debian/source_nut.py
1215@@ -0,0 +1,43 @@
1216+#!/usr/bin/python
1217+
1218+'''nut Apport interface
1219+
1220+Copyright (C) 2010 Canonical Ltd.
1221+Author: Chuck Short <chuck.short@canonical.com>
1222+
1223+This program is free software; you can redistribute it and/or modify it
1224+under the terms of the GNU General Public License as published by the
1225+Free Software Foundation; either version 2 of the License, or (at your
1226+option) any later version. See http://www.gnu.org/copyleft/gpl.html for
1227+the full text of the license.
1228+'''
1229+from apport.hookutils import *
1230+
1231+
1232+def add_info(report,ui):
1233+
1234+ response = ui.yesno("The contents of your nut configuration files may help developers diagnose your bug more quickly, however, it may contain sensitive information. Do you want to include it in your bug report?")
1235+
1236+ if response == None: #use cancelled
1237+ raise StropIteration
1238+
1239+ elif response == True:
1240+ attach_file(report, '/etc/nut/ups.conf', 'UpsConf')
1241+
1242+ elif response == False:
1243+ ui.information("The contents of your nut configuration files will NOT be included in the bug report")
1244+
1245+ report['USBDevices'] = command_output(['lsusb'])
1246+ packages = ['nut', 'nut-client','nut-server', 'nut-cgi', 'nut-snmp', 'nut-hal-drivers', 'nut-xml', 'libupsclient1',
1247+ 'libupsclient1-dev', 'python-nut', 'nut-monitor']
1248+ versions = ''
1249+ for package in packages:
1250+ try:
1251+ version = packaging.get_version(package)
1252+ except ValueError:
1253+ version = 'N/A'
1254+ if version is None:
1255+ version = 'N/A'
1256+ versions += '%s %s\n' %(package, version)
1257+ report['NutInstalledVersions'] = versions
1258+ report['KernelVersion'] = command_output(['uname', '-a'])
1259diff --git a/debian/tests/test-nut.py b/debian/tests/test-nut.py
1260old mode 100644
1261new mode 100755
1262index 068caeb..d010605
1263--- a/debian/tests/test-nut.py
1264+++ b/debian/tests/test-nut.py
1265@@ -22,13 +22,10 @@
1266 DO NOT RUN ON A PRODUCTION SERVER.
1267 *** IMPORTANT ***
1268
1269- How to run (up to natty):
1270- $ sudo apt-get -y install python-unit nut
1271+ How to run (xenial+):
1272+ $ sudo apt-get -y install nut-server nut-client python
1273 $ sudo ./test-nut.py -v
1274
1275- How to run (oneiric+):
1276- $ sudo apt-get -y install python-unit nut-server nut-client
1277- $ sudo ./test-nut.py -v
1278
1279 NOTE:
1280 - NUT architecture (helps understanding):
1281@@ -59,7 +56,7 @@
1282 http://www.networkupstools.org/nut-qa.html
1283 '''
1284
1285-# QRT-Packages: python-unit netcat-openbsd
1286+# QRT-Packages: netcat-openbsd python
1287 # QRT-Alternates: nut-server nut
1288 # QRT-Alternates: nut-client nut
1289 # nut-dev is needed for the dummy driver on hardy
1290@@ -393,6 +390,10 @@ dd if=/dev/urandom count=64 | nc -q 1 127.0.0.1 3493
1291 # still around, it is hung
1292 testlib.cmd(['killall', 'upsd'])
1293 pidfile = os.path.join(self.rundir, 'upsd.pid')
1294+ timeout = 50
1295+ while timeout > 0 and os.path.exists(pidfile):
1296+ time.sleep(0.1)
1297+ timeout -= 1
1298 self.assertFalse(os.path.exists(pidfile), "Found %s" % pidfile)
1299 self.assertFalse(testlib.check_pidfile('upsd', pidfile), 'upsd is hung')
1300 #subprocess.call(['bash'])

Subscribers

People subscribed via source and target branches