--- apmd-3.2.2.orig/apmd.c +++ apmd-3.2.2/apmd.c @@ -343,7 +343,7 @@ /* parent */ int status, retval; ssize_t len; - time_t time_limit; + time_t countdown; if (pid < 0) { /* Couldn't fork */ @@ -356,8 +356,9 @@ /* Capture the child's output, if any, but only until it terminates */ close(fds[1]); fcntl(fds[0], F_SETFL, O_RDONLY|O_NONBLOCK); - time_limit = time(0) + proxy_timeout; + countdown = proxy_timeout; do { + countdown -= 1; while ((len = read(fds[0], line, sizeof(line)-1)) > 0) { line[len] = 0; APMD_SYSLOG(LOG_INFO, "+ %s", line); @@ -372,16 +373,16 @@ goto proxy_done; } - sleep(1); + while (sleep(1) > 0) ; } while ( - (time(0) < time_limit) + (countdown >= 0) || (proxy_timeout < 0) ); APMD_SYSLOG(LOG_NOTICE, "Proxy has been running more than %d seconds; killing it", proxy_timeout); kill(pid, SIGTERM); - time_limit = time(0) + 5; + countdown = 5; do { retval = waitpid(pid, &status, WNOHANG); if (retval == pid) @@ -392,9 +393,9 @@ goto proxy_done; } - sleep(1); + while (sleep(1) > 0) ; - } while (time(0) < time_limit); + } while (countdown >= 0); kill(pid, SIGKILL); status = __W_EXITCODE(0, SIGKILL); --- apmd-3.2.2.orig/debian/changelog +++ apmd-3.2.2/debian/changelog @@ -0,0 +1,824 @@ +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 Tue, 1 Mar 2005 12:59:52 -0500 + +apmd (3.2.2-2) unstable; urgency=low + + * New German translation. (closes: Bug#250292) + * New Turkish translation. (closes: Bug#252935) + + -- Chris Hanson 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 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 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 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 Tue, 3 Feb 2004 14:03:53 -0500 + +apmd (3.2.1-1) unstable; urgency=low + + * Thomas Hood : + + - 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 : + + - Update pt_BR debconf translation. (closes: Bug#227352) + + -- Chris Hanson 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 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 Sat, 18 Oct 2003 01:56:18 -0400 + +apmd (3.2.0-6) unstable; urgency=low + + * In apmsleep, don't include ; it drags in a lot of + kernel-dependent stuff. Instead include 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 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 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 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 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 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 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 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 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 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 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 Thu, 7 Nov 2002 11:29:46 -0500 + +apmd (3.1.0-2) unstable; urgency=low + + * Add support for logcheck. + + -- Chris Hanson 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 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 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 Mon, 12 Aug 2002 13:35:10 -0400 + +apmd (3.0.2-4) unstable; urgency=low + + * Use ${misc:Depends} in debian/control. + + -- Chris Hanson 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 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 Sat, 18 May 2002 23:15:57 -0400 + +apmd (3.0.2-1.21) unstable; urgency=low + + * New maintainer; no other changes. + + -- Chris Hanson 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 but you + should still blame me if it doesn't work. Thanks, Chris, and sorry for + the delay in getting this out! + + -- Avery Pennarun 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 for pointing out that + this debhelper conversion wasn't quite complete. + + -- Dirk Eddelbuettel Thu, 14 May 1998 20:49:41 -0400 + +apmd (2.4-10) frozen unstable; urgency=low, Closes=4593 + + * 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 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 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 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 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 Sat, 21 Jun 1997 16:49:44 -0400 + +apmd (2.4-5) unstable; urgency=low + + * Applied patch by Jim Van Zandt to suppress + unwanted debugging output on virtual consoles + + -- Dirk Eddelbuettel 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 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 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 + + -- Dirk Eddelbuettel Sat, 14 Sep 1996 15:18:55 -0400 + +Wed Aug 7 20:53:17 1996 Dirk Eddelbuettel + + * debian.rules: install xapm.1x, not xapm.1 + +Fri May 17 21:15:17 1996 Dirk Eddelbuettel + + * 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 + + * 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 + + * 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 + + * apmd-2.1-1 release + + * apmd.rc: deleted the reload feature, fixed a typo + +Sat Mar 9 10:58:03 1996 Dirk Eddelbuettel + + * 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 --- apmd-3.2.2.orig/debian/hwclock +++ apmd-3.2.2/debian/hwclock @@ -0,0 +1,16 @@ +#!/bin/sh +# Preserve the system clock around suspend/resume. + +INIT="/etc/init.d/hwclock.sh" +[ -x "${INIT}" ] || exit 0 + +case "${1},${2}" in +(suspend,*) + "${INIT}" stop + ;; +(resume,suspend) + "${INIT}" start + ;; +esac + +exit 0 --- apmd-3.2.2.orig/debian/README.Debian +++ apmd-3.2.2/debian/README.Debian @@ -0,0 +1,31 @@ +Important note for Debian package maintainers +--------------------------------------------- + +If your package needs to be notified of APM events then it should +install a script or scripts under /etc/apm/ as follows. + +If the order of execution of a set of scripts does not need to depend +on the event then place the scripts in /etc/apm/scripts.d/ and +symlink to them from /etc/apm/event.d/ . + +If the order of execution of a set of scripts needs to depend on the +event then place the scripts in /etc/apm/scripts.d/ and symlink to +them from /etc/apm/suspend.d/, /etc/apm/resume.d/ and /etc/apm/other.d/ +with names that (due to their lexicographical order) result in the +correct sequencing of the scripts. + +For example, suppose you want to run a before b on suspend, but a +after b on resume. Then put scripts a and b in /etc/apm/scripts.d/ +and create the following symlinks: + + /etc/apm/suspend.d/20a --> ../scripts.d/a + /etc/apm/suspend.d/80b --> ../scripts.d/b + /etc/apm/resume.d/20b --> ../scripts.d/b + /etc/apm/resume.d/80a --> ../scripts.d/a + +Do not put anything but symlinks in /etc/apm/suspend.d/, +/etc/apm/resume.d/ and /etc/apm/other.d/ . + +Links in /etc/apm/event.d/ are run in their lexicographical order +_after_ all the links in /etc/apm/suspend.d/, /etc/apm/resume.d/ and +/etc/apm/other.d/ . --- apmd-3.2.2.orig/debian/apmd.init +++ apmd-3.2.2/debian/apmd.init @@ -0,0 +1,54 @@ +#!/bin/sh +# +# Start or stop the Advanced Power Management daemon. +# +# Written by Dirk Eddelbuettel +# Greatly modified by Avery Pennarun +# +# I think this script is now free of bashisms. +# Please correct me if I'm wrong! + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +APMD_BIN="/usr/sbin/apmd" + +[ -s "${APMD_BIN}" ] || exit 0 +apm_available || exit 0 + +[ ! -f /etc/default/rcS ] || . /etc/default/rcS +[ ! -f /etc/default/apmd ] || . /etc/default/apmd + +case "${1}" in +("start") + echo -n "Starting advanced power management daemon: " + start-stop-daemon --start --quiet \ + --exec "${APMD_BIN}" -- -P /etc/apm/apmd_proxy ${APMD} + case $? in + (0) + echo "apmd." + exit 0 + ;; + (1) + echo "apmd (already running)." + exit 0 + ;; + (*) + echo "(failed)." + exit 1 + ;; + esac + ;; +("stop") + echo -n "Stopping advanced power management daemon: " + start-stop-daemon --stop --retry=1 --quiet --oknodo --exec "${APMD_BIN}" + echo "apmd." + exit 0 + ;; +("restart" | "force-reload") + "${0}" stop + "${0}" start + ;; +(*) + echo "Usage: /etc/init.d/apmd {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac --- apmd-3.2.2.orig/debian/apmd_proxy +++ apmd-3.2.2/debian/apmd_proxy @@ -0,0 +1,91 @@ +#!/bin/sh +# +# apmd_proxy - program dispatcher for APM daemon +# +# Written by Craig Markwardt (craigm@lheamail.gsfc.nasa.gov) 21 May 1999 +# Modified for Debian by Avery Pennarun +# +# This shell script is called by the APM daemon (apmd) when a power +# management event occurs. Its first and second arguments describe the +# event. For example, apmd will call "apmd_proxy suspend system" just +# before the system is suspended. +# +# Here are the possible arguments: +# +# start - APM daemon has started +# stop - APM daemon is shutting down +# suspend critical - APM system indicates critical suspend (++) +# suspend system - APM system has requested suspend mode +# suspend user - User has requested suspend mode +# standby system - APM system has requested standby mode +# standby user - User has requested standby mode +# resume suspend - System has resumed from suspend mode +# resume standby - System has resumed from standby mode +# resume critical - System has resumed from critical suspend +# change battery - APM system reported low battery +# change power - APM system reported AC/battery change +# change time - APM system reported time change (*) +# change capability - APM system reported config. change (+) +# +# (*) - APM daemon may be configured to not call these sequences +# (+) - Available if APM kernel supports it. +# (++) - "suspend critical" is never passed to apmd from the kernel, +# so we will never see it here. Scripts that process "resume +# critical" events need to take this into account. +# +# It is the proxy script's responsibility to examine the APM status +# (via /proc/apm) or other status and to take appropriate actions. +# For example, the script might unmount network drives before the +# machine is suspended. +# +# In Debian, the usual way of adding functionality to the proxy is to +# add a script to /etc/apm/event.d. This script will be called by +# apmd_proxy (via run-parts) with the same arguments. +# +# If it is important that a certain set of script be run in a certain +# order on suspend and in a different order on resume, then put all +# the scripts in /etc/apm/scripts.d instead of /etc/apm/event.d and +# symlink to these from /etc/apm/suspend.d, /etc/apm/resume.d and +# /etc/apm/other.d using names whose lexicographical order is the same +# as the desired order of execution. +# +# If the kernel's APM driver supports it, apmd_proxy can return a non-zero +# exit status on suspend and standby events, indicating that the suspend +# or standby event should be rejected. +# +# ******************************************************************* + +set -e + +# The following doesn't yet work, because current kernels (up to at least +# 2.4.20) do not support rejection of APM events. Supporting this would +# require substantial modifications to the APM driver. We will re-enable +# this feature if the driver is ever modified. -- cph@debian.org +# +#SUSPEND_ON_AC=false +#[ -r /etc/apm/apmd_proxy.conf ] && . /etc/apm/apmd_proxy.conf +# +#if [ "${SUSPEND_ON_AC}" = "false" -a "${2}" = "system" ] \ +# && on_ac_power >/dev/null; then +# # Reject system suspends and standbys if we are on AC power +# exit 1 # Reject (NOTE kernel support must be enabled) +#fi + +if [ "${1}" = "suspend" -o "${1}" = "standby" ]; then + run-parts --arg="${1}" --arg="${2}" /etc/apm/event.d + if [ -d /etc/apm/suspend.d ]; then + run-parts --arg="${1}" --arg="${2}" /etc/apm/suspend.d + fi +elif [ "${1}" = "resume" ]; then + if [ -d /etc/apm/resume.d ]; then + run-parts --arg="${1}" --arg="${2}" /etc/apm/resume.d + fi + run-parts --arg="${1}" --arg="${2}" /etc/apm/event.d +else + run-parts --arg="${1}" --arg="${2}" /etc/apm/event.d + if [ -d /etc/apm/other.d ]; then + run-parts --arg="${1}" --arg="${2}" /etc/apm/other.d + fi +fi + +exit 0 --- apmd-3.2.2.orig/debian/apmd_proxy.conf +++ apmd-3.2.2/debian/apmd_proxy.conf @@ -0,0 +1,16 @@ +# /etc/apm/apmd_proxy.conf: configuration file for apmd. +# +# This file is managed by debconf when installing or reconfiguring the +# package. It is generated by merging the answers gathered by debconf +# into the template file "/usr/share/apmd/apmd_proxy.conf". + +# The following doesn't yet work, because current kernels (up to at least +# 2.4.20) do not support rejection of APM events. Supporting this would +# require substantial modifications to the APM driver. We will re-enable +# this feature if the driver is ever modified. -- cph@debian.org +# +# Set the following to "false" if you want to reject system suspend or +# system standby requests when the computer is running on AC power. +# Otherwise set this to "true". Such requests are never rejected when +# the computer is running on battery power. +#SUSPEND_ON_AC=true --- apmd-3.2.2.orig/debian/compat +++ apmd-3.2.2/debian/compat @@ -0,0 +1 @@ +4 --- apmd-3.2.2.orig/debian/apmd.dirs +++ apmd-3.2.2/debian/apmd.dirs @@ -0,0 +1,11 @@ +etc/apm/event.d +etc/apm/other.d +etc/apm/resume.d +etc/apm/scripts.d +etc/apm/suspend.d +etc/logcheck/ignore.d.paranoid +etc/logcheck/ignore.d.server +etc/logcheck/ignore.d.workstation +usr/bin +usr/sbin +usr/share/apmd --- apmd-3.2.2.orig/debian/control +++ apmd-3.2.2/debian/control @@ -0,0 +1,72 @@ +Source: apmd +Section: admin +Priority: optional +Maintainer: Chris Hanson +Build-Depends: debhelper (>= 4.1.46), libx11-dev, libxaw7-dev | libxaw-dev, libtool +Standards-Version: 3.6.1 + +Package: apmd +Section: admin +Architecture: any +Depends: ${shlibs:Depends}, debconf (>= 1.2.9), powermgmt-base +Suggests: xapm +Description: Utilities for Advanced Power Management (APM) + On laptop computers, the Advanced Power Management (APM) support + provides access to battery status information and may help you to + conserve battery power, depending on your laptop and the APM + implementation. The apmd program also lets you run arbitrary programs + when APM events happen (for example, you can eject PCMCIA devices when + you suspend, or change hard drive timeouts when you connect the battery). + . + This package contains apmd(8), a daemon for logging and acting on APM + events; and apm(1), a client that prints the information in /proc/apm + in a readable format. + . + apmd is notified of APM events by the APM driver in the kernel. + . + Debian kernels are built with APM support but it is disabled by + default. You need to boot the kernel with the "apm=on" option if you + want to enable the driver. (You may need to add this option to your + lilo command line.) + +Package: xapm +Section: x11 +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: apmd (<< 3.0.2-1.6) +Description: X program to monitor APM battery status + On laptop computers, the Advanced Power Management (APM) support + provides access to battery status information and may help you to + conserve battery power, depending on your laptop and the APM + implementation. + . + This package contains xapm(1), an X11 utility that displays the + status of the battery. + +Package: libapm1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, powermgmt-base +Conflicts: apmd (<< 3.0.2-1.9), libapm-dev (<< 3.0.2-1.9) +Description: Library for interacting with APM driver in kernel + On laptop computers, the Advanced Power Management (APM) support + provides access to battery status information and may help you to + conserve battery power, depending on your laptop and the APM + implementation. + . + This package contains a shared library that provides support for + interacting with the APM driver in the kernel. + +Package: libapm-dev +Section: libdevel +Architecture: any +Depends: libapm1 (= ${Source-Version}) +Conflicts: apmd (<< 3.0.2-1.6) +Description: Library for interacting with APM driver in kernel + On laptop computers, the Advanced Power Management (APM) support + provides access to battery status information and may help you to + conserve battery power, depending on your laptop and the APM + implementation. + . + This package contains a library and header files needed to write + programs that interact with the APM driver in the kernel. --- apmd-3.2.2.orig/debian/copyright +++ apmd-3.2.2/debian/copyright @@ -0,0 +1,49 @@ +Copyright 1996-2004, Rik Faith, Avery Pennarun, Chris Hanson, Thomas Hood. +All rights reserved. + +Apmd was originally packaged by Dirk Eddelbuettel. It is now maintained +by Chris Hanson and Thomas Hood. + +The apmd home page is: http://www.worldvisions.ca/~apenwarr/apmd + +License for the APM Library +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + The APM Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The APM Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the APM Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. + +The complete text of the GNU Lesser General Public License can be found +in /usr/share/common-licenses/LGPL on most Debian systems. + +License for everything other than the APM Library, including executables +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +The complete text of the GNU General Public License can be found in +/usr/share/common-licenses/GPL on most Debian systems. + --- apmd-3.2.2.orig/debian/libapm-dev.dirs +++ apmd-3.2.2/debian/libapm-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- apmd-3.2.2.orig/debian/libapm-dev.files +++ apmd-3.2.2/debian/libapm-dev.files @@ -0,0 +1,4 @@ +usr/include/*.h +usr/lib/*.a +usr/lib/*.la +usr/lib/*.so --- apmd-3.2.2.orig/debian/libapm-dev.postinst +++ apmd-3.2.2/debian/libapm-dev.postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm-dev.postrm +++ apmd-3.2.2/debian/libapm-dev.postrm @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm-dev.preinst +++ apmd-3.2.2/debian/libapm-dev.preinst @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm-dev.prerm +++ apmd-3.2.2/debian/libapm-dev.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm1.dirs +++ apmd-3.2.2/debian/libapm1.dirs @@ -0,0 +1 @@ +usr/lib --- apmd-3.2.2.orig/debian/libapm1.files +++ apmd-3.2.2/debian/libapm1.files @@ -0,0 +1 @@ +usr/lib/*.so.* --- apmd-3.2.2.orig/debian/libapm1.postinst +++ apmd-3.2.2/debian/libapm1.postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm1.postrm +++ apmd-3.2.2/debian/libapm1.postrm @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm1.preinst +++ apmd-3.2.2/debian/libapm1.preinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/libapm1.prerm +++ apmd-3.2.2/debian/libapm1.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/apmd.preinst +++ apmd-3.2.2/debian/apmd.preinst @@ -0,0 +1,61 @@ +#!/bin/sh +# +# This is the preinst script for the Debian GNU/Linux apmd package +# +# Written by Dirk Eddelbuettel + +set -e + +#DEBHELPER# + +update_config_files () +( + if [ -f /etc/apm/event.d/00hwclock ]; then + if [ ! -e /etc/apm/scripts.d/hwclock ]; then + mkdir -p /etc/apm/scripts.d + cp -a /etc/apm/event.d/00hwclock /etc/apm/scripts.d/hwclock + fi + mv -f /etc/apm/event.d/00hwclock /etc/apm/event.d/00hwclock.dpkg-old + fi + + PREFIX="/etc/logcheck/ignore.d." + FP="${PREFIX}paranoid/apmd" + FS="${PREFIX}server/apmd" + FW="${PREFIX}workstation/apmd" + if [ -f "${FP}" ]; then + if [ -f "${FS}" ] && cmp --quiet "${FP}" "${FS}"; then + rm -f "${FS}" + fi + if [ -f "${FW}" ] && cmp --quiet "${FP}" "${FW}"; then + rm -f "${FW}" + fi + fi +) + +case "$1" in +(install) + update_config_files + ;; +(upgrade) + # Stop a running apmd from an older version + if [ -f /usr/sbin/apmd ]; then + start-stop-daemon --stop --quiet --oknodo \ + --pidfile /var/run/apmd.pid --exec /usr/sbin/apmd + fi + # Handle bug #4489: Old versions of apmd erroneously killed kerneld + # We test for these versions numbers, given by dpkg as $2, using an + # expr(1) match, and if the 5 chars are matched, restart the kerneld + if [ $(expr match "$2" '2\.[124]-[01]$') -eq 5 ]; then + /etc/init.d/kerneld start >/dev/null + fi + update_config_files + ;; +(abort-upgrade) + ;; +(*) + echo "preinst called with unknown argument \"$1\"" >&2 + exit 1 + ;; +esac + +exit 0 --- apmd-3.2.2.orig/debian/apmd.prerm +++ apmd-3.2.2/debian/apmd.prerm @@ -0,0 +1,11 @@ +#!/bin/sh +# +# This is the prerm script for the Debian GNU/Linux apmd package +# +# Written by Dirk Eddelbuettel + +set -e + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/apmd.templates +++ apmd-3.2.2/debian/apmd.templates @@ -0,0 +1,35 @@ +Template: apmd/overwrite-config-file +Type: boolean +Default: true +_Description: Manage apmd configuration file with debconf? + The apmd configuration file, "/etc/apm/apmd_proxy.conf", can be handled + automatically by debconf, or manually by you. + +Template: apmd/suspend-on-ac +Type: boolean +Default: true +_Description: Accept system suspend/standby events on AC power? + Do you want to accept system suspend or system standby APM requests when + the computer is running on AC power? If you refuse, such requests will be + rejected. When the computer is running on battery power, these requests + are always accepted. + . + System suspend/standby events are usually generated when the BIOS + automatically suspends because the machine has been idle for a while. They + can also be generated when you press the "suspend" or "sleep" button on + the computer. + +Template: apmd/hdparm-removed +Type: note +_Description: Configuration files have moved + The script /etc/apm/event.d/20hdparm has been removed from this package. + It remains installed but inactive, and any custom settings, formerly kept + in /etc/apm/apmd_proxy.conf, have been erased. + . + A script of the same name has been added to the hdparm package. When + upgrading hdparm you will be able to configure the script again according + to your preferences. + . + The configuration file /etc/modutils/apmd has been removed from this + package. The file /etc/modutils/apm has been added to the powermgmt-base + package to serve the same purpose. --- apmd-3.2.2.orig/debian/rules +++ apmd-3.2.2/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian.rules file for the Debian/GNU Linux apmd package +# Copyright 1996-98 by Dirk Eddelbuettel + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +package = apmd +DESTDIR := $(shell pwd)/debian/$(package) + +INSTALL := install --preserve-timestamps +INSTALL_SCRIPT := $(INSTALL) --mode=0755 +INSTALL_DATA := $(INSTALL) --mode=0644 + +MAKE_FLAGS=PREFIX=/usr MANDIR=/usr/share/man PROXY_DIR=/etc/apm + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS := -O0 +else + CFLAGS := -O2 +endif +CFLAGS += -g + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) $(MAKE_FLAGS) CFLAGS="$(CFLAGS)" LDFLAGS= + touch build-stamp + +clean: + dh_testdir + #dh_testroot + rm -f build-stamp + -$(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) $(MAKE_FLAGS) DESTDIR=$(DESTDIR) install + # We will use on_ac_power from the powermgmt-base package. + rm -f $(DESTDIR)/usr/bin/on_ac_power + $(INSTALL_SCRIPT) debian/apmd_proxy $(DESTDIR)/etc/apm/. + $(INSTALL_SCRIPT) debian/hwclock $(DESTDIR)/etc/apm/scripts.d/hwclock + $(INSTALL_DATA) debian/apmd_proxy.conf $(DESTDIR)/usr/share/apmd + dh_movefiles --sourcedir=debian/apmd + -rmdir $(DESTDIR)/usr/include + -rmdir $(DESTDIR)/usr/lib + +binary-indep: build + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs README apmsleep.README + dh_installdocs -A AUTHORS +# dh_installexamples apmlib.c +# dh_installmenu +# dh_installemacsen +# dh_installpam + dh_installinit +# dh_installcron + dh_installlogcheck + dh_installman +# dh_installinfo + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs -V"libapm1 (>= 3.2.0-7)" + dh_installdeb +# dh_perl + dh_shlibdeps -ldebian/libapm1/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean install binary-indep binary-arch binary --- apmd-3.2.2.orig/debian/apmd.config +++ apmd-3.2.2/debian/apmd.config @@ -0,0 +1,77 @@ +#!/bin/sh + +# Copyright (c) 2001, 2002 Massachusetts Institute of Technology +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this package; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +set -e + +. /usr/share/debconf/confmodule + +# Remove old variables no longer in use. +db_unregister apmd/etc-apmd-md5 || true +db_unregister apmd/hdparm-drive || true +db_unregister apmd/hdparm-spindown || true + +CONFFILE=/etc/apm/apmd_proxy.conf + +NFM="no" +if [ "${1}" = "configure" ]; then + if dpkg --compare-versions "${2}" "lt-nl" "3.0.2-1.16"; then + NFM="yes" + elif [ -e "/etc/modutils/apmd" ]; then + NFM="yes" + fi +fi + +if [ "${NFM}" = "yes" ]; then + db_input medium apmd/hdparm-removed || true + db_go || true +fi + +# Rejection of APM events doesn't yet work; see apmd_proxy. +# +#db_input medium apmd/overwrite-config-file || true +#db_go || true +# +#db_get apmd/overwrite-config-file || true +#if [ "${RET}" = "true" ]; then +# +# if [ -e "${CONFFILE}" ]; then +# # Read the values from the config file and save them in the +# # debconf database. This preserves them upon reconfiguration or +# # reinstallation. +# . "${CONFFILE}" || true +# if [ -n "${SUSPEND_ON_AC+foo}" ]; then +# db_set apmd/suspend-on-ac "${SUSPEND_ON_AC}" || true +# fi +# fi +# +# db_beginblock || true +# +# db_input medium apmd/suspend-on-ac || true +# db_go || true +# +# db_endblock || true +# +#fi + +db_stop + +# Stop the daemon; it will be restarted in the postinst. +if [ "${1}" = "reconfigure" -a -x "/etc/init.d/apmd" ]; then + /etc/init.d/apmd stop +fi --- apmd-3.2.2.orig/debian/xapm.dirs +++ apmd-3.2.2/debian/xapm.dirs @@ -0,0 +1 @@ +usr/bin --- apmd-3.2.2.orig/debian/xapm.files +++ apmd-3.2.2/debian/xapm.files @@ -0,0 +1 @@ +usr/bin/xapm --- apmd-3.2.2.orig/debian/xapm.manpages +++ apmd-3.2.2/debian/xapm.manpages @@ -0,0 +1 @@ +xapm.1 --- apmd-3.2.2.orig/debian/xapm.postinst +++ apmd-3.2.2/debian/xapm.postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/xapm.postrm +++ apmd-3.2.2/debian/xapm.postrm @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/xapm.preinst +++ apmd-3.2.2/debian/xapm.preinst @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/xapm.prerm +++ apmd-3.2.2/debian/xapm.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/apmd.default +++ apmd-3.2.2/debian/apmd.default @@ -0,0 +1,8 @@ +# +# Default for /etc/init.d/apmd +# + +# As apmd can be called with arguments, we use the following variable +# to store them, e.g., APMD="-w 5 -p 2". +# See the manual page apmd(8) for details. +APMD="--proxy-timeout 30" --- apmd-3.2.2.orig/debian/apmd.postinst +++ apmd-3.2.2/debian/apmd.postinst @@ -0,0 +1,63 @@ +#!/bin/sh +# +# This is the postinst script for the Debian GNU/Linux apmd package +# +# Written by Dirk Eddelbuettel +# Debconf changes added by Chris Hanson + +set -e +umask 022 + +case "${1}" in +(configure) + . /usr/share/debconf/confmodule || exit 0 + +# Rejection of APM events doesn't yet work; see apmd_proxy. +# CONFFILE=/etc/apm/apmd_proxy.conf +# TEMPLATE=/usr/share/apmd/apmd_proxy.conf +# SEDFILE="${CONFFILE}.sed.$$" +# TMPFILE="${CONFFILE}.tmp.$$" +# +# trap "rm -f ${SEDFILE} ${TMPFILE}" EXIT INT QUIT TERM +# +# db_get apmd/overwrite-config-file || true +# if [ "${RET}" = "true" ]; then +# +# # Convert the debconf bindings to a sed script that will +# # insert the bindings into the configuration file. +# rm -f "${SEDFILE}" || true +# xfer_binding () +# { +# db_get "${2}" || true +# echo "s%^${1}=\(.*\)\$%${1}=${RET}%;" >> "${SEDFILE}" +# } +# xfer_binding SUSPEND_ON_AC apmd/suspend-on-ac +# +# # Apply the sed script to the template file to create the +# # configuration file. +# cat "${TEMPLATE}" | sed -f "${SEDFILE}" > "${TMPFILE}" +# rm -f "${SEDFILE}" || true +# mv -f "${TMPFILE}" "${CONFFILE}" +# +# fi + db_stop + if [ -z "$(ls /etc/apm/suspend.d/*hwclock 2> /dev/null)" ]; then + mkdir -p /etc/apm/suspend.d + ln -sf ../scripts.d/hwclock /etc/apm/suspend.d/99hwclock + fi + if [ -z "$(ls /etc/apm/resume.d/*hwclock 2> /dev/null)" ]; then + mkdir -p /etc/apm/resume.d + ln -sf ../scripts.d/hwclock /etc/apm/resume.d/00hwclock + fi + ;; +(abort-upgrade|abort-remove|abort-deconfigure) + ;; +(*) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/apmd.postrm +++ apmd-3.2.2/debian/apmd.postrm @@ -0,0 +1,26 @@ +#!/bin/sh +# +# This is the postrm script for the Debian GNU/Linux apmd package +# +# Written by Dirk Eddelbuettel + +set -e + +del_link () +{ + for FN in "${@}"; do + if [ -h "${FN}" ]; then + rm -f "${FN}" || true + fi + done +} + +case "$1" in +(purge) + del_link /etc/apm/suspend.d/99hwclock /etc/apm/resume.d/00hwclock + ;; +esac + +#DEBHELPER# + +exit 0 --- apmd-3.2.2.orig/debian/apmd.manpages +++ apmd-3.2.2/debian/apmd.manpages @@ -0,0 +1,4 @@ +apm.1 +apmd.8 +apmsleep.1 +apmsleep.fr.1 --- apmd-3.2.2.orig/debian/po/es.po +++ apmd-3.2.2/debian/po/es.po @@ -0,0 +1,107 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "¿Gestionar la configuración mediante debconf?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"Puede gestionar el fichero configuración de apmd, \"/etc/apm/apmd_proxy.conf" +"\", usando debconf o bien hacerlo manualmente." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "¿Suspender el sistema aunque esté enchufado a la red eléctrica?" + +#. Description +#: ../apmd.templates:11 +#, fuzzy +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Si desea aceptar las peticiones APM para suspender el sistema aunque se " +"encuentre enchufado a la red eléctrica, responda sí a esta pregunta. Sino, " +"responda que no para que se rechacen dichas peticiones. Cuando el sistema " +"funcione con baterías, estas peticiones siempre se aceptan." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Los eventos de suspensión ocurren generalmente cuando la BIOS detecta un " +"período largo de inactividad de la máquina y decide suspenderla. También " +"pueden ocurrir al presionar el botón de suspensión en la caja." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Los ficheros de configuración han cambiado de lugar" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Este paquete ya no incluye el script /etc/apm/event.d/20hdparm. Permanece " +"instalado pero inactivo, y las configuraciones personalizadas que hubiera " +"hecho en /etc/apm/apmd_proxy.conf se han borrado." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Se ha añadido un script con el mismo nombre en el paquete hdparm. Al " +"actualizar hdparm podrá configurar de nuevo el script de acuerdo con sus " +"preferencias." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"Tampoco se incluye ya el fichero de configuración /etc/modutils/apmd, que se " +"encuentra ahora en el paquete powermgmt-base, creado a tal efecto." --- apmd-3.2.2.orig/debian/po/POTFILES.in +++ apmd-3.2.2/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] apmd.templates --- apmd-3.2.2.orig/debian/po/pt_BR.po +++ apmd-3.2.2/debian/po/pt_BR.po @@ -0,0 +1,109 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: apmd_3.2.0-8\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2004-01-12 18:05-0300\n" +"Last-Translator: André Luís Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Gerenciar o arquivo de configuração do apmd com o debconf ?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"O arquivo de configuração do apmd, \"/etc/apm/apmd_proxy.conf\", pode ser " +"gerenciado automaticamente pelo debconf, ou manualmente por você." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "Aceitar eventos suspender/standy do sistemas em energia AC ?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Você deseja aceitar requisições APM como suspender ou standby quando o " +"computador estiver executando em energia AC ? Caso você não aceite, " +"requisições desse tipo serão rejeitadas. Quando o computador estiver " +"sendo executado com energia da bateria, estas requisições serão sempre " +"aceitas." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Eventos suspender sistema ou standby são geralmente geradas quando a BIOS " +"automaticamente suspende devido a máquina estar ociosa por algum tempo. Eles " +"podem também ser gerados quando você pressiona os botões \"suspender\" ou " +"\"standby\" do computador." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Arquivos de configuração foram movidos" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"O script /etc/apm/event.d/20hdparm foi removido deste pacote. Ele continua " +"instalado mas está inativo e qualquer configuração personalizada, " +"anteriormente mantida em /etc/apm/apmd_proxy.conf, foi apagada." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Um script com o mesmo nome foi adicionado ao pacote hdparm. Ao atualizar seu " +"pacote hdparm você poderá configurar o script novamente de acordo com suas " +"preferências." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"O arquivo de configuração /etc/modutils/apmd foi removido deste pacote. O " +"arquivo /etc/modutils/apm foi adicionado ao pacote powermgmt-base e serve " +"para o mesmo propósito." --- apmd-3.2.2.orig/debian/po/templates.pot +++ apmd-3.2.2/debian/po/templates.pot @@ -0,0 +1,89 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" --- apmd-3.2.2.orig/debian/po/fr.po +++ apmd-3.2.2/debian/po/fr.po @@ -0,0 +1,109 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: apmd (3.2.0-3)\n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2003-08-17 11:40+0200\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Faut-il gérer le fichier de configuration d'apmd avec debconf ?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"Le fichier de configuration d'apmd, /etc/apm/apmd_proxy.conf, peut être géré " +"soit automatiquement par debconf, soit par vous-même." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "" +"Faut-il accepter les événements « suspend » et « standby » lorsque le " +"secteur est présent ?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Souhaitez-vous accepter les requêtes APM de mise en veille (« suspend ») ou " +"de mise en attente (« standby ») lorsque l'alimentation électrique via le " +"secteur est présente ? Si vous refusez, ces requêtes ne seront pas honorées. " +"Lorsque le système fonctionne sur ses accumulateurs, ces requêtes sont " +"toujours honorées." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Des événements de mise en veille ou de mise en attente se produisent " +"généralement lorsque le BIOS suspend automatiquement le système après une " +"période donnée d'inactivité. Ils sont aussi générés lorsque les touches " +"correspondantes (« suspend » ou « sleep ») de l'ordinateur sont pressées." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Les fichiers de configuration ont été déplacés" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Le script /etc/apm/event.d/20hdparm a été supprimé de ce paquet. Il est " +"toujours installé mais n'est plus actif. Tous les réglages personnalisés, " +"précédemment contenus dans /etc/apm/apmd_proxy.conf, ont été effacés." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Un script portant le même nom a été ajouté au paquet hdparm. Lors de la mise " +"à jour de hdparm, vous pourrez à nouveau effectuer la configuration de ce " +"script selon vos préférences." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"Le fichier de configuration /etc/modutils/apmd a été supprimé de ce paquet. " +"Le fichier /etc/modutils/apm a été ajouté au paquet powermgmt-base pour " +"apporter les mêmes fonctionnalités." --- apmd-3.2.2.orig/debian/po/ja.po +++ apmd-3.2.2/debian/po/ja.po @@ -0,0 +1,88 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2003-09-09 22:20+0900\n" +"Last-Translator: Kenshi Muto \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "apmd ¤ÎÀßÄê¤ò debconf ¤Ç´ÉÍý¤·¤Þ¤¹¤«?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "apmd ¤ÎÀßÄê¥Õ¥¡¥¤¥ë \"/etc/apm/apmd_proxy.conf\" ¤Ï debconf ¤Ç¼«Æ°Åª¤Ë¡¢¤¢¤ë¤¤¤Ï¼êÆ°¤ÇÁàºî¤Ç¤­¤Þ¤¹¡£" + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "AC ÅŸ»»þ¤Ë¥·¥¹¥Æ¥à¤Î¥µ¥¹¥Ú¥ó¥É/¥¹¥¿¥ó¥Ð¥¤¥¤¥Ù¥ó¥È¤ò¼õ¤±Æþ¤ì¤Þ¤¹¤«?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "¥³¥ó¥Ô¥å¡¼¥¿¤¬ AC ÅŸ»¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤È¤­¤Ë APM ¤ÎÍ×µá¤Ë¤è¤ë¥·¥¹¥Æ¥à¤Î¥µ¥¹¥Ú¥ó¥É¤Þ¤¿¤Ï¥¹¥¿¥ó¥Ð¥¤¤ò¼õ¤±Æþ¤ì¤Þ¤¹¤«? ¤¢¤Ê¤¿¤¬¤³¤³¤ÇµñÈݤ¹¤ë¤È¡¢¤½¤Î¤è¤¦¤ÊÍ×µá¤ÏµñÀ䤵¤ì¤Þ¤¹¡£¥³¥ó¥Ô¥å¡¼¥¿¤¬¥Ð¥Ã¥Æ¥ê¥â¡¼¥É¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤È¤­¤Ë¤Ï¡¢¤³¤Î¼ï¤ÎÍ×µá¤Ï¾ï¤Ë¼õ¤±Æþ¤ì¤é¤ì¤Þ¤¹¡£" + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "¥·¥¹¥Æ¥à¤Î¥µ¥¹¥Ú¥ó¥É/¥¹¥¿¥ó¥Ð¥¤¤Î¥¤¥Ù¥ó¥È¤ÏÄ̾¥Þ¥·¥ó¤¬¤·¤Ð¤é¤¯¥¢¥¤¥É¥ë¾õÂ֤ˤʤ俤¿¤á¤Ë BIOS ¤¬¼«Æ°Åª¤Ë¥µ¥¹¥Ú¥ó¥É¤¹¤ë¤È¤­¤ËÀ¸À®¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥¤¥Ù¥ó¥È¤Ï¡¢¥³¥ó¥Ô¥å¡¼¥¿¤Î \"¥µ¥¹¥Ú¥ó¥É\" ¤Þ¤¿¤Ï \"¥¹¥ê¡¼¥×\" ¥Ü¥¿¥ó¤ò²¡¤¹¤³¤È¤Ë¤è¤Ã¤Æ¤âÀ¸À®¤µ¤ì¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£" + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "ÀßÄê¥Õ¥¡¥¤¥ë¤¬°ÜÆ°¤µ¤ì¤Þ¤·¤¿" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "¥¹¥¯¥ê¥×¥È /etc/apm/event.d/20hdparm ¤Ï¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ïºï½ü¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ï»Ä¤·¤Þ¤¹¤¬ÉÔ³èÀ­²½¤µ¤ì¤Æ¤ª¤ê¡¢°ÊÁ° /etc/apm/apmd_proxy.conf ¤ËÊÝ»ý¤µ¤ì¤Æ¤¤¤¿¥«¥¹¥¿¥Þ¥¤¥ºÀßÄê¤Ï½üµî¤µ¤ì¤Þ¤·¤¿¡£" + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "Ʊ̾¤Î¥¹¥¯¥ê¥×¥È¤¬ hdparm ¥Ñ¥Ã¥±¡¼¥¸¤ËÄɲ䵤ì¤Æ¤¤¤Þ¤¹¡£hdparm ¤Î¹¹¿·»þ¤Ë¡¢¤¢¤Ê¤¿¤Î¹¥¤ß¤Ë´ØÏ¢¤¹¤ë¥¹¥¯¥ê¥×¥ÈÀßÄê¤òºÆ¤Ó¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "ÀßÄê¥Õ¥¡¥¤¥ë /etc/modutils/apmd ¤Ï¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ïºï½ü¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Æ±ÍͤÎÌÜŪ¤ËÂбþ¤¹¤ë¤¿¤á¤Ë¡¢¥Õ¥¡¥¤¥ë /etc/modutils/apm ¤¬ powermgmt-base ¥Ñ¥Ã¥±¡¼¥¸¤ÇÄɲ䵤ì¤Æ¤¤¤Þ¤¹¡£" --- apmd-3.2.2.orig/debian/po/da.po +++ apmd-3.2.2/debian/po/da.po @@ -0,0 +1,100 @@ +# translation of da.po to Danish +# translation of apmd debconf to Danish +# Claus Hindsgaul , 2004. +# +# +msgid "" +msgstr "" +"Project-Id-Version: da\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2004-02-16 23:20+0100\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "HÃ¥ndtér apmd-opsætningsfilen med debconf?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"Opsætningsfilen for apmd, \"/etc/apm/apmd_proxy.conf\", kan hÃ¥ndeters " +"automatisk af debconf eller manuelt af dig." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "Acceptér suspend/dvale-hændelser nÃ¥r maskinen er tilsluttet til lysnettet?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Ønsker du at acceptere APM-systemforespørgsler om suspend eller dvale nÃ¥r " +"computeren er tilsluttet lysnettet? Hvis du afviser, bliver sÃ¥danne " +"forespørgsler afvist. NÃ¥r computeren kører pÃ¥ batteri, accepteres de " +"altid." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Suspend/dvale-hændelser genereres normalt nÃ¥r BIOS'en automatisk gÃ¥r i " +"dvale fordi maskinen har været inaktiv i et stykke tid. De kan ogsÃ¥ " +"laves, nÃ¥r du trykker pÃ¥ \"suspend\" eller \"sleep\"-knapperne pÃ¥ " +"computeren." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Opsætningsfilerne er flyttet" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Skriptet /etc/apm/event.d/20hdparm er blevet flyttet fra denne pakke. Det " +"forbliver installeret, men inaktivt, og mange specialindstillinger, der " +"tidligere lÃ¥ i /etc/apm/apmd_proxy.conf er blevet slettet." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Et skript med samme navn er blevet tilføjet hdparm-pakken. NÃ¥r du " +"opgraderer hdparm, vil du kunne sætte skriptet op igen." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"Opsætningsfilen /etc/modutils/apmd er blevet fjernet fra denne pakke." +"Filen /etc/modutils/apm, der tjener samme formÃ¥l, er blevet tilføjet " +"pakken powermgmt-base." + --- apmd-3.2.2.orig/debian/po/nl.po +++ apmd-3.2.2/debian/po/nl.po @@ -0,0 +1,92 @@ +# translation of apmd_3.2.1-4_nl.po to Dutch +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Frans Pop , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: apmd_3.2.1-4_nl\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2004-04-04 14:30+0200\n" +"Last-Translator: Frans Pop \n" +"Language-Team: Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Wilt u het configuratiebestand van apmd beheren met debconf?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "Het configuratiebestand van apmd, '/etc/apm/apmd_proxy.conf', kan automatisch door debconf worden beheerd of handmatig door u." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "Wilt u suspend/standby-gebeurtenissen van het systeem accepteren als de computer is aangesloten op netstroom?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "Wilt u APM-verzoeken om het systeem in de ruststand (\"standby\") of slaapstand (\"suspend\") te brengen accepteren als de computer is aangesloten op netstroom? Als u hier niet voor kiest, dan worden dergelijke gebeurtenissen genegeerd. Als de computer op de batterij werkt, worden deze verzoeken altijd geaccepteerd." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "Suspend/standby-gebeurtenissen ontstaan meestal als het BIOS automatisch naar de slaapstand schakelt omdat de computer enige tijd niet in gebruik is geweest. Ze kunnen ook ontstaan als u de \"suspend\"- of \"slaap\"-knop op de computer indrukt." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "De configuratiebestanden zijn verplaatst" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Het script '/etc/apm/event.d/20hdparm' is uit dit pakket verwijderd. Het blijft geïnstalleerd, maar is niet meer actief; eventuele persoonlijke instellingen, voorheen vastgelegd in '/" +"etc/apm/apmd_proxy.conf', zijn verwijderd." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "Een script met dezelfde naam is toegevoegd aan het pakket hdparm. Tijdens het opwaarderen van hdparm zult u het script conform uw voorkeuren kunnen configureren." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "Het configuratiebestand '/etc/modutils/apmd' is verwijderd uit dit pakket. Het bestand '/etc/modutils/apm' is aan het pakket powermgmt-base toegevoegd en heeft dezelfde functie." + --- apmd-3.2.2.orig/debian/po/de.po +++ apmd-3.2.2/debian/po/de.po @@ -0,0 +1,112 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Erik Schanze , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: apmd_3.2.2-1_de\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2004-05-21 22:10+0200\n" +"Last-Translator: Erik Schanze \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Konfiguration von apmd mit debconf verwalten?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"Die Konfigurationsdatei vom apmd, \"/etc/apm/apmd_proxy.conf\", kann " +"automatisch von debconf verwaltet werden oder händisch von Ihnen." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "" +"Sollen die Ereignisse suspend/standby bei Netzbetrieb angenommen " +"werden?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Wollen Sie die APM-Ereignisse system suspend oder system standby " +"annehmen, wenn der Rechner im Netzbetrieb läuft? Wenn Sie das nicht " +"wollen, werden diese Ereignisse nicht angenommen. Wenn der Rechner " +"im Akkubetrieb arbeitet, werden diese Ereignisse immer angenommen." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Systemereignisse suspend/standby werden normalerweise erzeugt, wenn " +"das BIOS automatisch in den Suspend-Zustand schaltet, weil der Rechner " +"schon eine Weile auf Eingaben wartet. Die Ereignisse können Sie auch durch " +"Drücken der Tasten \"Suspend\" oder \"Sleep\" an ihrem Rechner auslösen." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Konfigurationsdateien wurden verschoben" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Das Skript /etc/apm/event.d/20hdparm wurde aus dem Paket entfernt. " +"Es bleibt zwar installiert, ist aber nicht aktiv und alle benutzerspezifischen " +"Einstellungen, die früher in /etc/apm/apmd_proxy.conf gespeichert waren, " +"wurden gelöscht." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Ein Skript gleichen namens wurde dem Paket hdparm beigefügt. Nach der " +"Aktualisierung von hdparm können Sie das Skript wieder nach Ihren " +"Vorstellungen konfigurieren." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"Die Konfigurationsdatei /etc/modutils/apmd wurde aus dem Paket entfernt. " +"Die Datei /etc/modutils/apm wurde dem Paket powermgmt-base beigefügt, es " +"erfüllt den gleichen Zweck." + --- apmd-3.2.2.orig/debian/po/tr.po +++ apmd-3.2.2/debian/po/tr.po @@ -0,0 +1,105 @@ +# Turkish translation of apmd. +# This file is distributed under the same license as the apmd package. +# Osman Yüksel , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: apmd\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-03-11 11:27+0000\n" +"PO-Revision-Date: 2004-06-06 05:39+0300\n" +"Last-Translator: Osman Yüksel \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: KBabel 1.3.1\n" + +#. Type: boolean +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Apmd yapılandırmasını debconf ile yönetmek ister misiniz?" + +#. Type: boolean +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"Apdm yapılandırma dosyası \"/etc/apm/apmd_proxy.conf\", debconf tarafından " +"otomatik olarak veya sizin tarafınızdan elle düzenlenebilir." + +#. Type: boolean +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "AC güç üzerinde sistem askıya alma/bekleme olayları etkinleÅŸtirilsin mi?" + +#. Type: boolean +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Bilgisayar AC güç ile çalışırken sistem askıya alma veya sistem bekleme APM " +"isteklerini kabul ediyor musunuz? EÄŸer reddederseniz bu istekler geri " +"çevrilecektir. Bilgisayar pil gücü ile çalışırken bu istekler her zaman kabul edilir." + +#. Type: boolean +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Sistem askıya alma/bekleme olayları genelde, makinenin belli bir süre yanıt " +"vermediÄŸi durumlarda BIOS tarafından üretilir. Ayrıca bilgisayardaki \"askıya " +"al\" veya \"uyuma\" tuÅŸlarına bastığınız durumlarda da bu olaylar gerçekleÅŸir." + +#. Type: note +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Yapılandırma dosyaları taşınmış" + +#. Type: note +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"/etc/apm/event.d/20hdparm betiÄŸi kurulu durumda, ancak etkinlestirilmemis " +"olarak birakiliyor ve /etc/apm/apmd_proxy.conf içindeki özelleÅŸtirilmiÅŸ ayarlar " +"silindi." + +#. Type: note +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Aynı isimde bir betik hdparm paketine eklendi. hdparm paketini güncellerken " +"isteklerinize göre bu betiÄŸi tekrar yapılandırabileceksiniz." + +#. Type: note +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"/etc/modutils/apmd yapılandırma dosyası bu paketten çıkarıldı. Aynı iÅŸlevleri " +"gören /etc/modutils/apmd dosyası powermgmt-base paketine eklendi." --- apmd-3.2.2.orig/debian/po/cs.po +++ apmd-3.2.2/debian/po/cs.po @@ -0,0 +1,108 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: apmd\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2005-01-07 14:49+0100\n" +"Last-Translator: Jan Outrata \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Spravovat konfiguraèní soubor apmd pomocí programu debconf?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled " +"automatically by debconf, or manually by you." +msgstr "" +"Konfiguraèní soubor apmd, \"/etc/apm/apmd_proxy.conf\", mù¾e být ovládán " +"automaticky programem debconf, nebo ruènì." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "Pøijímat systémové události suspend/standby pøi napájení z el. sítì?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Chcete pøíjímat systémové APM po¾adavky suspend a standby, kdy¾ je " +"poèítaè napájen z el. sítì (AC zdroje)? Pokud zamítnete, budou tyto " +"po¾adavky odmítány. Kdy¾ je poèítaè napájen z baterií, jsou tyto " +"po¾adavky v¾dy pøijímány." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Systémové události suspend/standby jsou obvykle generovány, kdy¾ je " +"automaticky vyvolá BIOS, proto¾e stroj po nìjakou dobu bì¾í " +"naprázdno. Mohou být také vygenerovány stiskem tlaèítka \"suspend\" nebo " +"\"sleep\" na poèítaèi." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "Konfiguraèní soubory se pøesunuly" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Skript /etc/apm/event.d/20hdparm byl z tohoto balíèku " +"odstranìn. Zùstává instalován, ale neaktivní, a v¹echna va¹e " +"nastavení, døíve uchovávaná v /etc/apm/apmd_proxy.conf, byla " +"vymazána." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again according to " +"your preferences." +msgstr "" +"Skript stejného jména byl pøidán do balíèku hdparm. Pøi aktualizaci " +"balíèku hdparm budete moci nastavit skript znovu podle va¹ich " +"pøedstav." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base " +"package to serve the same purpose." +msgstr "" +"Konfiguraèní soubor /etc/modutils/apmd byl z tohoto balíèku " +"odstranìn. Do balíèku powermgmt-base byl za stejným úèelem pøidán " +"soubor /etc/modutils/apm." --- apmd-3.2.2.orig/debian/po/it.po +++ apmd-3.2.2/debian/po/it.po @@ -0,0 +1,110 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: apmd 3.2.2-2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-04 13:42+0200\n" +"PO-Revision-Date: 2004-11-01 10:15:00+0100\n" +"Last-Translator: Stefano Melchior \n" +"Language-Team: Italian Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../apmd.templates:4 +msgid "Manage apmd configuration file with debconf?" +msgstr "Gestire il file di configurazione di apmd con debconf?" + +#. Description +#: ../apmd.templates:4 +msgid "" +"The apmd configuration file, \"/etc/apm/apmd_proxy.conf\", can be handled" +"automatically by debconf, or manually by you." +msgstr "" +"Il file di configurazione di apmd, \"/etc/apm/apmd_proxy.conf\", " +"può essere gestito automaticamente mediante debconf, " +"oppure manualmente." + +#. Description +#: ../apmd.templates:11 +msgid "Accept system suspend/standby events on AC power?" +msgstr "Accettare gli eventi di sospensione e standby del sistema " +"per l'alimentazione AC?" + +#. Description +#: ../apmd.templates:11 +msgid "" +"Do you want to accept system suspend or system standby APM requests when the " +"computer is running on AC power? If you refuse, such requests will be " +"rejected. When the computer is running on battery power, these requests are " +"always accepted." +msgstr "" +"Accettare le richieste di sospensione o standby di sistema da parte " +"di APM quando il computer sta " +"funzionando sotto AC? Rifiutando, tali richieste saranno respinte. Quando il " +"computer funziona con la batteria, queste richieste sono " +"sempre accettate." + +#. Description +#: ../apmd.templates:11 +msgid "" +"System suspend/standby events are usually generated when the BIOS " +"automatically suspends because the machine has been idle for a while. They " +"can also be generated when you press the \"suspend\" or \"sleep\" button on " +"the computer." +msgstr "" +"Gli eventi di sospensione e standby di sistema sono solitamente generati " +"quando il BIOS automaticamente effettua la sospensione perché la macchina " +"è stata inattiva per un po'. Possono anche essere generati premendo i bottoni " +"\"sospensione\" o \"sleep\" sul computer." + +#. Description +#: ../apmd.templates:24 +msgid "Configuration files have moved" +msgstr "I file di configurazione sono stati spostati" + +#. Description +#: ../apmd.templates:24 +msgid "" +"The script /etc/apm/event.d/20hdparm has been removed from this package. It " +"remains installed but inactive, and any custom settings, formerly kept in /" +"etc/apm/apmd_proxy.conf, have been erased." +msgstr "" +"Lo script /etc/apm/event.d/20hdparm è stato rimosso da questo pacchetto. " +"Rimane installato ma inattivo e ogni personalizzazione della configurazione, " +"in precedenza mantenuta in /etc/apm/apmd_proxy.conf, è stata cancellata." + +#. Description +#: ../apmd.templates:24 +msgid "" +"A script of the same name has been added to the hdparm package. When " +"upgrading hdparm you will be able to configure the script again " +"according to your preferences." +msgstr "" +"Uno script omonimo è stato aggiunto al pacchetto hdparm. Quando si" +" aggiorna hdparm si potrà configurare di nuovo lo script in accordo " +"alle proprie preferenze." + +#. Description +#: ../apmd.templates:24 +msgid "" +"The configuration file /etc/modutils/apmd has been removed from this " +"package. The file /etc/modutils/apm has been added to the powermgmt-base" +" package to serve the same purpose." +msgstr "" +"Il file di configurazione /etc/modutils/apmd è stato rimosso da questo pacchetto. Il file " +" /etc/modutils/apm è stato aggiunto al pacchetto powermgmt-base " +"allo stesso scopo." --- apmd-3.2.2.orig/debian/apmd.logcheck.ignore.paranoid +++ apmd-3.2.2/debian/apmd.logcheck.ignore.paranoid @@ -0,0 +1,13 @@ +apmd\[[0-9]+\]: (Normal|Standby|Critical) Resume +apmd\[[0-9]+\]: (Now using|Using) (AC|battery|backup) power +apmd\[[0-9]+\]: (System|User) (Standby|Suspend) +apmd\[[0-9]+\]: (apmd_)?call_proxy: +apmd\[[0-9]+\]: Battery: [0-9]+%, +apmd\[[0-9]+\]: Battery: absent +apmd\[[0-9]+\]: Capability Change +apmd\[[0-9]+\]: Exiting +apmd\[[0-9]+\]: Performing APM status check +apmd\[[0-9]+\]: Suspending now +apmd\[[0-9]+\]: Update Time +apmd\[[0-9]+\]: Version: apmd [0-9.]+, (apm )?driver [0-9.]+, APM BIOS [0-9.]+ +apmd\[[0-9]+\]: apmd [0-9.]+ interfacing with apm driver [0-9.]+ and APM BIOS [0-9.]+