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

Tom Gundersen tomegun at nymeria.archlinux.org
Wed Apr 17 11:29:34 UTC 2013


    Date: Wednesday, April 17, 2013 @ 13:29:34
  Author: tomegun
Revision: 183076

upgpkg: gpsd 3.8-1

upstream release

Added:
  gpsd/trunk/gpsd.conf
    (from rev 183075, gpsd/trunk/gpsd.conf.d)
Modified:
  gpsd/trunk/PKGBUILD
Deleted:
  gpsd/trunk/gpsd
  gpsd/trunk/gpsd.conf.d

-------------+
 PKGBUILD    |   24 ++++++++++--------------
 gpsd        |   43 -------------------------------------------
 gpsd.conf   |    5 +++++
 gpsd.conf.d |    5 -----
 4 files changed, 15 insertions(+), 62 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-17 10:44:39 UTC (rev 183075)
+++ PKGBUILD	2013-04-17 11:29:34 UTC (rev 183076)
@@ -5,7 +5,7 @@
 # Contributor: Giacomo Rizzo <alt at free-os.it>
 
 pkgname=gpsd
-pkgver=3.7
+pkgver=3.8
 pkgrel=1
 pkgdesc="GPS daemon and library to support USB/serial GPS devices"
 arch=('i686' 'x86_64')
@@ -16,11 +16,11 @@
             'php-gd: image support for the PHP status page'
             'pygtk: GUI frontends')
 makedepends=('scons' 'docbook-xsl' 'chrpath')
-backup=('etc/conf.d/gpsd')
+backup=('etc/gpsd.conf')
 options=('!libtool')
 install="${pkgname}.install"
 source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
-        'gpsd' 'gpsd.conf.d')
+        'gpsd.conf')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -48,17 +48,16 @@
   export DESTDIR="${pkgdir}"
   scons install
 
-  install -D -m644 "${srcdir}/gpsd.conf.d" "${pkgdir}/etc/conf.d/gpsd"
+  install -D -m644 "${srcdir}/gpsd.conf" "${pkgdir}/etc/gpsd.conf"
 
-  sed -i 's|/lib/udev/gpsd|/usr/lib/udev/gpsd|' gpsd.rules
+  install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
 
-  install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/99-gpsd-usb.rules"
-
-  sed -i 's|/etc/default/gpsd|/etc/conf.d/gpsd|' gpsd.hotplug
+  sed -i 's|/etc/default/gpsd|/etc/gpsd|' gpsd.hotplug
   install -D -m755 gpsd.hotplug "${pkgdir}/usr/lib/udev/gpsd.hotplug"
 
   # GPSD needs RPATH
-  chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgps{,d}.so.20.0.0
+  chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgps.so.20.0.0
+  chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.21.0.0
   chrpath -r /usr/lib/ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps}
   chrpath -r /usr/lib/ "${pkgdir}"/usr/sbin/{gpsd,gpsdctl}
   chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
@@ -70,14 +69,11 @@
   install -D -m644 packaging/X11/gpsd-logo.png \
     "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
 
-  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=('52d9785eaf1a51298bb8900dbde88f98'
-         '07fa4bf23aa998dcb951790b63dbebff'
-         '6602d04bb037bc500424f00f24f58837'
+md5sums=('1a3177b907f25c0ce6d1a0aa22597270'
+         'SKIP'
          '3e963df3f9f7ef3572ecc648ae829315')

Deleted: gpsd
===================================================================
--- gpsd	2013-04-17 10:44:39 UTC (rev 183075)
+++ gpsd	2013-04-17 11:29:34 UTC (rev 183076)
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/gpsd ] && . /etc/conf.d/gpsd
-
-NAME=gpsd
-DAEMON=/usr/sbin/gpsd
-PIDFILE=/run/gpsd.pid
-PID=$(cat $PIDFILE 2>/dev/null)
-
-case "$1" in
-   start)
-	stat_busy "Starting gpsd"
-	[ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /run/gpsd.sock ${GPSD_OPTIONS} ${DEVICES}
-	if [ $? -gt 0 ]; then
-		stat_fail
-	else
-		add_daemon $NAME
-		stat_done
-	fi
-   ;;
-   stop)
-	stat_busy "Stopping $NAME"
-	[ ! -z "$PID" ]  && kill $PID &> /dev/null
-	if [ $? -gt 0 ]; then
-		stat_fail
-	else
-	    rm -f $PIDFILE &>/dev/null
-	    rm_daemon $NAME
-	    stat_done
-	fi
-   ;;
-
-   restart)
-	$0 stop
-	sleep 2
-	$0 start
-   ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: gpsd/trunk/gpsd.conf (from rev 183075, gpsd/trunk/gpsd.conf.d)
===================================================================
--- gpsd.conf	                        (rev 0)
+++ gpsd.conf	2013-04-17 11:29:34 UTC (rev 183076)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"

Deleted: gpsd.conf.d
===================================================================
--- gpsd.conf.d	2013-04-17 10:44:39 UTC (rev 183075)
+++ gpsd.conf.d	2013-04-17 11:29:34 UTC (rev 183076)
@@ -1,5 +0,0 @@
-# Default settings for gpsd.
-START_DAEMON="true"
-GPSD_OPTIONS=""
-DEVICES=""
-USBAUTO="true"




More information about the arch-commits mailing list