diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-07-21 15:57:48 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-07-21 15:57:48 +0200 |
commit | c6c4aa4b9ec4e19ae6d89475e2e7e6a5c28e8237 (patch) | |
tree | 6315325c275a3c3cc37dee2f0c64d781d2e60371 | |
parent | 7f32eaf2d20da25cc8041bd210816e80e431f528 (diff) | |
download | gps-devices-package-c6c4aa4b9ec4e19ae6d89475e2e7e6a5c28e8237.tar.gz gps-devices-package-c6c4aa4b9ec4e19ae6d89475e2e7e6a5c28e8237.tar.xz gps-devices-package-c6c4aa4b9ec4e19ae6d89475e2e7e6a5c28e8237.zip |
0.1.0-0: READMEgps-devices-0.1.0-0.fc11
-rw-r--r-- | README | 11 | ||||
-rw-r--r-- | gps-devices.spec | 6 |
2 files changed, 14 insertions, 3 deletions
@@ -8,7 +8,16 @@ Basic idea: 3. ??? 4. Profit! -Basic idea (discarded due to garmin-gps.ko bitrot): +How to use this: + + 1. Make sure there is a line "blacklist garmin-gps" in the file + /etc/modprobe.d/blacklist.conf + 2. Add a basic "gps" HAL device-access policy to + /usr/share/PolicyKit/policy/org.freedesktop.hal.device-access.policy + which grants users access to GPS devices. + 3. Run software (e.g. gpsbabel) as a normal unconfined_t user. + +Old basic idea (discarded due to garmin-gps.ko bitrot): 1. Run gpsd as a system service as "nobody.gps" and gpsd_t. 2. Communicate with this gpsd diff --git a/gps-devices.spec b/gps-devices.spec index 66b3881..5004907 100644 --- a/gps-devices.spec +++ b/gps-devices.spec @@ -34,10 +34,10 @@ cp %{SOURCE30} . rm -rf "%{buildroot}" install -d -m 0755 "%{buildroot}/usr/share/hal/fdi/information/20thirdparty" -install -m 0644 %{SOURCE0} "%{buildroot}/usr/share/hal/fdi/information/20thirdparty/10-gps-devices.fdi" +install -p -m 0644 %{SOURCE0} "%{buildroot}/usr/share/hal/fdi/information/20thirdparty/10-gps-devices.fdi" install -d -m 0755 "%{buildroot}/usr/share/hal/fdi/policy/20thirdparty" -install -m 0644 %{SOURCE1} "%{buildroot}/usr/share/hal/fdi/policy/20thirdparty/10-gps-devices.fdi" +install -p -m 0644 %{SOURCE1} "%{buildroot}/usr/share/hal/fdi/policy/20thirdparty/10-gps-devices.fdi" %pre @@ -71,4 +71,6 @@ rm -rf "%{buildroot}" %changelog +* Sat Jul 11 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.1.0-0 +- initial package |