aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorChris Abela <chris.abela@maltats.com>2010-03-03 14:25:54 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:25:21 +0200
commitf55095f551a08953088bf95507efaceedf30db35 (patch)
tree42200c60d41b2e52dde4b4a11e247fd7f3a6dc00 /system
parent22d24bf4dc8872f39e60e3f87535904f572d1c54 (diff)
system/davfs2: Build bump.
Fixed location of symlinks. Thanks to Chris Abela.
Diffstat (limited to 'system')
-rw-r--r--system/davfs2/davfs2.SlackBuild13
-rw-r--r--system/davfs2/davfs2.info2
2 files changed, 13 insertions, 2 deletions
diff --git a/system/davfs2/davfs2.SlackBuild b/system/davfs2/davfs2.SlackBuild
index f5e3c98c4cd67..b9107eb5d0213 100644
--- a/system/davfs2/davfs2.SlackBuild
+++ b/system/davfs2/davfs2.SlackBuild
@@ -21,7 +21,7 @@
PRGNAM=davfs2
VERSION=${VERSION:-1.4.5}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
DAVFS2_USER=${DAVFS2_USER:-davfs2}
@@ -107,6 +107,17 @@ mv $PKG/etc/davfs2/secrets $PKG/etc/davfs2/secrets.new
# --docdir is respected, but we'll add the build script
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# davfs2 autobuild places mount.davfs and umount.davfs in /usr/sbin
+# and places symlinks in /sbin. In Slackware, our mount backends
+# only belong in /sbin, so let's put them there and adjust the links
+( cd $PKG/usr/sbin
+ for i in * ; do
+ mv $i ../../sbin
+ ln -s ../../sbin/$i $i
+ done
+)
+
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/davfs2/davfs2.info b/system/davfs2/davfs2.info
index 61a2c1f7f9a96..11a7488911a1d 100644
--- a/system/davfs2/davfs2.info
+++ b/system/davfs2/davfs2.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Chris Abela"
EMAIL="chris.abela@maltats.com"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"