rpms/gpsd/devel gpsd-logo.png, NONE, 1.1 gpsd.hotplug.wrapper, NONE, 1.1 gpsd.init, NONE, 1.1 gpsd.rules, NONE, 1.1 gpsd.sysconfig, NONE, 1.1 python-pyexecdir-install-gpsd-2.38.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 gpsd.spec, 1.22, 1.23 sources, 1.7, 1.8 python-pyexecdir-install-gpsd-2.37.patch, 1.1, NONE zero.patch, 1.1, NONE
Douglas E. Warner
silfreed at fedoraproject.org
Mon Mar 16 13:55:11 UTC 2009
Author: silfreed
Update of /cvs/pkgs/rpms/gpsd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13005
Modified Files:
.cvsignore gpsd.spec sources
Added Files:
gpsd-logo.png gpsd.hotplug.wrapper gpsd.init gpsd.rules
gpsd.sysconfig python-pyexecdir-install-gpsd-2.38.patch
Removed Files:
python-pyexecdir-install-gpsd-2.37.patch zero.patch
Log Message:
* Mon Mar 16 2009 Douglas E. Warner <silfreed at silfreed.net> - 2.38-2
- updating to 2.38
- creating init script and sysconfig files
- migrating hotplug rules to udev + hotplug wrapper script from svn r5147
- updating pyexecdir patch
- fixing udev rule subsystem match
- Regression test load for RoyalTek RGM3800 and Blumax GPS-009 added
- Scaling on E error-estimate fields fixed to match O
- Listen on localhost only by default to avoid security problems; this can be
overridden with the -G command-line option
- The packet-state machine can now recognize RTCM3 packets, though support is
not yet complete
- Added support for ublox5 and mkt-3301 devices
- Add a wrapper around gpsd_hexdump to save CPU
- Lots of little fixes to various packet parsers
- Always keep the device open: "-n" is not optional any more
- xgpsspeed no longer depends on Motif
- gpsctl can now ship arbitrary payloads to a device;
It's possible to send binary through the control channel with the
new "&" command
- Experimental new driver for Novatel SuperStarII
- The 'g' mode switch command now requires, and returns, 'rtcm104v2' rather
than 'rtcm104'; this is design forward for when RTCM104v2 is fully working
***** Error reading new file: [Errno 2] No such file or directory: 'gpsd.hotplug.wrapper'
--- NEW FILE gpsd.init ---
#!/bin/sh
#
# gpsd Service daemon for mediating access to a GPS
#
# chkconfig: - 44 66
# description: gpsd is a service daemon that mediates access to a GPS sensor \
# connected to the host computer by serial or USB interface, \
# making its data on the location/course/velocity of the sensor \
# available to be queried on TCP port 2947 of the host computer.
# processname: gpsd
# pidfile: /var/run/gpsd.pid
# http://fedoraproject.org/wiki/FCNewInit/Initscripts
### BEGIN INIT INFO
# Provides: gpsd
# Required-Start: network
# Required-Stop: network
# Should-Start:
# Should-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: Service daemon for mediating access to a GPS
# Description: gpsd is a service daemon that mediates access to a GPS sensor
# connected to the host computer by serial or USB interface, making its
# data on the location/course/velocity of the sensor available to be
# queried on TCP port 2947 of the host computer.
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
exec="/usr/bin/gpsd"
prog=$(basename $exec)
PIDFILE=/var/run/gpsd.pid
CONTROL_SOCKET=/var/run/gpsd.sock
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
OPTIONS="-n"
DEVICE="/dev/ttyUSB0"
lockfile=/var/lock/subsys/$prog
start() {
echo -n $"Starting $prog: "
daemon $exec -p $PIDFILE -F $CONTROL_SOCKET $OPTIONS $DEVICE
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
case "$1" in
start|stop|restart)
$1
;;
force-reload)
restart
;;
status)
status $prog
;;
try-restart|condrestart)
if status $prog >/dev/null ; then
restart
fi
;;
reload)
status $prog >/dev/null || exit 7
# If config can be reloaded without restarting, implement it here,
# remove the "exit", and add "reload" to the usage message below.
action $"Service $prog does not support the reload action: " /bin/false
exit 3
;;
*)
echo $"Usage: $0 {start|stop|status|restart|try-restart|force-reload}"
exit 2
esac
***** Error reading new file: [Errno 2] No such file or directory: 'gpsd.rules'
--- NEW FILE gpsd.sysconfig ---
OPTIONS="-n"
DEVICE="/dev/ttyUSB0"
python-pyexecdir-install-gpsd-2.38.patch:
--- NEW FILE python-pyexecdir-install-gpsd-2.38.patch ---
diff -ruN gpsd-2.38-orig/Makefile.in gpsd-2.38/Makefile.in
--- gpsd-2.38-orig/Makefile.in 2009-02-10 15:44:43.000000000 -0500
+++ gpsd-2.38/Makefile.in 2009-02-12 11:04:18.000000000 -0500
@@ -75,7 +75,7 @@
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
"$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" \
- "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(pythondir)" \
+ "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(pyexecdir)" \
"$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \
"$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \
"$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" \
@@ -1005,21 +1005,21 @@
-rm -f libtool
install-nodist_pythonPYTHON: $(nodist_python_PYTHON)
@$(NORMAL_INSTALL)
- test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)"
+ test -z "$(pyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pyexecdir)"
@list='$(nodist_python_PYTHON)'; dlist=''; for p in $$list; do\
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
if test -f $$b$$p; then \
f=$(am__strip_dir) \
dlist="$$dlist $$f"; \
- echo " $(nodist_pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \
- $(nodist_pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \
+ echo " $(nodist_pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \
+ $(nodist_pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \
else :; fi; \
done; \
if test -n "$$dlist"; then \
if test -z "$(DESTDIR)"; then \
- PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \
+ PYTHON=$(PYTHON) $(py_compile) --basedir "$(pyexecdir)" $$dlist; \
else \
- PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \
+ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pyexecdir)" $$dlist; \
fi; \
else :; fi
@@ -1027,27 +1027,27 @@
@$(NORMAL_UNINSTALL)
@list='$(nodist_python_PYTHON)'; dlist=''; for p in $$list; do\
f=$(am__strip_dir) \
- rm -f "$(DESTDIR)$(pythondir)/$$f"; \
- rm -f "$(DESTDIR)$(pythondir)/$${f}c"; \
- rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \
+ rm -f "$(DESTDIR)$(pyexecdir)/$$f"; \
+ rm -f "$(DESTDIR)$(pyexecdir)/$${f}c"; \
+ rm -f "$(DESTDIR)$(pyexecdir)/$${f}o"; \
done
install-pythonPYTHON: $(python_PYTHON)
@$(NORMAL_INSTALL)
- test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)"
+ test -z "$(pyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pyexecdir)"
@list='$(python_PYTHON)'; dlist=''; for p in $$list; do\
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
if test -f $$b$$p; then \
f=$(am__strip_dir) \
dlist="$$dlist $$f"; \
- echo " $(pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \
- $(pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \
+ echo " $(pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \
+ $(pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \
else :; fi; \
done; \
if test -n "$$dlist"; then \
if test -z "$(DESTDIR)"; then \
- PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \
+ PYTHON=$(PYTHON) $(py_compile) --basedir "$(pyexecdir)" $$dlist; \
else \
- PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \
+ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pyexecdir)" $$dlist; \
fi; \
else :; fi
@@ -1055,9 +1055,9 @@
@$(NORMAL_UNINSTALL)
@list='$(python_PYTHON)'; dlist=''; for p in $$list; do\
f=$(am__strip_dir) \
- rm -f "$(DESTDIR)$(pythondir)/$$f"; \
- rm -f "$(DESTDIR)$(pythondir)/$${f}c"; \
- rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \
+ rm -f "$(DESTDIR)$(pyexecdir)/$$f"; \
+ rm -f "$(DESTDIR)$(pyexecdir)/$${f}c"; \
+ rm -f "$(DESTDIR)$(pyexecdir)/$${f}o"; \
done
install-man1: $(man1_MANS) $(man_MANS)
@$(NORMAL_INSTALL)
@@ -1478,7 +1478,7 @@
install-binPROGRAMS: install-libLTLIBRARIES
installdirs:
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gpsd/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore 28 Feb 2008 18:51:06 -0000 1.7
+++ .cvsignore 16 Mar 2009 13:54:40 -0000 1.8
@@ -1,2 +1 @@
-gpsd-2.37.tar.gz
-gpsd-logo.png
+gpsd-2.38.tar.gz
Index: gpsd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gpsd/devel/gpsd.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- gpsd.spec 25 Feb 2009 00:42:26 -0000 1.22
+++ gpsd.spec 16 Mar 2009 13:54:41 -0000 1.23
@@ -1,8 +1,8 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: gpsd
-Version: 2.37
-Release: 4%{?dist}
+Version: 2.38
+Release: 2%{?dist}
Summary: Service daemon for mediating access to a GPS
Group: System Environment/Daemons
@@ -12,14 +12,18 @@
Source1: xgps.desktop
Source2: xgpsspeed.desktop
Source3: gpsd-logo.png
-Patch0: python-pyexecdir-install-gpsd-2.37.patch
-Patch1: zero.patch
+Source10: gpsd.init
+Source11: gpsd.sysconfig
+Source20: gpsd.rules
+Source21: gpsd.hotplug.wrapper
+Patch0: python-pyexecdir-install-gpsd-2.38.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-devel dbus-glib-devel ncurses-devel xmlto python-devel
BuildRequires: lesstif-devel libXaw-devel desktop-file-utils
BuildRequires: python
+Requires: udev
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@@ -64,7 +68,6 @@
%prep
%setup -q
%patch0 -p1
-%patch1 -p0
%build
@@ -84,10 +87,24 @@
%{__install} -p -m 0644 xgpsspeed.ad \
%{buildroot}%{_datadir}/X11/app-defaults/xgpsspeed
+# init scripts
+%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/init.d
+%{__install} -p -m 0644 %{SOURCE10} \
+ %{buildroot}%{_sysconfdir}/init.d/gpsd
+
+%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
+%{__install} -p -m 0644 %{SOURCE11} \
+ %{buildroot}%{_sysconfdir}/sysconfig/gpsd
+
+# udev rules
+%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/udev/rules.d
+%{__install} -p -m 0644 %{SOURCE20} \
+ %{buildroot}%{_sysconfdir}/udev/rules.d/99-gpsd.rules
+
# hotplug script
-%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/hotplug.d/usb
-%{__install} -p -m 0644 gpsd.hotplug gpsd.usermap \
- %{buildroot}%{_sysconfdir}/hotplug.d/usb/
+%{__install} -d -m 0755 %{buildroot}/lib/udev
+%{__install} -p -m 0755 gpsd.hotplug %{SOURCE21} \
+ %{buildroot}/lib/udev
# remove .la files
rm -f %{buildroot}%{_libdir}/libgps.la
@@ -126,19 +143,23 @@
%files
%defattr(-,root,root,-)
%doc README INSTALL COPYING
+%config(noreplace) %{_sysconfdir}/init.d/%{name}
+%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
+%config(noreplace) %{_sysconfdir}/udev/rules.d/*
%{_sbindir}/gpsd
%{_bindir}/gpsprof
%{_bindir}/sirfmon
%{_bindir}/gpsctl
%{_libdir}/libgps.so.*
+/lib/udev/gpsd*
%{python_sitearch}/gps.py*
+%{python_sitearch}/gpscap.py*
+%{python_sitearch}/gpslib.so
%{python_sitearch}/gpspacket.so
%{_mandir}/man8/gpsd.8*
%{_mandir}/man1/gpsprof.1*
%{_mandir}/man1/sirfmon.1*
%{_mandir}/man1/gpsctl.1*
-%{_sysconfdir}/hotplug.d/usb/gpsd.hotplug
-%{_sysconfdir}/hotplug.d/usb/gpsd.usermap
%files devel
%defattr(-,root,root,-)
@@ -166,6 +187,7 @@
%{_bindir}/xgps
%{_bindir}/xgpsspeed
%{_bindir}/cgps
+%{_bindir}/gpsdlcdd
%{_bindir}/gpspipe
%{_bindir}/gpxlogger
%{_bindir}/cgpxlogger
@@ -185,6 +207,30 @@
%changelog
+* Mon Mar 16 2009 Douglas E. Warner <silfreed at silfreed.net> - 2.38-2
+- updating to 2.38
+- creating init script and sysconfig files
+- migrating hotplug rules to udev + hotplug wrapper script from svn r5147
+- updating pyexecdir patch
+- fixing udev rule subsystem match
+- Regression test load for RoyalTek RGM3800 and Blumax GPS-009 added
+- Scaling on E error-estimate fields fixed to match O
+- Listen on localhost only by default to avoid security problems; this can be
+ overridden with the -G command-line option
+- The packet-state machine can now recognize RTCM3 packets, though support is
+ not yet complete
+- Added support for ublox5 and mkt-3301 devices
+- Add a wrapper around gpsd_hexdump to save CPU
+- Lots of little fixes to various packet parsers
+- Always keep the device open: "-n" is not optional any more
+- xgpsspeed no longer depends on Motif
+- gpsctl can now ship arbitrary payloads to a device;
+ It's possible to send binary through the control channel with the
+ new "&" command
+- Experimental new driver for Novatel SuperStarII
+- The 'g' mode switch command now requires, and returns, 'rtcm104v2' rather
+ than 'rtcm104'; this is design forward for when RTCM104v2 is fully working
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.37-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
@@ -193,7 +239,6 @@
* Wed Mar 19 2008 Douglas E. Warner <silfreed at silfreed.net> - 2.37-2
- moving gpspacket.so python lib to main package
-- adding zero.patch to make ZEROIZE error go away on fedora 7
* Wed Feb 27 2008 Douglas E. Warner <silfreed at silfreed.net> - 2.37-1
- update to 2.37
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gpsd/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources 28 Feb 2008 18:51:06 -0000 1.7
+++ sources 16 Mar 2009 13:54:41 -0000 1.8
@@ -1,3 +1 @@
-6c96cc0b2df0279cb7baac1ebc5881d3 gpsd-2.37.tar.gz
-f742145dff43d607f7014aa387835738 gpsd-logo.png
-
+725c320ca6fa35bcdaa1de2d8908f392 gpsd-2.38.tar.gz
--- python-pyexecdir-install-gpsd-2.37.patch DELETED ---
--- zero.patch DELETED ---
More information about the fedora-extras-commits
mailing list