diff options
Diffstat (limited to 'system/davfs2/davfs2.SlackBuild')
-rw-r--r-- | system/davfs2/davfs2.SlackBuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/system/davfs2/davfs2.SlackBuild b/system/davfs2/davfs2.SlackBuild index f5e3c98c4cd6..b9107eb5d021 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 |