summaryrefslogtreecommitdiff
path: root/gis/gpsd
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-15 12:36:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-20 20:04:12 +0700
commitd505a40e45ce973ff0985e05efb85f273f2a0080 (patch)
treeb2849635c5384be178939626f85889763acc9fc1 /gis/gpsd
parentb6f5fde615af3d3a140dc1ddba603f1325a1dca4 (diff)
downloadslackbuilds-d505a40e45ce973ff0985e05efb85f273f2a0080.tar.gz
gis/gpsd: Fix perms, add missed file.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'gis/gpsd')
-rw-r--r--gis/gpsd/gpsd.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/gis/gpsd/gpsd.SlackBuild b/gis/gpsd/gpsd.SlackBuild
index f43a5d0f79..c8eaf0623c 100644
--- a/gis/gpsd/gpsd.SlackBuild
+++ b/gis/gpsd/gpsd.SlackBuild
@@ -89,7 +89,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# g++ may throw an 'internal compiler error' in the QT bindings.
# *Nothing* actually uses this, but you can enable it by deleting
@@ -110,6 +110,12 @@ scons \
--implicit-deps-unchanged \
install
+# Fix daft permission from upstream
+chmod 755 $PKG/usr/bin/gpsprof
+# Add a missed file
+install -m 0644 gpsinit \
+ $PKG/usr/sbin/gpsinit
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# libQgpsmm == qt bindings == not built, so remove the manpage: