--- hal-0.5.12~rc1+git20090403.orig/debian/rules +++ hal-0.5.12~rc1+git20090403/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk + +# List any files which are not installed +include /usr/share/cdbs/1/rules/utils.mk +common-binary-post-install-arch:: list-missing + +ifneq ($(findstring $(DEB_BUILD_ARCH), i386 amd64),) +MACBOOK_SUPPORT = --with-macbookpro --with-macbook +endif + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-hotplug-map \ + --with-pid-file=/var/run/hald/hald.pid \ + --enable-pcmcia-support \ + --with-hwdata=/usr/share/misc \ + $(MACBOOK_SUPPORT) \ + --enable-policy-kit \ + --enable-console-kit \ + --enable-acl-management \ + --enable-umount-helper \ + --enable-docbook-docs \ + --docdir=/usr/share/doc/hal-doc \ + --with-udev-prefix=/lib + +DEB_DH_INSTALLINIT_ARGS := -- start 24 2 3 4 5 . stop 16 1 . + +install/hal:: + # Remove executable bit as this is nothing that can be executed + chmod -x $(DEB_DESTDIR)/usr/lib/hal/scripts/hal-functions + # install the callout script + install debian/debian-setup-keyboard $(DEB_DESTDIR)/usr/lib/hal --- hal-0.5.12~rc1+git20090403.orig/debian/libhal-storage-dev.install +++ hal-0.5.12~rc1+git20090403/debian/libhal-storage-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/hal/libhal-storage.h +debian/tmp/usr/lib/pkgconfig/hal-storage.pc +debian/tmp/usr/lib/libhal-storage.so +debian/tmp/usr/lib/libhal-storage.a --- hal-0.5.12~rc1+git20090403.orig/debian/changelog +++ hal-0.5.12~rc1+git20090403/debian/changelog @@ -0,0 +1,2491 @@ +hal (0.5.12~rc1+git20090403-0ubuntu4) jaunty-proposed; urgency=low + + * 87_standalone_smbios.patch: Disable st_wlan again, it currently does not + work and always reports that the killswitch is on. This fixes a regression + from the previous SRU on some Dell models. (LP: #394663) + + -- Martin Pitt Sun, 05 Jul 2009 11:42:22 +0200 + +hal (0.5.12~rc1+git20090403-0ubuntu3) jaunty-proposed; urgency=low + + * 87_standalone_smbios.patch: Fix typos which caused Dell wifi killswitches + to not work any more. (LP: #368553) + + -- Martin Pitt Thu, 11 Jun 2009 13:54:34 +0200 + +hal (0.5.12~rc1+git20090403-0ubuntu2) jaunty-proposed; urgency=low + + * debian/patches/50_no_crash_on_md_blockdev.patch: + - When adding a block device, don't assume that the parent + has storage capability. This fixes a crash where the device + is re-parented to the root computer device object (such as + with mdraid devices). LP: #361689. + + -- Chris Coulson Fri, 05 Jun 2009 12:25:50 +0200 + +hal (0.5.12~rc1+git20090403-0ubuntu1) jaunty; urgency=low + + * Update to current git HEAD to collect some more bug fixes: + - Fix volume label parsing (directly committed upstream) (LP: #347370) + - Regenerate FDI cache if it's zero sized + - Fix handling of floppy and MO discs. + - Fix various memory leaks and unused pointers. + - Fix linking against libsmbios. + - Allow specifying a udev dir in etc (Fedora still has udev rules dir in + /etc) + * debian/rules: Update --with-udev-prefix according to above upstream + change. + * Drop 86_smbios_configure_error.patch, applied upstream. + + -- Martin Pitt Fri, 03 Apr 2009 17:10:56 +0200 + +hal (0.5.12~rc1+git20090204-0ubuntu4) jaunty; urgency=low + + [ Steve Langasek ] + * debian/control: Recommend: smartdimmer for sony backlight support. + * 88_nvidia_brightness.patch: add a new sony-nvidia brightness get/set + method, using the smartdimmer tool, and an fdi policy file so that we + use this method on Sony laptops with known nVidia chips. Many thanks + to Lee-tin-yien Yohan for working on this! + Closes LP: #277589. + + [ Martin Pitt ] + * 88_nvidia_brightness.patch: Also patch Makefile.{am,in} to install the new + fdi file. + + -- Steve Langasek Mon, 23 Mar 2009 11:55:53 +0100 + +hal (0.5.12~rc1+git20090204-0ubuntu3) jaunty; urgency=low + + * 87_standalone_smbios.patch: Add missing bit from + autoreconfiscation, which brings back the building and + installation of hal-acl-tool. This repairs automatic ACLs, and + thus sound card, camera, scanner, DRI, and other device access. + Thanks to Mario Limonciello for the patch! (LP: #334299) + + -- Martin Pitt Wed, 25 Feb 2009 15:54:09 +0100 + +hal (0.5.12~rc1+git20090204-0ubuntu2) jaunty; urgency=low + + * 86_smbios_configure_error.patch: + - Fix a compilation error that prevented the smbios based Dell + backlight control from working with later libsmbios builds. + * 87_standalone_smbios.patch: + - Provide a lightweight C utility for querying WLAN,BT,WWAN rather than + using the python one from smbios-utils. + + -- Mario Limonciello Tue, 24 Feb 2009 21:22:47 -0600 + +hal (0.5.12~rc1+git20090204-0ubuntu1) jaunty; urgency=low + + * Update to latest upstream git snapshot: + - Fix buffer overrun with incorrectly formatted LED + devices (LP: #322649). + + -- Chris Coulson Wed, 04 Feb 2009 23:18:31 +0100 + +hal (0.5.12~rc1+git20090120-0ubuntu1) jaunty; urgency=low + + * Update to latest upstream git snapshot. + * Drop patches applied upstream: + - 00git_build_2.6.28.patch + - 00git_fix_drm_acls.patch + - 07_joystick_detection.patch + - ubuntu_02_udevrulesdir.patch + * Add 01_tablet_evdev.patch: Use evdev driver for tablets. Patch + taken from Fedora, as requested by Timo Aaltonen. + + -- Martin Pitt Wed, 21 Jan 2009 02:04:40 +0100 + +hal (0.5.12~rc1-0ubuntu6) jaunty; urgency=low + + * Add 00git_fix_drm_acls.patch: Fix copy&paste error which assigned + the wrong access_control.file for /dev/drm/card* devices. It + previously copied "input.device", but should be + "linux.device_file". This brings back hardware GL rendering, + instead of always using the Mesa software rasterizer. (Part of + LP #269509) + + -- Martin Pitt Mon, 19 Jan 2009 12:33:07 +0100 + +hal (0.5.12~rc1-0ubuntu5) jaunty; urgency=low + + * Bump dependency on udev. + + -- Scott James Remnant Fri, 09 Jan 2009 11:47:29 +0000 + +hal (0.5.12~rc1-0ubuntu4) jaunty; urgency=low + + * debian/patches/ubuntu_02_udevrulesdir.patch: Install udev rules into + /lib/udev/rules.d instead of /etc + * debian/hal.preinst: Remove the old rule file unless it's modified. + + -- Scott James Remnant Wed, 07 Jan 2009 17:27:06 +0000 + +hal (0.5.12~rc1-0ubuntu3) jaunty; urgency=low + + * debian/10-x11-keymap.fdi: revert the evdev workaround for ThinkPad + extra buttons, which is not required in jaunty and above. + + -- Steve Langasek Fri, 12 Dec 2008 14:31:53 -0800 + +hal (0.5.12~rc1-0ubuntu2) jaunty; urgency=low + + * Drop 99_new-kernel-rfkill-interface.patch, it's allegedly not necessary + with this new hal any more. The upstream rfkill addon now handles all + kernel rfkill types. + * Add 00git_build_2.6.28.patch: Fix FTBFS with linux-libc-dev from Linux + 2.6.28. Committed to upstream git, too. + + -- Martin Pitt Thu, 27 Nov 2008 19:39:05 +0100 + +hal (0.5.12~rc1-0ubuntu1) jaunty; urgency=low + + * New upstream release; first candidate for 0.5.12. + * Drop patches which got accepted upstream: + - 03_increase_helper_timeout.patch + - 04_read_brightness_not_actual_brightness.patch + - 05_removable_block_acl_support.patch + - 10_ntfs_uid_mount.patch + - 84_memstick_bus_support.patch + * Drop 01_default_suspend_quirks.patch: Current hal-info sets default quirks + now, while pm-utils' 98smart-kernel-video disables the quirks on intel and + nvidia. + + -- Martin Pitt Thu, 27 Nov 2008 16:59:24 +0100 + +hal (0.5.11+git20081110-0ubuntu1) jaunty; urgency=low + + * Merge with Debian unstable; remaining Ubuntu changes: + - debian/{hal.init,rules}: Use /var/run/hald/ as PID file directory, not + /var/run/hal/, since the former is needed for sockets, ACL caches, etc. + (LP #205496) + - debian/rules: Enable MacBook (Pro) support on i386 and amd64. Add + pciutils-dev build dependency. + - debian/preferences.fdi: Disable automounting for fixed disks. On session + startup it is not done anyway (since that disables the gnome-mount UI + which would ask for authentication) and it leads to confusion when + restarting hal while a session is running. (LP #138537) + - Use PolicyKit/: + + Add libpolkit-dev build dependency and policykit, consolekit, acl + runtime dependencies. + + debian/rules: Enable PK, CK, and automatic ACL management. + + hal.install, debian/hal.manpages: Ship usr/share/PolicyKit/ and + hal-is-caller-privileged.1. + + hal.postinst: Allow haldaemon user to query the PolicyKit database to + enforce privileges. + + debian/README.Debian: Adapt description for dynamic privileges. + + debian/hal.postinst: Do not create the powerdev/plugdev system groups. + + Drop Debian's 01_hal_debian_dbuspolicy.patch (which assumes + powerdev/plugdev system groups). + - Enable input-hotplug for xorg: + + 85_set_property_direct.patch: a patch from Fedora to add --direct + option to hal-set-property. + + debian/debian-setup-keyboard: modify a callout script from Fedora to + work with console-setup. + + debian/10-x11-keymap.fdi: add a callout to run debian-setup-keyboard + + debian/rules, debian/hal.install: install 10-x11-input.fdi again. + - 05_removable_block_acl_support.patch: Add support for adding ACLs to + removable block devices (such as USB keys) on insertion. + - Various bug fixes, see their patch headers: + + 01_default_suspend_quirks.patch + + 02_long_storage_size.patch + + 03_increase_helper_timeout.patch + + 04_read_brightness_not_actual_brightness.patch + + 05_dell_backlight_lockups.patch + + 06_smart_card_readers_acl.patch + + 96_uinput_device_support.patch + + 99_new-kernel-rfkill-interface.patch + + 100_dell_killswitch.patch + + ubuntu_01_ignore_single_slash_label.patch + - 83_ssb_bus_support.patch: Add support for devices on the SSB bus; patch + by Matthew Garrett (not applied upstream yet, this needs to update the + spec, too). + - 84_memstick_bus_support.patch: Add support for devices on the "memstick" + bus; patch by Matthew Garrett (not reported upstream yet, this needs to + update the spec, too). + * Update to current git head snapshot. + - Works with ConsoleKit 0.3 API. Bumped consolekit dependency + accordingly, and add libck-connector-dev build dependency, so that + configure can check the available ConsoleKit version. (LP: #273711) + - Delete patches applied upstream: + + 02_long_storage_size.patch + + 05_dell_backlight_lockups.patch + + 56_revert_ntfs_locale_mount_option.patch + + 60_use-phy80211-instead-of-wiphy-symlink-to-detect.patch + + 61_use-wext-ioctl-instead-of-sysfs-to-detect-wireless.patch + + 100_dell_killswitch.patch + - Ported 99_new-kernel-rfkill-interface.patch to new code base, as far as + possible. + * Add 07_joystick_detection.patch: Add proper detection for Joysticks, so + that they don't end up as being detected as mouse. Thanks to Ari Mustonen + for the patch! (LP: #284129) + + -- Martin Pitt Mon, 10 Nov 2008 12:55:42 +0100 + +hal (0.5.11-6) unstable; urgency=low + + * debian/patches/56_revert_ntfs_locale_mount_option.patch + - The 'locale=' NTFS mount option is not supported by the Linux kernel + NTFS driver, so remove it. The ntfs-3g package will ship a separate fdi + file which enables this mount option again when the ntfs-3g driver is + used. (Closes: #497463) + * debian/hal.postinst + - Remove existing stop symlinks in rc0 and rc6 on package upgrades. + (Closes: 501662) + + -- Michael Biebl Sat, 25 Oct 2008 15:16:30 +0200 + +hal (0.5.11-5) unstable; urgency=low + + * Don't stop hal in runlevels 0 and 6, sendsigs is fine; from Ubuntu; thanks + Martin Pitt; closes: #501310. + * Build depend on libsmbios >= 2.0.3; see LP #261665. + + -- Loic Minier Mon, 06 Oct 2008 16:42:53 +0200 + +hal (0.5.11-4ubuntu4) intrepid; urgency=low + + * 100_dell_killswitch.patch: don't disable the hardware switch + for bluetooth radio on Dell laptops with the killswitch interface, + only toggle software radio options. (LP: #288294) + * 99_new-kernel-rfkill-interface.patch: Update upstream bug number to point + to bug rather than attachement. + + -- Mario Limonciello Sat, 25 Oct 2008 23:22:09 -0500 + +hal (0.5.11-4ubuntu3) intrepid; urgency=low + + * 99_new-kernel-rfkill-interface.patch: use + /sys/class/net/$device/rfkill/rfkill/state to detect that an + antenna has been powered off. LP: #267875. + + -- Steve Langasek Tue, 14 Oct 2008 21:48:23 +0000 + +hal (0.5.11-4ubuntu2) intrepid; urgency=low + + * 01_default_suspend_quirks.patch: Disable remaining quirks (s3-bios, + s3-mode, dpms-suspend, and radeon-off) for systems using the proprietary + nvidia and fglrx drivers and newer Intels, too, since they break + suspend/hibernate. (LP: #253223) + + -- Martin Pitt Thu, 09 Oct 2008 08:38:29 +0200 + +hal (0.5.11-4ubuntu1) intrepid; urgency=low + + * Merge with Debian unstable; remaining Ubuntu changes: + (LP #134712) + - debian/{hal.init,rules}: Use /var/run/hald/ as PID file directory, not + /var/run/hal/, since the former is needed for sockets, ACL caches, etc. + (LP #205496) + - debian/rules: Enable MacBook (Pro) support on i386 and amd64. Add + pciutils-dev build dependency. + - debian/rules, debian/hal.init: Do not run stop init.d script for levels 1 + and 6 (TearDown). (Debian #501310) + - debian/preferences.fdi: Disable automounting for fixed disks. On session + startup it is not done anyway (since that disables the gnome-mount UI + which would ask for authentication) and it leads to confusion when + restarting hal while a session is running. (LP #138537) + - Use PolicyKit/: + + Add libpolkit-dev build dependency and policykit, consolekit, acl + runtime dependencies. + + debian/rules: Enable PK, CK, and automatic ACL management. + + hal.install, debian/hal.manpages: Ship usr/share/PolicyKit/ and + hal-is-caller-privileged.1. + + hal.postinst: Allow haldaemon user to query the PolicyKit database to + enforce privileges. + + debian/README.Debian: Adapt description for dynamic privileges. + + debian/hal.postinst: Do not create the powerdev/plugdev system groups. + + Drop Debian's 01_hal_debian_dbuspolicy.patch (which assumes + powerdev/plugdev system groups). + - Enable input-hotplug for xorg: + + 85_set_property_direct.patch: a patch from Fedora to add --direct + option to hal-set-property. + + debian/debian-setup-keyboard: modify a callout script from Fedora to + work with console-setup. + + debian/10-x11-keymap.fdi: add a callout to run debian-setup-keyboard + + debian/rules, debian/hal.install: install 10-x11-input.fdi again. + - 05_removable_block_acl_support.patch: Add support for adding ACLs to + removable block devices (such as USB keys) on insertion. + - Various bug fixes, see their patch headers: + + 01_default_suspend_quirks.patch + + 02_long_storage_size.patch + + 03_increase_helper_timeout.patch + + 04_read_brightness_not_actual_brightness.patch + + 05_dell_backlight_lockups.patch + + 06_smart_card_readers_acl.patch + + 96_uinput_device_support.patch + + ubuntu_01_ignore_single_slash_label.patch + - 83_ssb_bus_support.patch: Add support for devices on the SSB bus; patch + by Matthew Garrett (not applied upstream yet, this needs to update the + spec, too). + - 84_memstick_bus_support.patch: Add support for devices on the "memstick" + bus; patch by Matthew Garrett (not reported upstream yet, this needs to + update the spec, too). + - 88_change_pm_quirk_policy.patch: Patch by Matthew Garret, undocumented, + non-obvious purpose. + * debian/hal.init: Drop the FDI cache removal again, replaced with better + dpkg trigger solution in Debian. + * debian/hal.init: Drop gparted-disable-automount.fdi handling, it has been + fixed properly in gparted now. + * debian/hal.init: Fix Default-Stop: to match update-rc.d call. (Don't stop + on 0 and 6) + + -- Martin Pitt Mon, 06 Oct 2008 16:26:33 +0200 + +hal (0.5.11-4) unstable; urgency=low + + [ Loic Minier ] + * New patches from upstream git, fixing support of some wifi chips with + 2.6.27 kernels; closes: #498132, #498478, #501004. + - 60_use-phy80211-instead-of-wiphy-symlink-to-detect, fixes the sysfs + symlink lookup to use the proper pathname. + - 61_use-wext-ioctl-instead-of-sysfs-to-detect-wireless, fixes detection + of wifi interfaces with 2.6.27 kernels. + + [ Michael Biebl ] + * Add file trigger which re-generates the hal fdi cache. (Closes: #500916) + + [ Loic Minier ] + * Bump debhelper bdep to >= 5.0.59 for debian/package.triggers support. + + -- Michael Biebl Sun, 05 Oct 2008 17:50:25 +0200 + +hal (0.5.11-3~ubuntu10) intrepid; urgency=low + + [ Martin Pitt ] + * debian/hal.init: Remove the FDI cache before startup. dpkg preserves + original timestamps of unpacked fdi files in packages, so changes in those + will never get picked up on upgrade, not even after a reboot. + (LP: #275825) + + [ Michael Bienia ] + * Add debian/patches/06_smart_card_readers_acl.patch: + Grant access to the currently logged-in user on some SCM smart-card + readers (LP: #57755). This should improve the out-of-box support for + OpenGPG card users. + + -- Martin Pitt Thu, 02 Oct 2008 17:16:53 +0200 + +hal (0.5.11-3~ubuntu9) intrepid; urgency=low + + * debian/10-x11-keymap.fdi: Disable -evdev for the ThinkPad extra buttons; + -evdev currently exclusively grabs that input device without properly + passing it on. This workaround restores the old path through acpid and + hal. (LP: #267682) + + -- Martin Pitt Mon, 29 Sep 2008 14:58:51 +0200 + +hal (0.5.11-3~ubuntu8) intrepid; urgency=low + + * debian-setup-keyboard: Read the model from + /etc/default/console-setup, and force input.xkb.rules as evdev. + + -- Timo Aaltonen Tue, 09 Sep 2008 19:22:19 +0300 + +hal (0.5.11-3~ubuntu7) intrepid; urgency=low + + * Build depend on newer libsmbios. (LP: #261665) + + -- Mario Limonciello Tue, 26 Aug 2008 18:15:52 -0500 + +hal (0.5.11-3~ubuntu6) intrepid; urgency=low + + * List lpia in libsmbios bdeps and deps; LP: #239843. + + -- Loic Minier Fri, 08 Aug 2008 18:46:41 +0200 + +hal (0.5.11-3~ubuntu5) intrepid; urgency=low + + * Enable input-hotplug for xorg + - 85_set_property_direct.patch: a patch from Fedora to add --direct + option to hal-set-property. + - debian/debian-setup-keyboard: modify a callout script from Fedora to + work with console-setup. + - debian/10-x11-keymap.fdi: add a callout to run debian-setup-keyboard + - debian/rules, debian/hal.install: install 10-x11-input.fdi again. + + -- Timo Aaltonen Tue, 05 Aug 2008 11:10:51 +0300 + +hal (0.5.11-3~ubuntu4) intrepid; urgency=low + + * debian/control + - Depends on lsb-base >= 3.2-14, provides status_of_proc() + * debian/hal.init + - Added the 'status' action, (LP: #252350) + + -- Timothy Bielawa Sun, 27 Jul 2008 11:12:16 -0400 + +hal (0.5.11-3~ubuntu3) intrepid; urgency=low + + * Add 05_dell_backlight_lockups.patch: + -Resolves lockups caused if a BIOS password of some type is active. + Changing backlight via BIOS w/ a BIOS password is an unsupported + mechanism currently. (LP: #189814) + * debian/control: + - Depend on libsmbios 0.13.13-1ubuntu2 or later for the above patch + to work. + + -- Mario Limonciello Tue, 22 Jul 2008 16:45:13 +0200 + +hal (0.5.11-3~ubuntu2) intrepid; urgency=low + + * Drop 96_uinput_device_support.patch: It is a bad security design (user + processes should not have direct access to the hardware, such a thing + belongs into an unix_chkpwd-like wrapper), was intended as a hack for + Hardy, and not accepted upstream. [UbuntuSpec:intrepid-device-permissions] + * 02_long_storage_size.patch: Use uint64 instead of int for + volume.num_blocks, as it can get larger than 2G. (LP: #209483) + + -- Martin Pitt Mon, 21 Jul 2008 15:49:17 +0200 + +hal (0.5.11-3~ubuntu1) intrepid; urgency=low + + [ Steve Kowalik ] + * 05_removable_block_acl_support.patch: Add, adds support for adding ACLs to + removable block devices (such as USB keys) on insertion. + + [ Martin Pitt ] + * Merge latest changes from Debian. + * debian/hal.preinst: Clean up the old Debian/Ubuntu specific hal rules + file. This needs to be kept until after the next LTS. + * debian/hal.init: Ignore failure of removing gparted-disable-automount.fdi, + which happens if /usr is read-only. (LP: #248649) + + -- Martin Pitt Tue, 15 Jul 2008 17:43:21 +0100 + +hal (0.5.11-3) unstable; urgency=low + + [ Michael Biebl ] + * Remove our custom udev rules file and use the one provided by upstream. + - debian/hal.udev.rules: Remove, no longer needed. + - debian/rules: Remove the installation of the udev rules file. + - debian/hal.links: No longer create the symlink + /etc/udev/rules.d/z99_hal.rules. The upstream udev rules file is now + directly installed as /etc/udev/rules.d/90-hal.rules. + - debian/hal.preinst: Remove the conffile /etc/udev/hal.rules and the + z99_hal.rules symlink on upgrades. + * debian/control + - Bump Standards-Version to 3.8.0. No further changes. + - Depend on lsb-base >= 3.2-14, providing status_of_proc(). + * debian/patches/01_hal_debian_dbuspolicy.patch + - Add a "at_console" policy in addition to the group based policies. + * debian/hal.init + - Add "status" action. (Closes: #492625) + Thanks to Tim Bielawa for the patch. + + [ Loic Minier ] + * List lpia arch in libsmbios bdeps and deps. + + -- Michael Biebl Sun, 17 Aug 2008 20:06:13 +0200 + +hal (0.5.11-2) unstable; urgency=low + + * debian/patches/01_hal_debian_dbuspolicy.patch + - Update security policy to allow access for root. (Closes: #482123) + * debian/preferences.fdi + - Remove outdated examples. (Closes: #484461) + + -- Michael Biebl Sun, 15 Jun 2008 22:50:13 +0200 + +hal (0.5.11-1ubuntu1) intrepid; urgency=low + + * Merge with Debian unstable; remaining Ubuntu changes: + - debian/hal.init: Remove stray gparted-disable-automount.fdi on startup. + Needs to be kept until Gnome #324220 is fixed properly. + (LP #134712) + - debian/{hal.init,rules}: Use /var/run/hald/ as PID file directory, not + /var/run/hal/, since the former is needed for sockets, ACL caches, etc. + (LP #205496) + - debian/hal.init: Unconditionally chown the directory in the init script. + (LP #175525) + - Ubuntu udev world order: + + debian/hal.links: Remove rules symlink, we install the rules file + directly into rules/. + + debian/rules: Install udev rules into /etc/udev/rules.d/. + - debian/rules: Enable MacBook (Pro) support on i386 and amd64. Add + pciutils-dev build dependency. + - debian/rules: Do not run stop init.d script for levels 1 and 6 + (TearDown). + - debian/preferences.fdi: Disable automounting for fixed disks. On session + startup it is not done anyway (since that disables the gnome-mount UI + which would ask for authentication) and it leads to confusion when + restarting hal while a session is running. (LP #138537) + - Use PolicyKit/: + + Add libpolkit-dev build dependency and policykit, consolekit, acl + runtime dependencies. + + debian/rules: Enable PK, CK, and automatic ACL management. + + hal.install, debian/hal.manpages: Ship usr/share/PolicyKit/ and + hal-is-caller-privileged.1. + + hal.postinst: Allow haldaemon user to query the PolicyKit database to + enforce privileges. + + debian/README.Debian: Adapt description for dynamic privileges. + + debian/hal.postinst: Do not create the powerdev/plugdev system groups. + + Drop Debian's 01_hal_debian_dbuspolicy.patch (which assumes + powerdev/plugdev system groups). + - Various bug fixes, see their patch headers: + + 01_default_suspend_quirks.patch + + 03_increase_helper_timeout.patch + + 04_read_brightness_not_actual_brightness.patch + + 96_uinput_device_support.patch + + ubuntu_01_ignore_single_slash_label.patch + - 83_ssb_bus_support.patch: Add support for devices on the SSB bus; patch + by Matthew Garrett (not applied upstream yet, this needs to update the + spec, too). + - 84_memstick_bus_support.patch: Add support for devices on the "memstick" + bus; patch by Matthew Garrett (not reported upstream yet, this needs to + update the spec, too). + - 88_change_pm_quirk_policy.patch: Patch by Matthew Garret, undocumented, + non-obvious purpose. + * debian/hal.postinst: Only do polkit-auth call for a fresh installation. No + need to do it on upgrade. + + -- Martin Pitt Thu, 15 May 2008 17:15:26 +0200 + +hal (0.5.11-1) unstable; urgency=low + + * New upstream release. + - Fixes spec regarding ALSA PCM class. (Closes: #473592) + * debian/shlibs.local + - This file has been obsoleted by the symbols files and is outdated so + better remove it. + * debian/patches/01_hal_debian_dbuspolicy.patch + - Updated. + * debian/patches/10_ntfs_uid_mount.patch + - Allow uid/gid mount option for ntfs. (Closes: #418176, #427109) + + -- Michael Biebl Thu, 08 May 2008 13:36:20 +0200 + +hal (0.5.11~rc2-1ubuntu9) intrepid; urgency=low + + * Add 03_increase_helper_timeout.patch: Increase helper timeout from 10 to + 20 seconds. Some CD-ROMs are too slow to do all the detection in 10 + seconds. (LP: #218834) + + -- Martin Pitt Wed, 30 Apr 2008 11:00:07 +0200 + +hal (0.5.11~rc2-1ubuntu8) hardy-proposed; urgency=low + + * debian/hal.postinst: If hal has any start rc symlinks, force them back to + 24. A lot of people end up with priority 12 for some reason, which races + with dbus startup, especially with CONCURRENCY=shell. (LP: #25931) + * Add 00upstream-fix-macbook-backlight.patch: Fix backlight control on + MacBooks. Thanks to godlygeek! (LP: #206921) + + -- Martin Pitt Mon, 28 Apr 2008 07:44:11 +0200 + +hal (0.5.11~rc2-1ubuntu7) hardy; urgency=low + + * Add 02_input_spin_removed_fd.patch: + - Avoid spinning on already invalidated/closed file descriptors in the + input addon. This fixes "hal takes 100% CPU and breaks input device + handling" on a lot of machines. (LP: #203679) + - Thanks to Jon Oberheide for the patch! + + -- Martin Pitt Mon, 21 Apr 2008 10:36:50 +0200 + +hal (0.5.11~rc2-1ubuntu6) hardy; urgency=low + + * debian/patches/01_default_suspend_quirks.patch: Use quirks on i845 and + i865, too; thanks, Matthew Garrett. + * debian/hal.postinst: Fix rc.d symlinks harder on upgrades from dapper. + (LP: #211343) + + -- Martin Pitt Tue, 08 Apr 2008 18:24:15 -0500 + +hal (0.5.11~rc2-1ubuntu5) hardy; urgency=low + + * 01_default_suspend_quirks.patch: Apply the same logic to the + suspend-hybrid and hibernate script. + * debian/hal.postinst: Fix /var/run/hal -> /var/run/hald as well and drop + the chown'ing completely, since the init script does it already. + (LP: #175525) + * debian/hal.postinst: Fix upgrade version comparison to also force-reload + dbus when installing from scratch. (LP: #206787) + + -- Martin Pitt Wed, 26 Mar 2008 18:12:24 +0100 + +hal (0.5.11~rc2-1ubuntu4) hardy; urgency=low + + * debian/{hal.init,rules}: Use /var/run/hald/ as PID file directory, not + /var/run/hal/, since the former is needed for sockets, ACL caches, etc. + (LP: #205496) + + -- Martin Pitt Tue, 25 Mar 2008 16:50:58 +0100 + +hal (0.5.11~rc2-1ubuntu3) hardy; urgency=low + + * 01_default_suspend_quirks.patch: Disable video quirks when running on a + known-good video driver (proprietary nvidia and fglrx, and Intel >= + 915GM). Doing this here is better than the previously applied pm-utils + patch, since it avoids ignoring explicit pm-utils command line arguments, + consistently uses the same behaviour for suspend and resume, and keeps the + logic where it actually belongs. + + -- Martin Pitt Mon, 24 Mar 2008 17:35:38 +0100 + +hal (0.5.11~rc2-1ubuntu2) hardy; urgency=low + + * debian/rules: build using --with-deprecated-keys, since we don't want to + break packages that were assuming this worked right up through beta. + LP: #204768. + + -- Steve Langasek Fri, 21 Mar 2008 13:24:43 -0700 + +hal (0.5.11~rc2-1ubuntu1) hardy; urgency=low + + * Update our git snapshot from March 01 to current 0.5.11-RC2, which brings + a few bug fixes. + - Adds properties for tablet PCs (LP: #90451) + - Fixes operation on MacBookPro third generation. (LP: #129869) + * Remove patches applied upstream: + - 02_allow_ufs_ufstype.patch + - 05_fix_dell_brightness.patch + * Adapt patches to new upstream version: + - 96_uinput_device_support.patch + - 96_uinput_device_support.patch + * Merge with Debian unstable; see 0.5.10+git20080301-1ubuntu1 for remaining + Ubuntu changes. + * Replace 88_change_pm_quirk_policy.patch with + 01_default_suspend_quirks.patch: Only set the default suspend quirks for + kernel problem workarounds if hal-info does not define any quirks at all + for the hardware. (LP: #198808) + + -- Martin Pitt Fri, 21 Mar 2008 13:39:03 +0100 + +hal (0.5.11~rc2-1) unstable; urgency=low + + * New upstream release candidate + * debian/libhal-storage1.{symbols,shlibs}, debian/libhal1.{symbols,shlibs}: + - Updated symbols and shlibs + + -- Sjoerd Simons Tue, 18 Mar 2008 14:46:04 +0100 + +hal (0.5.10+git20080301-1ubuntu3) hardy; urgency=low + + * debian/hal.postinst: + - make sure that the start scripts are installed on + dapper->hardy upgrades (LP: #203756) + + -- Michael Vogt Thu, 20 Mar 2008 10:17:43 +0100 + +hal (0.5.10+git20080301-1ubuntu2) hardy; urgency=low + + * debian/hal.preinst: Fix copy&paste error in mv_conffile(), so that the + udev rules transition actually works and a standard dapper->hardy upgrade + does not produce a conffile prompt. (LP: #172837) + + -- Martin Pitt Thu, 13 Mar 2008 19:01:51 +0100 + +hal (0.5.10+git20080301-1ubuntu1) hardy; urgency=low + + * Merge with Debian to pull in a current snapshot from upstream git head + (upstream neglects doing a long-overdue 0.5.11 release). This pulls in two + tons of bug fixes and reduces our insane stack of patches to a + maintainable level again. (LP: #198295) + - Uses MMC profile reading for CDs/DVDs. (LP: #66254) + * Remove the following patches which are upstream now: + - 01_proc_sys_batteries.patch + - 02_sysfs_battery_serial.patch + - 92_gxx43.patch + - 94_batter-model_name.patch + - 97_fix_power_info_via_sysfs.patch + * Drop 80_allow_vfat_usefree.patch; Using 'usefree' VFAT mount option is not + necessary with the current Hardy kernel any more. + * Drop debian/patches/82_ignore_fixed_nonmedia.patch: Obsolete, GVFS treats + fixed partitions correctly. + * Tag and forward the subset of our remaining patches which have some kind + of documentation and justification. Rename them to clean up patch order + prefixes a bit. + * 96_uinput_device_support.patch: Adapt to new upstream version. + * Remaining Ubuntu changes: + - debian/hal.init: Remove stray gparted-disable-automount.fdi on startup. + Needs to be kept until Gnome #324220 is fixed properly. + (LP #134712) + - debian/hal.init: Unconditionally chown the directory in the init script. + (LP #175525) + - Ubuntu udev world order: + + debian/hal.links: Remove rules symlink, we install the rules file + directly into rules/. + + debian/rules: Install udev rules into /etc/udev/rules.d/. + + debian/hal.{preinst,postinst,postrm}: Transition code for changing the + udev rule priority (see 0.5.8.1-3ubuntu7, needs to be kept until after + Hardy's release). + - debian/hal.preinst, debian/libhal1.preinst: Clean up doc directory + symlinking when upgrading from Gutsy. Needs to be kept until after + Hardy's release. + - debian/rules: Enable MacBook (Pro) support on i386 and amd64. Add + pciutils-dev build dependency. + - debian/rules: Do not run stop init.d script for levels 1 and 6 + (TearDown). + - debian/preferences.fdi: Disable automounting for fixed disks. On session + startup it is not done anyway (since that disables the gnome-mount UI + which would ask for authentication) and it leads to confusion when + restarting hal while a session is running. (LP #138537) + - Various bug fixes, see their patch headers: + + 02_allow_ufs_ufstype.patch + + 03_virtual_net_devices.patch + + 04_read_brightness_not_actual_brightness.patch + + 96_uinput_device_support.patch + + ubuntu_01_ignore_single_slash_label.patch + - 83_ssb_bus_support.patch: Add support for devices on the SSB bus; patch + by Matthew Garrett (not applied upstream yet, this needs to update the + spec, too). + - 84_memstick_bus_support.patch: Add support for devices on the "memstick" + bus; patch by Matthew Garrett (not reported upstream yet, this needs to + update the spec, too). + - 88_change_pm_quirk_policy.patch: Patch by Matthew Garret, undocumented, + non-obvious purpose. + - Use PolicyKit/ConsoleKit: + + Add libpolkit-dev build dependency and policykit, consolekit, acl + runtime dependencies. + + debian/rules: Enable PK, CK, and automatic ACL management. + + hal.install, debian/hal.manpages: Ship usr/share/PolicyKit/ and + hal-is-caller-privileged.1. + + hal.postinst: Allow haldaemon user to query the PolicyKit database to + enforce privileges. + + debian/README.Debian: Adapt description for dynamic privileges. + + debian/hal.postinst: Do not create the powerdev/plugdev system groups. + + Drop Debian's 01_hal_debian_dbuspolicy.patch (which assumes + powerdev/plugdev system groups). + - debian/hal.postinst: Do not restart hal when upgrading from 6.06. This + needs to be kept until after Hardy's release. + * Add policykit build dependency so that the build can use + polkit-policy-file-validate. + * Add debian/patches/05_fix_dell_brightness.patch: Fix Dell brightness + backend. (LP: #191725) + * Remove debian/patches/03_virtual_net_devices.patch. While being correct, + it would require fixing client applications, too, which is too late for + hardy. By request from Kees Cook. (See LP #199140, #198541) + + -- Martin Pitt Wed, 05 Mar 2008 18:14:57 +0100 + +hal (0.5.10+git20080301-1) unstable; urgency=low + + [ Michael Biebl ] + * debian/rules + - Explicitly disable the macbook addon to ensure reliable build results + with unclean build chroots. + * debian/dbus.init + - Fix LSB init header. Use $remote_fs instead of $local_fs as the + daemon requires /usr to be mounted. Remove S from Should-Stop. + * debian/copyright + - The documentation in the doc/ subdirectory is licensed under the GFDL. + Update the copyright notice accordingly. + + [ Sjoerd Simons ] + * New upstream release + - Fixes issues with sysfs batteries present since 2.6.24 + (Closes: #462723, 463740, #460072, #463480, #455198) + - Correctly handles batteries with 0% charge (Closes: #463878) + - No longer leak fd when input devices get removed (Closes: #460133) + + * Remove patches that have been merged upstream: + - debian/patches/65_keyboard-addon-repeated.patch + - debian/patches/68_alternative-cdrw-capacity-detection.patch + - debian/patches/70_killswitch_dell.patch + - debian/patches/71_realpath.patch + - debian/patches/75_glist_memleak.patch + - debian/patches/80_fix_int_outof.patch + - debian/patches/81_dont_deref_reason_why_locked_if_null.patch + - debian/patches/82_partutil_dont_deref_null.patch + - debian/patches/84_fix_uninitialised_memory_usage_in_pci_add.patch + - debian/patches/85_fix_strlist_to_string.patch + - debian/patches/86_fix_killswitch_callout.patch + - debian/patches/87_fix_hurd_compilation.patch + - debian/patches/88_fix_hurd_compilation2.patch + - debian/patches/89_hurd_compile_autofoo.patch + - debian/patches/90_fix_crash_after_fdi_cache_generation.patch + - debian/patches/91_fix_invalid_fdi_cache_on_empty_matches.patch + * debian/rules: Add list-missing + * debian/libhal-storage1.symbols, debian/libhal1.symbols + - Add symbol files for the various libraries + + -- Sjoerd Simons Mon, 03 Mar 2008 15:22:39 +0100 + +hal (0.5.10-5ubuntu8) hardy; urgency=low + + [ Scott James Remnant ] + * Add debian/patches/96_uinput_device_support.patch: This creates a HAL + device for the uinput device, allowing us to set ACLs for it using + PolicyKit/ConsoleKit. (LP: #187130) + + [ Daniel T Chen ] + * Add debian/patches/97_fix_power_info_via_sysfs.patch: Fix battery status + reading from /sys. Patches taken from upstream GIT head. + (LP: #194052, #194719) + + [ Martin Pitt ] + * Add debian/patches/02_sysfs_battery_serial.patch: Get battery serial + number from sysfs. Patch taken fro upstream GIT head. + + -- Martin Pitt Mon, 03 Mar 2008 15:02:40 +0100 + +hal (0.5.10-5ubuntu7) hardy; urgency=low + + * Add debian/patches/95_virtual_net_devices.patch: Include virtual network + devices which do not have a physical parent. Thanks to Kees Cook for the + patch. + * Add debian/patches/01_proc_sys_batteries.patch: Fix showing batteries + twice. Taken from upstream git head, see patch header for details. + (LP: #177570) + + -- Martin Pitt Wed, 20 Feb 2008 12:09:48 +0100 + +hal (0.5.10-5ubuntu6) hardy; urgency=low + + * debian/patches/94_batter-model_name.patch: Battery probe was using + 'technology' for info.product, instead of 'model_name' attribute. + + -- Ben Collins Fri, 25 Jan 2008 11:30:47 +0000 + +hal (0.5.10-5ubuntu5) hardy; urgency=low + + * Fix build failure with g++-4.3. + + -- Matthias Klose Thu, 24 Jan 2008 16:53:58 +0000 + +hal (0.5.10-5ubuntu4) hardy; urgency=low + + * debian/hal.postinst: + - do not restart hal on dapper upgrades (that breaks) + + -- Michael Vogt Wed, 23 Jan 2008 10:48:43 +0000 + +hal (0.5.10-5ubuntu3) hardy; urgency=low + + * debian/hal.postinst: Allow user haldaemon to query the PolicyKit database. + Bump policykit dependency accordingly. + + -- Martin Pitt Tue, 15 Jan 2008 22:41:12 +0100 + +hal (0.5.10-5ubuntu2) hardy; urgency=low + + * debian/patches/88_change_pm_quirk_policy.patch: Change default pm + quirk policy to match previous Ubuntu behaviour. + + -- Matthew Garrett Sun, 30 Dec 2007 19:57:28 +0000 + +hal (0.5.10-5ubuntu1) hardy; urgency=low + + * Merge with Debian unstable. See 0.5.10-1ubuntu1 for remaining changes. + * debian/rules: Configure with --enable-acl-management, and add dependency + to 'acl'. (See hardy-hardware-detection spec.) + * Stop using the 'plugdev' and 'powerdev' system groups: + - Drop debian/patches/01_hal_debian_dbuspolicy.patch. + - debian/hal.postinst: Do not create these groups any more. + - debian/README.Debian: Adapt text about volume and power management + (users must be on a local console instead of in these groups). + + -- Martin Pitt Wed, 02 Jan 2008 14:51:43 +0100 + +hal (0.5.10-5) unstable; urgency=low + + [ Michael Biebl ] + * debian/hal.postinst + - Remove superfluous getent calls. adduser is clever enough to omit + creating accounts if they already exist. + - Don't ignore addgroup errors. + - Set the home directory of the haldaemon user to /var/run/hal. + * debian/hal.dirs + - Make sure the directory /var/run/hal is created. + * debian/hal.postrm + - As /var/run/hal is managed by dpkg now, there is no need anymore to + clean up this directory manually. + * debian/control + - The Vcs-* fields are now officially supported, so remove the XS- prefix. + - Change maintainer address to + pkg-utopia-maintainers@lists.alioth.debian.org. + - Add sjoerd, slomo and myself to Uploaders. + - Bump Standards-Version to 3.7.3. No further changes required. + + [ Sjoerd Simons ] + * debian/patches/86_fix_killswitch_callout.patch: + - Added. Fixes errors from the killswitch callouts on non-dell machines + (Closes: #453203) + * debian/control: Don't build-depend on libusb-dev on hurd-i386 + * debian/patches/87_fix_hurd_compilation.patch: + - Added. Fix compilation on the Hurd. Based on a patch by Samuel Thibault + (Closes: #444574) + * debian/patches/90_fix_crash_after_fdi_cache_generation.patch: + - Added. Fix a hal crash when the fdi cache is regenerated while + hal is running (From upstream git). + * debian/patches/91_fix_invalid_fdi_cache_on_empty_matches.patch: + - Added. Fix a bug causing the fdi cache to be invalid when an fdi files + contains empty match rules. (Closes: #456310) + * debian/hal.postinst + - Ignore errors from addgroup. These aren't fatal and can occur when + trying to add groups are added on installation (thus aren't system + groups). + - Add --quiet to the adduser invocation. We're not interested in adduser + noting that user haldaemon already exists + * debian/patches/88_fix_hurd_compilation2.patchx + - Added. Some more patched to fix compilation on the Hurd. Thanks to + Samuel Thibault + * debian/patches/89_hurd_compile_autofoo.patch + - Added. Regenerate tools/Makefile.in to include the changes needed for + hurd support. + * debian/hal.install + - Include everything in /usr/bin as the hal package is now the only thing + to have things from /usr/bin. Prevents issues on arch that don't build + all binaries (like the Hurd). Thanks to Samuel Thibault + + -- Sjoerd Simons Sat, 22 Dec 2007 18:12:30 +0100 + +hal (0.5.10-5~ubuntu3) hardy; urgency=low + + * debian/postinst: Drop chown'ing of /var/run/hal/, it does not exist on + fresh installations yet. Unconditionally chown the directory in the init + script instead. (LP: #175525) + + -- Martin Pitt Wed, 12 Dec 2007 09:55:46 +0100 + +hal (0.5.10-5~ubuntu2) hardy; urgency=low + + * Re-add accidentally dropped pciutils-dev build dependency. + + -- Martin Pitt Tue, 11 Dec 2007 09:36:59 +0100 + +hal (0.5.10-5~ubuntu1) hardy; urgency=low + + * Merge to Debian svn head to collect some bug fixes. See 0.5.10-1ubuntu1 + for remaining changes. + * debian/hal.postinst: Do not fail if haldaemon user or system groups + already exist. Debian removed these check recently, but it does not seem + to work for Ubuntu, or under all conditions. + + -- Martin Pitt Mon, 10 Dec 2007 17:06:20 +0100 + +hal (0.5.10-4) unstable; urgency=low + + * debian/patches/85_fix_strlist_to_string.patch: + - Added. Fix strlist to string conversion to no longer use a static + buffer. As a side-effect fix an issue of strings not being properly + terminated on overflow. Which would cause garbage being sent over dbus + to the runner, causing it to exit (Closes: #445861, #447860) + + -- Sjoerd Simons Sun, 02 Dec 2007 22:40:30 +0100 + +hal (0.5.10-3) unstable; urgency=low + + * debian/patches/75_glist_memleak.patch + - Added. Fixes some memleaks by not probably freeing GSList object (from + upstream git) + * debian/patches/80_fix_int_outof.patch + - Added. Fixes int_outof match target in fdi files (from upstream git) + * debian/patches/70_killswitch_dell.patch + - Replaced by the version as applied to upstream git. + * debian/patches/81_dont_deref_reason_why_locked_if_null.patch + - Added. If dbus_malloc0 failed (returned NULL), don't deref the NULL + pointer. (from upstream git) + * debian/patches/82_partutil_dont_deref_null.patch + - Added. Fixes partutils to not deref a pointer before checking it's not + NULL (from upstream git) + * debian/patches/83_crash_if_singleton_hashtable_is_null.patch + - Added. Fixes crash when the singleton hashable isn't initialized (from + upstream git) + * debian/patches/84_fix_uninitialised_memory_usage_in_pci_add.patch + - Added. Properly initialise various field in pci_add. (From Rob Taylor) + + -- Sjoerd Simons Sun, 25 Nov 2007 13:24:59 +0100 + +hal (0.5.10-2ubuntu3) hardy; urgency=low + + * debian/hal.postinst: + - do not hal force-reload on upgrades from dapper (otherwise dbus + breaks badly) + + -- Michael Vogt Tue, 04 Dec 2007 13:41:27 +0100 + +hal (0.5.10-2ubuntu2) hardy; urgency=low + + * Merge Debian's experimental version to enable PolicyKit. + + -- Martin Pitt Tue, 20 Nov 2007 12:56:05 +0100 + +hal (0.5.10-2exp1) experimental; urgency=low + + * Enable the ConsoleKit/PolicyKit support in hal. Upload to experimental to + give this feature some wider testing. + * debian/control + - Add a Build-Depends on libpolkit-dev (>= 0.5). + - Add a Depends on policykit and consolekit to the hal package. + - The Vcs-* fields are now officially supported, so remove the XS- prefix. + - Change maintainer address to pkg-utopia-maintainers@l.a.d.o. + - Add sjoerd, slomo and myself to Uploaders. + * debian/rules + - Add --enable-console-kit and --enable-policy-kit to + DEB_CONFIGURE_EXTRA_FLAGS. + * debian/hal.install + - Install the hal-is-caller-privileged binary. + - Install the policy files in /usr/share/PolicyKit/. + * debian/hal.manpages + - Install the man page for hal-is-caller-privileged. + * debian/patches/55_nonpolkit-mount-policy.patch + - Removed. Patch has become obsolete as we use PolicyKit now. + * debian/patches/41_no_policy_validate.patch + - Don't fail during configure if polkit-policy-file-validate is not found. + This avoids an unnecessary build dependency on policykit. + + -- Michael Biebl Mon, 05 Nov 2007 10:36:25 +0100 + +hal (0.5.10-2ubuntu1) hardy; urgency=low + + * Merge with Debian unstable to get the X.org input hotplug reversion for + the time being. + * *.preinst: On upgrades from Gutsy, remove the symlinks to entire + /usr/share/doc// directories which got introduced in Gutsy. They + break upgrades all over, and current cdbs just symlinks individual files. + + -- Martin Pitt Wed, 31 Oct 2007 10:46:49 -0400 + +hal (0.5.10-2) unstable; urgency=low + + * debian/rules + - Remove /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi which + effectively disables xorg input hotplugging again + (Closes: #447666, #447676, #447841). + This is only a temporary workaround until xserver-xorg has been fixed + to provide a clean upgrade path for non-US keyboard layouts. + * debian/hal.examples + - Install 10-x11-input.fdi under /usr/share/doc/hal/examples/ for the time + being. + * debian/patches/71_realpath.patch + - Include stdlib.h in tools/hal-disable-polling.c for the realpath + function prototype definition (Closes: #447657). + Patch by dann frazier, thanks. + + -- Michael Biebl Wed, 24 Oct 2007 15:38:34 +0200 + +hal (0.5.10-1ubuntu1) hardy; urgency=low + + * Redo the bzr branch of this package as clean fork from the Debian svn + (https://code.launchpad.net/~ubuntu-core-dev/hal/debian, thanks bzr-svn!) + and commit the remaining relevant Ubuntu patches to it: + https://code.launchpad.net/~ubuntu-core-dev/hal/ubuntu + * Merge with Debian unstable; remaining Ubuntu changes: + - Ubuntu udev world order: + + debian/hal.links: Remove rules symlink, we install the rules file + directly into rules/. + + debian/rules: Install udev rules into /etc/udev/rules.d/. + + debian/hal.{preinst,postinst,postrm}: Transition code for changing the + udev rule priority (see 0.5.8.1-3ubuntu7, needs to be kept until after + next LTS). + - debian/rules: Enable MacBook (Pro) support on i386 and amd64. Add + pciutils-dev build dependency. + - debian/hal.init: Remove stray gparted-disable-automount.fdi on startup. + (LP #134712) + - debian/rules: Do not run stop init.d script for levels 1 and 6 + (TearDown). + - debian/preferences.fdi: Disable automounting for fixed disks. On session + startup it is not done anyway (since that disables the gnome-mount UI + which would ask for authentication) and it leads to confusion when + restarting hal while a session is running. (LP #138537) + - 80_allow_vfat_usefree.patch: Allow vfat mount option "usefree". + (LP #133567) + - 81_ignore_single_slash_label.patch: Ignore labels which only consist of a + slash, so that they do not end up as /media/-. An earlier Ubuntu + d-i/ubiquity created those labels by default. (LP #83323) + - 82_ignore_fixed_nonmedia.patch: Ignore fixed partitions which mounted, + but not below /media/. + - 83_ssb_bus_support.patch: Add support for devices on the SSB bus; patch + by Matthew Garrett (not applied upstream yet, this needs to update the + spec, too). + - 84_memstick_bus_support.patch: Add support for devices on the "memstick" + bus; patch by Matthew Garrett (not reported upstream yet, this needs to + update the spec, too). + - 85_read_brightness_not_actual_brightness.patch: Read the brightness from + /sys/class/backlight/foo/brightness, not actual_brightness. It makes more + sense to change based on the brightness that we wanted to set, not the + brightness that we actually set. Patch by Matthew Garrett. Forwarded to + FD#12891. + * Now build with libsmbios to get Dell backlight support. (LP: #43572) + * Dropped the following Ubuntu changes: + - hwdb icons and patches, python-launchpad-integration, .desktop file + translation fixes: hal-device-manager is gone, will be replaced by + indepentent gnome-device-manager project. + - symlinking of doc directories in debian/rules: current cdbs does that + automatically now. + - 02_powerscripts.patch, 90_pmi.patch: pm-utils is the only supported + backend now. + - 26-addon-acpi-fix-free-before-init.diff, + 63_my_dbus_is_full_of_uints.patch, 69_set_dmi_before_matching.patch, + macbook-backlight.diff: Applied upstream. + - 56_probe_fstab.patch and the disabling of mounting for unmounted + partitions which are 'auto' in fstab: The patch does not fit into hal's + design to always show current information, was rejected upstream, + only handles a corner case, and we do not automount fixed drives anyway. + * Add 86_allow_ufs_ufstype.patch: Allow ufs mount option 'ufstype', thanks + to Georges Discry. (LP: #110865, FD#10998) + + -- Martin Pitt Tue, 23 Oct 2007 12:33:58 +0200 + +hal (0.5.10-1) unstable; urgency=low + + [ Michael Biebl ] + * New upstream release. + - Ships the x11-input.fdi file which is required for the xorg input + hotplugging (Closes: #446851). + - Correctly initializes the dbus error struct in the acpi addon + (Closes: #438802). + + hal-device-manager has been removed from the upstream tarball. There is + now a separate project called gnome-device-manager which is intended to + replace hal-device-manager. + * Remove obsolete files + - debian/hal-device-manager.1 + - debian/hal-device-manager.desktop + - debian/hal-device-manager.install + - debian/hal-device-manager.manpages + - debian/patches/62_dbus-python-0.80.patch + - debian/pyversions + * debian/rules + - Remove the dh_pysupport call. + - Enable the hal umount helper. + * debian/control + - Remove Build-Depends: python, python-dbus, python-support. + - Remove binary package hal-device-manager. + - Replace Suggests: hal-device-manager with gnome-device-manager. + - Use the new "Homepage:" field to specify the upstream URL. + - Add a Build-Depends: gperf. This utility is required for building the + hal-setup-keymap binary that is necessary for the multimedia key + re-mapping support. + - Add a Recommends: libsmbios-bin [i386 amd64]. The libsmbios-bin + package ships the dellWirelessCtl utility which is required for the + RF kill switch support on DELL laptops. + - Add a Depends: pm-utils. Beginning with this release we will only + support pm-utils as suspend infrastructure. + - Add a versioned Depends on mount (>= 2.13). This is a requirement of the + hal umount helper. + * debian/libhal1.shlibs, debian/libhal-storage1.shlibs + - Bump shlibs to >= 0.5.10 due to ABI additions. + * debian/hal.install + - Install the hal-setup-keymap binary. + - Install the hal umount helper to /usr/sbin as it has dependencies on + libraries in /usr/lib. + * debian/hal.links + - Create a symlink from /usr/sbin/umount.hal to /sbin. + * debian/watch + - Update to new download location at http://hal.freedesktop.org/releases/. + * Remove patches that were merged upstream + - debian/patches/68-pass-noquirks-to-pm-utils.patch + - debian/patches/70-libhal-changeset-memleak.patch + - debian/patches/75-hal-serial-null.patch + * debian/patches/70_killswitch_dell.patch + - Fix the path for the dellWirelessCtl utility (Closes: #443583). + * debian/patches/02_powerscripts.patch, + debian/patches/14_power_suspend_linux_pmu_fix.patch + - As we only support pm-utils, these patches have become obsolete and are + thus removed. + * debian/patches/55_nonpolkit-mount-policy.patch + - Rework patch for this hal version. Throw a Volume.PermissionDenied error + if a non-removable device is mounted by a user other than root. + + [ Sebastian Dröge ] + * debian/patches/68_alternative-cdrw-capacity-detection.patch + - Add an alternative method of detecting the capacity of CDR/CDRW discs. + Only using the old method fails for some drives, for more information + see http://bugs.freedesktop.org/show_bug.cgi?id=12822 . + * debian/rules: + - Don't mark /usr/lib/hal/scripts/hal-functions executable, this is + nothing that can be executed. + + -- Michael Biebl Mon, 22 Oct 2007 14:42:59 +0200 + +hal (0.5.9.1-6) unstable; urgency=low + + * debian/hal.init: + + Don't start hal if sysfs is not mounted on /sys or a chrooted session + is detected. + + -- Sebastian Dröge Tue, 25 Sep 2007 15:46:11 +0200 + +hal (0.5.9.1-5) unstable; urgency=low + + [ Sjoerd Simons ] + * debian/patches/75-hal-serial-null.patch: Fix crash when linux.device_file + of a serial device isn't known (Closes: #439919, #440468) + + -- Sjoerd Simons Sun, 23 Sep 2007 16:26:38 +0200 + +hal (0.5.9.1-4) unstable; urgency=low + + * debian/rules + - Do not explicitly enable the dell-backlight support as libsmbios-dev is + only available on amd64/i386. The ./configure script will automatically + enable the feature for platforms where libsmbios-dev is installed. + (Closes: #438459) + + -- Michael Biebl Fri, 17 Aug 2007 09:58:08 +0200 + +hal (0.5.9.1-3) unstable; urgency=low + + * Check for inotify support in the init script and fail gracefully with a + proper error message. (Closes: #426049, #434615) + * Check if dbus is running in the init script and fail gracefully with a + proper error message. (Closes: #426420, #427332) + * debian/hal-device-manager.desktop + - Remove invalid category "Application" from the Categories field. + + -- Michael Biebl Thu, 16 Aug 2007 09:57:24 +0200 + +hal (0.5.9.1-2) unstable; urgency=low + + [ Sjoerd Simons ] + * debian/control + + Add libsmbios-dev build-depend on amd64 and i386 to build the dell + backlight addon (Closes: #429871) + * debian/patches/70-libhal-changeset-memleak.patch + + Added. Fixes a memleak when freeing hal changesets. (Closes: #429823) + + [ Michael Biebl ] + * debian/hal.preinst + - Do not parse /var/lib/dpkg/status directly but use dpkg-query instead. + + -- Michael Biebl Fri, 22 Jun 2007 19:35:08 +0100 + +hal (0.5.9.1-1) unstable; urgency=low + + [ Sjoerd Simons ] + * debian/hal.udev.rules + + No longer try calling pumount or umount when devices are removed but not + unmounted. Leave this to hal itself + * debian/hal-unmount.sh + + Removed. No longer needed + + [ Tim Dijkstra ] + * Tell pm-utils if we know a machine doesn't need a quirk + + [ Michael Biebl ] + * New upstream release. + * Patches removed as they were merged upstream: + - debian/patches/10_repeated_property_changed_signals.patch + - debian/patches/11_fix_luks_mounting.patch + - debian/patches/12_powerscripts_quirks.patch + - debian/patches/16_ntfs_allowed_mount_options.patch + - debian/patches/66-NULL-fstype-crash.patch + - debian/patches/67-fix-probe-volume.patch + * debian/control + - Replace ${Source-Version} with ${binary:Version}. + - Add build dependency on autotools-dev for up-to-date config.{guess,sub} + files. + * debian/hal.init + - Don't fail to start if hal daemon is already running. + + -- Michael Biebl Tue, 19 Jun 2007 21:23:03 +0100 + +hal (0.5.9-3) unstable; urgency=low + + * Install the hal start script as regular SysV init script + (Closes: #407132, #397223) + - Rename debian/hal.init.dbus to debian/hal.init. + - Add proper LSB header to debian/hal.init and cleanup some cruft. + - debian/rules + + Don't install /etc/dbus-1/event.d/20hal anymore. + + Set DEB_DH_INSTALLINIT_ARGS to start at 24 and stop at 16. + - debian/hal.{preinst,postinst,prerm} + + The shell code to start/stop the hal daemon is now automatically + created by dh_installinit, so remove the manually written code. + hal.prerm is empty and therefore removed completely. + - debian/hal.preinst + + Remove the old conffile /etc/dbus-1/event.d/20hal or rename it to + *.dpkg-bak if it was modified locally. + + -- Michael Biebl Wed, 23 May 2007 12:33:08 +0200 + +hal (0.5.9-2) unstable; urgency=low + + [ Michael Biebl ] + * Upload to unstable. + + * Changes merged from Ubuntu: + - debian/patches/16_ntfs_allowed_mount_options.patch + + Allow NTFS mount option 'utf8' (LP #78142). + - debian/patches/62_dbus-python-0.80.patch + + Correctly show HAL properties in hal-device-manager with dbus-python. + (FD #9343; rejected upstream because h-d-m is going away). + - debian/patches/65-keyboard-addon-repeated.patch + + Do not ignore key repeat events in the keyboard addon. (FD #9767) + - debian/patches/66-NULL-fstype-crash.patch + + Do not crash on NULL volume.fstypes, and assing some fallback values + to them. (FD #10429, LP #87800) + - debian/patches/67-fix-probe-volume.patch + + Fix scrambled labels. (FD #10362, LP #69914) + - debian/hal.init.dbus + + Use actual init script path in usage help. + - debian/run-hald.sh + + Put absolute paths in HALD_RUNNER_PATH so that callouts are found, + too. + + * debian/control + - Drop Build-Depends: linux-kernel-headers (>= 2.6.17). + linux-libc-dev in unstable is recent enough. + - Drop Build-Depends: libcap-dev. It's only needed for compiling some of + the test programs. (Closes: #398933) + * debian/hal.postrm + - Reload dbus only on purge, i.e. when the conffile + /etc/dbus-1/system.d/hal.conf is removed. + - Remove the fdi-cache file on purge. + - Check for deluser being available. If not, print a warning message and + do not remove the haldaemon system account. (Closes: #416760) + * debian/hal.{preinst,postinst} + - Remove some old upgrade paths for the hal init script. + + [ Sjoerd Simons ] + * debian/libhal1.shlibs, debian/libhal-storage1.shlibs: Bump shlibs + + -- Michael Biebl Mon, 07 May 2007 15:41:16 +0200 + +hal (0.5.9-1) experimental; urgency=low + + * New upstream release. + - Fixes detection of wireless devices with dscape stack. (Closes: #399507) + - Adds support for fuse mounts. (Closes: #418570) + - Adds support for new sysfs layout of kernels > 2.6.20. (Closes: #410868) + * Patches removed as they were applied or fixed upstream: + - debian/patches/03_macbookpro_configure.patch + - debian/patches/04_cd_write.patch + - debian/patches/05_one_formfactor_fallback.patch + - debian/patches/06_smbios_return.patch + - debian/patches/07_ppc_suspend.patch + - debian/patches/08_openfirmware.patch + - debian/patches/09_check_hashtable_initialisation.patch + - debian/patches/10_callout_errors.patch + - debian/patches/11_no_useless_runner_errors.patch + - debian/patches/12_pegasus_pmu_crash_fix.patch + - debian/patches/13_hal_callout_bashism.patch + - debian/patches/15_partition_probing.patch + - debian/patches/24_dbus_connection_close.patch + - debian/patches/25_correctly_free_lists.patch + - debian/patches/26_fix_hald_not_running_coredump.patch + - debian/patches/27_hal_fix_dbus_error_is_set.patch + - debian/patches/29_handle_non_hal_mounts.patch + - debian/patches/30_cdrom_bogus_tocinfo.patch + * Revised patches: + - debian/patches/02_powerscripts.patch + - debian/patches/55_nonpolkit-mount-policy.patch + - debian/patches/14_power_suspend_linux_pmu_fix.patch + * debian/patches/19_sonypi_support.patch + - Removed. Instead of relying on the external spicctrl tool, /dev/sonypi + is used directly now by the hal-system-sonypic addon. + * Patches taken from upstream: + - debian/patches/10_repeated_property_changed_signals.patch + + Do not trigger the "device_property_changed" signal twice. + - debian/patches/11_fix_luks_mounting.patch + + Fix the lock checking for LUKS setup/teardown. + - debian/patches/12_powerscripts_quirks.patch + + Pass the correct quirks to pm-supend and pm-hibernate. + * debian/control + - Add Depends: hal-info (>= 20070402) to hal package. + - Change the Build-Depends: docbook-utils to xmlto which is now used for + building the API documentation. + * debian/libhal(-storage)-dev.install + - Do not install libtool *.la files anymore. + * debian/rules + - Remove cdbs tarball.mk rules file. + - Cleanup obsolete rm commands from common-install-impl. + * debian/hal.install + - Install the binaries hal-disable-polling, hal-is-caller-locked-out and + hal-lock. + * debian/hal.dirs + - Create the directories /var/cache/hald (fdi files cache) and + /var/lib/hal (dev acl management list). + * debian/hald.8, debian/lshal.1 + - Removed. Shipped upstream. + * debian/hal.manpages + - Install upstream manpages. (Closes: #277399) + + -- Michael Biebl Tue, 03 Apr 2007 09:31:47 +0200 + +hal (0.5.8.1-9) unstable; urgency=low + + * debian/no-cd-media-check.fdi + - Re-added "HL-DT-ST DVD-RW GCA-4080N" product string + + -- Sjoerd Simons Wed, 14 Mar 2007 21:31:28 +0100 + +hal (0.5.8.1-8) unstable; urgency=low + + [ Michael Biebl ] + * debian/control: + - Add an explicit build dependency on docbook-xml so we don't fail on + buildds without network access. + + [ Sjoerd Simons ] + * debian/hal-unmount.sh: Always run pumount/umount if a block device is + removed, not only when it's mounted. This ensure that dm devices can be + properly deconfigured by pumount. + * debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi + - Added. Ignore non-removable devices with crypto volumes again + (Closes: #414417) + + -- Sjoerd Simons Wed, 14 Mar 2007 20:36:26 +0100 + +hal (0.5.8.1-7) unstable; urgency=low + + [ Sjoerd Simons ] + * Acknowledge Steve Langasek's NMU. (Closes: #370186) + * debian/patches/29_handle_non_hal_mounts.patch + - Added. Handle volume removal for mounted volumed that weren't mounted by + hal correctly. + * debian/patches/30_cdrom_bogus_tocinfo.patch + - Added. Some cdrom drives/discs report a wrong start of the session in the + TOC, causing hal to not detect the filesystem. Work around this by + rescanning at offset 0 for discs when filesystem detection fails. + + [ Michael Biebl ] + * Add XS-Vcs-* fields to debian/control. + * Drop debian-storage-policy-fixed-drives.fdi in favor of + debian/patches/55_nonpolkit-mount-policy.patch. + This fixes the problem that local devices are not shown in nautilus. + (Closes: #394155, #395169, #409879) + * debian/patches/02_powerscripts.patch + - Add support for pm-utils and prefer it over other solutions. This is in + anticipation of hal-0.5.9, where pm-utils will be the preferred backend. + * Install HAL specification document. (Closes: #413813) + - debian/control: Build-Depend on docbook-utils and libxml2-utils. + - debian/rules: Pass --enable-docbook-docs to ./configure. + * debian/watch + - Fix regexp to not match non-hal releases, like hal-info. + + -- Sjoerd Simons Wed, 7 Mar 2007 23:50:11 +0100 + +hal (0.5.8.1-6.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Provide /usr/share/doc/hal/examples/no-cd-media-check.fdi as an example + for disabling CD ROM media checks, and document this in README.Debian, as + a workaround for CD drives with broken firmware. Closes: #370186. + + -- Steve Langasek Mon, 12 Feb 2007 16:42:29 -0800 + +hal (0.5.8.1-6) unstable; urgency=low + + * debian/patches/19_sonypi_support.patch + - Added. Fixes the sonypi brightness setting method + (Patch from Mike Hommey) (Closes: #391528) + + -- Sjoerd Simons Mon, 15 Jan 2007 22:53:09 +0100 + +hal (0.5.8.1-5) unstable; urgency=high + + [ Michael Biebl ] + * debian/hal-doc.install, debian/hal-doc.links + - Install API documentation into /usr/share/doc/hal-doc/html and create a + link back to /usr/share/gtk-doc/html/hal so devhelp can find it. + (Closes: #398803) + * debian/control + - Add a Suggests on devhelp for the hal-doc package which allows to + access the API documentation more easily. + + [ Sebastian Dröge ] + * debian/control: + + Updated to use my debian.org mail address + + [ Sjoerd Simons ] + * debian/patches/28_runner_64bit_values.patch + - Added. Ensure 64 bit values are correctly aligned before passing them to + dbus (Closes: #404937) + * Urgency high, fixes an RC bug + + -- Sjoerd Simons Mon, 15 Jan 2007 14:28:45 +0100 + +hal (0.5.8.1-4) unstable; urgency=low + + [ Michael Biebl ] + * Improve short description of the hal-doc package. (Closes: #387374) + + [ Sebastian Dröge ] + * Patches from upstream GIT: + + debian/patches/24_dbus_connection_close.patch: + - Don't call dbus_connection_close() in lshal and hal-device. This is + invalid usage of DBus API. + GIT changeset c85e02d58d6503b494bb4c8584a7c44ac6923208 + + debian/patches/25_correctly_free_lists.patch: + - Correctly free lists to prevent accessing free'd memory. + GIT changeset a56a15b90177734c70a8b03d961a7bcabdea2af8 + + debian/patches/26_fix_hald_not_running_coredump.patch: + - Don't coredump utilities when hald is not running but print a usefull + error message. GIT changeset c2053bf825cd9d81949d63ad83790a68310bb808 + + [ Sjoerd Simons ] + * debian/patches/02_powerscripts.patch + + Prefer hibernate over uswsusp. (Closes: #397302) + * debian/patches/27_hal_fix_dbus_error_is_set.patch + + Added. Ensure libhal never calls dbus_error_is_set(NULL) as that's not + allowed in the D-Bus API + + -- Sjoerd Simons Sat, 11 Nov 2006 14:16:52 +0100 + +hal (0.5.8.1-3) unstable; urgency=low + + * debian/control + - Add a Recommends on eject to the hal package. + - Add myself to Uploaders. + * 15_partition_probing.patch + - Added. Fixes problems with extended partition tables. + (Closes: #393245, #392978) + * Update to new python policy using python-support + - Tightened Build-Depends on python-support (>= 0.5.3). + - Drop X[SB]-P-V fields from debian/control, add a debian/pyversions file + instead specifying the supported python versions. + - Drop debian/pycompat. + - Drop dh_python call from debian/rules, call dh_pysupport with the + correct path to the modules directory. + - Call dh_pysupport in binary-install instead of binary-predeb. + + -- Michael Biebl Tue, 24 Oct 2006 13:33:55 +0200 + +hal (0.5.8.1-2) unstable; urgency=low + + * 12_pegasus_pmu_crash_fix.patch + - Added. Check if power_management.type was set before doing strcmp and + detect Pegasos machines as having the desktop formfactor + (Closes: #391124) + * /debian/patches/13_hal_callout_bashism.patch + - Added. Fix some bashisms in the hal callout scripts + * debian/patches/02_powerscripts.patch + - Updated. Use s2ram instead of s2both to let uswsusp suspend to ram + (Closes: #388558) + * debian/patches/14_power_suspend_linux_pmu_fix.patch + - Added. Use the correct hal property to check the powermanagement type. + (Closes: #393203) + + -- Sjoerd Simons Wed, 18 Oct 2006 23:45:26 +0200 + +hal (0.5.8.1-1) unstable; urgency=low + + * New upstream release + * debian/patches/01_hal_debian_dbuspolicy.patch + - Updated. + * debian/patches/05_pmu_nohibernate.patch + - Removed. Recent kernels don't crash my machine anymore + * debian/patches/04_hald_scripts.patch + debian/patches/06_more_buttons.patch + debian/patches/08_probe_serial.patch + debian/patches/09_sony_brightness.patch + debian/patches/12_refresh_acpi_states.patch + debian/patches/14_probe_volume_invalidlabel.patch + debian/patches/16_dont_stat_autofs.patch + debian/patches/17_fix_dbus_090_build.patch + debian/patches/18_hald_runner_fd_leak.patch + debian/patches/22_recognize_partitions.patch + - Removed. All fixed upstream + * debian/patches/07_suspend2.patch + debian/patches/20_uswsusp.patch + debian/patches/21_acpi_support.patch + - Merged into 02_powerscripts.patch + * debian/patches/hdm-python2.4.patch + - Removed. Not needed anymore since the default python is 2.4 now + * debian/patches/19_sonypi_support.patch + - Updated. Upstream supports spicctrl but assumes it's in a different path + * debian/patches/15_mount_scripts_pmount.patch + - Removed. Replaced by the new version of the mount scripts + * debian/rules: Disable PolicyKit + * debian/control: Add build-depend on libvolume-id-dev + * debian/patches/23_addon_acpi.patch + - Updated. + * debian/control: Add linux-kernel-headers (>= 2.6.17) to the build-depends + for the definition of ARPHRD_IEEE80211_RADIOTAP + * debian/hal.install: Scripts are no longer in /usr/share/hal but in + /usr/lib/hal + * debian/patches/03_macbookpro_configure.patch + - Added. Change configure so the macbook pro utils can actually be + disabled. + * debian/rules: Disable the macbook pro backlight addon. + * debian/patches/04_cd_write.patch + - Added. don't crash on cd drives without write capabilities (From + upstream git) + * debian/patches/05_one_formfactor_fallback.patch + - Added. Use one fallback to an unknown formfactor instead of three. Fixes + bugs caused by falling back when not needed. + * debian/patches/06_smbios_return.patch + - Added. Only let the prober return success if it actually found some + usefull info. + * debian/patches/07_ppc_suspend.patch + - Added. pmu systems can suspend by using hal's own tool. So actually flag + it as being able to suspend even though mem isn't in /sys/power/state + * debian/patches/08_openfirmware.patch + - Added. Extra model and machine compatibility from openfirmware and + use that info to detect the formfactor. + * debian/debian-storage-policy-fixed-drives.fdi + - Added. Add policy to hal so it refuses to mount and unmount fixed + drives. + * debian/patches/09_check_hashtable_initialisation.patch + - Added. Check if the udi to method queue hashtable is initialized before + using it. (From upstream) + * debian/patches/10_callout_errors.patch + - Added. Use dbus_error_free instead of LIBHAL_FREE_DBUS_ERROR. Ensures + errors correctly reach hald-runner. + * debian/patches/11_no_useless_runner_errors.patch + - Added. Only let hald-runner output warnings if there was actually an + error. + + -- Sjoerd Simons Mon, 2 Oct 2006 18:55:05 +0200 + +hal (0.5.7.1-2) unstable; urgency=low + + * debian/patches/22_recognize_partitions.patch + - Added. More robust recognition that a block device is a partition. Fixes + detecting scsi cdrom drives as partitions (From upstream git) + (Closes: #383792) + * debian/patches/23_addon_acpi.patch + - Added. Don't use the kernel acpi event interface if acpid is installed. + (Closes: #380520, #352512) + * debian/README.Debian: Update documentations about the configuration of the + callouts. Also mention how hal's acpi addon interacts with acpid. + * debian/hal.dirs: Remove /var/run/hal from hal.dirs. Let the init scripts + takes care of its creation. (Closes: #385270) + * debian/hal.postinst: Don't create a homedir for hal. + * debian/hal.preinst: Remove the old hal user. As deluser --system only + removes system users this should be safe. + * debian/hal.postrm: Don't delgroup the daemon user on purge, deluser + already takes care of that. + * debian/hal.postrm: Remove the /var/run/hal dir on purge + * debian/patches/21_acpi_support.patch: + - Updated. Use the force argument to the sleep and hibernate call + (Closes: #384120) + * debian/patches/debian/patches/19_sonypi_support.patch: + - Updated. The spicctrl tool is installed in a different location on + debian then what upstream assumes. + + -- Sjoerd Simons Mon, 4 Sep 2006 23:22:49 +0200 + + +hal (0.5.7.1-1) unstable; urgency=low + + [ Sjoerd Simons ] + * New upstream release + * debian/hal.postinst,debian/hal.postrm,debian/rules: Rename the hal daemon + user to haldaemon (was hal) + * debian/hal.postinst: Created the plugdev system group if it doesn't exist + * debian/hal.links: Change the udev rules.d link from 050_hal-plugdev.rules + to z99_hal.rules to ensure hal gets its data after all the udev magic. + * debian/patches/09_sony_brightness.patch: + - Apply trivial upstream patch to fix LCD brightness setting on Sony + laptops. + - From the ubuntu hal package which took it from upstream, thanks to Paolo + Borelli + * debian/patches/12_refresh_acpi_states.patch: + - Added. refresh ACPI events after suspend/hibernate + - From the ubuntu hal package, patch created by Paul Sladen based on + upstream CVS. + * debian/patches/14_probe_volume_invalidlabel.patch + - Added. Don't try to fix device labels with invalid UTF-8 characters if + more than 20% of the characters is invalid. This avoids totally + unintelligible labels while still preserving only mildly damaged ones. + - From the ubuntu hal package, patch created by Martin Pitt + * debian/patches/15_mount_scripts_pmount.patch: + - Change mount/umount scripts to call pmount-hal/pumount as the + destination user instead of mount/umount as root. This way, we do not + have to rely on hal properties for sanity checking, which are unreliable + in hal's current trust model. + - Change eject script to call eject as the destination user instead of + root. + - This change should be completely transparent to the outside world, so + that KDE and gnome-mount will just work. (Closes: #377689) + - From the ubuntu hal package, patch created by Martin Pitt. + * debian/patches/16_dont_stat_autofs.patch: + - Added. Don't stat autofs filesystems as that will remount. + (Closes: #361785) (From upstream git) + * debian/patches/17_fix_dbus_090_build.patch: + - Added. Fix build with dbus >= 0.90 (From upstream git) + * debian/patches/18_hald_runner_fd_leak.patch + - Added. Fix fd leak in hald-runner. Patch by Mike Hommey (Closes: #375143) + * debian/patches/debian/patches/19_sonypi_support.patch: + - Added. Support sonypi using laptops (Closes: #375144) (From upstream git) + * debian/patches/07_suspend2.patch: + - Updated. Don't try to use suspend2 to suspend a pmu machine, which can + crash the machine. (Closes: #366008) + * debian/patches/20_uswsusp.patch: + - Added. Use uswsusp for suspend and hibernation if available. Patch by + Tim Dijkstra. (Closes: #382183) + * debian/patches/21_acpi_support.patch: + - Added. Use acpi-support for suspend and hibernation if available. + (Closes: #381708) + + [ Sebastian Dröge ] + * debian/pycompat, + debian/control, + debian/rules: + + update to the new Python Policy + * debian/control: + + Bump Standards-Version to 3.7.2 + + Add myself to Uploaders + + -- Sjoerd Simons Tue, 15 Aug 2006 15:45:35 +0200 + +hal (0.5.7-2) unstable; urgency=low + + * debian/hal.udev.rules + + Fix broken udev syntax (Closes: #364324) + * Bump compat version to 5 + * Killing hal with brute force in prerm shouldn't be needed anymore + * Don't install hal's default udev rules file, we ship our own + (Closes: 359749) + * debian/patches/07_suspend2.patch + + Added. Possibility to use hibernate to suspend-to-ram + * debian/patches/08_probe_serial.patch + + Only probe legacy serial ports. Fixes issue with usb serial ports from + wince pda's that can't handle the probing (Closes: #352934) + + -- Sjoerd Simons Mon, 1 May 2006 22:42:50 +0200 + +hal (0.5.7-1) unstable; urgency=low + + * New upstream release + * debian/patches/02_hal_addon_pmu.patch + + Removed. Fixed upstream + * debian/patches/03_hald_runnerpath.patch + + Removed. Fixed upstream + * debian/patches/05_pmu_nohibernate.patch + + Updated. Fix crash when power_management.type is not set (Thanks Martin + Pitt) + * debian/patches/06_more_buttons.patch + + Added. Update button signal names to the new convention and also + recognize mute, volume up/down buttons, switchvideo mode button and + keyboard illumination toggle/down/up buttons. + * Update debian/README.Debian + + -- Sjoerd Simons Thu, 2 Mar 2006 18:56:03 +0100 + +hal (0.5.6+cvs20060219-1) experimental; urgency=low + + * CVS snapshot + * debian/patches/01_hal_privsep.patch + + Removed. Fixed upstream + * debian/patches/02_hal_addon_pmu.patch + + Updated + * debian/patches/03_storage_sigio.patch + + Removed. Fixed upstream + * debian/patches/04_hald-no-patch.patch + + Removed. Fixed upstream + * debian/patches/05_hald_clear_udev_buffer.patch + + Removed. Fixed upstream + * Sync with Ubuntu + + Remove unneeded build-depends (libsysfs-dev and libcap-dev) + + force-reload dbus instead of reload + + Remove obsolete fdi example conffile + + Add small utility script to run hald from the debian dir. + * debian/patches/storage-policy-debian.patch + + Removed. Obsolete + * debian/patches/03_hald_runnerpath.patch + + Added. Give programs run by the runner a save PATH + * debian/patches/04_hald_scripts.patch + + Added. Fix various bugs in the hal scripts + * Add the powerdev group in postinst + * debian/patches/01_hal_debian_dbuspolicy.patch + + Added. Change the hal dbus policy to allow user part of the powerdev + group to use the org.freedesktop.Hal.Device.SystemPowerManagement and + org.freedesktop.Hal.Device.LaptopPanel interfaces. + + -- Sjoerd Simons Mon, 20 Feb 2006 23:24:34 +0100 + +hal (0.5.6-4) unstable; urgency=high + + * debian/patches/05_hald_clear_udev_buffer.patch + + Added. Clear the buffer where udev events are received before using + (from hal CVS) + + -- Sjoerd Simons Mon, 13 Feb 2006 18:59:12 +0100 + +hal (0.5.6-3) unstable; urgency=high + + * debian/patches/01_hal_privsep.patch + + Updated. Fix deadlock when using ATAPI Zip-drives (Closes: #351296) + + -- Sjoerd Simons Sun, 12 Feb 2006 17:52:58 +0100 + +hal (0.5.6-2) unstable; urgency=low + + * debian/patches/01_hal_privsep.patch + + Updated to current CVS version + * udev communicated events to hal via a socket now, which as a side-effect + fixes incompatibility with udev 0.83 (Closes: #350639, #350762) + * Let hal look in the right location for the pci.ids and usb.ids files + (Closes: #341824) + * Because the addons run with root privs. now, harddisk properties are + available (Closes: #290653) + * debian/patches/03_storage_sigio.patch + + Added. Switch EjectButton detection to SG_IO interface. Solves some + problems with scsi cdrom drives (from hal CVS) + * debian/patches/04_hald-no-patch.patch + + Added. Also start correctly when PATH is not set (Closes: #345391) + + -- Sjoerd Simons Wed, 1 Feb 2006 23:59:58 +0100 + +hal (0.5.6-1) experimental; urgency=low + + * New upstream release + * debian/patches/hal-dbus_max_match_rules_per_connection.patch + + Removed. Default max_match_rules in dbus is high enough these days + * Don't add the hal to group floppy and cdrom + * Stop using the hotplug helper, instead let udev pass data via a socket to + hal + * debian/patches/01_hal_privsep.patch + + Added. Let the addons and probes be called by a little helper running as + root while the main hal database runs as an unpriviledged user. + * No longer chown removable device to group hal + * debian/patches/02_hal_addon_pmu.patch + + Added. Use a direct connection to hal, because it might not be on the + system bus yet. Open /dev/adb non-block so read blocks instead of + getting EAGAIN and failing. + + -- Sjoerd Simons Thu, 19 Jan 2006 23:12:56 +0100 + +hal (0.5.5.1-5) unstable; urgency=low + + * Tighten depends on dbus and python2.4-dbus a little bit more + * Fix a bashim in the postinst script (Closes: 347326) + + -- Sjoerd Simons Thu, 12 Jan 2006 00:38:47 +0100 + +hal (0.5.5.1-4) unstable; urgency=low + + * Upload to unstable + * Add python to the build-depends for dh_python + + -- Sjoerd Simons Thu, 5 Jan 2006 22:36:33 +0100 + +hal (0.5.5.1-3) experimental; urgency=low + + * Let libhal-dev and libhal-storage-dev depend on libdbus-1-dev (>= 0.60) + + -- Sjoerd Simons Fri, 16 Dec 2005 15:37:21 +0100 + +hal (0.5.5.1-2) experimental; urgency=low + + * Use log_daemon_msg instead of log_begin_msg in the init script + (Closes: #339728) + * Build against dbus 0.60 + + -- Sjoerd Simons Thu, 15 Dec 2005 12:02:22 +0100 + +hal (0.5.5.1-1) experimental; urgency=low + + * New upstream release + * Sync with ubuntu (Thanks Martin Pitt) + + Make libhal-storage-dev depend libhal-dev + + Fix rm_conffile in hal.preinst + + Install hal-find-by-capability and hal-find-by-property + + Translation updates for hal-device-manager.desktop + * Never restart dbus in postinst or postrm . Only reload it's config. + * Depend on libusb-dev to build hald-addon-usb-csr (Closes: #335530) + * Build hal-device-manager again. + * debian/patches/hdm-python2.4.patch + + Force hal-device-manager to use python2.4 + * Install /usr/bin/hal-device + + -- Sjoerd Simons Tue, 15 Nov 2005 14:18:58 +0100 + +hal (0.5.4-2) experimental; urgency=low + + * Hal doesn't include hal.dev anymore, so don't try to execute it in the + udev rules (Closes: #326957) + * Package doesn't ship fstab-sync, so also don't ship it's manpage. + + -- Sjoerd Simons Thu, 8 Sep 2005 10:36:03 +0200 + +hal (0.5.4-1) experimental; urgency=low + + * New upstream release + * use udev RUN rules instead of the hotplug.d and dev.d script dirs + * Install hal-umount.sh in /usr/lib/hal instead of usr/lib/hal/hal-umount.sh + * debian/patches/property-null-values.patch + + Removed. Fixed upstream + * Sync with ubuntu + + Switched the init script to lsb-base + + hal.init.dbus: If hald does not want to die in do_stop, use the "yes, + we really mean it" approach to ensure clean restarts. + + debian/patches/storage-policy-debian.patch + - Dropped noatime/sync handling hunk since upstream now does the right + thing. + - Enable storage.requires_eject on USB storage devices to always + eject them (which causes them to properly power off). + + Only (re)start dbus when hal isn't already running. + + Update the manpage + + -- Sjoerd Simons Sat, 27 Aug 2005 22:31:21 +0200 + +hal (0.5.2-1) experimental; urgency=low + + * New upstream release + * Don't build hal-device-manager for now as it needs python2.4 gnome + packages + * Based on Ubuntu's hal 0.5.2 by Martin Pitt. + * Removed no longer relevant patches: + + debian/patches/harddisk-volumes.patch + + debian/patches/ids-search.patch + + debian/patches/hal-fdi.patch + + debian/patches/hotplug_timeout.patch + + debian/patches/patches/no_sysdevice.patch + + debian/paches/hal-hotplug-map.patch + * debian/ipod-music-player.fdi + + Fixed upstream + * debian/hal-device-manager.desktop + + Updated with new translations from the Ubuntu package + + -- Sjoerd Simons Tue, 21 Jun 2005 15:28:18 +0200 + +hal (0.4.8-2) unstable; urgency=low + + * debian/ipod-music-player.fdi + + Fix xml errors (Closes: #312817) + * debian/patches/storage-policy-debian.patch + + Enable the utf8 mount option for cdrom drives and iso9660 and udf + filesystems. (Closes: #312818) + + -- Sjoerd Simons Fri, 10 Jun 2005 15:50:45 +0200 + +hal (0.4.8-1) unstable; urgency=low + + * New upstream release + * debian/patches/storage-policy-zip.patch + + Removed. Merged upstream + * debian/patches/ids-search.patch + + Updated + * debian/patches/hotplug_timeout.patch + + Updated to work with dbs-edit-patch + * debian/hal.udev.device-removable.sh + + Fixed problem with detection of firewire disks (Closes: #309822) + * debian/patches/storage-policy-debian.patch + Don't set the sync mount option by default on smaller drives (flash + drives). Especially on newer kernels this can wear out media too fast. + * debian/preferences.fdi + Warn for media wear in the example fdi file when enabling the sync option. + + + -- Sjoerd Simons Mon, 23 May 2005 19:49:56 +0200 + +hal (0.4.7-4) unstable; urgency=low + + * Add fdi file to recognize Apple Ipods + * Improved udev script for removable drives detection (Thanks to Marco d'Itri) + * Move hal-plugdev.rules link after the setting of permissions, but before + naming of devices files. Enables the hal/gnome-volume-manager combination to + work with systems using devfs like naming (Closes: #302134) + * Added an example to set the group id and umask of a mounted volume to + preferences.fdi. (Closes: #303720) + * Have the dbus init script wait for hal to actually shutdown, when stopping. + + -- Sjoerd Simons Sat, 7 May 2005 00:17:11 +0200 + +hal (0.4.7-3) unstable; urgency=low + + * Remove 50-fstab-sync.hal symlink from the package, it's not supposed to be + used in hal's default config. (Closes: #298562) + * Added debian/patches/hotplug_timeout.patch + + Don't run the hotplug timeout handler while processing hotplug events. + (Closes: #292256) + * Fixes from the ubuntu package: + + Added debian/patches/hal-dbus_max_match_rules_per_connection.diff + - Allow more matching rules per connection. Fixes problems with + hal-device-manager on systems with lots of devices. + + Added debian/patches/harddisk-volumes.patch + - fdi/90defaultpolicy/storage-policy.fdi: If a volume has an empty + fsusage, set it to "filesystem" to work around the fact that the + non-root hald cannot read harddisk partitions. + - libhal-storage/libhal-storage.c: Do not declare a volume as invisible + if hal does not know the file system (hald cannot read harddisk + partitions). + + -- Sjoerd Simons Fri, 18 Mar 2005 19:25:04 +0100 + +hal (0.4.7-2) unstable; urgency=low + + * debian/patches/storage-policy-debian.patch + + Updated. Enable the quiet option for vfat volumes. (Closes: #292661) + * debian/hal.dbus.init + + Show a warning message when trying to start with an unsupported kernel. + (Closes: #292644) + * debian/patches/no_sysdevice.path + + Don't die when a device doesn't have a sysfs path when finalizing the + class device. (Closes: #293630) + * debian/patches/storage-policy-zip.patch + + Added. Correctly name partitioned zip mountpoints. Patch from Daniel + Serpell. (Closes: #294033) + + -- Sjoerd Simons Tue, 15 Feb 2005 11:51:34 +0100 + +hal (0.4.7-1) unstable; urgency=medium + + * New upstream release + + hal-device-manager handles ieee1394 now (Closes: #290931) + * Added watch file + + -- Sjoerd Simons Tue, 25 Jan 2005 15:25:51 +0100 + +hal (0.4.6-1) unstable; urgency=low + + * New upstream release + + Fixes various problems with vfat label detection (Closes: #271997) + * Enable building of fstab-sync as some people seem to like it + (Closes: #290780) + * debian/patches/storage-policy-debian.patch. + + Updated. Copy block.policy.desired_mount_point from block.storage to + volume.policy.desired_mount_point if the blockdevice has no partitions + (Closes: #290963) + + -- Sjoerd Simons Fri, 21 Jan 2005 17:27:34 +0100 + +hal (0.4.5-1) unstable; urgency=low + + * New upstream release + * Removed patches that were fixed/merged upstream + + debian/patches/check-ide-floppy-for-zip.patch + + debian/patches/volume_id-fat.patch + + -- Sjoerd Simons Thu, 13 Jan 2005 16:46:12 +0100 + +hal (0.4.4-2) unstable; urgency=low + + * debian/patches/volume_id-fat.patch + + Added. Fixes label reading on large FAT volumes. Patch from Kay Sievers. + (Closes: #271997) + * debian/patches/check-ide-floppy-for-zip.patch + + Added. Support IDE Zip drives that appear as IDE floppies. Patch from + David Zeuthen. + + -- Sjoerd Simons Mon, 10 Jan 2005 09:28:55 +0100 + +hal (0.4.4-1) unstable; urgency=low + + * New upstream release + * Removed patched that were merged/fixed upstream: + + debian/patches/netdev-recovery.patch + + -- Sjoerd Simons Fri, 7 Jan 2005 11:29:56 +0100 + +hal (0.4.3-1) unstable; urgency=low + + * New upstream release + * Start using tarball.mk from cdbs + * Removed patched that were merged/fixed upstream: + + debian/patches/cdrom-fdleak.patch + + debian/patches/cdrom-media-check.patch + + debian/patches/fix-ide-fdi.patch + + debian/patches/fstab-sync-crash.patch + + debian/patches/poll-only-cdroms.patch + + debian/patches/special_mtab_chars.patch + * debian/patches/netdev-recovery.patch + + Added. Fixes a crash in the netdev recovery code (Closes: #288089) + * debian/hal.udev.rules + + The only ide drives hal polls are cdroms, so it's unnecessary to set the + group of other removable ide drives to hal. (Closes: #288301) + * Stop shipping sony_dsc.fdi, it just causes problems. + * debian/patches/ids-search.patch + + Updated + * debian/patches/z_update_autofoo.patch + + Removed, not necessary anymore because of the ids-search.patch update + + -- Sjoerd Simons Tue, 4 Jan 2005 18:26:44 +0100 + +hal (0.4.2-6) unstable; urgency=low + + * debian/patches/cdrom-fdleak.patch + + Added. Don't leak a filedescriptor to the cdrom device when the + filesystem on a data cd isn't recognized. Patch from Peter Österlund + (Closes: #287779) + + -- Sjoerd Simons Thu, 30 Dec 2004 15:29:04 +0100 + +hal (0.4.2-5) unstable; urgency=high + + * Create /var/run/hal dir on start if it's not there (Closes: #287258) + + -- Sjoerd Simons Sun, 26 Dec 2004 15:27:45 +0100 + +hal (0.4.2-4) unstable; urgency=high + + * Only add hal to group cdrom and floppy when creating the user. This way it + won't get added on upgrade if the admin removed it. (Closes: #286790) + * debian/hal-unmount.dev + + Also check /etc/mtab to see if the device is mounted. (Closes: #286579) + * Urgency high. Fixes an RC bug. + + -- Sjoerd Simons Sun, 19 Dec 2004 20:42:37 +0100 + +hal (0.4.2-3) unstable; urgency=low + + * debian/patches/special_mtab_chars.patch + + Added. In /etc/mtab and /proc/mounts some special chars (like space) are + encoded in octal from. Decode these into normal chars again. Fixes + problems with spaces in mountpoints (Closes: #284322) + * debian/hal-unmount.dev: + + Sanity-check $DEVNAME to make sure it begins with a slash, so we don't + get bitten by DEVNAME=-a or DEVNAME="". Thanks to Scott James Remnant + + -- Sjoerd Simons Sun, 19 Dec 2004 18:32:47 +0100 + +hal (0.4.2-2) unstable; urgency=medium + + * debian/patches/fstab-sync-crash.patch + + Added. Don't crash on cleaning fstab in certain + circumstances (Closes: #284721) + * debian/patches/ids-search.patch + + Added. Search for pci.ids and usb.ids runtime. Fixes problems when the + location changes or if it is different then on the machine hal was build + on. + * debian/patches/fix-ide-fdi.patch + + Added. Correct syntax error in the fdi file + * debian/patches/cdrom-media-check.patch + + Added. Some CD-ROMs report that they contain a CD even if the tray is + open; probe CDROM_MEDIA_CHANGED twice to check whether there is indeed a + CD inside.Thanks to Michael Hofmann for discovering this and + finding the fix. + * debian/patches/poll-only-cdroms.patch: + + Added. Instead of trying to work around broken ide pcmcia device just + poll cdrom on the ide bus. Patch from David Zeuthen (Closes: #284164) + * debian/patches/z_update_autofoo.patch: + + Added. Update configure, this is needed by ids-search.patch. + + -- Sjoerd Simons Wed, 08 Dec 2004 16:18:14 +0100 + +hal (0.4.2-1) unstable; urgency=low + + * New upstream release + * Remove patches that have been merged upstream: + + debian/patches/device-manager-glade.patch + + debian/patches/device-manager.patch + + -- Sjoerd Simons Thu, 2 Dec 2004 13:13:50 +0100 + +hal (0.4.1-2) unstable; urgency=low + + * Rename the hal dbus start script from hal to 20hal. Makes it simpler to + order startup of dbus services. + * Let hald run as non-root by default + * Use a dev.d script for lazy device umount. So hald doesn't need too. + (Script from the ubuntu package) + * Install udev configuration to make removable devices owned by group hal + (Adapted from the ubuntu package) + * Call udevsend for all block devices in the postinst. To ensure + the permissions are set right for already available devices. + * debian/README. Updated to reflect we run as user hal by default now. + * debian/patches/storage-policy-debian.patch. + + Updated. turn off sync and noatime for drivers bigger then 2GB. + * /etc/hal/fdi/preferences.fdi + + Added. Some examples of system settings that can be tweaked via hal's + database. + * debian/patches/storage-policy-debian.patch. + + Updated. Disable the managed keyword again, so we don't have to depend + on a mount version that's already frozen. + + -- Sjoerd Simons Mon, 8 Nov 2004 23:59:23 +0100 + +hal (0.4.1-1) unstable; urgency=low + + * New upstream release + + Fixes fstab-sync crash when called without options (Closes: #278468) + + Detects highpoint ata raid configurations (Closes: #277534) + * debian/hald.8: Fixed typos + * debian/rules: Correctly generate the python dependencies for + hal-device-manager + * debian/hal.postinst: Don't fail when the dbus-1 init script isn't + available yet + * Removed patches (adopted upstream): + + debian/patches/fstab-sync.patch + + debian/patches/nonblock.patch + + debian/patches/storage-policy-uudi.patch + * debian/patches/storage-policy-debian.patch + Updated. Usage comment=fstabsync as option for fstab-sync mount lines + * debian/patches/hal-fdi.patch + Added. Look for user fdi files in /etc/hal/fdi + * debian/patches/device-manager.patch + Added. Fill the Device type and Capabilities field (Patch from Bryan Clark) + * debian/patches/device-manager-glade.patch + Added. Improve the appearance of the Device tab in h-d-m + * debian/patches/hal-hotplug-map.patch + Added. Check if the usb device isn't actually an usb mass storage device + before setting libgphoto2 support properties. Fixes problems with + olympus cameras, because PtP and UMS versions have the same usb id's + (Closes: #279395) + + -- Sjoerd Simons Sat, 06 Nov 2004 19:59:37 +0100 + +hal (0.4.0-1) experimental; urgency=low + + * New upstream release + * Marin Pitt: + + New packages libhal-storage0 and libhal-storage-dev for new hal-storage + library + + Removed patches (adopted upstrem): + - add_device_nullarg.patch + - fix_first_hotplug.diff + - hal-cdspeed.patch + - nofail_nocaps.patch + - pci_pre_process_check_null.diff + + debian/lshal.1: properly quoted dashes + + * Sjoerd Simons: + + Removed patches (adopted upstream): + - pciid-fdleak.patch + - usbdb-fdleak.patch + - fs_probing.patch + - haldb-require-privs.patch + - libgphoto2-usermap.patch + - netlink_spoofing.patch + + No longer shipping the fstab-update script + + debian/hal.preinst: Stop hal in preinst instead of dbus + + debian/hal.preinst: Add missing debhelper token + + debian/hal.preinst: Remove fstab-update.h transition. + + Added /etc/default/hal to easily configure running hal as non-root + + Added debian/patches/fstab-sync.patch (from CVS HEAD) + - Use the name of the special device file instead of 'foo' when writing + to the syslog. + - clean wasn't being called on hald startup because of missing defines + due to the removal of fstab-sync options + + Added debian/patches/nonblock.patch (from CVS HEAD) + - Fixes wrong handling of O_NONBLOCK by hal when probing the fileystem + type (by removing it) + + Added debian/patches//storage-policy-uudi.patch (from CVS HEAD) + - Never use filesystem UUDI for mount points in the default policy + + Ship fstab-sync.8 manpage + + Added debian/patches/storage-policy-debian.patch + - Change to storage policy to match the behaviour of previous hal + debian packages. + + -- Sjoerd Simons Mon, 18 Oct 2004 16:30:01 +0200 + +hal (0.2.98-5) unstable; urgency=high + + * Restart dbus on postinst instead of starting, fixes problems on upgrade + and install (Closes: #277050) (Closes: #277035) + * debian/patches/netlink_spoofing.patch + + Added. Check PID of netlink packets to prevent spoofing from user + processes (from CVS HEAD) + * High priority because it fixes upgrade and install problems. + + -- Sjoerd Simons Sun, 17 Oct 2004 20:19:48 +0200 + +hal (0.2.98-4) unstable; urgency=medium + + * Also restart dbus when hal is freshly installed. + + -- Sjoerd Simons Sun, 17 Oct 2004 19:45:26 +0200 + +hal (0.2.98-3) unstable; urgency=medium + + * debian/patches/haldb-require-privs.patch + + Added. Only allow root and the hal's current user to change things in + the hal's database (from CVS HEAD with some enhancements) + * Doesn't crash when SIOCGMIIREG fails (Closes: #276297) + + -- Sjoerd Simons Sun, 10 Oct 2004 19:57:52 +0200 + +hal (0.2.98-2) unstable; urgency=medium + + * Goodies from the Ubuntu hal packages (thanks to Martin Pitt) + + Properly quote dashes in the manpages + + German translation of hal-device-manager.desktop + * debian/patches/add_device_nullarg.patch + + Added. check whether given_sysfs_path is NULL and + immediately return in this case; previously, this parameter was copied + and compared without checking. (from ubuntu package) + * debian/patches/fix_first_hotplug.patch + + Added. Fixes race conditions with regard to the first hotplug event + (from CVS HEAD) + * debian/patches/fs_probing.patch + + Added. Fixes some file probing issues (from CVS HEAD) + * debian/patches/nofail_nocaps.patch + + Added. Don't fail on a kernel without capablities if privileges are + dropped (from Ubuntu package) + * debian/patches/pci_pre_process_check_null.patch + + Added. Added extra NULL pointing checking (from Ubuntu package) + * debian/patches/pciid-fdleak.patch + + Added. Close file descriptors after reading the pci id database + * debian/patches/usbdb-fdleak.patch + + Added. Close file descriptors after reading the usb id database + * Make fstab-update.hal POSIX compliant (patch from Martin Waitz) + (Closes: #274937) + + -- Sjoerd Simons Sun, 10 Oct 2004 17:31:40 +0200 + +hal (0.2.98-1) unstable; urgency=high + + * New upstream release + * Fixes endless loop in FAT32 label reading code (Closes: #273001) + * Make it possible to run hal with dropped priviledges + (not enabled by default) + * Put hal-device-manager in it's own package (Closes: Bug#239122) + * Install hal-hotplug-map helper + * Updated hald manpage + * Created hal-device-manager manpage + * Disable selinux for now. A newer libselinux then in debian is needed. + * debian/patches/hal-cdspeed.patch + + Added. Fix for unchecked buffer access from Martin Pitt + * debian/patches/libgphoto2-usermap.patch + + Added. Let hal-hotplug-map work correctly with the libgphoto2 hotplug + config. + * Urgency high because this fixes RC bugs + + -- Sjoerd Simons Sun, 26 Sep 2004 11:10:45 +0200 + +hal (0.2.97+cvs20040907-1) unstable; urgency=high + + * New maintainer. + * New CVS snapshot (Closes: Bug#266158) + * More robust hotplugging code (Closes: Bug#264597) + * libhal.la no long declares a bogus dependency on libexpat + (Closes: Bug#266667) + * debian/patches/hal_volume_utf8.patch + + removed. Already fixed upstream + * Changed fstab-update.sh to fstab-update.hal. Only callouts with the .hal + extension are invoked now. + * Conflict with old gnome-volume-manager + * Urgency high because it fixes RC bugs in testing + + -- Sjoerd Simons Tue, 7 Sep 2004 22:17:15 +0200 + +hal (0.2.97-0.1) unstable; urgency=low + + * NMU for New upstream release. + + sarge freezes tomorrow, this should beat the deadline. + + Works with D-BUS 0.22 and above. + * Tighten D-BUS Build-Deps/Depends to >= 0.22. + + -- Daniel Stone Mon, 16 Aug 2004 17:34:37 -0700 + +hal (0.2.95-5) unstable; urgency=medium + + * Urgency medium as this release should enter testing soon + * Replace hal_volume_utf8.patch with hal_validate_utf8.patch + + -- Martin Waitz Mon, 2 Aug 2004 20:23:51 +0200 + +hal (0.2.95-4) unstable; urgency=low + + * Manage patches with quilt. + * Apply hal_volume_utf8.patch and hal_mounted_on_startup.patch + from Sjoerd Simons (Closes: #261723) + + -- Martin Waitz Wed, 28 Jul 2004 21:34:56 +0200 + +hal (0.2.95-3) unstable; urgency=low + + * Explicitly depend on dbus 0.21-7 to get hald started (Closes: #261582) + + -- Martin Waitz Tue, 27 Jul 2004 23:15:40 +0200 + +hal (0.2.95-2) unstable; urgency=low + + * Build-depend on libpopt-dev + + -- Martin Waitz Sat, 24 Jul 2004 21:43:18 +0200 + +hal (0.2.95-1) unstable; urgency=low + + * New upstream release (Closes: #259860) + - hal hotplug helper executes in background (Closes: #237836) + - hal-device-manager shows error message in dialog (Closes: #233854) + * debian/rules: use upstream doc/api Makefiles to build docs. + * debian/{rules,hal.postinst,hal.init,hal.init.dbus}: + Start hald together with dbus (Closes: #231704) + * Apply patch from David Weinehall to make + the fstab update script not require bash (Closes: #259293) + * Cleanup syslog usage in the hotplug helper + * remove HACKING reference from README (Closes: #260241) + * fix hal-device-manager when info.product key misses + + -- Martin Waitz Fri, 23 Jul 2004 21:33:03 +0200 + +hal (0.2.93+20040711-2) unstable; urgency=low + + * rerun libtoolize to fix libhal0, argh. (Closes: #259111) + + -- Martin Waitz Tue, 13 Jul 2004 21:45:20 +0200 + +hal (0.2.93+20040711-1) unstable; urgency=low + + * New CVS checkout (Closes: #257781) + - includes part of my get-properties patch (Closes: #238175) + * debian/control: build-depend on python (Closes: #258461) + * add shlib file (Closes: #253779) + * support vc class in linux hotplug helper (Closes: #258112) + + -- Martin Waitz Mon, 12 Jul 2004 23:43:54 +0200 + +hal (0.2.92-1) unstable; urgency=low + + * New upstream release + * debian/README.Debian: add note about fstab-update callout + * fix COPYING, by accident it only contained the GPL + + -- Martin Waitz Tue, 8 Jun 2004 21:51:44 +0200 + +hal (0.2.91-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz Wed, 26 May 2004 00:28:25 +0200 + +hal (0.2.90+20040515-1) unstable; urgency=low + + * New CVS checkout + * debian/fstab-update.sh: add example from cvs tree + * debian/rules: install fstab-update.sh as example into hal/device.d + (but leave it -x for now to disable it) + + -- Martin Waitz Sat, 15 May 2004 19:55:11 +0200 + +hal (0.2.90+20040511-1) unstable; urgency=low + + * New CVS checkout + + -- Martin Waitz Tue, 11 May 2004 20:13:53 +0200 + +hal (0.2.90+20040424-1) unstable; urgency=low + + * New CVS checkout + + -- Martin Waitz Sat, 24 Apr 2004 13:15:48 +0200 + +hal (0.2.6+20040331-1) unstable; urgency=low + + * New CVS checkout + + -- Martin Waitz Wed, 31 Mar 2004 22:25:22 +0200 + +hal (0.2.6+20040311-1) unstable; urgency=low + + * New CVS checkout (Closes: #237436) + * don't die if usbfs is not mounted (Closes: # 234364) + * print better error message if hald is not runnig (one part of #233854) + + -- Martin Waitz Thu, 11 Mar 2004 20:51:59 +0100 + +hal (0.2.6-4) unstable; urgency=low + + * debian/hal.postinst: restart dbus on configure, so that it + reads our dbus policy configuration file + * debian/control: add dependency on some python modules and usbutils + (Closes: #231312, #231555, #231607) + + -- Martin Waitz Sat, 7 Feb 2004 21:49:57 +0100 + +hal (0.2.6-3) unstable; urgency=low + + * first upload to unstable + * debian/control: add phython2.3-dbus dependency + + -- Martin Waitz Thu, 5 Feb 2004 22:07:22 +0100 + +hal (0.2.6-2) experimental; urgency=low + + * Merge with package from Ross Burton + - debian/control: add hal-doc, update build-depends + - debian/rules: build documentation + - debian/hal-doc.install: include dokumentation in hal-doc + - debian/hal.postrm: new file + - debian/hal-device-manager.desktop: new file + - debian/hal.install: add desktop file + + -- Martin Waitz Tue, 27 Jan 2004 02:31:10 +0100 + +hal (0.2.6-1) experimental; urgency=low + + * Initial Release. (Closes: #217468) + + -- Martin Waitz Tue, 20 Jan 2004 01:41:51 +0100 + --- hal-0.5.12~rc1+git20090403.orig/debian/hal.examples +++ hal-0.5.12~rc1+git20090403/debian/hal.examples @@ -0,0 +1 @@ +debian/no-cd-media-check.fdi --- hal-0.5.12~rc1+git20090403.orig/debian/libhal-storage1.symbols +++ hal-0.5.12~rc1+git20090403/debian/libhal-storage1.symbols @@ -0,0 +1,93 @@ +libhal-storage.so.1 libhal-storage1 #MINVER# + libhal_drive_find_all_volumes@Base 0.5.8.1 + libhal_drive_free@Base 0.5.8.1 + libhal_drive_from_device_file@Base 0.5.8.1 + libhal_drive_from_udi@Base 0.5.8.1 + libhal_drive_get_bus@Base 0.5.8.1 + libhal_drive_get_cdrom_caps@Base 0.5.8.1 + libhal_drive_get_dedicated_icon_drive@Base 0.5.8.1 + libhal_drive_get_dedicated_icon_volume@Base 0.5.8.1 + libhal_drive_get_device_file@Base 0.5.8.1 + libhal_drive_get_device_major@Base 0.5.8.1 + libhal_drive_get_device_minor@Base 0.5.8.1 + libhal_drive_get_firmware_version@Base 0.5.8.1 + libhal_drive_get_media_size@Base 0.5.8.1 + libhal_drive_get_model@Base 0.5.8.1 + libhal_drive_get_partition_scheme@Base 0.5.8.1 + libhal_drive_get_physical_device_udi@Base 0.5.8.1 + libhal_drive_get_serial@Base 0.5.8.1 + libhal_drive_get_size@Base 0.5.8.1 + libhal_drive_get_type@Base 0.5.8.1 + libhal_drive_get_type_textual@Base 0.5.8.1 + libhal_drive_get_udi@Base 0.5.8.1 + libhal_drive_get_vendor@Base 0.5.8.1 + libhal_drive_is_hotpluggable@Base 0.5.8.1 + libhal_drive_is_media_detected@Base 0.5.8.1 + libhal_drive_is_media_detection_automatic@Base 0.5.11~rc2 + libhal_drive_no_partitions_hint@Base 0.5.8.1 + libhal_drive_policy_compute_display_name@Base 0.5.8.1 + libhal_drive_policy_compute_icon_name@Base 0.5.8.1 + libhal_drive_policy_default_get_managed_keyword_primary@Base 0.5.8.1 + libhal_drive_policy_default_get_managed_keyword_secondary@Base 0.5.8.1 + libhal_drive_policy_default_get_mount_root@Base 0.5.8.1 + libhal_drive_policy_default_use_managed_keyword@Base 0.5.8.1 + libhal_drive_policy_get_desired_mount_point@Base 0.5.8.1 + libhal_drive_policy_get_mount_fs@Base 0.5.8.1 + libhal_drive_policy_get_mount_options@Base 0.5.8.1 + libhal_drive_policy_is_mountable@Base 0.5.8.1 + libhal_drive_requires_eject@Base 0.5.8.1 + libhal_drive_uses_removable_media@Base 0.5.8.1 + libhal_storage_policy_free@Base 0.5.8.1 + libhal_storage_policy_lookup_icon@Base 0.5.8.1 + libhal_storage_policy_new@Base 0.5.8.1 + libhal_storage_policy_set_icon_mapping@Base 0.5.8.1 + libhal_storage_policy_set_icon_path@Base 0.5.8.1 + libhal_volume_crypto_get_backing_volume_udi@Base 0.5.8.1 + libhal_volume_crypto_get_clear_volume_udi@Base 0.5.8.1 + libhal_volume_disc_has_audio@Base 0.5.8.1 + libhal_volume_disc_has_data@Base 0.5.8.1 + libhal_volume_disc_is_appendable@Base 0.5.8.1 + libhal_volume_disc_is_blank@Base 0.5.8.1 + libhal_volume_disc_is_rewritable@Base 0.5.8.1 + libhal_volume_free@Base 0.5.8.1 + libhal_volume_from_device_file@Base 0.5.8.1 + libhal_volume_from_mount_point@Base 0.5.9.1 + libhal_volume_from_udi@Base 0.5.8.1 + libhal_volume_get_device_file@Base 0.5.8.1 + libhal_volume_get_device_major@Base 0.5.8.1 + libhal_volume_get_device_minor@Base 0.5.8.1 + libhal_volume_get_disc_capacity@Base 0.5.8.1 + libhal_volume_get_disc_type@Base 0.5.8.1 + libhal_volume_get_fstype@Base 0.5.8.1 + libhal_volume_get_fsusage@Base 0.5.8.1 + libhal_volume_get_fsversion@Base 0.5.8.1 + libhal_volume_get_label@Base 0.5.8.1 + libhal_volume_get_mount_point@Base 0.5.8.1 + libhal_volume_get_msdos_part_table_size@Base 0.5.8.1 + libhal_volume_get_msdos_part_table_start@Base 0.5.8.1 + libhal_volume_get_msdos_part_table_type@Base 0.5.8.1 + libhal_volume_get_partition_flags@Base 0.5.8.1 + libhal_volume_get_partition_label@Base 0.5.8.1 + libhal_volume_get_partition_media_size@Base 0.5.8.1 + libhal_volume_get_partition_number@Base 0.5.8.1 + libhal_volume_get_partition_scheme@Base 0.5.8.1 + libhal_volume_get_partition_start_offset@Base 0.5.8.1 + libhal_volume_get_partition_type@Base 0.5.8.1 + libhal_volume_get_partition_uuid@Base 0.5.8.1 + libhal_volume_get_size@Base 0.5.8.1 + libhal_volume_get_storage_device_udi@Base 0.5.8.1 + libhal_volume_get_udi@Base 0.5.8.1 + libhal_volume_get_uuid@Base 0.5.8.1 + libhal_volume_is_disc@Base 0.5.8.1 + libhal_volume_is_mounted@Base 0.5.8.1 + libhal_volume_is_mounted_read_only@Base 0.5.8.1 + libhal_volume_is_partition@Base 0.5.8.1 + libhal_volume_policy_compute_display_name@Base 0.5.8.1 + libhal_volume_policy_compute_icon_name@Base 0.5.8.1 + libhal_volume_policy_compute_size_as_string@Base 0.5.8.1 + libhal_volume_policy_get_desired_mount_point@Base 0.5.8.1 + libhal_volume_policy_get_mount_fs@Base 0.5.8.1 + libhal_volume_policy_get_mount_options@Base 0.5.8.1 + libhal_volume_policy_is_mountable@Base 0.5.8.1 + libhal_volume_policy_should_be_visible@Base 0.5.8.1 + libhal_volume_should_ignore@Base 0.5.8.1 --- hal-0.5.12~rc1+git20090403.orig/debian/watch +++ hal-0.5.12~rc1+git20090403/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://hal.freedesktop.org/releases/hal-([\d\.]+)\.tar\.gz --- hal-0.5.12~rc1+git20090403.orig/debian/preferences.fdi +++ hal-0.5.12~rc1+git20090403/debian/preferences.fdi @@ -0,0 +1,25 @@ + + + + + + + + + + false + + + + + + + --- hal-0.5.12~rc1+git20090403.orig/debian/libhal-storage1.shlibs +++ hal-0.5.12~rc1+git20090403/debian/libhal-storage1.shlibs @@ -0,0 +1 @@ +libhal-storage 1 libhal-storage1 (>= 0.5.11~rc2) --- hal-0.5.12~rc1+git20090403.orig/debian/hal.postinst +++ hal-0.5.12~rc1+git20090403/debian/hal.postinst @@ -0,0 +1,73 @@ +#! /bin/sh +# postinst script for hal +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + getent passwd haldaemon >/dev/null || \ + adduser --system \ + --quiet \ + --disabled-password \ + --no-create-home \ + --home "/var/run/hald" \ + --gecos "Hardware abstraction layer" \ + --quiet \ + --group haldaemon + + # Remove old stop symlinks on upgrades + if dpkg --compare-versions "$2" lt-nl "0.5.11-6"; then + rm -f /etc/rc[06].d/K??hal + fi + + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi + + if [ -z "$2" ]; then + # Allow hal to query the PolicyKit database to enforce privileges + if ! /usr/bin/polkit-auth --user haldaemon --explicit | grep -q 'org.freedesktop.policykit.read'; then + /usr/bin/polkit-auth --user haldaemon --grant 'org.freedesktop.policykit.read' + fi + fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + triggered) + echo "Regenerating hal fdi cache ..." + rm -f /var/cache/hald/fdi-cache + invoke-rc.d hal restart || true + exit 0 + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hal-0.5.12~rc1+git20090403.orig/debian/hal-doc.links +++ hal-0.5.12~rc1+git20090403/debian/hal-doc.links @@ -0,0 +1,2 @@ +usr/share/doc/hal-doc/api/libhal usr/share/gtk-doc/html/libhal +usr/share/doc/hal-doc/api/libhal-storage usr/share/gtk-doc/html/libhal-storage --- hal-0.5.12~rc1+git20090403.orig/debian/no-cd-media-check.fdi +++ hal-0.5.12~rc1+git20090403/debian/no-cd-media-check.fdi @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- hal-0.5.12~rc1+git20090403.orig/debian/libhal1.shlibs +++ hal-0.5.12~rc1+git20090403/debian/libhal1.shlibs @@ -0,0 +1 @@ +libhal 1 libhal1 (>= 0.5.11~rc2) --- hal-0.5.12~rc1+git20090403.orig/debian/libhal1.symbols +++ hal-0.5.12~rc1+git20090403/debian/libhal1.symbols @@ -0,0 +1,106 @@ +libhal.so.1 libhal1 #MINVER# + libhal_acquire_global_interface_lock@Base 0.5.9.1 + libhal_changeset_set_property_bool@Base 0.5.8.1 + libhal_changeset_set_property_double@Base 0.5.8.1 + libhal_changeset_set_property_int@Base 0.5.8.1 + libhal_changeset_set_property_string@Base 0.5.8.1 + libhal_changeset_set_property_strlist@Base 0.5.8.1 + libhal_changeset_set_property_uint64@Base 0.5.8.1 + libhal_ctx_free@Base 0.5.8.1 + libhal_ctx_get_dbus_connection@Base 0.5.8.1 + libhal_ctx_get_user_data@Base 0.5.8.1 + libhal_ctx_init@Base 0.5.8.1 + libhal_ctx_init_direct@Base 0.5.8.1 + libhal_ctx_new@Base 0.5.8.1 + libhal_ctx_set_cache@Base 0.5.8.1 + libhal_ctx_set_dbus_connection@Base 0.5.8.1 + libhal_ctx_set_device_added@Base 0.5.8.1 + libhal_ctx_set_device_condition@Base 0.5.8.1 + libhal_ctx_set_device_lost_capability@Base 0.5.8.1 + libhal_ctx_set_device_new_capability@Base 0.5.8.1 + libhal_ctx_set_device_property_modified@Base 0.5.8.1 + libhal_ctx_set_device_removed@Base 0.5.8.1 + libhal_ctx_set_global_interface_lock_acquired@Base 0.5.9.1 + libhal_ctx_set_global_interface_lock_released@Base 0.5.9.1 + libhal_ctx_set_interface_lock_acquired@Base 0.5.9.1 + libhal_ctx_set_interface_lock_released@Base 0.5.9.1 + libhal_ctx_set_singleton_device_added@Base 0.5.10 + libhal_ctx_set_singleton_device_removed@Base 0.5.10 + libhal_ctx_set_user_data@Base 0.5.8.1 + libhal_ctx_shutdown@Base 0.5.8.1 + libhal_device_acquire_interface_lock@Base 0.5.9.1 + libhal_device_add_capability@Base 0.5.8.1 + libhal_device_add_property_watch@Base 0.5.8.1 + libhal_device_addon_is_ready@Base 0.5.8.1 + libhal_device_claim_interface@Base 0.5.8.1 + libhal_device_commit_changeset@Base 0.5.8.1 + libhal_device_commit_to_gdl@Base 0.5.8.1 + libhal_device_emit_condition@Base 0.5.8.1 + libhal_device_exists@Base 0.5.8.1 + libhal_device_free_changeset@Base 0.5.8.1 + libhal_device_get_all_properties@Base 0.5.8.1 + libhal_device_get_property_bool@Base 0.5.8.1 + libhal_device_get_property_double@Base 0.5.8.1 + libhal_device_get_property_int@Base 0.5.8.1 + libhal_device_get_property_string@Base 0.5.8.1 + libhal_device_get_property_strlist@Base 0.5.8.1 + libhal_device_get_property_type@Base 0.5.8.1 + libhal_device_get_property_uint64@Base 0.5.8.1 + libhal_device_is_caller_locked_out@Base 0.5.9.1 + libhal_device_is_caller_privileged@Base 0.5.10 + libhal_device_is_locked_by_others@Base 0.5.9.1 + libhal_device_lock@Base 0.5.8.1 + libhal_device_matches@Base 0.5.8.1 + libhal_device_new_changeset@Base 0.5.8.1 + libhal_device_print@Base 0.5.8.1 + libhal_device_property_exists@Base 0.5.8.1 + libhal_device_property_strlist_append@Base 0.5.8.1 + libhal_device_property_strlist_prepend@Base 0.5.8.1 + libhal_device_property_strlist_remove@Base 0.5.8.1 + libhal_device_property_strlist_remove_index@Base 0.5.8.1 + libhal_device_property_watch_all@Base 0.5.8.1 + libhal_device_query_capability@Base 0.5.8.1 + libhal_device_release_interface_lock@Base 0.5.9.1 + libhal_device_remove_property@Base 0.5.8.1 + libhal_device_remove_property_watch@Base 0.5.8.1 + libhal_device_reprobe@Base 0.5.8.1 + libhal_device_rescan@Base 0.5.8.1 + libhal_device_set_property_bool@Base 0.5.8.1 + libhal_device_set_property_double@Base 0.5.8.1 + libhal_device_set_property_int@Base 0.5.8.1 + libhal_device_set_property_string@Base 0.5.8.1 + libhal_device_set_property_uint64@Base 0.5.8.1 + libhal_device_singleton_addon_is_ready@Base 0.5.10 + libhal_device_unlock@Base 0.5.8.1 + libhal_find_device_by_capability@Base 0.5.8.1 + libhal_free_property_set@Base 0.5.8.1 + libhal_free_string@Base 0.5.8.1 + libhal_free_string_array@Base 0.5.8.1 + libhal_get_all_devices@Base 0.5.8.1 + libhal_get_all_devices_with_properties@Base 0.5.11~rc2 + libhal_manager_find_device_string_match@Base 0.5.8.1 + libhal_merge_properties@Base 0.5.8.1 + libhal_new_device@Base 0.5.8.1 + libhal_property_set_get_num_elems@Base 0.5.8.1 + libhal_property_set_sort@Base 0.5.9.1 + libhal_ps_get_bool@Base 0.5.10 + libhal_ps_get_double@Base 0.5.10 + libhal_ps_get_int32@Base 0.5.10 + libhal_ps_get_string@Base 0.5.10 + libhal_ps_get_strlist@Base 0.5.10 + libhal_ps_get_type@Base 0.5.10 + libhal_ps_get_uint64@Base 0.5.10 + libhal_psi_get_bool@Base 0.5.8.1 + libhal_psi_get_double@Base 0.5.8.1 + libhal_psi_get_int@Base 0.5.8.1 + libhal_psi_get_key@Base 0.5.8.1 + libhal_psi_get_string@Base 0.5.8.1 + libhal_psi_get_strlist@Base 0.5.8.1 + libhal_psi_get_type@Base 0.5.8.1 + libhal_psi_get_uint64@Base 0.5.8.1 + libhal_psi_has_more@Base 0.5.8.1 + libhal_psi_init@Base 0.5.8.1 + libhal_psi_next@Base 0.5.8.1 + libhal_release_global_interface_lock@Base 0.5.9.1 + libhal_remove_device@Base 0.5.8.1 + libhal_string_array_length@Base 0.5.8.1 --- hal-0.5.12~rc1+git20090403.orig/debian/hal.preinst +++ hal-0.5.12~rc1+git20090403/debian/hal.preinst @@ -0,0 +1,62 @@ +#!/bin/sh + +set -e + +rm_conffile() { + PKGNAME="hal" + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in + install|upgrade) + if dpkg --compare-versions "$2" le "0.5.2-1"; then + rm_conffile "/etc/hal/fdi/preferences.fdi" + rm_conffile "/etc/dev.d/block/hal-unmount.dev" + fi + if dpkg --compare-versions "$2" le "0.5.6-2"; then + rm_conffile "/etc/udev/scripts/device-removable.sh" + fi + if dpkg --compare-versions "$2" le "0.5.6-4"; then + rm_conffile "/etc/hal/fdi/preferences.fdi" + fi + if dpkg --compare-versions "$2" le "0.5.7.1-1"; then + deluser --quiet --system hal > /dev/null || true + fi + if dpkg --compare-versions "$2" lt "0.5.9-3"; then + if [ -x /etc/dbus-1/event.d/20hal ]; then + /etc/dbus-1/event.d/20hal stop + fi + rm_conffile "/etc/dbus-1/event.d/20hal" + fi + if dpkg --compare-versions "$2" lt "0.5.11-3"; then + rm_conffile "/etc/udev/hal.rules" + rm -f /etc/udev/rules.d/z99_hal.rules + rm_conffile "/etc/udev/rules.d/95-hal.rules" + fi + if dpkg --compare-versions "$2" lt "0.5.12~rc1-0ubuntu4"; then + if [ -e "/etc/udev/rules.d/90-hal.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/90-hal.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' hal | sed -n -e \"\\\\' /etc/udev/rules.d/90-hal.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/90-hal.rules" + fi + fi + fi +esac + +#DEBHELPER# + +exit 0 --- hal-0.5.12~rc1+git20090403.orig/debian/README.ubuntu-dev +++ hal-0.5.12~rc1+git20090403/debian/README.ubuntu-dev @@ -0,0 +1,8 @@ +This package can not (currently) be build with "debuild -S --merge" because +of a bug in the upstream makefiles. + +Build it with + bzr-buildpackage --dont-purge +and then run + debuils -S +in the ../build-area/hal-$version dir. --- hal-0.5.12~rc1+git20090403.orig/debian/hal.install +++ hal-0.5.12~rc1+git20090403/debian/hal.install @@ -0,0 +1,11 @@ +debian/tmp/etc/ +debian/tmp/usr/bin/ +debian/tmp/usr/sbin/ +debian/tmp/sbin/umount.hal usr/sbin +debian/tmp/usr/lib/hal/ +debian/tmp/usr/share/hal/fdi +debian/tmp/usr/share/PolicyKit/ +debian/tmp/lib/udev/rules.d +debian/preferences.fdi etc/hal/fdi/policy +debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi usr/share/hal/fdi/policy/10osvendor +debian/10-x11-keymap.fdi usr/share/hal/fdi/policy/10osvendor --- hal-0.5.12~rc1+git20090403.orig/debian/copyright +++ hal-0.5.12~rc1+git20090403/debian/copyright @@ -0,0 +1,251 @@ +This package was debianized by Martin Waitz on +Fri, 24 Oct 2003 22:54:43 +0200. + +It was downloaded from www.freedesktop.org + +Upstream Author: David Zeuthen + +Copyright: + +HAL is licensed to you under your choice of the Academic Free +License version 2.0, or the GNU General Public License version 2. +Both licenses are included here. Some individual source code files +and/or binaries may be under the GPL only or under the LGPG. + +Each source code file is marked with the proper copyright information. + + The Academic Free License + v. 2.0 + +This Academic Free License (the "License") applies to any original +work of authorship (the "Original Work") whose owner (the "Licensor") +has placed the following notice immediately following the copyright +notice for the Original Work: + +Licensed under the Academic Free License version 2.0 + +1) Grant of Copyright License. Licensor hereby grants You a +world-wide, royalty-free, non-exclusive, perpetual, sublicenseable +license to do the following: + +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the + Original Work; + +c) to distribute copies of the Original Work and Derivative Works to + the public; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, sublicenseable license, under +patent claims owned or controlled by the Licensor that are embodied in +the Original Work as furnished by the Licensor, to make, use, sell and +offer for sale the Original Work and Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the +preferred form of the Original Work for making modifications to it and +all available documentation describing how to modify the Original +Work. Licensor hereby agrees to provide a machine-readable copy of +the Source Code of the Original Work along with each copy of the +Original Work that Licensor distributes. Licensor reserves the right +to satisfy this obligation by placing a machine-readable copy of the +Source Code in an information repository reasonably calculated to +permit inexpensive and convenient access by You for as long as +Licensor continues to distribute the Original Work, and by publishing +the address of that information repository in a notice immediately +following the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Neither the names of Licensor, nor +the names of any contributors to the Original Work, nor any of their +trademarks or service marks, may be used to endorse or promote +products derived from this Original Work without express prior written +permission of the Licensor. Nothing in this License shall be deemed +to grant any rights to trademarks, copyrights, patents, trade secrets +or any other intellectual property of Licensor except as expressly +stated herein. No patent license is granted to make, use, sell or +offer to sell embodiments of any patent claims other than the licensed +claims defined in Section 2. No right is granted to the trademarks of +Licensor even if such marks are included in the Original Work. +Nothing in this License shall be interpreted to prohibit Licensor from +licensing under different terms from this License any Original Work +that Licensor otherwise would have a right to license. + +5) This section intentionally omitted. + +6) Attribution Rights. You must retain, in the Source Code of any +Derivative Works that You create, all copyright, patent or trademark +notices from the Source Code of the Original Work, as well as any +notices of licensing and any descriptive text identified therein as an +"Attribution Notice." You must cause the Source Code for any +Derivative Works that You create to carry a prominent Attribution +Notice reasonably calculated to inform recipients that You have +modified the Original Work. + +7) Warranty of Provenance and Disclaimer of Warranty. Licensor +warrants that the copyright in and to the Original Work and the patent +rights granted herein by Licensor are owned by the Licensor or are +sublicensed to You under the terms of this License with the permission +of the contributor(s) of those copyrights and patent rights. Except +as expressly stated in the immediately proceeding sentence, the +Original Work is provided under this License on an "AS IS" BASIS and +WITHOUT WARRANTY, either express or implied, including, without +limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY +OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY +constitutes an essential part of this License. No license to Original +Work is granted hereunder except under this disclaimer. + +8) Limitation of Liability. Under no circumstances and under no legal +theory, whether in tort (including negligence), contract, or +otherwise, shall the Licensor be liable to any person for any direct, +indirect, special, incidental, or consequential damages of any +character arising as a result of this License or the use of the +Original Work including, without limitation, damages for loss of +goodwill, work stoppage, computer failure or malfunction, or any and +all other commercial damages or losses. This limitation of liability +shall not apply to liability for death or personal injury resulting +from Licensor's negligence to the extent applicable law prohibits such +limitation. Some jurisdictions do not allow the exclusion or +limitation of incidental or consequential damages, so this exclusion +and limitation may not apply to You. + +9) Acceptance and Termination. If You distribute copies of the +Original Work or a Derivative Work, You must make a reasonable effort +under the circumstances to obtain the express assent of recipients to +the terms of this License. Nothing else but this License (or another +written agreement between Licensor and You) grants You permission to +create Derivative Works based upon the Original Work or to exercise +any of the rights granted in Section 1 herein, and any attempt to do +so except under the terms of this License (or another written +agreement between Licensor and You) is expressly prohibited by +U.S. copyright law, the equivalent laws of other countries, and by +international treaty. Therefore, by exercising any of the rights +granted to You in Section 1 herein, You indicate Your acceptance of +this License and all of its terms and conditions. + +10) Termination for Patent Action. This License shall terminate +automatically and You may no longer exercise any of the rights granted +to You by this License as of the date You commence an action, +including a cross-claim or counterclaim, for patent infringement (i) +against Licensor with respect to a patent applicable to software or +(ii) against any entity with respect to a patent applicable to the +Original Work (but excluding combinations of the Original Work with +other software or hardware). + +11) Jurisdiction, Venue and Governing Law. Any action or suit relating +to this License may be brought only in the courts of a jurisdiction +wherein the Licensor resides or in which Licensor conducts its primary +business, and under the laws of that jurisdiction excluding its +conflict-of-law provisions. The application of the United Nations +Convention on Contracts for the International Sale of Goods is +expressly excluded. Any use of the Original Work outside the scope of +this License or after its termination shall be subject to the +requirements and penalties of the U.S. Copyright Act, 17 U.S.C. \u00a4 +101 et seq., the equivalent laws of other countries, and international +treaty. This section shall survive the termination of this License. + +12) Attorneys Fees. In any action to enforce the terms of this License +or seeking damages relating thereto, the prevailing party shall be +entitled to recover its costs and expenses, including, without +limitation, reasonable attorneys' fees and costs incurred in +connection with such action, including any appeal of such action. +This section shall survive the termination of this License. + +13) Miscellaneous. This License represents the complete agreement +concerning the subject matter hereof. If any provision of this +License is held to be unenforceable, such provision shall be reformed +only to the extent necessary to make it enforceable. + +14) Definition of "You" in This License. "You" throughout this +License, whether in upper or lower case, means an individual or a +legal entity exercising rights under, and complying with all of the +terms of, this License. For legal entities, "You" includes any entity +that controls, is controlled by, or is under common control with you. +For purposes of this definition, "control" means (i) the power, direct +or indirect, to cause the direction or management of such entity, +whether by contract or otherwise, or (ii) ownership of fifty percent +(50%) or more of the outstanding shares, or (iii) beneficial ownership +of such entity. + +15) Right to Use. You may use the Original Work in all ways not +otherwise restricted or conditioned by this License or by law, and +Licensor promises not to interfere with or be responsible for such +uses by You. + +This license is Copyright (C) 2003 Lawrence E. Rosen. All rights +reserved. Permission is hereby granted to copy and distribute this +license without modification. This license may not be modified +without the express written permission of its copyright owner. + +-- +END OF ACADEMIC FREE LICENSE. +The following is intended to describe the essential differences between +the Academic Free License (AFL) version 1.0 and other open source licenses: + +The Academic Free License is similar to the BSD, MIT, UoI/NCSA and Apache +licenses in many respects but it is intended to solve a few problems with +those licenses. + +* The AFL is written so as to make it clear what software is being +licensed (by the inclusion of a statement following the copyright notice +in the software). This way, the license functions better than a template +license. The BSD, MIT and UoI/NCSA licenses apply to unidentified software. + +* The AFL contains a complete copyright grant to the software. The BSD +and Apache licenses are vague and incomplete in that respect. + +* The AFL contains a complete patent grant to the software. The BSD, MIT, +UoI/NCSA and Apache licenses rely on an implied patent license and contain +no explicit patent grant. + +* The AFL makes it clear that no trademark rights are granted to the +licensor's trademarks. The Apache license contains such a provision, but the +BSD, MIT and UoI/NCSA licenses do not. + +* The AFL includes the warranty by the licensor that it either owns the +copyright or that it is distributing the software under a license. None of +the other licenses contain that warranty. All other warranties are disclaimed, +as is the case for the other licenses. + +* The AFL is itself copyrighted (with the right granted to copy and distribute +without modification). This ensures that the owner of the copyright to the +license will control changes. The Apache license contains a copyright notice, +but the BSD, MIT and UoI/NCSA licenses do not. + + + 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +A copy of the GPL is available in /usr/share/common-licenses/GPL + +=============================================================================== + +The API documentation in the doc/ subdirectory is licensed under the GFDL. + + Permission is granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no Invariant Sections, + no Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy of the + GNU Free Documentation License from the Free Software Foundation by visiting + their Web site or by writing to: + + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU Free Documentation +License can be found in `/usr/share/common-licenses/GFDL'. --- hal-0.5.12~rc1+git20090403.orig/debian/libhal1.install +++ hal-0.5.12~rc1+git20090403/debian/libhal1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libhal.so.* --- hal-0.5.12~rc1+git20090403.orig/debian/hal.dirs +++ hal-0.5.12~rc1+git20090403/debian/hal.dirs @@ -0,0 +1,3 @@ +/var/cache/hald +/var/lib/hal +/var/run/hal --- hal-0.5.12~rc1+git20090403.orig/debian/hal.default +++ hal-0.5.12~rc1+git20090403/debian/hal.default @@ -0,0 +1 @@ +DAEMON_OPTS= --- hal-0.5.12~rc1+git20090403.orig/debian/compat +++ hal-0.5.12~rc1+git20090403/debian/compat @@ -0,0 +1 @@ +5 --- hal-0.5.12~rc1+git20090403.orig/debian/hal.postrm +++ hal-0.5.12~rc1+git20090403/debian/hal.postrm @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ "$1" = "purge" ] ; then + # Tell dbus to reload it's configuration files only, when we purge the + # package, i.e. when we remove its conffiles in /etc/dbus-1/system.d/ + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi + + if [ -x "$(command -v deluser)" ]; then + deluser --quiet --system haldaemon > /dev/null || true + else + echo >&2 "Not removing haldaemon system account because deluser command was not found" + fi + + rm -f /var/cache/hald/fdi-cache + rmdir /var/cache/hald || true +fi + +exit 0 --- hal-0.5.12~rc1+git20090403.orig/debian/triggers +++ hal-0.5.12~rc1+git20090403/debian/triggers @@ -0,0 +1 @@ +interest /usr/share/hal/fdi --- hal-0.5.12~rc1+git20090403.orig/debian/debian-setup-keyboard +++ hal-0.5.12~rc1+git20090403/debian/debian-setup-keyboard @@ -0,0 +1,23 @@ +#!/bin/sh +# +# borrowed from Fedora and modified to work with console-setup +# + +[ -x /usr/bin/hal-set-property ] || exit 0 + +. /etc/default/console-setup > /dev/null 2>&1 || exit 0 + +hal_set () { + if [ -n "$2" ]; then + /usr/bin/hal-set-property --direct --udi "$UDI" --key input.xkb.$1 --string "$2" + else + /usr/bin/hal-set-property --direct --udi "$UDI" --key input.xkb.$1 --remove + fi +} + +hal_set model $XKBMODEL +hal_set layout $XKBLAYOUT +hal_set variant $XKBVARIANT +hal_set options $XKBOPTIONS +# hardcoded here for clarity, although the driver already forces it +hal_set rules evdev --- hal-0.5.12~rc1+git20090403.orig/debian/hal.manpages +++ hal-0.5.12~rc1+git20090403/debian/hal.manpages @@ -0,0 +1,10 @@ +debian/tmp/usr/share/man/man8/hald.8 +debian/tmp/usr/share/man/man1/hal-disable-polling.1 +debian/tmp/usr/share/man/man1/hal-find-by-capability.1 +debian/tmp/usr/share/man/man1/hal-find-by-property.1 +debian/tmp/usr/share/man/man1/hal-get-property.1 +debian/tmp/usr/share/man/man1/hal-is-caller-locked-out.1 +debian/tmp/usr/share/man/man1/hal-is-caller-privileged.1 +debian/tmp/usr/share/man/man1/hal-lock.1 +debian/tmp/usr/share/man/man1/hal-set-property.1 +debian/tmp/usr/share/man/man1/lshal.1 --- hal-0.5.12~rc1+git20090403.orig/debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi +++ hal-0.5.12~rc1+git20090403/debian/debian-storage-policy-ignore-fixed-crypto-drives.fdi @@ -0,0 +1,13 @@ + + + + + + + + true + + + + + --- hal-0.5.12~rc1+git20090403.orig/debian/hal-doc.install +++ hal-0.5.12~rc1+git20090403/debian/hal-doc.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/doc/hal-doc +debian/tmp/usr/share/gtk-doc/html/libhal usr/share/doc/hal-doc/api +debian/tmp/usr/share/gtk-doc/html/libhal-storage usr/share/doc/hal-doc/api --- hal-0.5.12~rc1+git20090403.orig/debian/hal.links +++ hal-0.5.12~rc1+git20090403/debian/hal.links @@ -0,0 +1 @@ +/usr/sbin/umount.hal sbin/umount.hal --- hal-0.5.12~rc1+git20090403.orig/debian/run-hald.sh +++ hal-0.5.12~rc1+git20090403/debian/run-hald.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +cd hald +P="`pwd`" +export HALD_RUNNER_PATH=$P/linux:$P/linux/probing:$P/linux/addons:.:../tools:../tools/linux +export PATH=../hald-runner:$PATH +export HAL_FDI_SOURCE_PREPROBE=../fdi/preprobe +export HAL_FDI_SOURCE_INFORMATION=../fdi/information +export HAL_FDI_SOURCE_POLICY=../fdi/policy +./hald --daemon=no --verbose=yes + --- hal-0.5.12~rc1+git20090403.orig/debian/hal.docs +++ hal-0.5.12~rc1+git20090403/debian/hal.docs @@ -0,0 +1 @@ +build-tree/*/doc/TODO --- hal-0.5.12~rc1+git20090403.orig/debian/README.Debian +++ hal-0.5.12~rc1+git20090403/debian/README.Debian @@ -0,0 +1,25 @@ + + The powermanagement callouts in the default hal config + (org.freedesktop.Hal.Device.SystemPowerManagement and + org.freedesktop.Hal.Device.LaptopPanel) and the storage callouts + (org.freedesktop.Hal.Device.Volume.*) can be used by users on a local + physical console. + + The acpi addon won't use the kernel acpi events interface but the acpid's + event socket if acpid is installed. If acpid is removed, hal needs to be + restarted to enable monitoring of acpi events again. And if apci is installed, + hal needs a restart to free the kernels acpi events interface for acpid. + + + Some CD and DVD drives, such as the GDR8162B model found in some Dell + laptops, do not correctly handle media status inquiries and incorrectly + spin up the drive when they should not. Since hal regularly polls CD + drives for media changes, this results in increased power consumption and + mechanical wear and tear on such drives, which remain spinning constantly + while hal is running. + + If you have a CD/DVD drive exhibiting this problem, you can copy + /usr/share/doc/hal/examples/no-cd-media-check.fdi to /etc/hal/fdi/policy/ to + disable media checks for your drive. This file disables media checks for + all CD drives on the system, and also includes an example config for + disabling media checks only on a specific drive. --- hal-0.5.12~rc1+git20090403.orig/debian/hal.init +++ hal-0.5.12~rc1+git20090403/debian/hal.init @@ -0,0 +1,94 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: hal +# Required-Start: $remote_fs dbus +# Required-Stop: $remote_fs dbus +# Should-Start: $syslog acpid +# Should-Stop: $syslog acpid +# Default-Start: 2 3 4 5 +# Default-Stop: 1 +# Short-Description: Hardware abstraction layer +# Description: The HAL daemon collects and maintains information about +# your hardware. +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/hald +PIDDIR=/var/run/hald +PIDFILE=$PIDDIR/hald.pid +NAME=hald +DAEMONUSER=haldaemon +DESC="Hardware abstraction layer" + +. /lib/lsb/init-functions + +test -x $DAEMON || exit 0 + +# Include hal defaults if available +if [ -f /etc/default/hal ] ; then + . /etc/default/hal +fi + +set -e + +do_start() { + if [ ! -d $PIDDIR ]; then + mkdir -p $PIDDIR + chown $DAEMONUSER:$DAEMONUSER $PIDDIR + fi + start-stop-daemon --start --oknodo --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS +} + +do_stop() { + start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE \ + --exec $DAEMON +} + +case "$1" in + start) + if [ ! -d /proc/sys/fs/inotify ]; then + log_failure_msg "Can't start $DESC - enable inotify support in your kernel" + exit 0 + fi + if [ ! -e /var/run/dbus/system_bus_socket ]; then + log_failure_msg "Can't start $DESC - please ensure dbus is running" + exit 0 + fi + + if [ ! -d /sys/kernel ]; then + log_failure_msg "Can't start $DESC - sysfs not mounted on /sys" + exit 0 + fi + + if [ "$(stat -c %d/%i /)" != "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then + log_failure_msg "Can't start $DESC - detected chrooted session" + exit 0 + fi + + log_daemon_msg "Starting $DESC" "$NAME" + do_start + log_end_msg $? + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + log_end_msg $? + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + sleep 1 + do_start + log_end_msg $? + ;; + status) + status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? + ;; + *) + log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- hal-0.5.12~rc1+git20090403.orig/debian/control +++ hal-0.5.12~rc1+git20090403/debian/control @@ -0,0 +1,103 @@ +Source: hal +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Utopia Maintenance Team +Uploaders: Sjoerd Simons , Sebastian Dröge , Michael Biebl +Build-Depends: debhelper (>= 5.0.59), cdbs, autotools-dev, libdbus-glib-1-dev (>= 0.61), libglib2.0-dev, libsysfs-dev, libexpat1-dev, libpopt-dev, pkg-config, pciutils-dev, doxygen, intltool (>= 0.22), libusb-dev [!hurd-i386], libvolume-id-dev, xmlto, libxml2-utils, gtk-doc-tools, libsmbios-dev (>= 2.0.3) [amd64 i386 lpia], gperf, libpolkit-dev (>= 0.5), policykit, libck-connector-dev (>= 0.3) +Standards-Version: 3.8.0 +Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/hal/ubuntu +Homepage: http://hal.freedesktop.org/ + +Package: hal +Architecture: any +Depends: ${shlibs:Depends}, adduser, pciutils, usbutils, udev (>= 136-1), dbus (>= 0.61), lsb-base (>= 3.2-14), hal-info (>= 20070402), pm-utils, mount (>= 2.13), policykit (>= 0.7), consolekit (>= 0.3), acl +Recommends: eject, smartdimmer (>= 0.8b4) +Suggests: gnome-device-manager +Description: Hardware Abstraction Layer + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + +Package: hal-doc +Architecture: all +Section: doc +Suggests: devhelp +Description: Hardware Abstraction Layer - documentation + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains the API documentation for HAL. + +Package: libhal1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Hardware Abstraction Layer - shared library + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains shared libraries to be used by applications. + +Package: libhal-storage1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Hardware Abstraction Layer - shared library for storage devices + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This library provides an interface for handling storage devices. + +Package: libhal-dev +Section: libdevel +Architecture: any +Depends: libhal1 (= ${binary:Version}), libdbus-1-dev (>= 0.60) +Suggests: hal-doc +Description: Hardware Abstraction Layer - development files + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains files that are needed to build applications. + +Package: libhal-storage-dev +Section: libdevel +Architecture: any +Depends: libhal-storage1 (= ${binary:Version}), libdbus-1-dev (>= 0.60), libhal-dev +Suggests: hal-doc +Description: Hardware Abstraction Layer - development files + HAL provides an abstract view on hardware. + . + This abstraction layer is simply an interface that makes it possible to + add support for new devices and new ways of connecting devices to the + computer, without modifying every application that uses the device. + It maintains a list of devices that currently exist, and can provide + information about those upon request. + . + This package contains files that are needed to build applications that use + libhal-storage1. + --- hal-0.5.12~rc1+git20090403.orig/debian/10-x11-keymap.fdi +++ hal-0.5.12~rc1+git20090403/debian/10-x11-keymap.fdi @@ -0,0 +1,10 @@ + + + + + debian-setup-keyboard + + + + + --- hal-0.5.12~rc1+git20090403.orig/debian/libhal-dev.install +++ hal-0.5.12~rc1+git20090403/debian/libhal-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/hal/libhal.h +debian/tmp/usr/lib/pkgconfig/hal.pc +debian/tmp/usr/lib/libhal.so +debian/tmp/usr/lib/libhal.a --- hal-0.5.12~rc1+git20090403.orig/debian/libhal-storage1.install +++ hal-0.5.12~rc1+git20090403/debian/libhal-storage1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libhal-storage.so.* --- hal-0.5.12~rc1+git20090403.orig/debian/patches/88_nvidia_brightness.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/88_nvidia_brightness.patch @@ -0,0 +1,233 @@ +# Description: Add support for smartdimmer backlight control for GeForce 7/8/9 based Sony laptops. +# Ubuntu: https://bugs.launchpad.net/bugs/277589 +# Upstream: http://lists.freedesktop.org/pipermail/hal/2009-January/012858.html (rejected, should be fixed in kernel) +--- ubuntu/fdi/policy/10osvendor/10-sony-laptop-brightness.fdi 1970-01-01 01:00:00.000000000 +0100 ++++ ubuntu.new/fdi/policy/10osvendor/10-sony-laptop-brightness.fdi 2009-03-23 08:36:38.049290018 +0100 +@@ -0,0 +1,157 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ 86 ++ sony-nvidia ++ ++ ++ ++ ++ 86 ++ sony-nvidia ++ ++ ++ ++ ++ 86 ++ sony-nvidia ++ ++ ++ ++ ++ 86 ++ sony-nvidia ++ ++ ++ ++ ++ 86 ++ sony-nvidia ++ ++ ++ ++ ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ \n ++ 86 ++ sony-nvidia ++ ++ ++ ++ ++ ++ ++ +diff -Nur -x '*.orig' -x '*~' ubuntu/fdi/policy/10osvendor/Makefile.am ubuntu.new/fdi/policy/10osvendor/Makefile.am +--- ubuntu/fdi/policy/10osvendor/Makefile.am 2009-03-23 08:36:36.136290877 +0100 ++++ ubuntu.new/fdi/policy/10osvendor/Makefile.am 2009-03-23 08:37:47.796599497 +0100 +@@ -9,6 +9,7 @@ + 10-power-mgmt-policy.fdi \ + 10-rfkill-switch.fdi \ + 10-smartcardreaders.fdi \ ++ 10-sony-laptop-brightness.fdi \ + 10-tabletPCs.fdi \ + 10-x11-input.fdi \ + 15-storage-luks.fdi \ +diff -Nur -x '*.orig' -x '*~' ubuntu/fdi/policy/10osvendor/Makefile.in ubuntu.new/fdi/policy/10osvendor/Makefile.in +--- ubuntu/fdi/policy/10osvendor/Makefile.in 2009-03-23 08:36:36.140291733 +0100 ++++ ubuntu.new/fdi/policy/10osvendor/Makefile.in 2009-03-23 08:38:07.060291749 +0100 +@@ -64,7 +64,7 @@ + 10-macbook-backlight.fdi 10-imac-backlight.fdi 10-cpufreq.fdi \ + 10-usbcsr-mice.fdi 10-omap-backlight.fdi \ + 10-dell-laptop-brightness.fdi 10-toshiba-buttons.fdi \ +- 10-smartcardreaders.fdi \ ++ 10-smartcardreaders.fdi 10-sony-laptop-brightness.fdi \ + 10-ibm-buttons.fdi 20-acl-management.fdi + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ +@@ -237,7 +237,7 @@ + 10-laptop-panel-mgmt-policy.fdi 10-leds.fdi \ + 10-power-mgmt-policy.fdi 10-rfkill-switch.fdi 10-tabletPCs.fdi \ + 10-x11-input.fdi 15-storage-luks.fdi 20-storage-methods.fdi \ +- 10-smartcardreaders.fdi \ ++ 10-smartcardreaders.fdi 10-sony-laptop-brightness.fdi \ + 30-wol.fdi $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) $(am__append_6) \ + $(am__append_7) $(am__append_8) $(am__append_9) \ +diff -Nur -x '*.orig' -x '*~' ubuntu/tools/linux/hal-system-lcd-get-brightness-linux ubuntu.new/tools/linux/hal-system-lcd-get-brightness-linux +--- ubuntu/tools/linux/hal-system-lcd-get-brightness-linux 2009-03-23 08:36:16.000000000 +0100 ++++ ubuntu.new/tools/linux/hal-system-lcd-get-brightness-linux 2009-03-23 08:36:38.053313645 +0100 +@@ -23,6 +23,15 @@ + exit 1 + fi + exit ${value} ++elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then ++ # smartdimmer -g ++ value=$(( $(smartdimmer -g | awk '{print $3;}') - 15 )) ++ if [ $? -ne 0 ]; then ++ echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2 ++ echo "smartdimmer -g returned != 0" >&2 ++ exit 1 ++ fi ++ exit ${value} + fi + + # Check for file existance and that it's readable +diff -Nur -x '*.orig' -x '*~' ubuntu/tools/linux/hal-system-lcd-set-brightness-linux ubuntu.new/tools/linux/hal-system-lcd-set-brightness-linux +--- ubuntu/tools/linux/hal-system-lcd-set-brightness-linux 2009-03-23 08:36:16.000000000 +0100 ++++ ubuntu.new/tools/linux/hal-system-lcd-set-brightness-linux 2009-03-23 08:36:38.053313645 +0100 +@@ -23,6 +23,15 @@ + exit 1 + fi + exit 0 ++elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then ++ # -s --set Set brightness level (15-100) ++ smartdimmer -s "$(( $value + 15 ))" ++ if [ $? -ne 0 ]; then ++ echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2 ++ echo "smartdimmer -s returned != 0" >&2 ++ exit 1 ++ fi ++ exit 0 + fi + + # Check for file existance and that it's writable --- hal-0.5.12~rc1+git20090403.orig/debian/patches/40_readme_remove_hacking.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/40_readme_remove_hacking.patch @@ -0,0 +1,12 @@ +diff -ruN hal-0.5.0-old/README hal-0.5.0/README +--- hal-0.5.0-old/README 2004-12-14 03:47:58.000000000 +0100 ++++ hal-0.5.0/README 2005-04-13 12:32:18.448771192 +0200 +@@ -2,8 +2,6 @@ + HAL is a hardware abstraction layer + + +-See also the file HACKING for notes of interest to developers working on HAL. +- + See http://www.freedesktop.org/Software/hal for lots of documentation, + mailing lists, etc. + --- hal-0.5.12~rc1+git20090403.orig/debian/patches/01_tablet_evdev.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/01_tablet_evdev.patch @@ -0,0 +1,18 @@ +# Description: Use evdev for tablets +# Fedora: http://cvs.fedoraproject.org/viewvc//devel/hal/hal-tablet-evdev.patch?view=markup +--- ubuntu/fdi/policy/10osvendor/10-x11-input.fdi 2008-08-10 15:50:10.000000000 +0200 ++++ ubuntu.new/fdi/policy/10osvendor/10-x11-input.fdi 2009-01-21 02:00:19.000000000 +0100 +@@ -10,6 +10,13 @@ + + + ++ ++ ++ evdev ++ ++ ++ + + --- hal-0.5.12~rc1+git20090403.orig/debian/patches/87_standalone_smbios.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/87_standalone_smbios.patch @@ -0,0 +1,587 @@ +diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1+git20090204/tools/hal-system-smbios.c hal-0.5.12~rc1+git20090204.new/tools/hal-system-smbios.c +--- hal-0.5.12~rc1+git20090204/tools/hal-system-smbios.c 1969-12-31 19:00:00.000000000 -0500 ++++ hal-0.5.12~rc1+git20090204.new/tools/hal-system-smbios.c 2009-02-25 09:31:54.000000000 -0500 +@@ -0,0 +1,155 @@ ++/*! @file hal-system-smbios.c ++ * @brief Issues wlan and BT enable/disable commands from HAL. ++ * @author Mario Limonciello ++ * @date Monday 23 February 2009 ++ */ ++/* ++ * Licensed under the GNU General Public License Version 2 ++ * ++ * 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 program; if not, write to the Free Software ++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA ++ * 02110-1301, USA. ++ */ ++ ++#ifdef HAVE_CONFIG_H ++# include ++#endif ++ ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#include ++#include "hal-system-smbios.h" ++ ++/** Print out program usage. ++ * ++ * @param argc Number of arguments given to program ++ * @param argv Arguments given to program ++ */ ++static void ++usage (int argc, char *argv[]) ++{ ++ fprintf (stderr, "\nusage : hal-system-smbios " ++ "[--st_bt] [--st_wlan] [--st_wwan] " ++ "[--bt <0|1>] [--wlan <0|1>] [--wwan <0|1>]\n"); ++ fprintf (stderr, ++ "\n" ++ " --st_bt Gets the Bluetooth status\n" ++ " --st_wlan Gets the Wireless LAN status\n" ++ " --st_wwan Gets the Wireless WAN status\n" ++ " --bt <0|1> Sets the Bluetooth status\n" ++ " --wlan <0|1> Sets the Wireless LAN status\n" ++ " --wwan <0|1> Sets the Wireless WAN status\n" ++ " --help Show this information and exit\n" ++ "\n" ++ "This program calls libsmbios methods to query the BIOS from within scripts run by HAL.\n"); ++} ++ ++/** Gets whether the builtin adapter is supported, enabled, and installed ++ * ++ * @param status, The returned power status ++ * @param supported, The bit to check for supported ++ * @param disabled, The bit to check for disabled ++ * @param installed, The bit to check for installed ++ * @return Success, TRUE or FALSE ++ */ ++int ++smbios_get_status(int* status,int supported, int disabled, int installed) ++{ ++ *status=STATUS_UNKNOWN; ++ u32 args[4]={0,0,0,0}; ++ u32 res[4]={0,}; ++ ++ if (dell_simple_ci_smi(SMBIOS_CLASS,SMBIOS_SELECT,args,res) != 0) { ++ *status=STATUS_UNSUPPORTED; ++ return EXIT_FAILURE; ++ } ++ ++ if (res[cbRES2] & (1 << supported)) { ++ if (res[cbRES2] & (1 << disabled)) ++ *status=STATUS_DISABLED; ++ else ++ *status=STATUS_ENABLED; ++ if (!(res[cbRES2] & (1 << installed))) ++ *status=STATUS_NOT_PRESENT; ++ } ++ return EXIT_SUCCESS; ++} ++ ++/** Enables or disables a radio ++ * ++ * @param enable, Whether to mark as enabled or disabled ++ * @param radio_id, The bit referring to this radio ID to change ++ * @return Success, TRUE or FALSE ++ */ ++int ++smbios_set_status(int enable, int radio_id) ++{ ++ u32 args[4]={1 | (radio_id<<8) | ((!enable)<<16),}; ++ u32 res[4]={0,}; ++ ++ if (dell_simple_ci_smi(SMBIOS_CLASS,SMBIOS_SELECT,args,res) != 0 || res[cbRES1] != 0) ++ return EXIT_FAILURE; ++ ++ return EXIT_SUCCESS; ++} ++ ++ ++/** Entry point ++ * ++ * @param argc Number of arguments given to program ++ * @param argv Arguments given to program ++ * @return Return code ++ */ ++int ++main (int argc, char *argv[]) ++{ ++ int powered; ++ int ret=EXIT_FAILURE; ++ ++ if (argc == 2) { ++ if (strcmp (argv[1], "--st_bt") == 0) ++ ret = smbios_get_status (&powered, BT_SUPPORTED, ++ BT_DISABLED, ++ BT_INSTALLED); ++ else if (strcmp (argv[1], "--st_wlan") == 0) ++ ret = smbios_get_status (&powered, WLAN_SUPPORTED, ++ WLAN_DISABLED, ++ WLAN_INSTALLED); ++ else if (strcmp (argv[1], "--st_wwan") == 0) ++ ret = smbios_get_status (&powered, WWAN_SUPPORTED, ++ WWAN_DISABLED, ++ WWAN_INSTALLED); ++ else ++ usage(argc, argv); ++ if (ret != EXIT_FAILURE) ++ printf ("%i", powered); ++ return ret; ++ } else if (argc == 3) { ++ powered=atoi (argv[2]); ++ if (strcmp (argv[1], "--bt") == 0) ++ ret = smbios_set_status(powered, BT_RADIO_ID); ++ else if (strcmp (argv[1], "--wlan") == 0) ++ ret = smbios_set_status(powered, WLAN_RADIO_ID); ++ else if (strcmp (argv[1], "--wwan") == 0) ++ ret = smbios_set_status(powered, WWAN_RADIO_ID); ++ return ret; ++ } ++ usage (argc, argv); ++ return EXIT_SUCCESS; ++} +diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1+git20090204/tools/hal-system-smbios.h hal-0.5.12~rc1+git20090204.new/tools/hal-system-smbios.h +--- hal-0.5.12~rc1+git20090204/tools/hal-system-smbios.h 1969-12-31 19:00:00.000000000 -0500 ++++ hal-0.5.12~rc1+git20090204.new/tools/hal-system-smbios.h 2009-02-25 09:31:54.000000000 -0500 +@@ -0,0 +1,59 @@ ++/*! @file hal-system-smbios.h ++ * @brief Issues wlan and BT enable/disable commands from HAL. ++ * @author Mario Limonciello ++ * @date Monday 23 February 2009 ++ */ ++/* ++ * Licensed under the GNU General Public License Version 2 ++ * ++ * 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 program; if not, write to the Free Software ++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA ++ * 02110-1301, USA. ++ */ ++ ++#ifndef _HAL_SYSTEM_SMBIOS_H ++#define _HAL_SYSTEM_SMBIOS_H 1 ++ ++/* SMBIOS definitions to modify wireless activities */ ++#define SMBIOS_CLASS 17 ++#define SMBIOS_SELECT 11 ++ ++/* Statuses that libsmbios can return for wireless ++ * related activities ++ */ ++#define STATUS_ENABLED 0 ++#define STATUS_DISABLED 1 ++#define STATUS_NOT_PRESENT 2 ++#define STATUS_UNSUPPORTED 3 ++#define STATUS_UNKNOWN 4 ++ ++/* Bits to check WLAN status */ ++#define WLAN_RADIO_ID 1 ++#define WLAN_SUPPORTED 2 ++#define WLAN_INSTALLED 8 ++#define WLAN_DISABLED 17 ++ ++/* Bits to check BT status */ ++#define BT_RADIO_ID 2 ++#define BT_SUPPORTED 3 ++#define BT_INSTALLED 9 ++#define BT_DISABLED 18 ++ ++/* Bits to check WWAN status */ ++#define WWAN_RADIO_ID 3 ++#define WWAN_SUPPORTED 4 ++#define WWAN_INSTALLED 10 ++#define WWAN_DISABLED 19 ++ ++#endif /* hal-system-smbios.h */ +diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1+git20090204/tools/linux/hal-system-killswitch-get-power-linux hal-0.5.12~rc1+git20090204.new/tools/linux/hal-system-killswitch-get-power-linux +--- hal-0.5.12~rc1+git20090204/tools/linux/hal-system-killswitch-get-power-linux 2009-02-04 12:44:07.000000000 -0500 ++++ hal-0.5.12~rc1+git20090204.new/tools/linux/hal-system-killswitch-get-power-linux 2009-02-25 09:31:54.000000000 -0500 +@@ -8,11 +8,6 @@ + # the Free Software Foundation; either version 2 of the License, or + # (at your option) any later version. + +-DELL_WCTL=/usr/bin/dellWirelessCtl +-if [ -x "/usr/sbin/dellWirelessCtl" ]; then +- DELL_WCTL=/usr/sbin/dellWirelessCtl +-fi +- + if [ "$HAL_PROP_KILLSWITCH_TYPE" = "bluetooth" ]; then + if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "sonypic" ]; then + value="`hal-system-sonypic getbluetooth`" +@@ -23,23 +18,15 @@ + fi + exit ${value} + elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then +- if [ -x "$DELL_WCTL" ]; then +- # TODO: write our own binary that links with libsmbios? +- $DELL_WCTL --st_bt +- value=$? +- if [ "$value" = "0" ]; then +- exit 1 +- elif [ "$value" = "1" ]; then +- exit 0 +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl returned $value" >&2 +- exit 1 +- fi +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2 ++ value="`hal-system-smbios --st_bt`" ++ if [ "$value" = "0" ]; then + exit 1 ++ elif [ "$value" = "1" ]; then ++ exit 0 ++ else ++ echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 ++ echo "hal-system-smbios returned $value" >&2 ++ exit 1 + fi + elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = thinkpad -a -r "$HAL_PROP_LINUX_SYSFS_PATH" ]; then + read value < $HAL_PROP_LINUX_SYSFS_PATH 2> /dev/null +@@ -57,23 +44,15 @@ + fi + elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wlan" ]; then + if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then +- if [ -x "$DELL_WCTL" ]; then +- # TODO: write our own binary that links with libsmbios? +- $DELL_WCTL --st_wlan +- value=$? +- if [ "$value" = "0" ]; then +- exit 1 +- elif [ "$value" = "1" ]; then +- exit 0 +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl returned $value" >&2 +- exit 1 +- fi +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2 ++ value="`hal-system-smbios --st_wlan`" ++ if [ "$value" = "0" ]; then + exit 1 ++ elif false && [ "$value" = "1" ]; then ++ exit 0 ++ else ++ echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 ++ echo "hal-system-smbios returned $value" >&2 ++ exit 1 + fi + else + echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +@@ -82,23 +61,15 @@ + fi + elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wwan" ]; then + if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then +- if [ -x "$DELL_WCTL" ]; then +- # TODO: write our own binary that links with libsmbios? +- $DELL_WCTL --st_wwan +- value=$? +- if [ "$value" = "0" ]; then +- exit 1 +- elif [ "$value" = "1" ]; then +- exit 0 +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl returned $value" >&2 +- exit 1 +- fi +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2 ++ value="`hal-system-smbios --st_wwan`" ++ if [ "$value" = "0" ]; then + exit 1 ++ elif [ "$value" = "1" ]; then ++ exit 0 ++ else ++ echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 ++ echo "hal-system-smbios returned $value" >&2 ++ exit 1 + fi + else + echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1+git20090204/tools/linux/hal-system-killswitch-set-power-linux hal-0.5.12~rc1+git20090204.new/tools/linux/hal-system-killswitch-set-power-linux +--- hal-0.5.12~rc1+git20090204/tools/linux/hal-system-killswitch-set-power-linux 2009-02-04 12:44:07.000000000 -0500 ++++ hal-0.5.12~rc1+git20090204.new/tools/linux/hal-system-killswitch-set-power-linux 2009-02-25 09:31:54.000000000 -0500 +@@ -8,11 +8,6 @@ + # the Free Software Foundation; either version 2 of the License, or + # (at your option) any later version. + +-DELL_WCTL=/usr/bin/dellWirelessCtl +-if [ -x "/usr/sbin/dellWirelessCtl" ]; then +- DELL_WCTL=/usr/sbin/dellWirelessCtl +-fi +- + if [ "$HAL_PROP_KILLSWITCH_TYPE" = "bluetooth" ]; then + if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "sonypic" ]; then + hal-system-sonypic setbluetooth $value +@@ -24,25 +19,18 @@ + fi + exit 0 + elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then +- if [ -x "$DELL_WCTL" ]; then +- # TODO: write our own binary that links with libsmbios? +- if [ "$value" = "true" ]; then +- $DELL_WCTL --bt 1 +- ret=$? +- else +- $DELL_WCTL --bt 0 +- ret=$? +- fi +- if [ "$ret" != "0" ]; then +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl returned $ret" >&2 +- exit 1 +- fi +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2 +- exit 1 +- fi ++ if [ "$value" = "true" ]; then ++ hal-system-smbios --bt 1 ++ ret=$? ++ else ++ hal-system-smbios --bt 0 ++ ret=$? ++ fi ++ if [ "$ret" != "0" ]; then ++ echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 ++ echo "hal-system-smbios returned $ret" >&2 ++ exit 1 ++ fi + elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = thinkpad -a -w "$HAL_PROP_LINUX_SYSFS_PATH" ]; then + if [ "$value" = "true" ]; then + bit=1; +@@ -63,26 +51,18 @@ + fi + elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wlan" ]; then + if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then +- if [ -x "$DELL_WCTL" ]; then +- # As a side effect we disable the physical kill switch +- # TODO: write our own binary that links with libsmbios? +- if [ "$value" = "true" ]; then +- $DELL_WCTL --sw_wlan 0 --wlan 1 +- ret=$? +- else +- $DELL_WCTL --sw_wlan 0 --wlan 0 +- ret=$? +- fi +- if [ "$ret" != "0" ]; then +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl returned $ret" >&2 +- exit 1 +- fi +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2 ++ if [ "$value" = "true" ]; then ++ hal-system-smbios --wlan 1 ++ ret=$? ++ else ++ hal-system-smbios --wlan 0 ++ ret=$? ++ fi ++ if [ "$ret" != "0" ]; then ++ echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 ++ echo "$DELL_WCTL returned $ret" >&2 + exit 1 +- fi ++ fi + else + echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 + echo "Access type not supported" >&2 +@@ -90,26 +70,18 @@ + fi + elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wwan" ]; then + if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then +- if [ -x "$DELL_WCTL" ]; then +- # As a side effect we disable the physical kill switch +- # TODO: write our own binary that links with libsmbios? +- if [ "$value" = "true" ]; then +- $DELL_WCTL --sw_wwan 0 --wwan 1 +- ret=$? +- else +- $DELL_WCTL --sw_wwan 0 --wwan 0 +- ret=$? +- fi +- if [ "$ret" != "0" ]; then +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl returned $ret" >&2 +- exit 1 +- fi +- else +- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 +- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2 ++ if [ "$value" = "true" ]; then ++ hal-system-smbios --wwan 1 ++ ret=$? ++ else ++ hal-system-smbios --wwan 0 ++ ret=$? ++ fi ++ if [ "$ret" != "0" ]; then ++ echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 ++ echo "hal-system-smbios returned $ret" >&2 + exit 1 +- fi ++ fi + else + echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2 + echo "Access type not supported" >&2 +diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1+git20090204/tools/Makefile.am hal-0.5.12~rc1+git20090204.new/tools/Makefile.am +--- hal-0.5.12~rc1+git20090204/tools/Makefile.am 2009-02-04 12:44:07.000000000 -0500 ++++ hal-0.5.12~rc1+git20090204.new/tools/Makefile.am 2009-02-25 09:31:54.000000000 -0500 +@@ -115,6 +115,11 @@ + hal-system-sonypic + endif + ++if HAVE_SMBIOS ++libexec_PROGRAMS += \ ++ hal-system-smbios ++endif ++ + if HAVE_ACLMGMT + libexec_PROGRAMS += hal-acl-tool + +@@ -156,6 +161,11 @@ + hal_system_sonypic_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la + endif + ++if HAVE_SMBIOS ++hal_system_smbios_SORUCE = hal-system-smbios.c ++hal_system_smbios_LDADD = -lsmbios_c ++endif ++ + scriptdir = $(libdir)/hal/scripts + + script_SCRIPTS = \ +diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1+git20090204/tools/Makefile.in hal-0.5.12~rc1+git20090204.new/tools/Makefile.in +--- hal-0.5.12~rc1+git20090204/tools/Makefile.in 2009-02-04 12:52:44.000000000 -0500 ++++ hal-0.5.12~rc1+git20090204.new/tools/Makefile.in 2009-02-25 09:33:18.000000000 -0500 +@@ -49,21 +49,24 @@ + hal-storage-cleanup-all-mountpoints$(EXEEXT) \ + hal-system-setserial$(EXEEXT) \ + hal-system-power-pm-is-supported$(EXEEXT) $(am__EXEEXT_3) \ +- $(am__EXEEXT_4) $(am__EXEEXT_5) ++ $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) + @HAVE_PMU_TRUE@am__append_5 = \ + @HAVE_PMU_TRUE@ hal-system-power-pmu + + @HAVE_SONYPIC_TRUE@am__append_6 = \ + @HAVE_SONYPIC_TRUE@ hal-system-sonypic + +-@HAVE_ACLMGMT_TRUE@am__append_7 = hal-acl-tool ++@HAVE_SMBIOS_TRUE@am_append_7_ = \ ++@HAVE_SMBIOS_TRUE@ hal-system-smbios ++ ++@HAVE_ACLMGMT_TRUE@am__append_8 = hal-acl-tool + @HAVE_UMOUNT_HAL_TRUE@slashsbin_PROGRAMS = umount.hal$(EXEEXT) +-@BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@am__append_8 = \ ++@BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@am__append_9 = \ + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@ hal-setup-keymap-hash-name.h \ + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@ hal-setup-keymap-hash-name.gperf \ + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@ hal-setup-keymap-keys.txt + +-@BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@am__append_9 = \ ++@BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@am__append_10 = \ + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@ hal-setup-keymap-hash-name.h \ + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@ hal-setup-keymap-hash-name.gperf \ + @BUILD_KEYMAPS_TRUE@@HAVE_GPERF_TRUE@ hal-setup-keymap-keys.txt +@@ -85,7 +88,8 @@ + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + @HAVE_PMU_TRUE@am__EXEEXT_3 = hal-system-power-pmu$(EXEEXT) + @HAVE_SONYPIC_TRUE@am__EXEEXT_4 = hal-system-sonypic$(EXEEXT) +-@HAVE_ACLMGMT_TRUE@am__EXEEXT_5 = hal-acl-tool$(EXEEXT) ++@HAVE_SMBIOS_TRUE@am__EXEEXT_5 = hal-system-smbios$(EXEEXT) ++@HAVE_ACLMGMT_TRUE@am__EXEEXT_6 = hal-acl-tool$(EXEEXT) + libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + slashsbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(slashsbin_PROGRAMS) +@@ -195,6 +199,12 @@ + hal_system_sonypic_OBJECTS = $(am_hal_system_sonypic_OBJECTS) + @HAVE_SONYPIC_TRUE@hal_system_sonypic_DEPENDENCIES = \ + @HAVE_SONYPIC_TRUE@ $(top_builddir)/libhal/libhal.la ++am__hal_system_smbios_SOURCES_DIST = hal-system-smbios.c ++@HAVE_SMBIOS_TRUE@am_hal_system_smbios_OBJECTS = \ ++@HAVE_SMBIOS_TRUE@ hal-system-smbios.$(OBJEXT) ++hal_system_smbios_OBJECTS = $(am_hal_system_smbios_OBJECTS) ++@HAVE_SMBIOS_TRUE@hal_system_smbios_DEPENDENCIES = \ ++@HAVE_SMBIOS_TRUE@ -lsmbios_c + am_lshal_OBJECTS = lshal.$(OBJEXT) + lshal_OBJECTS = $(am_lshal_OBJECTS) + lshal_DEPENDENCIES = $(top_builddir)/libhal/libhal.la +@@ -233,6 +243,7 @@ + $(hal_system_power_pm_is_supported_SOURCES) \ + $(hal_system_power_pmu_SOURCES) \ + $(hal_system_setserial_SOURCES) $(hal_system_sonypic_SOURCES) \ ++ $(hal_system_smbios_SOURCES) \ + $(lshal_SOURCES) $(umount_hal_SOURCES) + DIST_SOURCES = $(am__hal_acl_tool_SOURCES_DIST) $(hal_device_SOURCES) \ + $(hal_disable_polling_SOURCES) \ +@@ -250,6 +261,7 @@ + $(am__hal_system_power_pmu_SOURCES_DIST) \ + $(hal_system_setserial_SOURCES) \ + $(am__hal_system_sonypic_SOURCES_DIST) $(lshal_SOURCES) \ ++ $(am__hal_system_smbios_SORUCES_DIST) \ + $(am__umount_hal_SOURCES_DIST) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ +@@ -479,6 +491,8 @@ + @HAVE_PMU_TRUE@hal_system_power_pmu_LDADD = @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la + @HAVE_SONYPIC_TRUE@hal_system_sonypic_SOURCES = hal-system-sonypic.c + @HAVE_SONYPIC_TRUE@hal_system_sonypic_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la ++@HAVE_SMBIOS_TRUE@hal_system_smbios_SOURCES = hal-system-smbios.c ++@HAVE_SMBIOS_TRUE@hal_system_smbios_LDADD = -lsmbios_c + scriptdir = $(libdir)/hal/scripts + script_SCRIPTS = \ + hal-luks-setup \ +@@ -685,6 +699,9 @@ + hal-system-sonypic$(EXEEXT): $(hal_system_sonypic_OBJECTS) $(hal_system_sonypic_DEPENDENCIES) + @rm -f hal-system-sonypic$(EXEEXT) + $(LINK) $(hal_system_sonypic_OBJECTS) $(hal_system_sonypic_LDADD) $(LIBS) ++hal-system-smbios$(EXEEXT): $(hal_system_smbios_OBJECTS) $(hal_system_smbios_DEPENDENCIES) ++ @rm -f hal-system-smbios$(EXEEXT) ++ $(LINK) $(hal_system_smbios_OBJECTS) $(hal_system_smbios_LDADD) $(LIBS) + lshal$(EXEEXT): $(lshal_OBJECTS) $(lshal_DEPENDENCIES) + @rm -f lshal$(EXEEXT) + $(LINK) $(lshal_OBJECTS) $(lshal_LDADD) $(LIBS) +@@ -735,6 +752,7 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-power-pmu.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-setserial.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-sonypic.Po@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal-system-smbios.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal_find_by_capability.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal_find_by_property.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hal_get_property.Po@am__quote@ --- hal-0.5.12~rc1+git20090403.orig/debian/patches/55_nonpolkit-mount-policy.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/55_nonpolkit-mount-policy.patch @@ -0,0 +1,33 @@ +diff --git a/tools/hal-storage-mount.c b/tools/hal-storage-mount.c +index ae14181..4628067 100644 +--- a/tools/hal-storage-mount.c ++++ b/tools/hal-storage-mount.c +@@ -92,6 +92,14 @@ permission_denied_etc_fstab (const char *device) + } + + static void ++permission_denied_uid (const char *device, const char *uid) ++{ ++ fprintf (stderr, "org.freedesktop.Hal.Device.Volume.PermissionDenied\n"); ++ fprintf (stderr, "Refusing to mount device %s for uid=%s.\n", device, uid); ++ exit (1); ++} ++ ++static void + already_mounted (const char *device) + { + fprintf (stderr, "org.freedesktop.Hal.Device.Volume.AlreadyMounted\n"); +@@ -812,6 +820,13 @@ handle_mount (LibHalContext *hal_ctx, + } + libhal_free_string (polkit_result); + } ++#else ++ /* root can do everything; only allow handling removable devices ++ * without uid change to non-root users */ ++ if (!invoked_by_uid || strcmp(invoked_by_uid, "0")) ++ if (!action || strcmp (action, "org.freedesktop.hal.storage.mount-removable")) ++ permission_denied_uid (device, invoked_by_uid); ++ + #endif + + #ifdef DEBUG --- hal-0.5.12~rc1+git20090403.orig/debian/patches/ubuntu_01_ignore_single_slash_label.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/ubuntu_01_ignore_single_slash_label.patch @@ -0,0 +1,14 @@ +# Description: Ignore volume labels which are '/' +# Ubuntu: https://launchpad.net/bugs/83323 +# UbuntuSpecific: automatic labelling from Ubiquity/d-i, earlier releases created those by default +--- hal-0.5.8.1/tools/hal-storage-mount.c 2007-03-09 18:13:01.000000000 +0100 ++++ hal-0.5.8.1/tools/hal-storage-mount.c 2007-03-09 18:19:42.000000000 +0100 +@@ -591,7 +591,7 @@ + else + label = NULL; + +- if (label != NULL) { ++ if (label != NULL && strcmp(label, "/") != 0) { + /* best - use label */ + g_strlcpy (mount_point, label, sizeof (mount_point)); + --- hal-0.5.12~rc1+git20090403.orig/debian/patches/23_addon_acpi.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/23_addon_acpi.patch @@ -0,0 +1,28 @@ +diff -aur hal-0.5.8.vanilla/hald/linux/addons/addon-acpi.c hal-0.5.8/hald/linux/addons/addon-acpi.c +--- hal-0.5.8.vanilla/hald/linux/addons/addon-acpi.c 2006-09-11 23:56:39.000000000 +0200 ++++ hal-0.5.8/hald/linux/addons/addon-acpi.c 2006-09-17 16:12:51.000000000 +0200 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + +@@ -45,9 +46,14 @@ + acpi_get_event_fp_kernel (void) + { + FILE *fp = NULL; ++ struct stat sbuf; + +- fp = fopen ("/proc/acpi/event", "r"); ++ if (stat("/usr/sbin/acpid", &sbuf) == 0) { ++ HAL_DEBUG (("acpid installed, not using the kernel acpi event interface")); ++ return NULL; ++ } + ++ fp = fopen ("/proc/acpi/event", "r"); + if (fp == NULL) + HAL_ERROR (("Cannot open /proc/acpi/event: %s", strerror (errno))); + +Only in hal-0.5.8/hald/linux/addons: addon-acpi.c.orig --- hal-0.5.12~rc1+git20090403.orig/debian/patches/50_no_crash_on_md_blockdev.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/50_no_crash_on_md_blockdev.patch @@ -0,0 +1,41 @@ +# DP: When adding a block device, don't assume that the parent has storage +# DP: capability. This fixes a crash where the device is re-parented to the +# DP: root computer device object (such as with mdraid devices) +# Launchpad: https://bugs.launchpad.net/ubuntu/+source/hal/+bug/361689 +# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=21603 + +Index: hal-0.5.12~rc1+git20090406.46dc48/hald/linux/blockdev.c +=================================================================== +--- hal-0.5.12~rc1+git20090406.46dc48.orig/hald/linux/blockdev.c 2009-05-06 19:33:33.000000000 +0100 ++++ hal-0.5.12~rc1+git20090406.46dc48/hald/linux/blockdev.c 2009-05-06 19:53:43.000000000 +0100 +@@ -1498,8 +1498,15 @@ + hal_device_property_set_bool (d, "volume.is_mounted", FALSE); + hal_device_property_set_bool (d, "volume.is_mounted_read_only", FALSE); + hal_device_property_set_bool (d, "volume.linux.is_device_mapper", is_device_mapper); +- hal_device_property_set_bool (d, "volume.is_disc", strcmp (hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0); +- ++ /* Don't assume that the parent has storage capability, eg ++ * if we are an MD partition then this is the case as we were ++ * re-parented to the root computer device object earlier. ++ */ ++ if (hal_device_has_property(parent, "storage.drive_type")) { ++ hal_device_property_set_bool (d, "volume.is_disc", strcmp (hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0); ++ } else { ++ hal_device_property_set_bool (d, "volume.is_disc", FALSE); ++ } + + is_physical_partition = TRUE; + if (is_fakevolume || is_device_mapper) +@@ -1508,8 +1515,10 @@ + hal_device_property_set_bool (d, "volume.is_partition", is_physical_partition); + + hal_device_property_set_string (d, "info.category", "volume"); +- if (strcmp(hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0) { +- hal_device_add_capability (d, "volume.disc"); ++ if (hal_device_has_property(parent, "storage.drive_type")) { ++ if (strcmp(hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0) { ++ hal_device_add_capability (d, "volume.disc"); ++ } + } + hal_device_add_capability (d, "volume"); + hal_device_add_capability (d, "block"); --- hal-0.5.12~rc1+git20090403.orig/debian/patches/06_smart_card_readers_acl.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/06_smart_card_readers_acl.patch @@ -0,0 +1,69 @@ +# Description: Grant access to the currently logged-in user on some SCM smart-card readers. This should improve the out-of-box support for OpenGPG card users. +# Ubuntu: https://bugs.launchpad.net/bugs/57755 +diff -Nur -x '*.orig' -x '*~' ubuntu/fdi/policy/10osvendor/10-smartcardreaders.fdi ubuntu.new/fdi/policy/10osvendor/10-smartcardreaders.fdi +--- ubuntu/fdi/policy/10osvendor/10-smartcardreaders.fdi 1970-01-01 01:00:00.000000000 +0100 ++++ ubuntu.new/fdi/policy/10osvendor/10-smartcardreaders.fdi 2009-01-21 01:51:22.000000000 +0100 +@@ -0,0 +1,16 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ access_control ++ @info.parent:linux.device_file ++ smart-card-reader ++ ++ ++ ++ ++ +diff -Nur -x '*.orig' -x '*~' ubuntu/fdi/policy/10osvendor/Makefile.am ubuntu.new/fdi/policy/10osvendor/Makefile.am +--- ubuntu/fdi/policy/10osvendor/Makefile.am 2009-01-21 01:14:28.000000000 +0100 ++++ ubuntu.new/fdi/policy/10osvendor/Makefile.am 2009-01-21 01:51:22.000000000 +0100 +@@ -8,6 +8,7 @@ + 10-leds.fdi \ + 10-power-mgmt-policy.fdi \ + 10-rfkill-switch.fdi \ ++ 10-smartcardreaders.fdi \ + 10-tabletPCs.fdi \ + 10-x11-input.fdi \ + 15-storage-luks.fdi \ +diff -Nur -x '*.orig' -x '*~' ubuntu/fdi/policy/10osvendor/Makefile.in ubuntu.new/fdi/policy/10osvendor/Makefile.in +--- ubuntu/fdi/policy/10osvendor/Makefile.in 2009-01-21 01:38:57.000000000 +0100 ++++ ubuntu.new/fdi/policy/10osvendor/Makefile.in 2009-01-21 01:52:09.000000000 +0100 +@@ -64,6 +64,7 @@ + 10-macbook-backlight.fdi 10-imac-backlight.fdi 10-cpufreq.fdi \ + 10-usbcsr-mice.fdi 10-omap-backlight.fdi \ + 10-dell-laptop-brightness.fdi 10-toshiba-buttons.fdi \ ++ 10-smartcardreaders.fdi \ + 10-ibm-buttons.fdi 20-acl-management.fdi + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ +@@ -236,6 +237,7 @@ + 10-laptop-panel-mgmt-policy.fdi 10-leds.fdi \ + 10-power-mgmt-policy.fdi 10-rfkill-switch.fdi 10-tabletPCs.fdi \ + 10-x11-input.fdi 15-storage-luks.fdi 20-storage-methods.fdi \ ++ 10-smartcardreaders.fdi \ + 30-wol.fdi $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) $(am__append_6) \ + $(am__append_7) $(am__append_8) $(am__append_9) \ +diff -Nur -x '*.orig' -x '*~' ubuntu/policy/org.freedesktop.hal.device-access.policy ubuntu.new/policy/org.freedesktop.hal.device-access.policy +--- ubuntu/policy/org.freedesktop.hal.device-access.policy 2008-11-27 19:11:38.000000000 +0100 ++++ ubuntu.new/policy/org.freedesktop.hal.device-access.policy 2009-01-21 01:51:22.000000000 +0100 +@@ -190,4 +190,13 @@ + + + ++ ++ Directly access smart-card readers ++ System policy prevents access to the smart-card readers ++ ++ no ++ yes ++ ++ ++ + --- hal-0.5.12~rc1+git20090403.orig/debian/patches/83_ssb_bus_support.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/83_ssb_bus_support.patch @@ -0,0 +1,69 @@ +diff -Nur -x '*.orig' -x '*~' ubuntu/hald/linux/device.c ubuntu.new/hald/linux/device.c +--- ubuntu/hald/linux/device.c 2008-11-10 12:07:57.000000000 +0100 ++++ ubuntu.new/hald/linux/device.c 2008-11-10 12:08:44.000000000 +0100 +@@ -794,6 +794,43 @@ + /*--------------------------------------------------------------------------------------------------------------*/ + + static HalDevice * ++ssb_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) ++{ ++ HalDevice *d; ++ ++ d = hal_device_new (); ++ hal_device_property_set_string (d, "linux.sysfs_path", sysfs_path); ++ hal_device_property_set_string (d, "linux.sysfs_path_device", sysfs_path); ++ hal_device_property_set_string (d, "info.bus", "ssb"); ++ if (parent_dev != NULL) { ++ hal_device_property_set_string (d, "info.parent", hal_device_get_udi (parent_dev)); ++ } else { ++ hal_device_property_set_string (d, "info.parent", "/org/freedesktop/Hal/devices/computer"); ++ } ++ ++ hal_util_set_driver (d, "info.linux.driver", sysfs_path); ++ ++ hal_device_property_set_string (d, "ssb.bus_id", ++ hal_util_get_last_element (sysfs_path)); ++ return d; ++} ++ ++static gboolean ++ssb_compute_udi (HalDevice *d) ++{ ++ gchar udi[256]; ++ ++ hal_util_compute_udi (hald_get_gdl (), udi, sizeof (udi), ++ "/org/freedesktop/Hal/devices/ssb_%s", ++ hal_device_property_get_string (d, "xen.bus_id")); ++ hal_device_set_udi (d, udi); ++ hal_device_property_set_string (d, "info.udi", udi); ++ return TRUE; ++} ++ ++/*--------------------------------------------------------------------------------------------------------------*/ ++ ++static HalDevice * + ieee1394_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path) + { + HalDevice *d; +@@ -4052,6 +4089,13 @@ + .remove = dev_remove + }; + ++static DevHandler dev_handler_ssb = { ++ .subsystem = "ssb", ++ .add = ssb_add, ++ .compute_udi = ssb_compute_udi, ++ .remove = dev_remove ++}; ++ + /* s390 specific busses */ + static DevHandler dev_handler_ccw = { + .subsystem = "ccw", +@@ -4416,6 +4460,7 @@ + &dev_handler_serial, + &dev_handler_serio, + &dev_handler_sound, ++ &dev_handler_ssb, + &dev_handler_tape, + &dev_handler_tape390, + /* Don't change order of usbclass and usb */ --- hal-0.5.12~rc1+git20090403.orig/debian/patches/85_set_property_direct.patch +++ hal-0.5.12~rc1+git20090403/debian/patches/85_set_property_direct.patch @@ -0,0 +1,95 @@ +diff -up hal-0.5.10/tools/hal_set_property.c.jx hal-0.5.10/tools/hal_set_property.c +--- hal-0.5.10/tools/hal_set_property.c.jx 2007-07-26 14:00:28.000000000 -0400 ++++ hal-0.5.10/tools/hal_set_property.c 2008-03-10 14:22:58.000000000 -0400 +@@ -66,7 +66,7 @@ usage (int argc, char *argv[]) + " (--int | --string | --bool |\n" + " --strlist-pre | --strlist-post |\n" + " --strlist-rem | --double | --remove)\n" +- " [--help] [--version]\n"); ++ " [--direct] [--help] [--version]\n"); + fprintf (stderr, + "\n" " --udi Unique Device Id\n" + " --key Key of the property to set\n" +@@ -81,6 +81,7 @@ usage (int argc, char *argv[]) + " --strlist-post Append a string to a list\n" + " --strlist-rem Remove a string from a list\n" + " --remove Indicates that the property should be removed\n" ++ " --direct Use direct HAL connection\n" + " --version Show version and exit\n" + " --help Show this information and exit\n" + "\n" +@@ -114,6 +115,7 @@ main (int argc, char *argv[]) + dbus_bool_t is_version = FALSE; + int type = PROP_INVALID; + DBusError error; ++ dbus_bool_t direct = FALSE; + + if (argc <= 1) { + usage (argc, argv); +@@ -135,6 +137,7 @@ main (int argc, char *argv[]) + {"strlist-pre", 1, NULL, 0}, + {"strlist-post", 1, NULL, 0}, + {"strlist-rem", 1, NULL, 0}, ++ {"direct", 0, NULL, 0}, + {"remove", 0, NULL, 0}, + {"version", 0, NULL, 0}, + {"help", 0, NULL, 0}, +@@ -188,6 +191,8 @@ main (int argc, char *argv[]) + type = PROP_STRLIST_REM; + } else if (strcmp (opt, "remove") == 0) { + remove = TRUE; ++ } else if (strcmp (opt, "direct") == 0) { ++ direct = TRUE; + } else if (strcmp (opt, "udi") == 0) { + udi = strdup (optarg); + } else if (strcmp (opt, "version") == 0) { +@@ -215,24 +220,32 @@ main (int argc, char *argv[]) + + fprintf (stderr, "\n"); + +- dbus_error_init (&error); +- if ((hal_ctx = libhal_ctx_new ()) == NULL) { +- fprintf (stderr, "error: libhal_ctx_new\n"); +- return 1; +- } +- if (!libhal_ctx_set_dbus_connection (hal_ctx, dbus_bus_get (DBUS_BUS_SYSTEM, &error))) { +- fprintf (stderr, "error: libhal_ctx_set_dbus_connection: %s: %s\n", error.name, error.message); +- LIBHAL_FREE_DBUS_ERROR (&error); +- return 1; +- } +- if (!libhal_ctx_init (hal_ctx, &error)) { +- if (dbus_error_is_set(&error)) { +- fprintf (stderr, "error: libhal_ctx_init: %s: %s\n", error.name, error.message); +- dbus_error_free (&error); ++ dbus_error_init (&error); ++ if (direct) { ++ if ((hal_ctx = libhal_ctx_init_direct (&error)) == NULL) { ++ fprintf (stderr, "error: libhal_ctx_init_direct\n"); ++ LIBHAL_FREE_DBUS_ERROR (&error); ++ return 1; ++ } ++ } else { ++ if ((hal_ctx = libhal_ctx_new ()) == NULL) { ++ fprintf (stderr, "error: libhal_ctx_new\n"); ++ return 1; ++ } ++ if (!libhal_ctx_set_dbus_connection (hal_ctx, dbus_bus_get (DBUS_BUS_SYSTEM, &error))) { ++ fprintf (stderr, "error: libhal_ctx_set_dbus_connection: %s: %s\n", error.name, error.message); ++ LIBHAL_FREE_DBUS_ERROR (&error); ++ return 1; ++ } ++ if (!libhal_ctx_init (hal_ctx, &error)) { ++ if (dbus_error_is_set(&error)) { ++ fprintf (stderr, "error: libhal_ctx_init: %s: %s\n", error.name, error.message); ++ dbus_error_free (&error); ++ } ++ fprintf (stderr, "Could not initialise connection to hald.\n" ++ "Normally this means the HAL daemon (hald) is not running or not ready.\n"); ++ return 1; + } +- fprintf (stderr, "Could not initialise connection to hald.\n" +- "Normally this means the HAL daemon (hald) is not running or not ready.\n"); +- return 1; + } + + if (remove) {