summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
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 f5e3c98c4c..b9107eb5d0 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 61a2c1f7f9..11a7488911 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"