Skip to content

Changelog apmd (3.2.2-15build1)

2018

apmd (3.2.2-15build1) bionic; urgency=high

   * No change rebuild to pick up -fPIE compiler default

2014

apmd (3.2.2-15) unstable; urgency=medium

   [ Helmut Grohne ]
   * libtool is now in package libtool-bin. Adapt Build-Depends.
     Closes: #761731.
 
   [ Anibal Monsalve Salazar ]
   * Standards-Version is 3.9.6.
   * Source format set to 3.0 (quilt).
   * debhelper compatibility is 9.
   * Fix debian-rules-missing-recommended-target build-indep.
   * Fix hardening-no-relro.

2009

apmd (3.2.2-14) unstable; urgency=low

   * Fix package descripton
     Closes: 525732
   * Fix MODPROBE_OPTIONS
     Closes: 537397
   * Fix out-of-date-standards-version
   * Fix copyright-refers-to-symlink-license

apmd (3.2.2-13) unstable; urgency=low

   * Merge from Ubuntu
     - Relocate init script to start at S10 and stop at S21 to match
       acpid, to which it's functionally equivalent.
     - debian/hwclock: Remove, the kernel saves and restores the system
       clock across a suspend/resume cycle.
     - debian/rules: Do not install
     - debian/apmd.preinst: Remove on upgrade
     - debian/apmd.postinst: Remove obsolete copy, and remove symlinks
     - debian/apmd.postrm: Restore if upgrade fails
   * Standards-Version is 3.8.1
   * debhelper compatibility is 7
   * Run dh_prep instead of dh_clean -k
   * libapm-dev depends on ${misc:Depends}

apmd (3.2.2-12ubuntu3) jaunty; urgency=low

   * Relocate init script to start at S10 and stop at S21 to match acpid, to
     which it's functionally equivalent.

apmd (3.2.2-12ubuntu2) jaunty; urgency=low

   * debian/hwclock: Remove, the kernel saves and restores the system clock
     across a suspend/resume cycle.
   * debian/rules: Do not install
   * debian/apmd.preinst: Remove on upgrade
   * debian/apmd.postinst: Remove obsolete copy, and remove symlinks
   * debian/apmd.postrm: Restore if upgrade fails

2008

apmd (3.2.2-12ubuntu1) jaunty; urgency=low

   * Merge from Debian unstable, remaining changes:
     - update dh_installinit
   * update according to 'update-rc.d "multiuser" is deprecated'

apmd (3.2.2-12) unstable; urgency=low

   * Define _APM_H in apm.h; closes: #434040
     patch by Larry Doolittle

apmd (3.2.2-11) unstable; urgency=low

   * apmd: don't depend on sysv-rc; closes: #475432
   * libapm1: don't depend on powermgmt-base; closes: #413188
   * Add homepage control header; closes: #471884
   * Ignore "Standing by now" messages by logcheck; closes: #388576
     Patch by Mark Wardle
   * Update debian/copyright
   * Standards-Version is 3.8.0

