[Lunar-commits] <moonbase> gpsd: Version bump to 3.3.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Nov 1 11:29:54 CET 2011


commit b05b82f5463783fc3f27a716c2d05fc1d5886a0e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Nov 1 06:29:54 2011 -0400

    gpsd: Version bump to 3.3.
    
    I don't have a gpsd device anymore so the init.d/system stuff is not
    tested.
---
 science/gpsd/BUILD                  |   11 ++++++-----
 science/gpsd/DEPENDS                |   13 +++++++++++--
 science/gpsd/DETAILS                |    9 ++++-----
 science/gpsd/systemd.d/gpsd.service |    9 +++++++++
 science/gpsd/systemd.d/gpsd.socket  |    9 +++++++++
 5 files changed, 39 insertions(+), 12 deletions(-)

diff --git a/science/gpsd/BUILD b/science/gpsd/BUILD
index 7ecb7b0..1e7361e 100644
--- a/science/gpsd/BUILD
+++ b/science/gpsd/BUILD
@@ -1,10 +1,11 @@
 (
 
-  OPTS+=" --enable-itrax --disable-tnt --enable-dbus" &&
+  scons prefix=/usr &&
+  prepare_install   &&
+  scons install     &&
 
-  default_build &&
-
-#Temp fix. It forgets to copy this.
-  cp -f gpsd_config.h /usr/include/
+  if in_depends $MODULE udev; then
+    scons udev-install
+  fi 
 
 ) > $C_FIFO 2>&1
diff --git a/science/gpsd/DEPENDS b/science/gpsd/DEPENDS
index 8109cde..f4e2c2b 100644
--- a/science/gpsd/DEPENDS
+++ b/science/gpsd/DEPENDS
@@ -1,2 +1,11 @@
-depends dbus
-depends dbus-glib
+depends chrpath
+depends scons
+
+optional_depends "ncurses"       "" "" "for ncurses terminal support"
+optional_depends "udev"          "" "" "for udev (hotplug) support"
+optional_depends "dbus"          "" "" "for dbus support"
+optional_depends "libusb-compat" "" "" "for usb device support"
+optional_depends "qt4"           "" "" "for Qt C++ wrapper support"
+optional_depends "docbook-xsl"   "" "" "for man page document support"
+optional_depends "%PHP"          "" "" "for web page display support"
+optional_depends "systemd"       "" "" "for systemd support (gpsd by default is systemd capable)"
diff --git a/science/gpsd/DETAILS b/science/gpsd/DETAILS
index 3da1270..73a6ac7 100644
--- a/science/gpsd/DETAILS
+++ b/science/gpsd/DETAILS
@@ -1,12 +1,11 @@
           MODULE=gpsd
-         VERSION=2.95
+         VERSION=3.3
           SOURCE=$MODULE-$VERSION.tar.gz
-   SOURCE_URL[0]=http://download.berlios.de/$MODULE/
-   SOURCE_URL[1]=http://download2.berlios.de/$MODULE/
-      SOURCE_VFY=sha1:af1f575c8ec3a2db7a71c35f2296fd339a4a1ff3
+   SOURCE_URL[0]=http://download.savannah.gnu.org/releases/gpsd/
+      SOURCE_VFY=sha1:82a2ffe825c30c2152f2696221dbeeb82a4e9dd5
         WEB_SITE=http://gpsd.berlios.de/
          ENTERED=20070609
-         UPDATED=20101212
+         UPDATED=20111101
            SHORT="daemon that monitors one or more GPSes"
 
 cat << EOF
diff --git a/science/gpsd/systemd.d/gpsd.service b/science/gpsd/systemd.d/gpsd.service
new file mode 100644
index 0000000..030b92a
--- /dev/null
+++ b/science/gpsd/systemd.d/gpsd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=GPS (Global Positioning System) Daemon
+
+[Service]
+type=simple
+ExecStart=/usr/bin/gpsd -N
+
+[Install]
+Also=gpsd.socket
diff --git a/science/gpsd/systemd.d/gpsd.socket b/science/gpsd/systemd.d/gpsd.socket
new file mode 100644
index 0000000..13c17f2
--- /dev/null
+++ b/science/gpsd/systemd.d/gpsd.socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=GPS (Global Positioning System) Daemon Sockets
+
+[Socket]
+ListenStream=/var/run/gpsd.sock
+ListenStream=127.0.0.1:2947
+
+[Install]
+WantedBy=sockets.target


More information about the Lunar-commits mailing list