mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/afuse: Updated for version 0.4, fixed typo.
CFLAG -> CFLAGS Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
a13ce42507
commit
628c5dcfcf
5 changed files with 41 additions and 8 deletions
|
@ -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).
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
25
system/afuse/avoid-early-exit-in-afuse_releasedir.patch
Normal file
25
system/afuse/avoid-early-exit-in-afuse_releasedir.patch
Normal file
|
@ -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
|
||||
|
|
@ -11,7 +11,7 @@ afuse:
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue