=== modified file 'debian/acpid.install' --- debian/acpid.install 2009-02-17 11:10:42 +0000 +++ debian/acpid.install 2010-01-14 21:43:28 +0000 @@ -1,5 +1,4 @@ -debian/powerbtn usr/share/doc/acpid/examples/ -debian/powerbtn.sh usr/share/doc/acpid/examples/ +debian/powerbtn etc/acpi/events/ debian/examples/default usr/share/doc/acpid/examples/ debian/examples/default.sh usr/share/doc/acpid/examples/ debian/examples/ac usr/share/doc/acpid/examples/ === modified file 'debian/acpid.preinst' --- debian/acpid.preinst 2009-04-20 14:04:32 +0000 +++ debian/acpid.preinst 2010-01-14 21:43:28 +0000 @@ -16,26 +16,14 @@ echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else - if [ "$CONFFILE" = "/etc/acpi/events/powerbtn" -a -e /etc/acpi/powerbtn.sh.dpkg-bak ]; then - # we need some special logic for /etc/acpi/events/powerbtn because it might - # be kept because it was changed itself or because /etc/acpi/powerbtn.sh was changed - echo "Obsolete conffile $CONFFILE saved as $CONFFILE.dpkg-bak ..." - sed -e 's#/etc/acpi/powerbtn.sh#/etc/acpi/powerbtn.sh.dpkg-bak#' < "$CONFFILE" > "$CONFFILE".dpkg-bak - else - echo "Removing obsolete conffile $CONFFILE ..." - fi - rm -f "$CONFFILE" + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" fi fi } - case "$1" in install|upgrade) - if dpkg --compare-versions "$2" lt 1.0.8-7; then - rm_conffile acpid /etc/logrotate.d/acpid - rm_conffile acpid /etc/acpi/powerbtn.sh - rm_conffile acpid /etc/acpi/events/powerbtn - fi + rm_conffile acpid /etc/logrotate.d/acpid ;; esac === added file 'debian/acpid.upstart' --- debian/acpid.upstart 1970-01-01 00:00:00 +0000 +++ debian/acpid.upstart 2010-01-14 21:43:28 +0000 @@ -0,0 +1,14 @@ +# acpid - ACPI daemon +# +# The ACPI daemon provides a socket for other daemons to multiplex kernel +# ACPI events from, and a framework for reacting to those events. + +description "ACPI daemon" + +start on runlevel [2345] +stop on runlevel [!2345] + +expect fork +respawn + +exec acpid -c /etc/acpi/events -s /var/run/acpid.socket === modified file 'debian/changelog' --- debian/changelog 2009-12-21 13:03:48 +0000 +++ debian/changelog 2010-01-15 04:21:53 +0000 @@ -1,3 +1,10 @@ +acpid (1:2.0.0-1ubuntu1) karmic; urgency=low + + * Merge from Debian testing. Remaining changes: + - Updating module-init-tools version (>> 3.1-rel-2) + + -- Vikram Dhillon Thu, 14 Jan 2010 23:17:43 -0500 + acpid (1:2.0.0-1) unstable; urgency=low * New Upstream version from new source tree that already incorporates the @@ -6,6 +13,21 @@ -- Michael Meskes Mon, 21 Dec 2009 13:03:48 +0100 +acpid (1.0.10-5ubuntu1) lucid; urgency=low + + * Merge from Debian testing. Remaining changes: + - Replace init script with Upstart job. + - This does not load modules, unlike the init script, since these are + all loaded by ACPI:* modaliases now (and thus by udev) + - debian/control: + - Bump build-dependency on debhelper for Upstart-aware dh_installinit + - debian/preinst, debian/acpid.install, debian/control, debian/rules: + continue installing /etc/acpi/events/powerbtn and /etc/acpi/powerbtn.sh, + deferring the migration to acpi-support-base; and drop the Recommends: + on acpi-support-base for the same reason. + + -- Steve Langasek Wed, 23 Dec 2009 00:32:09 +0000 + acpid (1.0.10-5) unstable; urgency=high * Correct permissions that were incorrectly set by very old acpid versions. @@ -13,6 +35,38 @@ -- Michael Meskes Tue, 15 Dec 2009 13:11:29 +0100 +acpid (1.0.10-4ubuntu1) lucid; urgency=low + + * Merge from Debian testing. Remaining changes: + - Replace init script with Upstart job. + - This does not load modules, unlike the init script, since these are + all loaded by ACPI:* modaliases now (and thus by udev) + - debian/control: + - Bump build-dependency on debhelper for Upstart-aware dh_installinit + * Dropped changes, integrated upstream: + - build with -D_GNU_SOURCE to make "struct ucred" available + - acpid.*, event.c, ud_socket.*: limit the number of non-root clients, + correctly close dead connections. + - Remove the logrotate file on upgrade + - Bump Standards-Version to 3.8.0 + - debian/powerbtn.sh: + - Update for KDE 4 + - Add dalston-power-applet to list of handlers for power + button events + - add xfce4-power-manager to the list of handlers as well. + * Dropped changes, superseded by upstart conversion: + - debian/acpid.init.d: add the 'status' action + - Replace "multiuser" deprecated init mode in debian/rules with manual + arguments. Adapt the corresponding change in LSB init script header + and runtime dependency in debian/control + - depend on sysv-rc + * debian/preinst, debian/acpid.install, debian/control, debian/rules: + continue installing /etc/acpi/events/powerbtn and /etc/acpi/powerbtn.sh, + deferring the migration to acpi-support-base; and drop the Recommends: + on acpi-support-base for the same reason. + + -- Steve Langasek Fri, 18 Dec 2009 07:44:04 +0000 + acpid (1.0.10-4) unstable; urgency=low * Updated netlink patch to version 6. @@ -259,6 +313,100 @@ -- Michael Meskes Fri, 20 Jun 2008 14:21:14 +0200 +acpid (1.0.6-9ubuntu8) karmic; urgency=low + + * debian/powerbtn.sh: add xfce4-power-manager to the list of handlers as + well. LP: #425155 + + -- Lionel Le Folgoc Wed, 23 Sep 2009 14:53:01 +0200 + +acpid (1.0.6-9ubuntu7) karmic; urgency=low + + * debian/powerbtn.sh: + - Add dalston-power-applet to list of handlers for power + button events (part of fix for LP: #432578). + + -- Gary Lasker Fri, 18 Sep 2009 12:25:33 -0400 + +acpid (1.0.6-9ubuntu6) karmic; urgency=low + + FFE LP: #427356. + + * Replace init script with Upstart job. + - This does not load modules, unlike the init script, since these are + all loaded by ACPI:* modaliases now (and thus by udev) + * debian/control: + - Bump build-dependency on debhelper for Upstart-aware dh_installinit + + -- Scott James Remnant Tue, 15 Sep 2009 03:34:49 +0100 + +acpid (1.0.6-9ubuntu5) karmic; urgency=low + + * Upload jaunty changes to karmic + + -- Jonathan Riddell Tue, 28 Apr 2009 11:07:28 +0100 + +acpid (1.0.6-9ubuntu4.9.04.3) jaunty-proposed; urgency=low + + * Update /etc/acpi/powerbtn.sh for KDE 4 + Closes LP: #368497 + + -- Jonathan Riddell Tue, 28 Apr 2009 11:01:13 +0100 + +acpid (1.0.6-9ubuntu4.9.04.2) jaunty-security; urgency=low + + * SECURITY UPDATE: denial of service via too many open files + - acpid.*, event.c, ud_socket.*: limit the number of non-root clients, + correctly close dead connections. + - CVE-2009-0798 + + -- Marc Deslauriers Wed, 22 Apr 2009 15:09:59 -0400 + +acpid (1.0.6-9ubuntu4) intrepid; urgency=low + + * Remove the logrotate file on upgrade, as the previous one that was + installed did a "kill -USR1" on the acpid process to cause it to reload + its logfiles. As the new acpid doesn't use a log file it doesn't catch + this signal, which means that once a week acpid is killed. As it doesn't + have a logfile the logrotate file is not needed, and so is no longer + installed, but as it was a conffile it is not removed on upgrades. + Thanks to Loic Minier for his help with the fix. (LP: #263888) + - ad81211857dabeb88538e0f90c922b7c787b34c5 in Debian's pkg-acpi git repo. + + -- James Westby Wed, 24 Sep 2008 15:19:14 +0100 + +acpid (1.0.6-9ubuntu3) intrepid; urgency=low + + * Replace "multiuser" deprecated init mode in debian/rules with manual + arguments. Adapt the corresponding change in LSB init script header and + runtime dependency in debian/control (LP: #254249) + + -- Didier Roche Wed, 13 Aug 2008 19:50:50 +0200 + +acpid (1.0.6-9ubuntu2) intrepid; urgency=low + + * debian/control + - Depend on lsb-base >= 3.2-14, providing status_of_proc() + - Bump Standards-Version to 3.8.0 + * debian/acpid.init.d + - Add the 'status' action (LP: #251681) + + -- Nathan Handler Thu, 24 Jul 2008 21:03:02 -0500 + +acpid (1.0.6-9ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - init script starts earlier + - depend on sysv-rc + * removed ubuntu specific -G (lockfilegroup) options, it does + no longer apply because acpid now uses syslog by default + * disable debian update-rc.d call to make acpid run earlier on + upgrade, out packages already run early + * build with -D_GNU_SOURCE to make "struct ucred" available + (see also http://sourceware.org/bugzilla/show_bug.cgi?id=6545) + + -- Michael Vogt Mon, 02 Jun 2008 09:58:14 +0200 + acpid (1.0.6-9) unstable; urgency=low * Don't depend on sysv-rc; closes: #481912 === modified file 'debian/control' --- debian/control 2009-12-21 13:03:48 +0000 +++ debian/control 2010-01-15 04:16:23 +0000 @@ -1,11 +1,12 @@ Source: acpid Section: admin Priority: optional -Maintainer: Debian Acpi Team -Uploaders: Michael Meskes , - Loic Minier +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian Acpi Team +Uploaders: Anibal Monsalve Salazar , + Michael Meskes , Standards-Version: 3.8.3 -Build-Depends: debhelper (>= 5), quilt (>= 0.40) +Build-Depends: debhelper (>= 7.3.15ubuntu2), quilt (>= 0.40) Vcs-Git: git://git.debian.org/git/pkg-acpi/acpid.git Vcs-Browser: http://git.debian.org/?p=pkg-acpi/acpid.git Homepage: http://acpid.sourceforge.net/ === modified file 'debian/rules' --- debian/rules 2009-12-21 13:03:48 +0000 +++ debian/rules 2010-01-14 21:44:16 +0000 @@ -24,6 +24,8 @@ dh_testroot dh_clean dh_installdirs + # Install powerbtn.sh script and make it executable + install -m 755 -D debian/powerbtn.sh debian/acpid/etc/acpi/powerbtn.sh binary: binary-arch binary-indep