~ubuntu-branches/ubuntu/natty/powernap/natty-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
powernap (2.6) unreleased; urgency=low

  * debian/copyright: Update upstream authors and license years.
  * powernap/monitors/IOMonitor.py: If processes do not have a command line,
    search regex in the 'Name:' field of /proc/<PID>/status (LP: #735452)
  * actions/cpu_frequency: Fix saving/restoring of wrong governor (LP: #743682)
    Thanks to Mathieu Berard for the patch.
    - Additionally, save 'ondemand' as default when acpi-support and ondemand
      are run on boot to handle special case when running on battery.
  * debian/powernap.{preinst,postinst}: Add logic to handle the upgrade of
    the config file as format has changed. (LP: #744588)
    - install copy of config file in /usr/share/powernap to help with this.

 -- Andres Rodriguez <andreserl@ubuntu.com>  Mon, 28 Mar 2011 17:38:34 -0400

powernap (2.5-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * Add support to load confs from /etc/powernap/config.d. Added to leverage
    compatibility with other applications, such as Eucalytpus. (LP: #711587)

 -- Dustin Kirkland <kirkland@ubuntu.com>  Mon, 14 Mar 2011 17:37:16 -0500

powernap (2.4-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * Fix wall message timestamp (LP: #718242)
  * Add powerwake-now support. Sends signal to powernapd to wakeup
    powersave mode if the daemon is in powersave.
  * debian/powernap.upstart: Add pre-stop.
    - Issues 'powerwake-now' to wake up system if stopping while in powersave.
    - Add 'sleep 3' to wait for recover action to take place before actually
      stopping powernapd. Otherwise, it won't recover.
  * bin/powernapd: Set flags back to initial values if GRACE PERIOD completed.
    Ensures that flags have correct values if powerwake-now signal was received.

  [ Dustin Kirkland ]
  * sbin/powernapd: only display wall message if action is other than
    powersave

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 17 Feb 2011 07:36:20 -0600

powernap (2.3-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * config,sbin/powernapd,powernap/powernap.py: New option to decide if
    powernapd will WARN the user via a wall message. Default yes.
  * sbin/powernapd: Use a Timestamp when sending the wall message.
  * InputMonitor now only enables/disables keyboard and mouse monitoring.
    - powernap/monitors/InputMonitor.py: Match regex in /by-id for kbd.
    - powernap/powernap.py: Support only mouse/keyboard
    - config: Only add options for mouse/keyboard.
  * Enabled InputMonitors by default.
    - config: Enable.
    - powernap.py: Only try to initialize if "mouse" or "kbd" are connected
      by looking into /dev/input/by-id.
  * powernapd: Add SIGIO handler. Ignores failure caused when disconnecting
    a monitored USB InputDevice, that caused powernapd to stop running.

  [ Dustin Kirkland ]
  * man/powernap-action.8, man/powernap_calculator.1: fix lintian warnings,
    escpae hyphens
  * debian/control: update package descriptions

 -- Dustin Kirkland <kirkland@ubuntu.com>  Tue, 08 Feb 2011 23:10:40 -0600

powernap (2.2-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * actions:
    - cpu_smp_sched,eth_wol: Dropped. pm-utils provides its own verion.
    - cpu_frequency: Store default governor to reset it to default value.
  * debian/rules: run dh_installdeb *after* dh_pycentral.
  * Add lintian-overrides (LP: #706974)
  * sbin/powernap: Fix pm-powersave command path.

 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 28 Jan 2011 10:46:38 -0600

powernap (2.1-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * config:
    - Default ACTION to pm-powersave instead of best-effort.
    - Enable WoLMonitor and ConsoleMonitor by default
    - Disable ProcessMonitor by default.
    - Change powersave defaults to 0 instead of 4. Update related files.
  * powernap/monitors:
    - Rename RemoteMonitor to UDPMonitor.
    - Add WoLMonitor and support to run it.
    - Add ConsoleMonitor and support to run it.
  * powernap/powernap.py:
    - Improve config loading method for Monitors.
  * sbin/powernapd: Change approach of powernapd_loop.
    - GRACE period is time between ABSENT_SECONDS and
      (ABSENT_SECONDS - GRACE_SECONDS)
    - Only send a Wall message when on GRACE Period.
    - Enable Monitors to run at all times. Specifically when in PowerSave.
  * man/powernapd.8: Update to list available Monitors with description.
  * Update Copyright years/email in some of the files.

  [ Dustin Kirkland ]
  * config, powernap/monitors/TCPMonitor.py, powernap/powernap.py:
    - add a TCP Monitor
  * config, powernap/monitors/LoadMonitor.py, powernap/powernap.py:
    - add a system Load Monitor
  * debian/control: bump standards version
  * debian/rules: make sure powernapd starts on install, LP: #705959
  * config: update service restart method

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 27 Jan 2011 16:38:22 -0600

powernap (2.0-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * powernap/monitors: Re-work Monitors to integrate them with PowerNap.
  * powernap/powernap.py: Minor fixes to not crash when loading monitors.
  * sbin/powernapd: Integrate Monitors approach to work with Daemon.
  * Update copyright headers for some files
  * Update manpages and add one for powernap-action.
  * Update packaging:
    - debian/control: Add python related fileds.
    - debian/rules: Add dh_pycentral related rules.
  * Add new package to contain new modules and monitors:
    - debian/control: Add package powernap-common.
    - debian/powernap-common.install: Install new files (PowerNap class and
      Monitors); Move action scripts installation to this package.
  * sbin/powernapd: Improve WoL monitor to listen in eth* interfaces.
  * config: Update and cleanup.
  * sbin/powernapd,bin/powerwake: Fix generation of WoL Magic Packet.
    Apparently, more data than required was addeed. (LP: #705943)

 -- Dustin Kirkland <kirkland@ubuntu.com>  Sat, 22 Jan 2011 09:09:04 -0600

powernap (1.12-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * Revert Adam changes to some files (rev148 - Original PowerNap behavior)
    - powernapd, powernapd.8, action, config.
  * Re-organize the source and update the packaging:
    - sbin: Moved powernap, powernapd, powernapd-now.
    - bin: Moved powerwake, powernap_calculator.
    - man: Moved manpages here.
    - debian/{powernap,powerwake}.install: Update accordingly.
    - debian/{powernap,powerwake}.manpages: Update accordingly.
    - powernap/monitors: Moved Adam's Monitors.
  * Add new powersave method, using pm-powersave:
    - actions/: Add a set of scripts to reduce power consumption
    - powernap-action: Add tool to enable/disable and list powersave actions.
    - debian/powernap.install: Install new files.
  * Provide ability to select a PowerNap method to perform.
    - config: Add config variable to select method.
    - powernap/{powernap,powernapd}: Make necessary changes.
  * Add WoL monitor to 'wake up' for when 'pm-powersave' action is taken.
    - sbin/powernapd: Add WoL Monitor.
    - sbin/powerna: Take pm-powersave action correctly.
  * Add class to handle config:
    - powernap/powernap.py: Add class that handles config and initialization
      of different monitors

 -- Dustin Kirkland <kirkland@ubuntu.com>  Tue, 11 Jan 2011 12:59:13 -0600

powernap (1.11-0ubuntu1) natty; urgency=low

  [ Adam Sutton ]
  * reworked config file and config file parsing
  * modularized the monitoring to a set of logical plugins
  * added a monitor on a UDP port for staying awake

  [ Nobuto MURATA ]
  * powerwake_completion: add bash completion from $HOME/.cache/ethers,
    LP: #675445
  * debian/powernap.upstart: fix LP: #598241 cannot enable Wake-on-LAN
    when ifconfig output is translated

  [ Dustin Kirkland ]
  * powerwake: test if home dir is writable (might not be, eg: www-data)

 -- Dustin Kirkland <kirkland@ubuntu.com>  Wed, 17 Nov 2010 17:15:25 -0600

powernap (1.10-0ubuntu1) maverick; urgency=low

  [ Nobuto MURATA ]
  * debian/powerwake.install, powerwake_completion: add bash completion
    for powerwake, LP: #551073

  [ Dustin Kirkland ]
  * powerwake: create the ~/.cache/ethers file, if it does not already
    exist, LP: #582381

 -- Dustin Kirkland <kirkland@ubuntu.com>  Tue, 18 May 2010 12:33:32 -0500

powernap (1.9-0ubuntu1) lucid; urgency=low

  * debian/powernap.upstart: fix LP: #531950
    - fix ethtool regex
    - allow for admin customized ethtool script, when powernap's
      is incorrect or undesired

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 04 Mar 2010 11:04:49 -0600

powernap (1.8-0ubuntu1) lucid; urgency=low

  * powerwake:
    - test ethers file for writability, LP: #458163
    - since non-priv users cannot write to globally cached ethers, support
      local user eth caches
  * powernap-now, debian/install:
    - add a powernap-now utility, for sending the 'now'
    signal to the daemon
  * debian/powernap.manpages, powernap-now.8:
    - add powernap-now manpages
  * debian/powernap.init, debian/powernap.upstart, debian/rules:
    - upstart-ify powernap

 -- Dustin Kirkland <kirkland@ubuntu.com>  Sat, 06 Feb 2010 22:34:34 -0600

powernap (1.7-0ubuntu1) karmic; urgency=low

  * debian/powernap.init: enable WoL at boot on interface(s) that support
    wake-on-lan, to ensure that a powernapping system can be awoken
    later, LP: #445950

 -- Dustin Kirkland <kirkland@ubuntu.com>  Wed, 19 Aug 2009 00:19:13 -0500

powernap (1.6-0ubuntu1) karmic; urgency=low

  [ Dan Nurmi ]
  * powerwake: add support for a broadcast argument, add getopt support

  [ Dustin Kirkland ]
  * powerwake.1: updated to handle Dan's extensions and new arguments
  * powernap_calculator, powernap_calculator.1: new script to help determine
    the expected power savings usings powernap in a cloud environment;
    manpage documentation added
  * debian/powernap.logrotate: rotate the powernap log
  * powernapd: overhaul powernap's logging using python's built-in logging
    functionality
  * debian/control: bump standards version

 -- Dustin Kirkland <kirkland@ubuntu.com>  Tue, 18 Aug 2009 19:12:43 -0500

powernap (1.5-0ubuntu1) karmic; urgency=low

  * powerwake: handle more gracefully the lack of an /etc/ethers file
  * powernapd: fix timestamp

 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 10 Jul 2009 17:37:54 -0500

powernap (1.4-0ubuntu1) karmic; urgency=low

  * powerwake: maintain and use a cache of mac addresses, in
    /var/cache/powerwake/ethers; test is_mac() before adding to arp hash
  * debian/powerwake.dirs, debian/powerwake.install,
    debian/powerwake.postinst, debian/control: add a separate powerwake
    package
  * debian/manpages, debian/powerwake.manpages: added manpage debhelper
    files
  * debian/control: recommend ethtool, which might be necessary to enable
    wake-on-lan on your ethernet card, powernap depends on pm-utils
  * powernap -> powernapd, debian/init, debian/install: rename the python
    powernap daemon 'powernapd'
  * powernap.1 -> powernapd.8: renamed, note ethtool
  * powernap: new script that will either take a specified action, or
    run one of (pm-suspend, pm-hibernate, poweroff)
  * powernap.8: document new script
  * action: conffile describing what should go there
  * debian/init: drop stdout on 'now' status check
  * debian/*: use powernap.* and powerwake.* to remove any ambiguity
  * powernapd: look for activity on /dev/* consoles and in /proc/interrupts
    during the grace period, such that any activity will cancel the
    powernap operation
  * powerwake, powerwake.1: update to allow for static configuration
    override in /etc/ethers

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 09 Jul 2009 17:28:44 -0500

powernap (1.3-0ubuntu1) karmic; urgency=low

  * config: add default value statement to each item; add sane defaults;
    add grace period section
  * powernap: add a system-wide warning message using 'wall', and a grace
    seconds interval to cancel the operation of 60 seconds (by default);
    move to using global variables for options defined in the config file
  * debian/control: depend on bsdutils for 'wall' utility

 -- Dustin Kirkland <kirkland@ubuntu.com>  Mon, 29 Jun 2009 14:49:55 -0700

powernap (1.2-0ubuntu1) karmic; urgency=low

  * config, debian/control, powernap.1, powernap.py: lower the default
    polling period from 10 seconds to 1 second; polling /proc is cheap,
    and empirical testing has shown a negligible performance impact;
    add a note about DEBUG
  * powernap.py -> powernap:
    - abstract take_action() to a function, add a handler for --now
    - daemonize within the python script
    - eliminate the shell wrapper
    - log to /var/log/powernap.*
    - add signal handling for "now", USR1
  * powernap.1: add log files
  * debian/init: add 'now' action and signal passing
  * powerwake: initial cut at powerwake utility
  * powerwake.1: initial cut at powerwake documentation

 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 26 Jun 2009 17:23:22 -0500

powernap (1.1-0ubuntu1) karmic; urgency=low

  * debian/copyright: updated for Ubuntu inclusion

 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 12 Jun 2009 12:53:54 -0500

powernap (1.0-0ubuntu1) karmic; urgency=low

  [ Initial release ]
  * powernap: shell wrapper script
  * powernap.py: python daemon
  * config: global configuration file
  * powernap.1: manpage documentation

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 11 Jun 2009 17:30:16 -0500