[arch-commits] Commit in gpsd/trunk (PKGBUILD gpsd gpsd.install)

Tom Gundersen tomegun at archlinux.org
Sat Jun 9 19:55:52 UTC 2012


    Date: Saturday, June 9, 2012 @ 15:55:51
  Author: tomegun
Revision: 161332

upgpkg: gpsd 3.6-1

upstream update

added systemd files, so part of the big systemd-arch-units decomposition

Modified:
  gpsd/trunk/PKGBUILD
  gpsd/trunk/gpsd
  gpsd/trunk/gpsd.install

--------------+
 PKGBUILD     |   11 +++++++----
 gpsd         |    9 ++++-----
 gpsd.install |    5 -----
 3 files changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-09 18:33:39 UTC (rev 161331)
+++ PKGBUILD	2012-06-09 19:55:51 UTC (rev 161332)
@@ -5,7 +5,7 @@
 # Contributor: Giacomo Rizzo <alt at free-os.it>
 
 pkgname=gpsd
-pkgver=3.5
+pkgver=3.6
 pkgrel=1
 pkgdesc="GPS daemon and library to support USB/serial GPS devices"
 arch=('i686' 'x86_64')
@@ -72,9 +72,12 @@
 
   install -D -m755 "${srcdir}/gpsd" "${pkgdir}/etc/rc.d/gpsd"
 
+  install -D -m644 systemd/gpsd.service "${pkgdir}/usr/lib/systemd/system/gpsd.service"
+  install -D -m644 systemd/gpsd.socket "${pkgdir}/usr/lib/systemd/system/gpsd.socket"
+
   install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-md5sums=('e96881798a0ab67aa3cd5f3249f0e536'
-         'f6b3718b205be7853d49bae6ef587853'
-         '1f3402f8e33a7032b9ae6dfd077234f7'
+md5sums=('064a5ad75593f8c3ea3fe85010647832'
+         '6473da46f6bad52d38f88670f84cd92b'
+         '6602d04bb037bc500424f00f24f58837'
          '3e963df3f9f7ef3572ecc648ae829315')

Modified: gpsd
===================================================================
--- gpsd	2012-06-09 18:33:39 UTC (rev 161331)
+++ gpsd	2012-06-09 19:55:51 UTC (rev 161332)
@@ -5,15 +5,14 @@
 [ -f /etc/conf.d/gpsd ] && . /etc/conf.d/gpsd
 
 NAME=gpsd
-DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME/$NAME.pid
+DAEMON=/usr/sbin/gpsd
+PIDFILE=/run/gpsd.pid
 PID=$(cat $PIDFILE 2>/dev/null)
 
 case "$1" in
    start)
-	stat_busy "Starting $NAME"
-	[ ! -d /var/run/$NAME ] && install -d /var/run/$NAME
-	[ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /var/run/$NAME/$NAME.sock ${GPSD_OPTIONS} ${DEVICES}
+	stat_busy "Starting gpsd"
+	[ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /run/gpsd.sock ${GPSD_OPTIONS} ${DEVICES}
 	if [ $? -gt 0 ]; then
 		stat_fail
 	else

Modified: gpsd.install
===================================================================
--- gpsd.install	2012-06-09 18:33:39 UTC (rev 161331)
+++ gpsd.install	2012-06-09 19:55:51 UTC (rev 161332)
@@ -1,9 +1,4 @@
 post_install() {
-    echo ">>> Note: the supplied gpsd udev rules are device-specific, so"
-    echo ">>> if your device isn't detected correctly, please use lsusb or"
-    echo ">>> another suitable tool to determine the proper device IDs and"
-    echo ">>> use the commented rules to fill in the blanks for your device."
-
     update-desktop-database -q
 }
 




More information about the arch-commits mailing list