apmd (3.2.2-10ubuntu1) intrepid; urgency=low

   * Merge with Debian; remaining changes:
     - Call dh_installinit with `multiuser'.

apmd (3.2.2-10) unstable; urgency=low

   * update-rc.d does not accept the multiuser command line argument.
     Closes: #474653

apmd (3.2.2-9) unstable; urgency=low

   * NMU acknowledgement. Closes: #388819, #405519, #405861
   * Merge with Ubuntu. Closes: #406316
   * Upstream homepage is not available
   * Fixed the following lintian issues:
     - apmd source: debian-rules-ignores-make-clean-error line 35
     - apmd source: substvar-source-version-is-deprecated libapm-dev
     - apmd source: out-of-date-standards-version 3.7.2 (current is 3.7.3)
     - xapm: maintainer-script-empty postinst
     - xapm: maintainer-script-empty preinst
     - xapm: maintainer-script-empty postrm
     - xapm: maintainer-script-empty prerm
     - libapm1: maintainer-script-empty preinst
     - libapm1: maintainer-script-empty prerm
     - libapm-dev: maintainer-script-empty postinst
     - libapm-dev: maintainer-script-empty preinst
     - libapm-dev: maintainer-script-empty postrm
     - libapm-dev: maintainer-script-empty prerm

2007

apmd (3.2.2-8.1ubuntu1) gutsy; urgency=low

   * Merge with Debian; remaining changes:
     - Remove stop links from rc0 and rc6.

apmd (3.2.2-8.1) unstable; urgency=low

   * Non-maintainer upload to fix pending l10n and debconf issues.
   * Remove the now compeltely useless debconf note which deals with upgrade
     from pre-sarge versions. Closes: #388819
   * This also makes translations pointless. Closes: #405519, #405861

apmd (3.2.2-8ubuntu2) feisty; urgency=low

   * Rebuild for changes in the amd64 toolchain.
   * Set Ubuntu maintainer address.

2006

apmd (3.2.2-8ubuntu1) feisty; urgency=low

   * Merge from Debian unstable, remaining changes:
     - remove stop links from rc0 and rc6

apmd (3.2.2-8) unstable; urgency=low

   * Removed the debconf templates apmd/overwrite-config-file and
     apmd/suspend-on-ac from its templates file. Closes: #376052.
   * Fixed bug present when apm_read() returns with the
     APM_32_BIT_SUPPORT flag unset. Closes: #222635.
     Patch by Thomas Hood <jdthood@yahoo.co.uk>.
   * Fixed half broken build-depends; removed libxaw-dev which cannot
     be satisfied.

apmd (3.2.2-7ubuntu3) edgy; urgency=low

   * Add forgotten versioned-dependency on sysv-rc to get new update-rc.d
     behaviour.  Go me.

apmd (3.2.2-7ubuntu2) edgy; urgency=low

   * Correct call to dh_installinit.

apmd (3.2.2-7ubuntu1) edgy; urgency=low

   * Remove stop links from rc0 and rc6

apmd (3.2.2-7) unstable; urgency=low

   * Synchronise with Ubuntu.
     - Added versioned depend on lsb-base
     - debian/apmd.init: pretty initscript

apmd (3.2.2-6ubuntu1) edgy; urgency=low

   * Merge from Debian unstable.

apmd (3.2.2-6) unstable; urgency=low

   * Set Standards-Version to 3.7.2.
   * Set debian/compat to 5.
   * Fixed "mention user probably wants newer scheme",
     closes: #321868.
   * New Italian debconf translation, closes: #360347.
     Patch by Luca Monducci <luca.mo@tiscali.it>.
   * Fixed maintainer-script-calls-init-script-directly.
   * Fixed "purging fails", closes: #351329.

apmd (3.2.2-5) unstable; urgency=low

   * New maintainer, closes: #348468.
   * Remove /etc/apm/suspend.d/99hwclock and /etc/apm/resume.d/00hwclock
     symlinks on purge. Patch by Colin Watson <cjwatson@ubuntu.com>.
   * Fix X header locations patch by LaMont Jones <lamont@ubuntu.com>.

apmd (3.2.2-4) unstable; urgency=low

   * Add "| debconf-2.0" to dependencies of apmd.
     (closes: Bug#331742)
   * Don't rename config files in preinst.
     (closes: Bug#313341)
   * New translations.
     (closes: Bug#313054, Bug#333069, Bug#341557)
   * Bump standards-version (no changes).
   * Update FSF address.

2005

apmd (3.2.2-3ubuntu2) breezy; urgency=low

   * fix X header locations

apmd (3.2.2-3ubuntu1) breezy; urgency=low

   * Resynchronise with Debian.

apmd (3.2.2-3) unstable; urgency=low

   * Remove hwclock symlinks from /etc/apm/.  (closes: Bug#297498)
   * New it translation.  (closes: Bug#279178)
   * New cs translation.  (closes: Bug#291574)
   * Change dependency from "xlibs-dev" to "libx11-dev".

apmd (3.2.2-2ubuntu5) hoary; urgency=low

   * Remove /etc/apm/suspend.d/99hwclock and /etc/apm/resume.d/00hwclock
     symlinks on purge.

apmd (3.2.2-2ubuntu4) hoary; urgency=low

   * use -Q argument to modprobe to be weally, weally quiet (Ubuntu: #5851)

2004

apmd (3.2.2-2ubuntu3) hoary; urgency=low

   * Load the apm module in init script.

apmd (3.2.2-2ubuntu2) warty; urgency=low

   * Added versioned depend on lsb-base

apmd (3.2.2-2ubuntu1) warty; urgency=low

   * debian/apmd.init: pretty initscript

apmd (3.2.2-2) unstable; urgency=low

   * New German translation.  (closes: Bug#250292)
   * New Turkish translation.  (closes: Bug#252935)

apmd (3.2.2-1) unstable; urgency=low

   * New upstream version incorporates all changes (outside of "debian"
     directory) as of 3.2.1-4.
   * debian/rules: Remove trailing slash from PROXY_DIR.
   * debian/control: Remove "Recent".  (closes: Bug#239698)
   * Simplify logcheck rules.  (closes: Bug#234710)
   * New Dutch translation.  (closes: Bug#243327)
   * Change implementation of --proxy-timout as suggested by Blaise
     Gassend.  (closes: Bug#244267)

apmd (3.2.1-4) unstable; urgency=high

   * No changes.  Resubmit to get buildd's to rebuild, since last version
     failed to build on some arches due to phase problem with xfree86.

apmd (3.2.1-3) unstable; urgency=high

   * Urgency high because last two versions were kept out of testing
     because buildd's (m68k and hppa) never tried to build them, and no one
     bothered to answer when I asked for help.  Feh.
   * Danish debconf translation.  (Claus Hindsgaul)  (closes: Bug#233101)
   * Update Peter Englmaier's e-mail address.  (closes: Bug#232443)

apmd (3.2.1-2) unstable; urgency=low

   * Eliminate use of GCC extension for variadic macros.
     (closes: Bug#230228)
   * Fix problem with negative hour in apmsleep.  (closes: Bug#230917)

apmd (3.2.1-1) unstable; urgency=low

   * Thomas Hood <jdthood@yahoo.co.uk>:
 
     - New upstream
       - apm.1: Add reference to apmd(8) for description of APM states.
         (closes: Bug#207653)
     - Rename "debian/00hwclock" to "debian/hwclock".
     - Update "README.Debian".
     - Update and correct "debian/copyright".
     - debian/rules:
       - Bump libapm.1 shlibs dependency up to ">= 3.2.0-7".
       - Rename "00hwclock" to "hwclock".
       - Eliminate apmsleep.fr.1 linking/unlinking.
       - Install documentation as renamed.
 
   * Chris Hanson <cph@debian.org>:
 
     - Update pt_BR debconf translation.  (closes: Bug#227352)

2003

apmd (3.2.0-8) unstable; urgency=low

   * Fix problem with code that creates symlinks for apm script.
   * Standards version 3.6.1 (no changes).

apmd (3.2.0-7) unstable; urgency=low

   * Add ja translation.  (closes: Bug#209348)
   * Use new-style apmd scripts for hwclock.
   * Run "suspend.d" scripts for standby events too.  Run "resume.d"
     scripts for any resume event, not just resume from suspend.
   * Add note to apmd_proxy explaining that "suspend critical" events are
     never seen by apmd.
   * Change ordering of script execution so that "event.d" scripts are run
     before "suspend.d" scripts, but after "resume.d" scripts.
   * Changes from Thomas Hood: (closes: Bug#210839)
     - apmlib.c, apm.c, apmsleep.c:
       - Use open() instead of apm_open()
       - Open /dev/apm_bios O_WRONLY instead of O_RDWR
     - apmd.c:
       - Use open() instead of apm_open()
         Do this even though apmd opens /dev/apm_bios O_RDWR because
         the apm_open() function violates a "must" in Debian policy 10.6
         when it does a mknod if /dev/apm_bios does not exist.

apmd (3.2.0-6) unstable; urgency=low

   * In apmsleep, don't include <linux/mc146818rtc.h>; it drags in a lot of
     kernel-dependent stuff.  Instead include <linux/rtc.h> which is simple
     and harmless.  (closes: Bug#205343, Bug#207592)
   * Use dh_installlogcheck.  (closes: Bug#206854)
   * Use po_debconf for translations.  (closes: Bug#205779)
   * Add fr translation.  (closes: Bug#206437)

apmd (3.2.0-5) unstable; urgency=low

   * Eliminate dependence on 2.2 kernel headers.  (closes: Bug#205221)

apmd (3.2.0-4) unstable; urgency=low

   * Patch /etc/init.d/apmd so that it returns non-zero exit code when
     necessary.  (closes: Bug#188636)
   * Update standards version to 3.6.0 (no changes).
   * Fix libtool warnings in Makefile.

apmd (3.2.0-3) unstable; urgency=low

   * Update wording in apmd_proxy and apmd_proxy.conf as suggested by
     Thomas Hood.  (closes: Bug#183482)
   * Update standards version to 3.5.9: in restart, don't make start
     dependent on successful stop, as per policy.
   * Change section of libapm-dev to libdevel.

apmd (3.2.0-2) unstable; urgency=low

   * Update logcheck support to match "suspending now" message.
   * In apmsleep.c, change type of variable c in main() to int.  This was
     incorrectly declared as char.  (closes: Bug#181230)
   * Add note to README.Debian making it explicitly OK for other packages
     to add files to "/etc/apm".
   * Add note to "apmd_proxy.conf" that SUSPEND_ON_AC doesn't work, as
     suggested by Thomas Hood.
   * Tweak sources to eliminate GCC 3.2 warnings.

apmd (3.2.0-1) unstable; urgency=low

   * New upstream release.
   * Large cleanup from Thomas Hood.
   * Fix reference to apmd_proxy in apmd(8).  (closes: Bug#175451)
   * Fix bug in apmsleep.  (closes: Bug#176674)
   * Depend on debconf (>= 1.2.9).

2002

apmd (3.1.0-7) unstable; urgency=low

   * Instant replay, this time with changes saved to CVS:
   * Thomas Hood's fixes to reporting of low-battery events.
     (closes: Bug#169075)
   * Bump to standards version 3.5.8.  (No changes.)

apmd (3.1.0-6) unstable; urgency=low

   * Fix typo in debian/rules.  (closes: Bug#169076)
   * Thomas Hood's fixes to reporting of low-battery events.
     (closes: Bug#169075)
   * Bump to standards version 3.5.8.  (No changes.)

apmd (3.1.0-5) unstable; urgency=low

   * Don't needlessly inform about moved config files.
     (closes: Bug#168734)

apmd (3.1.0-4) unstable; urgency=low

   * Add "--proxy-timeout 30" to default apmd options.
     (closes: Bug#168446)

apmd (3.1.0-3) unstable; urgency=low

   * Add logcheck rule to ignore "Battery: absent" messages.
     (closes: Bug#168169)
   * Fix typo in apmd(8) man page.  (closes: Bug#168167)

apmd (3.1.0-2) unstable; urgency=low

   * Add support for logcheck.

apmd (3.1.0-1) unstable; urgency=low

   * New upstream version.  Thanks to Thomas Hood for doing all the fixes
     on this version, and of course for all the work he's been doing on
     this package for the last year.
   * Work around problem with broken BIOS reporting LOW BATTERY at 70%
     full.  (closes: Bug#160520)
   * Move APMD shell variable binding to /etc/default/apmd.
     (closes: Bug#162904)
   * Rename source control files for apmd package to have "apmd." prefix.

apmd (3.0.2-6) unstable; urgency=low

   * Fix typo in apmd(8) man page.  (closes: Bug#158304)
   * Fix typo: missing T option in call to getopt_long().
     (closes: Bug#162176)
   * Update to standards-version 3.5.7 (add support for noopt in
     DEB_BUILD_OPTIONS).

apmd (3.0.2-5) unstable; urgency=low

   * Add explicit statement about status of "-i" and "-n" options in the
     apm(1) man page.  (closes: Bug#156440)

apmd (3.0.2-4) unstable; urgency=low

   * Use ${misc:Depends} in debian/control.

apmd (3.0.2-3) unstable; urgency=low

   * build-depends debhelper (>= 4.0.0).
   * Use debian/compat rather than DH_COMPAT.

apmd (3.0.2-2) unstable; urgency=low

   * Add Spanish debconf template.  (closes: Bug#147358)
   * Use DH_COMPAT=4.

apmd (3.0.2-1.21) unstable; urgency=low

   * New maintainer; no other changes.

apmd (3.0.2-1.20) unstable; urgency=low

   * NMU with permission of maintainer.
   * Apply patch to xapm from Jork Loeser to implement "-percentauto"
     option.  This feature causes xapm to show time remaining while on
     battery power, and battery percentage while on AC.
     (closes: Bug#142996)

apmd (3.0.2-1.19) unstable; urgency=medium

   * NMU with permission of maintainer.
   * In apmd.postinst, move source of confmodule closer to start of script.
   * Fix grammatical error in xapm package description.
     (closes: Bug#140807)
   * Add pt_BR translation to debian/templates.  (closes: Bug#141532)
   * Disable rejection of AC suspend events, since the kernel and apmlib
     don't yet support this.  (closes: Bug#141038)

apmd (3.0.2-1.18) unstable; urgency=low

   * NMU with permission of maintainer.
   * Remove on_ac_power, apm_exists, and /etc/modutils/apmd from apmd, and
     introduce dependency on new powermgmt-base package that now provides
     them.
   * Make libapm1 depend on powermgmt-base also, since calls to that
     library potentially need the modutils support.
   * Change apm_exists() to autoload APM module if needed, and remove the
     corresponding hack from apmd.

apmd (3.0.2-1.17) unstable; urgency=low

   * NMU with permission of maintainer.
   * Remove conflict with acpid.  (closes: Bug#137402)

apmd (3.0.2-1.16) unstable; urgency=low

   * NMU with permission of maintainer.
   * Rewrite introductory paragraph in "apmd_proxy.conf".  This should have
     been done in -1.10, but was overlooked.  (closes: Bug#136552)
   * From Thomas Hood: add a couple of tweaks to apmd(8) man page.
   * Move on_ac_power back to /usr/bin and restore its man page.
     Add "Conflicts: acpid" as a way to avoid extending on_ac_power to deal
     with ACPI; if that's desired the acpid package should provide its own
     version of on_ac_power.
   * Move "/etc/apm/event.d/20hdparm" from the apmd package to the hdparm
     package.  (closes: Bug#134103)

apmd (3.0.2-1.15) unstable; urgency=low

   * NMU with permission of maintainer.
   * Make libapm-dev depend on libapm1.  (closes: Bug#136143)

apmd (3.0.2-1.14) unstable; urgency=medium

   * NMU with permission of maintainer.
   * Rewrite by Thomas Hood to simplify logic of apmd.

apmd (3.0.2-1.13) unstable; urgency=medium

   * NMU with permission of maintainer.
   * Add "Conflicts:" dependencies to xapm, apmlib1, and apmlib-dev
     packages so that they will force update or elimination of older
     versions of apmd.  (closes: Bug#135539, Bug#135891)
   * Add minimum version dependency to libapm1 to reflect that the
     apm.h file whas changed.

apmd (3.0.2-1.12) unstable; urgency=low

   * NMU with permission of maintainer.
   * Remove explicit PATH from "/etc/apm/event.d/20hdparm"; we must inherit
     the path from apmd_proxy so that on_ac_power is found.
     (closes: Bug#135879)

apmd (3.0.2-1.11) unstable; urgency=medium

   * NMU with permission of maintainer.
   * Change priority to optional, since other optional packages depend on
     libapm1.  (closes: Bug#135578)
   * Add build-depends on libtool.  (closes: Bug#135394, Bug#135642)
   * Add patches from Thomas Hood to fix problems with badly-formed battery
     status log messages, and to make all of the log messages clearer and
     more self-consistent.  These patches additionally clean up the program
     logic used to track charging states.  (closes: Bug#59961, Bug#134877)
   * Move on_ac_power to /usr/lib/apmd and remove its man page.
     (closes: Bug#101773)
   * In init.d script, do nothing if kernel has no APM support.  (This is
     done by introducing a new program /usr/lib/apmd/apm_exists.)
     Additionally, don't ever return non-zero exit code from start command;
     this causes install/upgrade to fail.  (closes: Bug#135601, Bug#135665)

apmd (3.0.2-1.10) unstable; urgency=low

   * NMU with permission of maintainer.
   * Remove entries in "debian/conffiles"; they're not needed in debconf V3
     compatibility mode.  (closes: Bug#134783)
   * Remove "Suggests: util-linux"; it's an essential package.
   * Change debconf interface to explicitly ask for permission to overwrite
     configuration files, rather than trying to guess.
   * Use debhelper to manage init script.
   * Stop daemon on reconfigure; it is started afterwards in the postinst.
     If we don't do this, an error message is generated in the postinst.

apmd (3.0.2-1.9) unstable; urgency=low

   * NMU with permission of maintainer.
   * Build libapm as shared library, and create new package libapm1 to hold
     this library.  (closes: Bug#100027)

apmd (3.0.2-1.8) unstable; urgency=low

   * NMU with permission of maintainer.
   * Change section of xapm to x11 and libapm-dev to devel.  I should have
     gotten this right the first time.

apmd (3.0.2-1.7) unstable; urgency=low

   * NMU with permission of maintainer.
   * Fix a minor bug in apmd_proxy timeout logic from previous version.

apmd (3.0.2-1.6) unstable; urgency=low

   * NMU with permission of maintainer.
   * Change "/etc/init.d/apmd" to return a non-zero result code when an
     error occurs.
   * Add code to kill apmd_proxy if it runs for too long.  Add command-line
     option to apmd to set the timeout value.  (closes: Bug#124368)
   * Add code to xapm to handle WM_DELETE_WINDOW cleanly.
     (closes: Bug#82800)
   * Split xapm into its own package.  (closes: Bug#35675, Bug#78337)
   * Split libapm into its own package.  Partially addresses Bug#100027,
     but since it's still not shared, I'm leaving the bug open.

apmd (3.0.2-1.5) unstable; urgency=low

   * NMU with permission of maintainer.
   * Fix problem with French translation of apmsleep(1) manpage.  It was
     being installed in one place by "make install" and in another by
     "dh_installmanpages".  Neither was the correct place, because the file
     name in the source was wrong.  This is kludged around in the
     debian/rules file.  (closes: Bug#121329)
   * Provide event arguments to all scripts.  (closes: Bug#133994)
   * If kernel driver rejects subsequently rejects a suspend event, run the
     proxy script with a resume event to clean up.  (closes: Bug#125612)
   * Problem with color-bar options appears to have been fixed long ago by
     recompilation with newer version of X libs.  (closes: Bug#85449)
   * Change "apmd_call_proxy" debug log message to show both arguments to
     the proxy.

apmd (3.0.2-1.4) unstable; urgency=medium

   * NMU with permission of maintainer.  Nearly all of these bug fixes were
     submitted by others; see the individual bug reports for details.
   * Close bugs fixed in 3.0.2-1.3.  (closes: Bug#132911, Bug#132960,
     Bug#133034)
   * Change build-depends to use "libxaw7-dev | libxaw-dev" rather than
     just "libxaw-dev".  (closes: Bug#131388)
   * Add "Suggests: util-linux".  (closes: Bug#121769)
   * Remove misplaced ".TP" in "apm.1".  (closes: Bug#129627)
   * Rebuild package from clean sources.  (closes: Bug#124191)
   * Update package description to have more accurate statement of kernel's
     APM support.  Remove mention of tailf.  (closes: Bug#71182, Bug#98292,
     Bug#124215)
   * Generalize support for running event scripts.
     (closes: Bug#96676, Bug#99769, Bug#124375)
   * Change apm_suspend() in apmlib to return errno on failure.
     (closes: Bug#125610)
   * Update manpage for apm(1) to match code.  Add text explaining that
     --ignore and --noignore options are usually disabled.
     (closes: Bug#67414, Bug#129402, Bug#132242)
   * In debconf template for apmd/hdparm-spindown, change "timeout" to
     "timeout code" to clarify that this isn't in an ordinary time unit.
     (closes: Bug#121337)
   * In "apmd.c", move test for pid<0 result from fork() so that it occurs
     in correct place.  (closes: Bug#124366)
   * Add support for auto-loading the apm module.
     (closes: Bug#112019, Bug#116235)

apmd (3.0.2-1.3) unstable; urgency=low

   * NMU to fix the previous broken NMU.  Bug#132911 indicates that there
     is a problem with the way that the -1.2 binary was compiled.  Several
     users have reported -1.2 as being unusable; recompilation appears to
     fix the problem.

apmd (3.0.2-1.2) unstable; urgency=low

   * NMU to fix the previous broken NMU.
   * Fix the CFLAGS hack in debian/rules so it actually works when more
     than one /usr/src/kernel-headers-2.2* is installed. (closes: #131415)

apmd (3.0.2-1.1) unstable; urgency=low

   * NMU to fix a couple of (related) serious-severity bugs holding up the
     freeze.
   * debian/control, debian/rules:
     - Build-Dep on kernel-headers-2.2, hack CFLAGS to include it.
       (closes: #123163, #112678)
     - I have NFI what to do with #130129.

2001

apmd (3.0.2-1) unstable; urgency=low

   * Change the way apmd_proxy is spawned, to prevent lockups when it runs
     subprocesses like pump or xlock. (closes: Bug#98604)
   * Getting rid of tailf (closes: Bug#83314, Bug#113153)
   * French version of apmsleep.1 (closes: Bug#118783)
   * Mark README as outdated and install README.transfer (closes: Bug#115705)
   * Don't use dh_installxaw (closes: Bug#120227)
   * apm.1 typo (closes: Bug#111897)
   * apmd.8 typos (closes: Bug#113806, Bug#117909)
   * Add configuration file "/etc/apm/apmd_proxy.conf" and debconf support.
   * Change "/etc/apm/apmd_proxy" to allow it to conditionally accept
     system-generated suspend and standby events.  (closes: Bug#67410,
     Bug#75421, Bug#82805)
   * Change "/etc/apm/apmd_proxy" to use run-parts, now that run-parts
     supports passing arguments to the called scripts.  (closes: Bug#83109,
     Bug#71539)
   * Change "/etc/apm/event.d/00hwclock" to call "/etc/init.d/hwclock.sh".
     (closes: Bug#94990)
   * Change "/etc/apm/event.d/00hwclock" to distinguish between resume from
     suspend and resume from standby.
   * Add "/etc/apm/event.d/20hdparm" to tune the hard drive when running on
     battery power.  Add "Suggests: hdparm" to support this feature.
   * Don't rebuild upstream ChangeLog in debian/rules; this wipes the old
     ChangeLog and then fails. (closes: Bug#119114)
   * Change debian/rules to define "DH_COMPAT=2", and to generate md5sums.
   * Update standards-version to 3.5.6.
   * Add necessary build-depends line to debian/control. (closes: Bug#119595)
   * Update filenames in debian/copyright.
   * Most of these patches are from Chris Hanson <cph@debian.org> but you
     should still blame me if it doesn't work.  Thanks, Chris, and sorry for
     the delay in getting this out!

apmd (3.0.1-1) unstable; urgency=low

   * Various changes from upstream.  Builds from source on the newest libc.
   * Fixes bugs #59960, 67414, 70127, 76708, 79816, 82801, 82803, 94988,
   	54952.

2000

apmd (3.0final-2) frozen unstable; urgency=low

   * New debhelper and some changes to manpage paths.  Should fix bug#55219,
  	bug#55746, bug#59879, bug#59959.

apmd (3.0final-1) unstable; urgency=low

   * Rebuilt for potato with new debhelper.  Since there haven't been any
  	new bugs in a long time, finally released 3.0final.
 
   * Architecture: any instead of i386, since other arches are now
  	implementing the same API, even if APM isn't exactly the same.
  	Fixes bug#51205.
 
   * Man page corrected; fixes bug#47701.
 
   * Close all file descriptors after fork(), so secure-attention-key (SAK)
   	won't kill us; fixes bug#37188.
 
   * Use xaw-wrappers for xapm; fixes bug#42750.
 
   * Store the hardware clock on suspend; fixes bug#42976.

1999

apmd (3.0beta9-2) unstable; urgency=low

   * Oops!  My debian apmd_proxy scripts were all screwed up.  I accidentally
  	installed the Red Hat one!  Fixes bug#42686, bug#42228
 
   * Close fd 0, 1, and 2 upon fork().  Fixed bug#37188.

apmd (3.0beta9-1) unstable; urgency=low

   * Bug fixes and improvements as we approach the 3.0final release.

apmd (3.0beta8-1) unstable; urgency=low

   * Various bug fixes and improvements.  In particular, this is supposed
  	to eliminate excessive log messages, although I personally never saw
  	them anyway.

apmd (3.0beta7-1) unstable; urgency=low

   * apmd: totally new apmd_proxy stuff from Craig Markwardt.  Now you can
   	handle pretty much _any_ APM event by adding scripts to
   	/etc/apm/event.d.
 
   * Hopefully we didn't lose anyone else's fixes... let me know if you
   	find a new bug!

apmd (3.0beta6-1) unstable; urgency=low

   * apmd: new options for now-on-wall-power and now-on-battery events.
 
   * xapm: support for strangeness in the IBM ThinkPad 770X.  Set
     IBM_THINKPAD to 1 in xapm.c if you want this enabled.
     Also, we show a P or B in xapm to indicate wall or battery power.

apmd (3.0beta5-1) frozen unstable; urgency=high

   * We should be using fork(), not vfork() -- one-character change.  Fixes
     problems with 2.2.0 kernels.

1998

apmd (3.0beta4-1) frozen unstable; urgency=low

   * I (upstream maintainer) relabeled the version number because the
     changes are useful beyond just Debian.
 
   * Distribution should have been "frozen unstable", not "frozen".  Oops.

apmd (3.0beta3-3) frozen; urgency=low

   * /etc/init.d/apmd should not assume $GMT will be either -u or blank.
     Fixes bug#28731.
 
   * /etc/init.d/apmd still contained some references to /etc/apm-suspend.d
     and apm-resume.d; these should have been /etc/apm/suspend.d and
     resume.d.  Oops.  Fixes bug#27539.
 
   * Fixed some typos in the man pages.

apmd (3.0beta3-2) unstable; urgency=low

   * Renamed /etc/apm-suspend.d and /etc/apm-resume.d to /etc/apm/suspend.d
     and resume.d, to reduce /etc clutter.

apmd (3.0beta3-1) unstable; urgency=low

   * New upstream version cleans up a few things and improves Thinkpad
     support.

apmd (3.0beta2-1) unstable; urgency=low

   * New upstream version fixes some minor bugs with pre_suspend and
     post_resume commands.

apmd (3.0beta1-1) unstable; urgency=low

   * I am now the official upstream maintainer for the APM package.
   * Integrated Rik Faith's latest fixes and a few others that have
     been floating around.
   * Added support for /etc/apm-suspend.d and /etc/apm-resume.d directories,
     containing scripts that should run whenever the system enters or leaves
     suspend mode.

apmd (2.4-12) frozen unstable; urgency=low

   * New package maintainer.
   * Changed call from "clock -s" to use hwclock and obtain $GMT setting
     from /etc/default/rcS.  (Fixes bug#23008)

apmd (2.4-11) frozen unstable; urgency=low

   * Added the four binaries apm, apmd, tailf and xapm back into the
     package. Thanks to Jim Jensen <jensen@clark.net> for pointing out that
     this debhelper conversion wasn't quite complete.

apmd (2.4-10) frozen unstable; urgency=low

   * Added missing 'zero' elements at last position of the longopts[] array
     so that apm(1) no longer segfaults on unknown arguments (fixes #4593)
   * Changed Description: in debian/control (lintian)
   * Removed blurb about 'needs 1.3.x kernels' in debian/control
   * Converted debian/rules to debhelper
   * Upgraded to Debian Policy 2.4.1

apmd (2.4-9) unstable; urgency=low

   * Added the missing ';;' to /etc/init.d/apmd (fixes #18529)

apmd (2.4-8) unstable; urgency=low

   * Upgraded to Debian Policy 2.4.0.0 (lintian, fixes #16775)
   * Added force-reload and restart targets to /etc/init.d/apmd (lintian)

1997

apmd (2.4-7) unstable; urgency=low

   * Compiled with GNU libc2 aka libc6
   * Now ships the unmodified upstream source as apmd_2.4.orig.tar.gz
   * Added variable for apmd options to /etc/init.d/apmd.

apmd (2.4-6) unstable; urgency=low

   * Changed Description: to stress the fact that APM support has to be
     enabled in the kernel in order to use this (fixes bug #10260)
   * Added warning to postinst if no /proc/apm found (fixes bug #10260)
   * Added test for /proc/apm to /etc/init.d/apmd
   * Changed /etc/init.d/apmd console message slightly

apmd (2.4-5) unstable; urgency=low

   * Applied patch by Jim Van Zandt <jrv@vanzandt.mv.com> to suppress
     unwanted debugging output on virtual consoles

1996

apmd (2.4-4) frozen unstable; urgency=low

   * Really changed /etc/init.d/apmd to test for apmd binary (fixes bug #5526)

apmd (2.4-3) frozen unstable; urgency=low

   * Changed /etc/init.d/apmd to test for /usr/sbin/apmd (fixes bug #5526)

apmd (2.4-2) unstable; urgency=low

   * Changed the prerm script (fixes bug#4489)
   * Changed Architecture: to i386 as an APM compliant BIOS is needed
 
   * Converted package management files to new Debian-1.2 style
   * Compresses manual pages with gzip -9v
   * Changed maintainer email address to <edd@debian.org>

Old changelog format(s), not parsed

Wed Aug  7 20:53:17 1996  Dirk Eddelbuettel  <edd@miles.econ.queensu.ca>
	* debian.rules: install xapm.1x, not xapm.1
Fri May 17 21:15:17 1996  Dirk Eddelbuettel  <edd@miles.econ.queensu.ca>
	* apmd-2.4-1 release
	* debian.rules: use /usr/doc/examples and not /usr/doc/example
	  (fixes bug#3029)
Tue May  7 00:19:20 1996  Dirk Eddelbuettel  <edd@miles.econ.queensu.ca>
	* apmd-2.4-0 release
	* new upstream version apmd-2.4 with support for --suspend and
	  --standby which requires kernel 1.3.98 or higher.
Sat Apr 13 12:26:16 1996  Dirk Eddelbuettel  <edd@miles.econ.queensu.ca>
	* apmd-2.2-0 release
	* new upstream version apmd-2.2 with support for /dev/apm_bios;
          apmd-2.2 utilities will work with older and newer kernels
	* debian.control: added Architecture: field
Sun Mar 10 09:54:49 1996  Dirk Eddelbuettel  <edd@miles.econ.queensu.ca>
	* apmd-2.1-1 release
	* apmd.rc: deleted the reload feature, fixed a typo
Sat Mar  9 10:58:03 1996  Dirk Eddelbuettel  <edd@miles.econ.queensu.ca>
	* apmd-2.1-0: Initial Debian release, added Debian package management
	  system scripts and Debian sysvinit daemon handling scripts
	* provide apmlib.c as source in /usr/doc/example/apmd so that
	  users can build either shared or static libs themselves