From 28dca63ca671c50813eee8886fd6f5673419596d0843baa8485e09142774b79b Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 29 Oct 2013 08:38:39 +0000 Subject: [PATCH 1/5] Accepting request 205018 from home:posophe:branches:Application:Geo Update + cleanup OBS-URL: https://build.opensuse.org/request/show/205018 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=77 --- _service:download_files:gpsd-3.9.tar.gz | 3 + gpsd-3.5.tar.bz2 | 3 - gpsd.changes | 13 +++ gpsd.spec | 100 ++---------------------- 4 files changed, 23 insertions(+), 96 deletions(-) create mode 100644 _service:download_files:gpsd-3.9.tar.gz delete mode 100644 gpsd-3.5.tar.bz2 diff --git a/_service:download_files:gpsd-3.9.tar.gz b/_service:download_files:gpsd-3.9.tar.gz new file mode 100644 index 0000000..5376246 --- /dev/null +++ b/_service:download_files:gpsd-3.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9b24be838b48db5e8eba66f74edf32d1982fe0fb018c9d9a7ad1ada9f189d5a +size 1518775 diff --git a/gpsd-3.5.tar.bz2 b/gpsd-3.5.tar.bz2 deleted file mode 100644 index 20aac01..0000000 --- a/gpsd-3.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b17143bcbb318147a807ece52045b618b6a1d37aab254f3db0d9fac72952e99d -size 1183060 diff --git a/gpsd.changes b/gpsd.changes index cc4c769..9b506f8 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Oct 28 13:56:07 UTC 2013 - p.drouand@gmail.com + +- Update to version 3.9 + + Note to packagers: this is an urgent release that fixes a possible + DoS or security hole! Armor the AIS driver against an implausible + overrun attack. A (different) fix for our first malformed-packet + crash since about 2007. Minor improvements to the NMEA2000 + driver. New FAQ entry on how to know WAAS/EGNOS is working. + + New -u and -uu options enable usec timestamps on gpspipe output. +For more please read usr/share/doc/packages/gpsd/NEWS +- Clean specfile and remove AUTHORS section + ------------------------------------------------------------------- Wed Oct 17 11:48:10 UTC 2012 - fcrozat@suse.com diff --git a/gpsd.spec b/gpsd.spec index fb8613f..5639579 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -1,7 +1,7 @@ # # spec file for package gpsd # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,12 +27,12 @@ Summary: Service daemon for mediating access to a GPS License: BSD-3-Clause Group: Hardware/Other Url: http://www.catb.org/gpsd/ -Version: 3.5 +Version: 3.9 Release: 0 %define libgps libgps20 %define libQgps libQgpsmm20 Requires: udev -PreReq: coreutils %fillup_prereq +Requires(pre): coreutils %fillup_prereq BuildRequires: bluez-devel BuildRequires: chrpath BuildRequires: gcc-c++ @@ -47,11 +47,9 @@ BuildRequires: update-desktop-files BuildRequires: xmlto BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-libXpm-devel -%if 0%{?suse_version} > 1020 BuildRequires: dbus-1-glib-devel BuildRequires: fdupes -%endif -Source: %{name}-%{version}.tar.bz2 +Source: http://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz Source1: rules.gpsd Source2: udev.gpsd Source3: sysconfig.gpsd @@ -60,11 +58,6 @@ Source5: xgps.desktop Source6: xgpsspeed.desktop Patch0: gpsd-fix-shebang.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} > 1110 -%else -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif %description gpsd is a service daemon that mediates access to a GPS sensor connected @@ -84,20 +77,6 @@ The daemon will be quiescent when there are no clients asking for location information, and copes gracefully when the GPS is unplugged and replugged. - - -Authors: --------- - Remco Treffkorn - Derrick J. Brashear - Russ Nelson - Eric S. Raymond - Gary E. Miller - Jeff Francis - Amaury Jacquot - Chris Kuethe - Ville Nuorvala - %package devel Summary: Client libraries in C and Python for talking to a running gpsd or GPS Group: Development/Libraries/C and C++ @@ -112,19 +91,6 @@ manage access to a GPS for applications and debugging tools. You will need to have gpsd installed for it to work. -Authors: --------- - Remco Treffkorn - Derrick J. Brashear - Russ Nelson - Eric S. Raymond - Gary E. Miller - Jeff Francis - Amaury Jacquot - Chris Kuethe - Ville Nuorvala - - %package -n %libgps Summary: Shared library for GPS applications Group: Development/Libraries/Python @@ -133,18 +99,6 @@ Group: Development/Libraries/Python This package provides the shared library for gpsd and other GPS aware applications. -Authors: --------- - Remco Treffkorn - Derrick J. Brashear - Russ Nelson - Eric S. Raymond - Gary E. Miller - Jeff Francis - Amaury Jacquot - Chris Kuethe - Ville Nuorvala - %package -n %libQgps Summary: Shared Qt library for GPS applications @@ -154,17 +108,6 @@ Group: Development/Libraries/Python This package provides the shared Qt library for gpsd and other GPS aware applications. -Authors: --------- - Remco Treffkorn - Derrick J. Brashear - Russ Nelson - Eric S. Raymond - Gary E. Miller - Jeff Francis - Amaury Jacquot - Chris Kuethe - Ville Nuorvala %package -n python-gpsd @@ -177,17 +120,6 @@ Requires: %name = %version This package provides python modules and tools for the gpsd shared libraries. You will need to have gpsd installed for it to work. -Authors: --------- - Remco Treffkorn - Derrick J. Brashear - Russ Nelson - Eric S. Raymond - Gary E. Miller - Jeff Francis - Amaury Jacquot - Chris Kuethe - Ville Nuorvala %package clients Summary: Clients for gpsd with an X interface @@ -207,20 +139,6 @@ option to dump the package version and exit. Additionally, it accepts cgps resembles xgps, but without the pictorial satellite display. It can run on a serial terminal or terminal emulator. - - -Authors: --------- - Remco Treffkorn - Derrick J. Brashear - Russ Nelson - Eric S. Raymond - Gary E. Miller - Jeff Francis - Amaury Jacquot - Chris Kuethe - Ville Nuorvala - %prep %setup -q %patch0 -p1 @@ -248,14 +166,9 @@ install -m 644 %{SOURCE6} %{buildroot}%{_datadir}/applications/ %suse_update_desktop_file xgpsspeed %suse_update_desktop_file xgps # save some space, create symlinks -%if 0%{?suse_version} > 1020 %fdupes -s %buildroot -%endif chrpath -r %{_libdir} %{buildroot}%{python_sitearch}/gps/*.so -%clean -rm -rf %{buildroot} - %post /sbin/ldconfig %fillup_only -n gpsd @@ -272,10 +185,11 @@ rm -rf %{buildroot} %files %defattr(-,root,root) -%doc README INSTALL COPYING gpsd.php +%doc README COPYING gpsd.php %{_mandir}/man?/gpsd.* %{_mandir}/man?/gpsdctl.* %{_mandir}/man?/gpsctl.* +%{_mandir}/man?/gpsinit.* %{_udevdir}/gpsd.sh %{_udevdir}/rules.d/* %{_sbindir}/gpsd @@ -294,7 +208,7 @@ rm -rf %{buildroot} %files devel %defattr(-,root,root) -%doc README INSTALL COPYING TODO +%doc README COPYING TODO %{_mandir}/man?/gpsfake.* %{_mandir}/man?/gpscat.* %{_mandir}/man?/libQgps*.* From 6a56bd6704541d3dd82fdf3babf6a5637d0d9cd4774ca77536cd6d2e2f8da3c1 Mon Sep 17 00:00:00 2001 From: Joerg Reuter Date: Thu, 21 Nov 2013 10:10:09 +0000 Subject: [PATCH 2/5] Accepting request 207757 from home:jritzerfeld:branches:Application:Geo - Fixed typo in udev rule (bnc#848936) OBS-URL: https://build.opensuse.org/request/show/207757 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=78 --- gpsd.changes | 5 +++++ gpsd.spec | 4 ++-- rules.gpsd | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gpsd.changes b/gpsd.changes index 9b506f8..2ddb23f 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 20 13:19:27 UTC 2013 - suse@bugs.jan.ritzerfeld.org + +- Fixed typo in udev rule (bnc#848936) + ------------------------------------------------------------------- Mon Oct 28 13:56:07 UTC 2013 - p.drouand@gmail.com diff --git a/gpsd.spec b/gpsd.spec index 5639579..b43ac61 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -35,6 +35,8 @@ Requires: udev Requires(pre): coreutils %fillup_prereq BuildRequires: bluez-devel BuildRequires: chrpath +BuildRequires: dbus-1-glib-devel +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libcap-devel BuildRequires: libqt4-devel >= 4.5.3 @@ -47,8 +49,6 @@ BuildRequires: update-desktop-files BuildRequires: xmlto BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-libXpm-devel -BuildRequires: dbus-1-glib-devel -BuildRequires: fdupes Source: http://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz Source1: rules.gpsd Source2: udev.gpsd diff --git a/rules.gpsd b/rules.gpsd index 0a56960..6b425ec 100644 --- a/rules.gpsd +++ b/rules.gpsd @@ -1,6 +1,6 @@ SUBSYSTEM != "tty", GOTO="gpsd_end" -ACTION != "remove, GOTO="gpsd_add" +ACTION != "remove", GOTO="gpsd_add" KERNEL=="ttyUSB*", RUN="gpsd.sh" LABEL="gpsd_add" From 25f53993276db0ad6ac8ac58f383686082bc242e4f6ea932a315d34e6dcf4a19 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 9 Dec 2013 12:20:48 +0000 Subject: [PATCH 3/5] update to new version OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=79 --- _service:download_files:gpsd-3.9.tar.gz | 3 --- gpsd-3.10.tar.gz | 3 +++ gpsd.changes | 14 ++++++++++++++ gpsd.spec | 4 +++- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 _service:download_files:gpsd-3.9.tar.gz create mode 100644 gpsd-3.10.tar.gz diff --git a/_service:download_files:gpsd-3.9.tar.gz b/_service:download_files:gpsd-3.9.tar.gz deleted file mode 100644 index 5376246..0000000 --- a/_service:download_files:gpsd-3.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9b24be838b48db5e8eba66f74edf32d1982fe0fb018c9d9a7ad1ada9f189d5a -size 1518775 diff --git a/gpsd-3.10.tar.gz b/gpsd-3.10.tar.gz new file mode 100644 index 0000000..0d91620 --- /dev/null +++ b/gpsd-3.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:706fc2c1cf3dfbf87c941f543381bccc9c4dc9f8240eec407dcbf2f70b854320 +size 1566622 diff --git a/gpsd.changes b/gpsd.changes index 2ddb23f..7b4ad0d 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Dec 9 12:11:26 UTC 2013 - opensuse@dstoecker.de + +- update to version 3.10 + AIS: Adds gps2udp, an AIS data relay, split24 option supports + passing through Type 24 halves; support for Inland AIS; "scaled" no + longer controls dumping of controlled-vocabulary fields; instead, + the're always dumped numerically and as text, with text in an + attribute name generated by appending "_text" to the name of the + base attribute. The packetizer's handling of write boundaries not + coinciding with packet boundaries is improved. Better support for + mode and speed switching in the UBX driver. PPS message now ships + nsec. PPS events are visible in gpsmon. Time-reporting fix to TSIP. + ------------------------------------------------------------------- Wed Nov 20 13:19:27 UTC 2013 - suse@bugs.jan.ritzerfeld.org diff --git a/gpsd.spec b/gpsd.spec index b43ac61..fdca3ee 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -27,7 +27,7 @@ Summary: Service daemon for mediating access to a GPS License: BSD-3-Clause Group: Hardware/Other Url: http://www.catb.org/gpsd/ -Version: 3.9 +Version: 3.10 Release: 0 %define libgps libgps20 %define libQgps libQgpsmm20 @@ -221,6 +221,7 @@ chrpath -r %{_libdir} %{buildroot}%{python_sitearch}/gps/*.so %{_bindir}/gpscat %{_bindir}/gpsdecode %{_bindir}/gpsprof +%{_bindir}/gps2udp %{_includedir}/gps.h %{_includedir}/libgpsmm.h %{_libdir}/libgps.so @@ -244,6 +245,7 @@ chrpath -r %{_libdir} %{buildroot}%{python_sitearch}/gps/*.so %{_mandir}/man?/xgpsspeed.* %{_mandir}/man?/gpspipe.* %{_mandir}/man?/gpsmon.* +%{_mandir}/man?/gps2udp.* %{_bindir}/gegps %{_bindir}/xgps %{_bindir}/xgpsspeed From 05b94027de4ac1e4d68c16122f1331124ef45e1525427d3146ebc17da7a86b7d Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 9 Dec 2013 12:24:15 +0000 Subject: [PATCH 4/5] fix typo OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=80 --- gpsd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsd.spec b/gpsd.spec index fdca3ee..d15e216 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -221,7 +221,6 @@ chrpath -r %{_libdir} %{buildroot}%{python_sitearch}/gps/*.so %{_bindir}/gpscat %{_bindir}/gpsdecode %{_bindir}/gpsprof -%{_bindir}/gps2udp %{_includedir}/gps.h %{_includedir}/libgpsmm.h %{_libdir}/libgps.so @@ -253,6 +252,7 @@ chrpath -r %{_libdir} %{buildroot}%{python_sitearch}/gps/*.so %{_bindir}/lcdgps %{_bindir}/gpsmon %{_bindir}/gpspipe +%{_bindir}/gps2udp %if 0%{?suse_version} > 1020 %{_bindir}/gpxlogger %endif From f3f96d68ac1c976929ecfaea78ec3e18aa776159bff4bb106213d9e842c5c1c1 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 9 Dec 2013 12:42:10 +0000 Subject: [PATCH 5/5] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=81 --- gpsd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsd.spec b/gpsd.spec index d15e216..b370340 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -29,8 +29,8 @@ Group: Hardware/Other Url: http://www.catb.org/gpsd/ Version: 3.10 Release: 0 -%define libgps libgps20 -%define libQgps libQgpsmm20 +%define libgps libgps21 +%define libQgps libQgpsmm21 Requires: udev Requires(pre): coreutils %fillup_prereq BuildRequires: bluez-devel