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.

 -- Anibal Monsalve Salazar <anibal@debian.org>  Thu, 16 Oct 2014 10:57:57 +0100

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

 -- Anibal Monsalve Salazar <anibal@debian.org>  Sat, 18 Jul 2009 11:32:08 +1000

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}

 -- Anibal Monsalve Salazar <anibal@debian.org>  Fri, 22 May 2009 15:38:37 +1000

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.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 27 Feb 2009 00:49:43 +0000

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

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 18 Feb 2009 16:21:24 +0000

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'
  
 -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 17 Nov 2008 10:54:51 +0100

apmd (3.2.2-12) unstable; urgency=low

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

 -- Anibal Monsalve Salazar <anibal@debian.org>  Thu, 30 Oct 2008 21:20:28 +1100

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

 -- Anibal Monsalve Salazar <anibal@debian.org>  Fri, 17 Oct 2008 18:20:41 +1100

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

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

 -- Matthias Klose <doko@ubuntu.com>  Thu, 19 Jun 2008 11:10:23 -0400

apmd (3.2.2-10) unstable; urgency=low

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

 -- Anibal Monsalve Salazar <anibal@debian.org>  Mon, 07 Apr 2008 17:59:35 +1000

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

 -- Anibal Monsalve Salazar <anibal@debian.org>  Sun, 06 Apr 2008 19:14:16 +1000

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

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

 -- Matthias Klose <doko@ubuntu.com>  Wed, 23 May 2007 13:02:28 +0200

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

 -- Christian Perrier <bubulle@debian.org>  Sun, 25 Feb 2007 11:09:17 +0100

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

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

 -- Matthias Klose <doko@ubuntu.com>  Mon,  5 Mar 2007 01:13:07 +0000

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

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

 -- Scott James Remnant <scott@ubuntu.com>  Mon, 27 Nov 2006 14:21:52 +0000

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.

 -- Anibal Monsalve Salazar <anibal@debian.org>  Fri, 21 Jul 2006 22:36:45 +1000

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

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

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 21 Jul 2006 01:19:45 +0100

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

  * Correct call to dh_installinit.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 21 Jul 2006 00:56:11 +0100

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

  * Remove stop links from rc0 and rc6

 -- Scott James Remnant <scott@ubuntu.com>  Thu, 20 Jul 2006 22:18:37 +0100

apmd (3.2.2-7) unstable; urgency=low

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

 -- Anibal Monsalve Salazar <anibal@debian.org>  Mon, 10 Jul 2006 16:21:24 +1000

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

  * Merge from Debian unstable.

 -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 30 Jun 2006 21:30:11 +0200

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.

 -- Anibal Monsalve Salazar <anibal@debian.org>  Sun, 25 Jun 2006 19:32:20 +1000

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>.

 -- Anibal Monsalve Salazar <anibal@debian.org>  Mon, 30 Jan 2006 22:11:07 +1100

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.

 -- Chris Hanson <cph@debian.org>  Tue, 3 Jan 2006 02:02:54 -0500

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

  * fix X header locations

 -- LaMont Jones <lamont@ubuntu.com>  Mon, 23 May 2005 15:28:00 -0600

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

  * Resynchronise with Debian.

 -- Jeff Bailey <jbailey@ubuntu.com>  Wed, 20 Apr 2005 12:08:54 -0400

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".

 -- Chris Hanson <cph@debian.org>  Tue, 1 Mar 2005 12:59:52 -0500

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

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

 -- Colin Watson <cjwatson@ubuntu.com>  Tue,  1 Mar 2005 02:47:55 +0000

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

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

 -- Thom May <thom@ubuntu.com>  Mon, 31 Jan 2005 15:08:09 +0000

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

  * Load the apm module in init script.

 -- Thom May <thom@planetarytramp.net>  Mon,  6 Dec 2004 12:55:10 +0100

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

  * Added versioned depend on lsb-base

 -- Nathaniel McCallum <npmccallum@canonical.com>  Fri,  3 Sep 2004 14:47:15 -0400

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

  * debian/apmd.init: pretty initscript

 -- Nathaniel McCallum <npmccallum@canonical.com>  Thu,  2 Sep 2004 16:23:52 -0400

