summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/afuse/README5
-rw-r--r--system/afuse/afuse.SlackBuild7
-rw-r--r--system/afuse/afuse.info8
-rw-r--r--system/afuse/avoid-early-exit-in-afuse_releasedir.patch25
-rw-r--r--system/afuse/slack-desc4
5 files changed, 41 insertions, 8 deletions
diff --git a/system/afuse/README b/system/afuse/README
index d6a2233429..f6c57f8dc9 100644
--- a/system/afuse/README
+++ b/system/afuse/README
@@ -6,3 +6,8 @@ already automounted, afuse will attempt to mount a filesystem onto that
directory. If the mount succeeds the requested access proceeds as normal,
otherwise it will fail with an error.
+The generated package includes the script afuse-avahissh: this will use
+avahi to automatically populate the root directory with hosts advertising
+their sftp service via Avahi.
+As it's not essential for general usage, avahi is considered an optional
+dependency (install it if you want to use that script).
diff --git a/system/afuse/afuse.SlackBuild b/system/afuse/afuse.SlackBuild
index cb1850a7f1..d8ec1370ca 100644
--- a/system/afuse/afuse.SlackBuild
+++ b/system/afuse/afuse.SlackBuild
@@ -5,7 +5,7 @@
#
PRGNAM=afuse
-VERSION=0.2
+VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,7 +53,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAG="$SLKCFLAGS" \
+# From upstream
+patch -p1 < $CWD/avoid-early-exit-in-afuse_releasedir.patch
+
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/system/afuse/afuse.info b/system/afuse/afuse.info
index 3a3b1492da..5377e4b0fe 100644
--- a/system/afuse/afuse.info
+++ b/system/afuse/afuse.info
@@ -1,8 +1,8 @@
PRGNAM="afuse"
-VERSION="0.2"
-HOMEPAGE="http://afuse.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/afuse/afuse/0.2/afuse-0.2.tar.gz"
-MD5SUM="97b58a768ecb30696fb6c33dd8435b83"
+VERSION="0.4"
+HOMEPAGE="https://github.com/pcarrier/afuse"
+DOWNLOAD="https://afuse.googlecode.com/files/afuse-0.4.tar.gz"
+MD5SUM="d6d898b43dc055fe3343f69356f33b60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/afuse/avoid-early-exit-in-afuse_releasedir.patch b/system/afuse/avoid-early-exit-in-afuse_releasedir.patch
new file mode 100644
index 0000000000..2af3755da6
--- /dev/null
+++ b/system/afuse/avoid-early-exit-in-afuse_releasedir.patch
@@ -0,0 +1,25 @@
+From 8176cc23549f60ddd326badf61f7e268ea1af897 Mon Sep 17 00:00:00 2001
+From: Pierre Carrier <pierre@gcarrier.fr>
+Date: Wed, 13 Feb 2013 03:43:50 +0100
+Subject: [PATCH] src/afuse.c: avoid early exit in afuse_releasedir
+
+Should solve #1.
+---
+ src/afuse.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/afuse.c b/src/afuse.c
+index 37825ac..9c93fc6 100644
+--- a/src/afuse.c
++++ b/src/afuse.c
+@@ -931,6 +931,7 @@ static int afuse_releasedir(const char *path, struct fuse_file_info *fi)
+ if (dp)
+ closedir(dp);
+ retval = 0;
++ break;
+
+ default:
+ DEFAULT_CASE_INVALID_ENUM;
+--
+1.8.1.3
+
diff --git a/system/afuse/slack-desc b/system/afuse/slack-desc
index ddd4ea8e60..13d6adc691 100644
--- a/system/afuse/slack-desc
+++ b/system/afuse/slack-desc
@@ -8,10 +8,10 @@
|-----handy-ruler------------------------------------------------------|
afuse: afuse (automounter for FUSE)
afuse:
-afuse: Afuse is a FUSE based filesystem which implements filesystem
+afuse: Afuse is a FUSE based filesystem which implements filesystem
afuse: automounting functionality similar to Linux's autofs.
afuse:
-afuse:
+afuse: homepage: https://github.com/pcarrier/afuse
afuse:
afuse:
afuse: