Hello community, here is the log from the commit of package hal checked in at Fri Nov 7 15:14:23 CET 2008. -------- --- hal/hal.changes 2008-10-31 17:33:15.000000000 +0100 +++ /mounts/work_src_done/STABLE/hal/hal.changes 2008-11-05 15:56:02.756512000 +0100 @@ -1,0 +2,5 @@ +Wed Nov 5 15:54:26 CET 2008 - hmacht@suse.de + +- fix segfault when lever on bay device is pulled (bnc#441851) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hal-doc.spec ++++++ --- /var/tmp/diff_new_pack.e14776/_old 2008-11-07 15:13:17.000000000 +0100 +++ /var/tmp/diff_new_pack.e14776/_new 2008-11-07 15:13:17.000000000 +0100 @@ -29,7 +29,7 @@ %define hal_info_version 20081027 %define libsmbios_version 2.0.2 Version: 0.5.12 -Release: 3 +Release: 4 Url: http://freedesktop.org/Software/hal License: Other uncritical OpenSource License Group: System/Daemons @@ -379,7 +379,7 @@ - fix for md storage device handling - remove unused code from brightness scripts which is now handled by an addon -* Wed Oct 29 2008 dkukawka@suse.de +* Tue Oct 28 2008 dkukawka@suse.de - update HAL to latest git (ae92796e39b566) and updated hal-info to 20081027 - this udate includes fixes for: @@ -572,11 +572,11 @@ - hal-20080702-ipw-killswitch-addon.diff: added new addon for the IPW killswitch device to improve performance since this interface get called every 1 or 2 seconds by NetworkManager. -* Wed Jul 02 2008 dkukawka@suse.de +* Tue Jul 01 2008 dkukawka@suse.de - added new patch: - hal-info-20080702-fix-identify-cardreader.diff: update matches for some cardreader (fix for fd.o#16577) -* Wed Jul 02 2008 dkukawka@suse.de +* Tue Jul 01 2008 dkukawka@suse.de - signed and added comments to all the may upstream going patches - added new patch: - hal-20080701-fix-merge-uint64.diff: fix merge for unit64 @@ -619,7 +619,7 @@ - hal-20080626-fix-PropertyModified.diff: fix fd.o #16427 * Fri Jun 20 2008 schwab@suse.de - Fix configure script. -* Wed Jun 18 2008 dkukawka@suse.de +* Tue Jun 17 2008 dkukawka@suse.de - updated hal-info to 20080617 * Thu Jun 05 2008 dkukawka@suse.de - updated hal to git master and hal-info to 20080605 @@ -738,7 +738,7 @@ - hal-fix-mmap_cache_force.diff: fixed b.n.c #357625, removed no longer existing --force argument from call hald-generate-fdi-cache inside of HAL. -* Wed Jan 30 2008 dkukawka@suse.de +* Tue Jan 29 2008 dkukawka@suse.de - updated hal and hal-info to git master from 20080128: - HAL use now the sysfs battery interface in the power_supply subsystem instead of the proc battery interface. There are @@ -1267,7 +1267,7 @@ - added patches: - hal-add-alsa_hw-specific_devices.diff: to show hardware specific sound devices in HAL. (see b.n.c #208695) -* Tue Nov 07 2006 dkukawka@suse.de +* Mon Nov 06 2006 dkukawka@suse.de - added patch: - hal-fix-dbus_error_is_set.diff: since dbus_error_is_set(NULL) crash the library, added fix and check if error == NULL @@ -1620,7 +1620,7 @@ scsi.vendor and scsi.model (hal-add-scsi-type.diff) * Thu Jan 19 2006 meissner@suse.de - use -fstack-protector. -* Tue Jan 17 2006 dkukawka@suse.de +* Mon Jan 16 2006 dkukawka@suse.de * updated to new release 0.5.6, for changes see Changelog of the package (note: this is the same as the upcomming official release excluding the NEWS file) @@ -1724,7 +1724,7 @@ * fixed bug #132279: add policy keys to handle USB floppy drives (hal-make-cdroms_USBFloppy-mountable.diff) * removed selinux support, because we don't need this atm -* Wed Oct 26 2005 dkukawka@suse.de +* Tue Oct 25 2005 dkukawka@suse.de * updated to new cvs version (0.5.5_CVS_20051025) and changed version format to VERSION_CVS_YYYYMMDD --> should prevent conflicts with other versions @@ -1809,7 +1809,7 @@ * some documentation fixes * Fri Sep 02 2005 ro@suse.de - Provide hotplugctl as well to really fix (#112953) -* Sun Aug 28 2005 ro@suse.de +* Sat Aug 27 2005 ro@suse.de - Obsolete hotplugctl [#112953] (Again!) * Fri Aug 26 2005 dkukawka@suse.de * updated to current release 0.5.4, Released August 26, 2005 @@ -1931,10 +1931,10 @@ - hal-deviceManager-fix-autorefresh.diff - hal-add_lsb_release_v1.diff (to provide LSB info, reworked) - merged compiler warning pathes -* Wed Jul 27 2005 dkukawka@suse.de +* Tue Jul 26 2005 dkukawka@suse.de - changed OSS devices from alsa.* keys to oss.* keys and fixed sound_compute_udi() to generate udi's also for OSS devices -* Tue Jul 26 2005 dkukawka@suse.de +* Mon Jul 25 2005 dkukawka@suse.de - added patch from David Zeuthen to add alsa.device_file for alsa and oss devices and merged this with patch for 'ALSA OSS Device detection' @@ -2058,7 +2058,7 @@ hfsplus now. * Thu Mar 10 2005 dkukawka@suse.de - added ipod fdi file see bug #71986 -* Thu Mar 10 2005 dkukawka@suse.de +* Wed Mar 09 2005 dkukawka@suse.de - fixed bug #71880, added specs to doc section of hal.rpm * Wed Mar 09 2005 dkukawka@suse.de - moved docfiles from /usr/share/doc/packages/hal-%%{VERSION}/ to @@ -2110,7 +2110,7 @@ - load kernelmodule 'capability' at start in boot.hal - added fix for errormessage if 'capability' isn't available in the kernel -* Sat Jan 22 2005 dkukawka@suse.de +* Fri Jan 21 2005 dkukawka@suse.de - update to new stable version [0.4.6] changelog: - Fix strange crasher in libsysfs on certain ppc platforms ++++++ hal.spec ++++++ --- /var/tmp/diff_new_pack.e14776/_old 2008-11-07 15:13:17.000000000 +0100 +++ /var/tmp/diff_new_pack.e14776/_new 2008-11-07 15:13:17.000000000 +0100 @@ -29,7 +29,7 @@ %define hal_info_version 20081027 %define libsmbios_version 2.0.2 Version: 0.5.12 -Release: 3 +Release: 4 Url: http://freedesktop.org/Software/hal License: GPL v2 or later; AFL Group: System/Daemons @@ -363,6 +363,8 @@ %endif %changelog +* Wed Nov 05 2008 hmacht@suse.de +- fix segfault when lever on bay device is pulled (bnc#441851) * Fri Oct 31 2008 dkukawka@suse.de - update HAL to latest git (689d0503c45161) of my tree - this update includes fixes for: @@ -378,7 +380,7 @@ - fix for md storage device handling - remove unused code from brightness scripts which is now handled by an addon -* Wed Oct 29 2008 dkukawka@suse.de +* Tue Oct 28 2008 dkukawka@suse.de - update HAL to latest git (ae92796e39b566) and updated hal-info to 20081027 - this udate includes fixes for: @@ -571,11 +573,11 @@ - hal-20080702-ipw-killswitch-addon.diff: added new addon for the IPW killswitch device to improve performance since this interface get called every 1 or 2 seconds by NetworkManager. -* Wed Jul 02 2008 dkukawka@suse.de +* Tue Jul 01 2008 dkukawka@suse.de - added new patch: - hal-info-20080702-fix-identify-cardreader.diff: update matches for some cardreader (fix for fd.o#16577) -* Wed Jul 02 2008 dkukawka@suse.de +* Tue Jul 01 2008 dkukawka@suse.de - signed and added comments to all the may upstream going patches - added new patch: - hal-20080701-fix-merge-uint64.diff: fix merge for unit64 @@ -618,7 +620,7 @@ - hal-20080626-fix-PropertyModified.diff: fix fd.o #16427 * Fri Jun 20 2008 schwab@suse.de - Fix configure script. -* Wed Jun 18 2008 dkukawka@suse.de +* Tue Jun 17 2008 dkukawka@suse.de - updated hal-info to 20080617 * Thu Jun 05 2008 dkukawka@suse.de - updated hal to git master and hal-info to 20080605 @@ -737,7 +739,7 @@ - hal-fix-mmap_cache_force.diff: fixed b.n.c #357625, removed no longer existing --force argument from call hald-generate-fdi-cache inside of HAL. -* Wed Jan 30 2008 dkukawka@suse.de +* Tue Jan 29 2008 dkukawka@suse.de - updated hal and hal-info to git master from 20080128: - HAL use now the sysfs battery interface in the power_supply subsystem instead of the proc battery interface. There are @@ -1266,7 +1268,7 @@ - added patches: - hal-add-alsa_hw-specific_devices.diff: to show hardware specific sound devices in HAL. (see b.n.c #208695) -* Tue Nov 07 2006 dkukawka@suse.de +* Mon Nov 06 2006 dkukawka@suse.de - added patch: - hal-fix-dbus_error_is_set.diff: since dbus_error_is_set(NULL) crash the library, added fix and check if error == NULL @@ -1619,7 +1621,7 @@ scsi.vendor and scsi.model (hal-add-scsi-type.diff) * Thu Jan 19 2006 meissner@suse.de - use -fstack-protector. -* Tue Jan 17 2006 dkukawka@suse.de +* Mon Jan 16 2006 dkukawka@suse.de * updated to new release 0.5.6, for changes see Changelog of the package (note: this is the same as the upcomming official release excluding the NEWS file) @@ -1723,7 +1725,7 @@ * fixed bug #132279: add policy keys to handle USB floppy drives (hal-make-cdroms_USBFloppy-mountable.diff) * removed selinux support, because we don't need this atm -* Wed Oct 26 2005 dkukawka@suse.de +* Tue Oct 25 2005 dkukawka@suse.de * updated to new cvs version (0.5.5_CVS_20051025) and changed version format to VERSION_CVS_YYYYMMDD --> should prevent conflicts with other versions @@ -1808,7 +1810,7 @@ * some documentation fixes * Fri Sep 02 2005 ro@suse.de - Provide hotplugctl as well to really fix (#112953) -* Sun Aug 28 2005 ro@suse.de +* Sat Aug 27 2005 ro@suse.de - Obsolete hotplugctl [#112953] (Again!) * Fri Aug 26 2005 dkukawka@suse.de * updated to current release 0.5.4, Released August 26, 2005 @@ -1930,10 +1932,10 @@ - hal-deviceManager-fix-autorefresh.diff - hal-add_lsb_release_v1.diff (to provide LSB info, reworked) - merged compiler warning pathes -* Wed Jul 27 2005 dkukawka@suse.de +* Tue Jul 26 2005 dkukawka@suse.de - changed OSS devices from alsa.* keys to oss.* keys and fixed sound_compute_udi() to generate udi's also for OSS devices -* Tue Jul 26 2005 dkukawka@suse.de +* Mon Jul 25 2005 dkukawka@suse.de - added patch from David Zeuthen to add alsa.device_file for alsa and oss devices and merged this with patch for 'ALSA OSS Device detection' @@ -2057,7 +2059,7 @@ hfsplus now. * Thu Mar 10 2005 dkukawka@suse.de - added ipod fdi file see bug #71986 -* Thu Mar 10 2005 dkukawka@suse.de +* Wed Mar 09 2005 dkukawka@suse.de - fixed bug #71880, added specs to doc section of hal.rpm * Wed Mar 09 2005 dkukawka@suse.de - moved docfiles from /usr/share/doc/packages/hal-%%{VERSION}/ to @@ -2109,7 +2111,7 @@ - load kernelmodule 'capability' at start in boot.hal - added fix for errormessage if 'capability' isn't available in the kernel -* Sat Jan 22 2005 dkukawka@suse.de +* Fri Jan 21 2005 dkukawka@suse.de - update to new stable version [0.4.6] changelog: - Fix strange crasher in libsysfs on certain ppc platforms ++++++ hal-20081021-fix-docking-support.diff ++++++ --- /var/tmp/diff_new_pack.e14776/_old 2008-11-07 15:13:18.000000000 +0100 +++ /var/tmp/diff_new_pack.e14776/_new 2008-11-07 15:13:18.000000000 +0100 @@ -5,23 +5,17 @@ Adapted HAL to recent changes in the kernel regarding to docking stations. ---- - hald/linux/device.c | 24 +++++++++++++++++------- - 1 files changed, 17 insertions(+), 7 deletions(-) - -diff --git a/hald/linux/device.c b/hald/linux/device.c -index 26f6c1b..94b3ab5 100644 ---- a/hald/linux/device.c -+++ b/hald/linux/device.c -@@ -2017,9 +2017,15 @@ platform_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *pare +================================================================================ +--- hal-0.5.12/hald/linux/device.c ++++ hal-0.5.12/hald/linux/device.c +@@ -1839,9 +1839,15 @@ if (strncmp (dev_id, "dock", 4) == 0) { int docked; -- ++ gchar *type; + - hal_util_get_int_from_file (sysfs_path, "docked", &docked, 0); - hal_device_property_set_bool (d, "info.docked", docked); -+ gchar *type; -+ + type = hal_util_get_string_from_file (sysfs_path, "type"); + if (strcmp (type, "dock_station") == 0) { + hal_device_property_set_string (d, "info.type", type); @@ -32,7 +26,7 @@ } return d; -@@ -2052,8 +2058,8 @@ platform_refresh_undock (gpointer data) +@@ -1874,8 +1880,8 @@ sysfs_path = hal_device_property_get_string(d, "linux.sysfs_path"); hal_util_get_int_from_file (sysfs_path, "flags", &flags, 0); @@ -43,7 +37,7 @@ return TRUE; hal_util_get_int_from_file (sysfs_path, "docked", &docked, 0); -@@ -2065,20 +2071,24 @@ platform_refresh_undock (gpointer data) +@@ -1887,20 +1893,24 @@ static gboolean platform_refresh (HalDevice *d) { @@ -56,7 +50,7 @@ return TRUE; + type = hal_device_property_get_string(d, "info.type"); -+ if (strcmp (type, "dock_station") != 0) ++ if (type != NULL && strcmp (type, "dock_station") != 0) + return TRUE; + sysfs_path = hal_device_property_get_string(d, "linux.sysfs_path"); @@ -70,6 +64,3 @@ g_timeout_add (DOCK_STATION_UNDOCK_POLL_INTERVAL, platform_refresh_undock, d); return TRUE; --- -1.5.6 - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org