apmd (3.2.2-2) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Mon, 7 Jun 2004 09:32:51 -0400

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)

 -- Chris Hanson <cph@debian.org>  Fri, 30 Apr 2004 00:44:40 -0400

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.

 -- Chris Hanson <cph@debian.org>  Mon, 23 Feb 2004 16:12:29 -0500

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)

 -- Chris Hanson <cph@debian.org>  Thu, 19 Feb 2004 20:52:10 -0500

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)

 -- Chris Hanson <cph@debian.org>  Tue, 3 Feb 2004 14:03:53 -0500

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)

 -- Chris Hanson <cph@debian.org>  Tue, 20 Jan 2004 15:09:55 -0500

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).

 -- Chris Hanson <cph@debian.org>  Sun, 26 Oct 2003 00:21:24 -0400

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.

 -- Chris Hanson <cph@debian.org>  Sat, 18 Oct 2003 01:56:18 -0400

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)

 -- Chris Hanson <cph@debian.org>  Wed, 3 Sep 2003 15:39:50 -0400

apmd (3.2.0-5) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Wed, 13 Aug 2003 21:38:07 -0400

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.

 -- Chris Hanson <cph@debian.org>  Mon, 11 Aug 2003 21:39:15 -0400

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.

 -- Chris Hanson <cph@debian.org>  Fri, 4 Apr 2003 22:32:52 -0500

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.

 -- Chris Hanson <cph@debian.org>  Sun, 2 Mar 2003 23:22:23 -0500

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).

 -- Chris Hanson <cph@debian.org>  Thu, 16 Jan 2003 17:43:36 -0500

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.)

 -- Chris Hanson <cph@debian.org>  Thu, 28 Nov 2002 10:27:12 -0500

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.)

 -- Chris Hanson <cph@debian.org>  Sat, 23 Nov 2002 21:28:12 -0500

apmd (3.1.0-5) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Mon, 11 Nov 2002 23:31:05 -0500

apmd (3.1.0-4) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Sun, 10 Nov 2002 22:34:40 -0500

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)

 -- Chris Hanson <cph@debian.org>  Thu, 7 Nov 2002 11:29:46 -0500

apmd (3.1.0-2) unstable; urgency=low

  * Add support for logcheck.

 -- Chris Hanson <cph@debian.org>  Thu, 31 Oct 2002 23:38:08 -0500

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.

 -- Chris Hanson <cph@debian.org>  Thu, 31 Oct 2002 13:16:48 -0500

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).

 -- Chris Hanson <cph@debian.org>  Tue, 24 Sep 2002 11:54:19 -0400

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)

 -- Chris Hanson <cph@debian.org>  Mon, 12 Aug 2002 13:35:10 -0400

apmd (3.0.2-4) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Tue, 18 Jun 2002 21:59:13 -0400

apmd (3.0.2-3) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Sat, 18 May 2002 23:40:56 -0400

apmd (3.0.2-2) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Sat, 18 May 2002 23:15:57 -0400

apmd (3.0.2-1.21) unstable; urgency=low

  * New maintainer; no other changes.

 -- Chris Hanson <cph@debian.org>  Thu, 2 May 2002 23:03:07 -0400

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)

 -- Chris Hanson <cph@debian.org>  Thu, 2 May 2002 16:08:20 -0400

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)

 -- Chris Hanson <cph@debian.org>  Mon, 8 Apr 2002 11:24:03 -0400

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.

 -- Chris Hanson <cph@debian.org>  Wed, 13 Mar 2002 10:11:49 -0500

apmd (3.0.2-1.17) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Fri, 8 Mar 2002 23:41:15 -0500

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)

 -- Chris Hanson <cph@debian.org>  Thu, 7 Mar 2002 23:14:15 -0500

apmd (3.0.2-1.15) unstable; urgency=low

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

 -- Chris Hanson <cph@debian.org>  Thu, 28 Feb 2002 01:26:20 -0500

apmd (3.0.2-1.14) unstable; urgency=medium

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

 -- Chris Hanson <cph@debian.org>  Thu, 28 Feb 2002 00:10:57 -0500

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.

 -- Chris Hanson <cph@debian.org>  Tue, 26 Feb 2002 17:08:48 -0500

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)

 -- Chris Hanson <cph@debian.org>  Tue, 26 Feb 2002 13:35:49 -0500

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)

 -- Chris Hanson <cph@debian.org>  Mon, 25 Feb 2002 14:07:00 -0500

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.

 -- Chris Hanson <cph@debian.org>  Sat, 23 Feb 2002 21:27:08 -0500

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)

 -- Chris Hanson <cph@debian.org>  Sat, 16 Feb 2002 23:11:03 -0500

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.

 -- Chris Hanson <cph@debian.org>  Sat, 16 Feb 2002 16:20:07 -0500

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.

 -- Chris Hanson <cph@debian.org>  Fri, 15 Feb 2002 21:38:19 -0500

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.

 -- Chris Hanson <cph@debian.org>  Fri, 15 Feb 2002 14:38:09 -0500

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.

 -- Chris Hanson <cph@debian.org>  Fri, 15 Feb 2002 00:07:31 -0500

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)

 -- Chris Hanson <cph@debian.org>  Thu, 14 Feb 2002 01:36:27 -0500

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.

 -- Chris Hanson <cph@debian.org>  Sat, 9 Feb 2002 23:52:49 -0500

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)

 -- Andrew Suffield <asuffield@debian.org>  Mon,  4 Feb 2002 21:09:42 +0000

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.

 -- Daniel Stone <DanielS@esd.nec.com.au>  Mon, 28 Jan 2002 22:49:55 +1100

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!

 -- Avery Pennarun <apenwarr@debian.org>  Sun, 25 Nov 2001 23:05:45 -0500

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.

 -- Avery Pennarun <apenwarr@debian.org>  Fri, 11 May 2001 16:35:34 -0400

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.

 -- Avery Pennarun <apenwarr@debian.org>  Thu, 18 May 2000 00:12:42 -0400

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.

 -- Avery Pennarun <apenwarr@debian.org>  Thu,  6 Jan 2000 21:40:57 -0500

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.

 -- Avery Pennarun <apenwarr@debian.org>  Mon,  9 Aug 1999 18:38:39 -0400

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

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

 -- Avery Pennarun <apenwarr@debian.org>  Mon,  2 Aug 1999 16:19:49 -0400

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.

 -- Avery Pennarun <apenwarr@debian.org>  Tue, 15 Jun 1999 20:25:12 -0400

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!

 -- Avery Pennarun <apenwarr@debian.org>  Sat,  5 Jun 1999 18:05:12 -0400

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.

 -- Avery Pennarun <apenwarr@debian.org>  Mon,  5 Apr 1999 00:59:55 -0400

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.

 -- Avery Pennarun <apenwarr@debian.org>  Sun, 24 Jan 1999 00:29:24 -0500

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.

 -- Avery Pennarun <apenwarr@debian.org>  Sun,  8 Nov 1998 15:34:14 -0500

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.

 -- Avery Pennarun <apenwarr@debian.org>  Sat,  7 Nov 1998 20:06:03 -0500

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.

 -- Avery Pennarun <apenwarr@debian.org>  Mon, 14 Sep 1998 14:27:03 -0400

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

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

 -- Avery Pennarun <apenwarr@debian.org>  Sat, 12 Sep 1998 14:34:11 -0400

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

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

 -- Avery Pennarun <apenwarr@debian.org>  Sun,  6 Sep 1998 01:21:14 -0400

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.

 -- Avery Pennarun <apenwarr@debian.org>  Sun,  6 Sep 1998 01:21:14 -0400

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)

 -- Avery Pennarun <apenwarr@debian.org>  Wed, 10 Jun 1998 16:25:40 -0400

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.

 -- Dirk Eddelbuettel <edd@debian.org>  Thu, 14 May 1998 20:49:41 -0400

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

 -- Dirk Eddelbuettel <edd@debian.org>  Mon, 11 May 1998 22:57:02 -0400

apmd (2.4-9) unstable; urgency=low

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

 -- Dirk Eddelbuettel <edd@debian.org>  Mon, 23 Feb 1998 19:09:10 -0500

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)

 -- Dirk Eddelbuettel <edd@debian.org>  Fri, 20 Feb 1998 21:16:34 -0500

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.

 -- Dirk Eddelbuettel <edd@debian.org>  Sat,  1 Nov 1997 16:20:59 -0500

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

 -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Jun 1997 16:49:44 -0400

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

 -- Dirk Eddelbuettel <edd@debian.org>  Sat, 8 Feb 1997 23:08:16 -0500

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

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

 -- Dirk Eddelbuettel <edd@debian.org>  Fri, 29 Nov 1996 20:59:14 -0500

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

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

 -- Dirk Eddelbuettel <edd@debian.org>  Sun, 24 Nov 1996 17:49:13 -0500

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>

 -- Dirk Eddelbuettel <edd@debian.org>  Sat, 14 Sep 1996 15:18:55 -0400

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

