diff options
Diffstat (limited to 'system/davfs2/davfs2.SlackBuild')
-rw-r--r-- | system/davfs2/davfs2.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/system/davfs2/davfs2.SlackBuild b/system/davfs2/davfs2.SlackBuild index 6b88f56417343..8e5385ac5e86c 100644 --- a/system/davfs2/davfs2.SlackBuild +++ b/system/davfs2/davfs2.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for davfs2 -# Copyright (c) 2008, Justin H Haynes <justin@justinhaynes.com> +# Copyright (c) 2012 Chris Abela, Malta +# Copyright (c) 2008, Justin H Haynes <justin@justinhaynes.com> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -19,19 +20,17 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=davfs2 -VERSION=${VERSION:-1.4.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.4.7} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} DAVFS2_USER=${DAVFS2_USER:-davfs2} DAVFS2_GROUP=${DAVFS2_GROUP:-davfs2} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -54,7 +53,7 @@ fi if ! grep ^$DAVFS2_USER: /etc/passwd > /dev/null 2>&1; then echo "$0: Error: DAVFS2 user ($DAVFS2_USER) doesn't exist." echo "$0: Try creating one with: \ - # useradd -u 230 -d /var/cache/davfs2 -g $DAVFS2_GROUP $DAVFS2_USER" + # useradd -u 230 -d /var/cache/davfs2 -g $DAVFS2_GROUP -s /bin/false $DAVFS2_USER" exit 1 fi @@ -108,11 +107,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ # Manpages go to the wrong place regardless of configure, so we'll move them: mv $PKG/usr/share/man $PKG/usr -# Let's not clobber config files +# Let's not clobber the system config files mv $PKG/etc/davfs2/davfs2.conf $PKG/etc/davfs2/davfs2.conf.new mv $PKG/etc/davfs2/secrets $PKG/etc/davfs2/secrets.new -# --docdir is respected, but we'll add the build script +cp -a ABOUT-NLS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # davfs2 autobuild places mount.davfs and umount.davfs in /usr/sbin @@ -125,7 +124,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild done ) - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |