Hello community, here is the log from the commit of package hal for openSUSE:Factory checked in at Thu Apr 2 17:53:03 CEST 2009. -------- --- hal/hal.changes 2009-02-06 12:48:57.000000000 +0100 +++ hal/hal.changes 2009-04-01 14:41:29.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Mar 31 17:51:00 CEST 2009 - sbrabec@suse.cz + +- Added smart card support (bnc#438131, fdo#19663). + +------------------------------------------------------------------- hal-doc.changes: same change calling whatdependson for head-i586 New: ---- hal-20090302-smart-card.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hal-doc.spec ++++++ --- /var/tmp/diff_new_pack.A31621/_old 2009-04-02 17:50:10.000000000 +0200 +++ /var/tmp/diff_new_pack.A31621/_new 2009-04-02 17:50:10.000000000 +0200 @@ -29,7 +29,7 @@ %define hal_info_version 20090206 %define libsmbios_version 2.0.2 Version: 0.5.12 -Release: 21 +Release: 23 Url: http://freedesktop.org/Software/hal License: Dual GPLv2 or Academic Free License 2.1 Group: System/Daemons @@ -83,6 +83,8 @@ Patch100: hal-20081112-fix-docking-support.diff # backports from git master: #Patch200: hal-update-to_.diff +# backports from git ~dkukawka: +Patch220: hal-20090302-smart-card.diff # revert from HEAD: #Patch250: hal-revert.diff # patches from ML: @@ -170,6 +172,7 @@ #%patch10 -p0 %patch100 -p1 #%patch200 -p1 +%patch220 -p1 #%patch300 -p1 #%patch1000 -p1 # patch hal-info package if needed @@ -365,6 +368,8 @@ %endif %changelog +* Tue Mar 31 2009 sbrabec@suse.cz +- Added smart card support (bnc#438131, fdo#19663). * Fri Feb 06 2009 dkukawka@suse.de - update HAL to latest git (9ff3ffe362c2d7) of my tree and hal-info to 20090206 @@ -542,7 +547,7 @@ - fix for md storage device handling - remove unused code from brightness scripts which is now handled by an addon -* Tue Oct 28 2008 dkukawka@suse.de +* Wed Oct 29 2008 dkukawka@suse.de - update HAL to latest git (ae92796e39b566) and updated hal-info to 20081027 - this udate includes fixes for: @@ -735,11 +740,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. -* Tue Jul 01 2008 dkukawka@suse.de +* Wed Jul 02 2008 dkukawka@suse.de - added new patch: - hal-info-20080702-fix-identify-cardreader.diff: update matches for some cardreader (fix for fd.o#16577) -* Tue Jul 01 2008 dkukawka@suse.de +* Wed Jul 02 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 @@ -901,7 +906,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. -* Tue Jan 29 2008 dkukawka@suse.de +* Wed Jan 30 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 @@ -1430,7 +1435,7 @@ - added patches: - hal-add-alsa_hw-specific_devices.diff: to show hardware specific sound devices in HAL. (see b.n.c #208695) -* Mon Nov 06 2006 dkukawka@suse.de +* Tue Nov 07 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 @@ -1783,7 +1788,7 @@ scsi.vendor and scsi.model (hal-add-scsi-type.diff) * Thu Jan 19 2006 meissner@suse.de - use -fstack-protector. -* Mon Jan 16 2006 dkukawka@suse.de +* Tue Jan 17 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) @@ -1972,7 +1977,7 @@ * some documentation fixes * Fri Sep 02 2005 ro@suse.de - Provide hotplugctl as well to really fix (#112953) -* Sat Aug 27 2005 ro@suse.de +* Sun Aug 28 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 @@ -2094,7 +2099,7 @@ - hal-deviceManager-fix-autorefresh.diff - hal-add_lsb_release_v1.diff (to provide LSB info, reworked) - merged compiler warning pathes -* Tue Jul 26 2005 dkukawka@suse.de +* Wed Jul 27 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 * Mon Jul 25 2005 dkukawka@suse.de @@ -2221,7 +2226,7 @@ hfsplus now. * Thu Mar 10 2005 dkukawka@suse.de - added ipod fdi file see bug #71986 -* Wed Mar 09 2005 dkukawka@suse.de +* Thu Mar 10 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 @@ -2273,7 +2278,7 @@ - load kernelmodule 'capability' at start in boot.hal - added fix for errormessage if 'capability' isn't available in the kernel -* Fri Jan 21 2005 dkukawka@suse.de +* Sat Jan 22 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.A31621/_old 2009-04-02 17:50:11.000000000 +0200 +++ /var/tmp/diff_new_pack.A31621/_new 2009-04-02 17:50:11.000000000 +0200 @@ -29,7 +29,7 @@ %define hal_info_version 20090206 %define libsmbios_version 2.0.2 Version: 0.5.12 -Release: 21 +Release: 23 Url: http://freedesktop.org/Software/hal License: GPL v2 or later; AFL2.0 or GPLv2.0 Group: System/Daemons @@ -83,6 +83,8 @@ Patch100: hal-20081112-fix-docking-support.diff # backports from git master: #Patch200: hal-update-to_.diff +# backports from git ~dkukawka: +Patch220: hal-20090302-smart-card.diff # revert from HEAD: #Patch250: hal-revert.diff # patches from ML: @@ -169,6 +171,7 @@ #%patch10 -p0 %patch100 -p1 #%patch200 -p1 +%patch220 -p1 #%patch300 -p1 #%patch1000 -p1 # patch hal-info package if needed @@ -364,6 +367,8 @@ %endif %changelog +* Tue Mar 31 2009 sbrabec@suse.cz +- Added smart card support (bnc#438131, fdo#19663). * Fri Feb 06 2009 dkukawka@suse.de - update HAL to latest git (9ff3ffe362c2d7) of my tree and hal-info to 20090206 @@ -541,7 +546,7 @@ - fix for md storage device handling - remove unused code from brightness scripts which is now handled by an addon -* Tue Oct 28 2008 dkukawka@suse.de +* Wed Oct 29 2008 dkukawka@suse.de - update HAL to latest git (ae92796e39b566) and updated hal-info to 20081027 - this udate includes fixes for: @@ -734,11 +739,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. -* Tue Jul 01 2008 dkukawka@suse.de +* Wed Jul 02 2008 dkukawka@suse.de - added new patch: - hal-info-20080702-fix-identify-cardreader.diff: update matches for some cardreader (fix for fd.o#16577) -* Tue Jul 01 2008 dkukawka@suse.de +* Wed Jul 02 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 @@ -900,7 +905,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. -* Tue Jan 29 2008 dkukawka@suse.de +* Wed Jan 30 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 @@ -1429,7 +1434,7 @@ - added patches: - hal-add-alsa_hw-specific_devices.diff: to show hardware specific sound devices in HAL. (see b.n.c #208695) -* Mon Nov 06 2006 dkukawka@suse.de +* Tue Nov 07 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 @@ -1782,7 +1787,7 @@ scsi.vendor and scsi.model (hal-add-scsi-type.diff) * Thu Jan 19 2006 meissner@suse.de - use -fstack-protector. -* Mon Jan 16 2006 dkukawka@suse.de +* Tue Jan 17 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) @@ -1971,7 +1976,7 @@ * some documentation fixes * Fri Sep 02 2005 ro@suse.de - Provide hotplugctl as well to really fix (#112953) -* Sat Aug 27 2005 ro@suse.de +* Sun Aug 28 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 @@ -2093,7 +2098,7 @@ - hal-deviceManager-fix-autorefresh.diff - hal-add_lsb_release_v1.diff (to provide LSB info, reworked) - merged compiler warning pathes -* Tue Jul 26 2005 dkukawka@suse.de +* Wed Jul 27 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 * Mon Jul 25 2005 dkukawka@suse.de @@ -2220,7 +2225,7 @@ hfsplus now. * Thu Mar 10 2005 dkukawka@suse.de - added ipod fdi file see bug #71986 -* Wed Mar 09 2005 dkukawka@suse.de +* Thu Mar 10 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 @@ -2272,7 +2277,7 @@ - load kernelmodule 'capability' at start in boot.hal - added fix for errormessage if 'capability' isn't available in the kernel -* Fri Jan 21 2005 dkukawka@suse.de +* Sat Jan 22 2005 dkukawka@suse.de - update to new stable version [0.4.6] changelog: - Fix strange crasher in libsysfs on certain ppc platforms ++++++ hal-20090302-smart-card.diff ++++++
From 7123ef9a78c8c6b504e6ba98218fc556641a458c Mon Sep 17 00:00:00 2001 From: Danny Kukawka
Date: Mon, 02 Mar 2009 18:43:29 +0000 Subject: define ACL and device-access policy for smart_card_reader
Defined ACL and device-access policy for smart_card_reader. Added
information to the spec.
---
diff --git a/doc/spec/hal-spec-access-control.xml b/doc/spec/hal-spec-access-control.xml
index b33bd18..1846d37 100644
--- a/doc/spec/hal-spec-access-control.xml
+++ b/doc/spec/hal-spec-access-control.xml
@@ -138,6 +138,14 @@
</row>
<row>
<entry>
+ <literal>smart-card-reader</literal>
+ </entry>
+ <entry>Directly access Smart Card Reader security devices.</entry>
+ <entry>no</entry>
+ <entry>yes</entry>
+ </row>
+ <row>
+ <entry>
<literal>joystick</literal>
</entry>
<entry>Directly access Joystick devices.</entry>
diff --git a/fdi/policy/10osvendor/20-acl-management.fdi b/fdi/policy/10osvendor/20-acl-management.fdi
index 2884a12..fc609ff 100644
--- a/fdi/policy/10osvendor/20-acl-management.fdi
+++ b/fdi/policy/10osvendor/20-acl-management.fdi
@@ -73,6 +73,11 @@
<merge key="access_control.file" type="copy_property">usbraw.device</merge>
<merge key="access_control.type" type="string">fingerprint-reader</merge>
</match>
+ <match key="info.capabilities" sibling_contains="smart_card_reader">
+ <addset key="info.capabilities" type="strlist">access_control</addset>
+ <merge key="access_control.file" type="copy_property">usbraw.device</merge>
+ <merge key="access_control.type" type="string">smart-card-reader</merge>
+ </match>
</match>
</match>
@@ -104,6 +109,11 @@
<merge key="access_control.type" type="string">fingerprint-reader</merge>
<merge key="access_control.file" type="copy_property">@info.parent:linux.device_file</merge>
</match>
+ <match key="info.capabilities" contains="smart_card_reader">
+ <addset key="info.capabilities" type="strlist">access_control</addset>
+ <merge key="access_control.type" type="string">smart-card-reader</merge>
+ <merge key="access_control.file" type="copy_property">@info.parent:linux.device_file</merge>
+ </match>
</match>
</match>
diff --git a/policy/org.freedesktop.hal.device-access.policy b/policy/org.freedesktop.hal.device-access.policy
index e083eb4..884fa57 100644
--- a/policy/org.freedesktop.hal.device-access.policy
+++ b/policy/org.freedesktop.hal.device-access.policy
@@ -91,6 +91,15 @@ NOTE: Please keep the actions in alpabetical order
</defaults>
</action>
+ <action id="org.freedesktop.hal.device-access.smart-card-reader">
+ <description>Directly access to Smart Card Reader security devices</description>
+ <message>System policy prevents access to Smart Card Reader security devices</message>
+ <defaults>
+