[arch-commits] Commit in gpsd/repos (14 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Jan 18 17:40:19 UTC 2015
Date: Sunday, January 18, 2015 @ 18:40:19
Author: bpiotrowski
Revision: 229536
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
gpsd/repos/extra-i686/PKGBUILD
(from rev 229535, gpsd/trunk/PKGBUILD)
gpsd/repos/extra-i686/gpsd-3.11-gpsdctl-service.patch
(from rev 229535, gpsd/trunk/gpsd-3.11-gpsdctl-service.patch)
gpsd/repos/extra-i686/gpsd.conf
(from rev 229535, gpsd/trunk/gpsd.conf)
gpsd/repos/extra-i686/gpsd.install
(from rev 229535, gpsd/trunk/gpsd.install)
gpsd/repos/extra-x86_64/PKGBUILD
(from rev 229535, gpsd/trunk/PKGBUILD)
gpsd/repos/extra-x86_64/gpsd-3.11-gpsdctl-service.patch
(from rev 229535, gpsd/trunk/gpsd-3.11-gpsdctl-service.patch)
gpsd/repos/extra-x86_64/gpsd.conf
(from rev 229535, gpsd/trunk/gpsd.conf)
gpsd/repos/extra-x86_64/gpsd.install
(from rev 229535, gpsd/trunk/gpsd.install)
Deleted:
gpsd/repos/extra-i686/PKGBUILD
gpsd/repos/extra-i686/gpsd.conf
gpsd/repos/extra-i686/gpsd.install
gpsd/repos/extra-x86_64/PKGBUILD
gpsd/repos/extra-x86_64/gpsd.conf
gpsd/repos/extra-x86_64/gpsd.install
----------------------------------------------+
/PKGBUILD | 184 +++++++++++++++++++++++++
/gpsd.conf | 10 +
/gpsd.install | 22 ++
extra-i686/PKGBUILD | 89 ------------
extra-i686/gpsd-3.11-gpsdctl-service.patch | 18 ++
extra-i686/gpsd.conf | 5
extra-i686/gpsd.install | 11 -
extra-x86_64/PKGBUILD | 89 ------------
extra-x86_64/gpsd-3.11-gpsdctl-service.patch | 18 ++
extra-x86_64/gpsd.conf | 5
extra-x86_64/gpsd.install | 11 -
11 files changed, 252 insertions(+), 210 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2015-01-18 17:39:52 UTC (rev 229535)
+++ extra-i686/PKGBUILD 2015-01-18 17:40:19 UTC (rev 229536)
@@ -1,89 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Giacomo Rizzo <alt at free-os.it>
-
-pkgname=gpsd
-pkgver=3.11
-pkgrel=3
-pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
-url="http://catb.org/gpsd/"
-license=('BSD')
-depends=('python2' 'libusb' 'bluez-libs' 'desktop-file-utils')
-optdepends=('php: generate a PHP status page for your GPS'
- 'php-gd: image support for the PHP status page'
- 'pygtk: GUI frontends')
-makedepends=('scons' 'docbook-xsl' 'chrpath')
-backup=('etc/gpsd.conf')
-install="${pkgname}.install"
-source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
- 'gpsd.conf')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # fix python 2.7 path
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
- gpscat gpsfake gpsprof xgps xgpsspeed
-
- sed -i 's/sbin/bin/g' systemd/*.service
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- scons prefix=/usr \
- systemd=yes \
- libQgpsmm=no \
- gpsd_group=uucp \
- PYTHONPATH=/usr/bin/python2 \
- sbindir=/usr/bin
- scons build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Fix man pages path (FS#21715)
- sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
-
- export DESTDIR="${pkgdir}"
- scons install
-
- install -D -m644 "${srcdir}/gpsd.conf" "${pkgdir}/etc/gpsd.conf"
-
- install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
-
- 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.so.21.0.0
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.22.0.0
- chrpath -r /usr/lib/ \
- "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps,cgps,gpsmon} \
- "${pkgdir}"/usr/bin/{gpsd,gpsdctl,gps2udp}
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
-
- install -D -m644 packaging/X11/xgps.desktop \
- "${pkgdir}/usr/share/applications/xgps.desktop"
- install -D -m644 packaging/X11/xgpsspeed.desktop \
- "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
- install -D -m644 packaging/X11/gpsd-logo.png \
- "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
-
- 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 systemd/gpsdctl at .service "${pkgdir}/usr/lib/systemd/system/gpsdctl at .service"
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-md5sums=('ba28369992886fccb85ce560e4727e20'
- 'SKIP'
- '3e963df3f9f7ef3572ecc648ae829315')
Copied: gpsd/repos/extra-i686/PKGBUILD (from rev 229535, gpsd/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Giacomo Rizzo <alt at free-os.it>
+
+pkgname=gpsd
+pkgver=3.11
+pkgrel=4
+pkgdesc="GPS daemon and library to support USB/serial GPS devices"
+arch=('i686' 'x86_64')
+url="http://catb.org/gpsd/"
+license=('BSD')
+depends=('python2' 'libusb' 'bluez-libs' 'desktop-file-utils')
+optdepends=('php: generate a PHP status page for your GPS'
+ 'php-gd: image support for the PHP status page'
+ 'pygtk: GUI frontends')
+makedepends=('scons' 'docbook-xsl' 'chrpath' 'hardening-wrapper')
+backup=('etc/gpsd.conf')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'gpsd.conf'
+ 'gpsd-3.11-gpsdctl-service.patch')
+validpgpkeys=('3CE764D4FAFF5FA810B203BFADF516D38421F11C') # Eric S. Raymond
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix python 2.7 path
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find . -name '*.py')
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
+ gpscat gpsfake gpsprof xgps xgpsspeed
+
+ sed -i 's/sbin/bin/g' systemd/*.service
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ scons prefix=/usr \
+ systemd=yes \
+ libQgpsmm=no \
+ gpsd_group=uucp \
+ PYTHONPATH=/usr/bin/python2 \
+ sbindir=/usr/bin
+ scons build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix man pages path (FS#21715)
+ sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
+
+ export DESTDIR="${pkgdir}"
+ scons install
+
+ install -D -m644 "${srcdir}/gpsd.conf" "${pkgdir}/etc/gpsd.conf"
+
+ install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+
+ 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.so.21.0.0
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.22.0.0
+ chrpath -r /usr/lib/ \
+ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps,cgps,gpsmon} \
+ "${pkgdir}"/usr/bin/{gpsd,gpsdctl,gps2udp}
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
+
+ install -D -m644 packaging/X11/xgps.desktop \
+ "${pkgdir}/usr/share/applications/xgps.desktop"
+ install -D -m644 packaging/X11/xgpsspeed.desktop \
+ "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
+ install -D -m644 packaging/X11/gpsd-logo.png \
+ "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
+
+ 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 systemd/gpsdctl at .service "${pkgdir}/usr/lib/systemd/system/gpsdctl at .service"
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+md5sums=('ba28369992886fccb85ce560e4727e20'
+ 'SKIP'
+ '3e963df3f9f7ef3572ecc648ae829315'
+ '45932e924a0a415ce3c82d8a118fd7be')
Copied: gpsd/repos/extra-i686/gpsd-3.11-gpsdctl-service.patch (from rev 229535, gpsd/trunk/gpsd-3.11-gpsdctl-service.patch)
===================================================================
--- extra-i686/gpsd-3.11-gpsdctl-service.patch (rev 0)
+++ extra-i686/gpsd-3.11-gpsdctl-service.patch 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,18 @@
+diff --git a/systemd/gpsdctl at .service b/systemd/gpsdctl at .service
+index 58c5176..3d1590d 100644
+--- a/systemd/gpsdctl at .service
++++ b/systemd/gpsdctl at .service
+@@ -6,8 +6,9 @@ After=dev-%i.device
+
+ [Service]
+ Type=oneshot
+-Environment="GPSD_SOCKET=/var/run/gpsd.sock"
+-EnvironmentFile=-/etc/default/gpsd
++EnvironmentFile=/etc/gpsd.conf
+ RemainAfterExit=yes
+-ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :"
+-ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl remove /dev/%I || :"
++
++ExecStartPre=/usr/bin/chmod a+rw /dev/%I
++ExecStart=/usr/bin/gpsdctl add /dev/%I
++ExecStop=/usr/bin/gpsdctl remove /dev/%I
Deleted: extra-i686/gpsd.conf
===================================================================
--- extra-i686/gpsd.conf 2015-01-18 17:39:52 UTC (rev 229535)
+++ extra-i686/gpsd.conf 2015-01-18 17:40:19 UTC (rev 229536)
@@ -1,5 +0,0 @@
-# Default settings for gpsd.
-START_DAEMON="true"
-GPSD_OPTIONS=""
-DEVICES=""
-USBAUTO="true"
Copied: gpsd/repos/extra-i686/gpsd.conf (from rev 229535, gpsd/trunk/gpsd.conf)
===================================================================
--- extra-i686/gpsd.conf (rev 0)
+++ extra-i686/gpsd.conf 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"
Deleted: extra-i686/gpsd.install
===================================================================
--- extra-i686/gpsd.install 2015-01-18 17:39:52 UTC (rev 229535)
+++ extra-i686/gpsd.install 2015-01-18 17:40:19 UTC (rev 229536)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- update-desktop-database -q
-}
-
-post_remove() {
- update-desktop-database -q
-}
Copied: gpsd/repos/extra-i686/gpsd.install (from rev 229535, gpsd/trunk/gpsd.install)
===================================================================
--- extra-i686/gpsd.install (rev 0)
+++ extra-i686/gpsd.install 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2015-01-18 17:39:52 UTC (rev 229535)
+++ extra-x86_64/PKGBUILD 2015-01-18 17:40:19 UTC (rev 229536)
@@ -1,89 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Giacomo Rizzo <alt at free-os.it>
-
-pkgname=gpsd
-pkgver=3.11
-pkgrel=3
-pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
-url="http://catb.org/gpsd/"
-license=('BSD')
-depends=('python2' 'libusb' 'bluez-libs' 'desktop-file-utils')
-optdepends=('php: generate a PHP status page for your GPS'
- 'php-gd: image support for the PHP status page'
- 'pygtk: GUI frontends')
-makedepends=('scons' 'docbook-xsl' 'chrpath')
-backup=('etc/gpsd.conf')
-install="${pkgname}.install"
-source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
- 'gpsd.conf')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # fix python 2.7 path
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
- gpscat gpsfake gpsprof xgps xgpsspeed
-
- sed -i 's/sbin/bin/g' systemd/*.service
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- scons prefix=/usr \
- systemd=yes \
- libQgpsmm=no \
- gpsd_group=uucp \
- PYTHONPATH=/usr/bin/python2 \
- sbindir=/usr/bin
- scons build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Fix man pages path (FS#21715)
- sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
-
- export DESTDIR="${pkgdir}"
- scons install
-
- install -D -m644 "${srcdir}/gpsd.conf" "${pkgdir}/etc/gpsd.conf"
-
- install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
-
- 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.so.21.0.0
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.22.0.0
- chrpath -r /usr/lib/ \
- "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps,cgps,gpsmon} \
- "${pkgdir}"/usr/bin/{gpsd,gpsdctl,gps2udp}
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
-
- install -D -m644 packaging/X11/xgps.desktop \
- "${pkgdir}/usr/share/applications/xgps.desktop"
- install -D -m644 packaging/X11/xgpsspeed.desktop \
- "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
- install -D -m644 packaging/X11/gpsd-logo.png \
- "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
-
- 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 systemd/gpsdctl at .service "${pkgdir}/usr/lib/systemd/system/gpsdctl at .service"
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-md5sums=('ba28369992886fccb85ce560e4727e20'
- 'SKIP'
- '3e963df3f9f7ef3572ecc648ae829315')
Copied: gpsd/repos/extra-x86_64/PKGBUILD (from rev 229535, gpsd/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Giacomo Rizzo <alt at free-os.it>
+
+pkgname=gpsd
+pkgver=3.11
+pkgrel=4
+pkgdesc="GPS daemon and library to support USB/serial GPS devices"
+arch=('i686' 'x86_64')
+url="http://catb.org/gpsd/"
+license=('BSD')
+depends=('python2' 'libusb' 'bluez-libs' 'desktop-file-utils')
+optdepends=('php: generate a PHP status page for your GPS'
+ 'php-gd: image support for the PHP status page'
+ 'pygtk: GUI frontends')
+makedepends=('scons' 'docbook-xsl' 'chrpath' 'hardening-wrapper')
+backup=('etc/gpsd.conf')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'gpsd.conf'
+ 'gpsd-3.11-gpsdctl-service.patch')
+validpgpkeys=('3CE764D4FAFF5FA810B203BFADF516D38421F11C') # Eric S. Raymond
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix python 2.7 path
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find . -name '*.py')
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
+ gpscat gpsfake gpsprof xgps xgpsspeed
+
+ sed -i 's/sbin/bin/g' systemd/*.service
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ scons prefix=/usr \
+ systemd=yes \
+ libQgpsmm=no \
+ gpsd_group=uucp \
+ PYTHONPATH=/usr/bin/python2 \
+ sbindir=/usr/bin
+ scons build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix man pages path (FS#21715)
+ sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
+
+ export DESTDIR="${pkgdir}"
+ scons install
+
+ install -D -m644 "${srcdir}/gpsd.conf" "${pkgdir}/etc/gpsd.conf"
+
+ install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+
+ 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.so.21.0.0
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.22.0.0
+ chrpath -r /usr/lib/ \
+ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps,cgps,gpsmon} \
+ "${pkgdir}"/usr/bin/{gpsd,gpsdctl,gps2udp}
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
+
+ install -D -m644 packaging/X11/xgps.desktop \
+ "${pkgdir}/usr/share/applications/xgps.desktop"
+ install -D -m644 packaging/X11/xgpsspeed.desktop \
+ "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
+ install -D -m644 packaging/X11/gpsd-logo.png \
+ "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
+
+ 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 systemd/gpsdctl at .service "${pkgdir}/usr/lib/systemd/system/gpsdctl at .service"
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+md5sums=('ba28369992886fccb85ce560e4727e20'
+ 'SKIP'
+ '3e963df3f9f7ef3572ecc648ae829315'
+ '45932e924a0a415ce3c82d8a118fd7be')
Copied: gpsd/repos/extra-x86_64/gpsd-3.11-gpsdctl-service.patch (from rev 229535, gpsd/trunk/gpsd-3.11-gpsdctl-service.patch)
===================================================================
--- extra-x86_64/gpsd-3.11-gpsdctl-service.patch (rev 0)
+++ extra-x86_64/gpsd-3.11-gpsdctl-service.patch 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,18 @@
+diff --git a/systemd/gpsdctl at .service b/systemd/gpsdctl at .service
+index 58c5176..3d1590d 100644
+--- a/systemd/gpsdctl at .service
++++ b/systemd/gpsdctl at .service
+@@ -6,8 +6,9 @@ After=dev-%i.device
+
+ [Service]
+ Type=oneshot
+-Environment="GPSD_SOCKET=/var/run/gpsd.sock"
+-EnvironmentFile=-/etc/default/gpsd
++EnvironmentFile=/etc/gpsd.conf
+ RemainAfterExit=yes
+-ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :"
+-ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl remove /dev/%I || :"
++
++ExecStartPre=/usr/bin/chmod a+rw /dev/%I
++ExecStart=/usr/bin/gpsdctl add /dev/%I
++ExecStop=/usr/bin/gpsdctl remove /dev/%I
Deleted: extra-x86_64/gpsd.conf
===================================================================
--- extra-x86_64/gpsd.conf 2015-01-18 17:39:52 UTC (rev 229535)
+++ extra-x86_64/gpsd.conf 2015-01-18 17:40:19 UTC (rev 229536)
@@ -1,5 +0,0 @@
-# Default settings for gpsd.
-START_DAEMON="true"
-GPSD_OPTIONS=""
-DEVICES=""
-USBAUTO="true"
Copied: gpsd/repos/extra-x86_64/gpsd.conf (from rev 229535, gpsd/trunk/gpsd.conf)
===================================================================
--- extra-x86_64/gpsd.conf (rev 0)
+++ extra-x86_64/gpsd.conf 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"
Deleted: extra-x86_64/gpsd.install
===================================================================
--- extra-x86_64/gpsd.install 2015-01-18 17:39:52 UTC (rev 229535)
+++ extra-x86_64/gpsd.install 2015-01-18 17:40:19 UTC (rev 229536)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- update-desktop-database -q
-}
-
-post_remove() {
- update-desktop-database -q
-}
Copied: gpsd/repos/extra-x86_64/gpsd.install (from rev 229535, gpsd/trunk/gpsd.install)
===================================================================
--- extra-x86_64/gpsd.install (rev 0)
+++ extra-x86_64/gpsd.install 2015-01-18 17:40:19 UTC (rev 229536)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
More information about the arch-commits
mailing list