diff options
-rw-r--r-- | system/fuse-archive/README | 8 | ||||
-rw-r--r-- | system/fuse-archive/fuse-archive.SlackBuild | 36 | ||||
-rw-r--r-- | system/fuse-archive/fuse-archive.info | 4 |
3 files changed, 22 insertions, 26 deletions
diff --git a/system/fuse-archive/README b/system/fuse-archive/README index 36b6e5f04b05d..66050306b784d 100644 --- a/system/fuse-archive/README +++ b/system/fuse-archive/README @@ -1,7 +1,11 @@ +fuse-archive (FUSE file system for archives and compressed files) + fuse-archive is a program that serves an archive or compressed file -(e.g. foo.tar, foo.tar.gz, foo.xz or foo.zip) as a read-only FUSE -file system. +(e.g. foo.tar, foo.tar.gz, foo.xz or foo.zip) as a read-only FUSE file +system. + It is similar to mount-zip and fuse-zip but speaks a larger range of of archive or compressed file formats. + It is similar to archivemount but can be much faster, although it can only mount read-only, not read-write. diff --git a/system/fuse-archive/fuse-archive.SlackBuild b/system/fuse-archive/fuse-archive.SlackBuild index 2823cc8141b2a..0a00eee124b01 100644 --- a/system/fuse-archive/fuse-archive.SlackBuild +++ b/system/fuse-archive/fuse-archive.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for fuse-archive # Copyright 2022 Charadon +# Copyright 2023 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +23,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230828 bkw: BUILD=2 +# - take over maintenance. +# - add a few missing docs to the doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fuse-archive VERSION=${VERSION:-0.1.14} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,16 +54,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -70,25 +71,16 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -make -install -Dm755 out/fuse-archive $PKG/usr/bin/fuse-archive - -rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +CXXFLAGS="$SLKCFLAGS" make +install -s -Dm755 out/fuse-archive $PKG/usr/bin/fuse-archive -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a README* AUTHORS* LICENSE* CONTR* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/fuse-archive/fuse-archive.info b/system/fuse-archive/fuse-archive.info index 5d131a5fab18a..3aa3c197ea0c4 100644 --- a/system/fuse-archive/fuse-archive.info +++ b/system/fuse-archive/fuse-archive.info @@ -6,5 +6,5 @@ MD5SUM="41f7581e71d2a14dded0618ba5b9b6c2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Charadon" -EMAIL="dev@iotib.net" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" |