aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-26 17:32:51 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-31 07:56:38 +0700
commit934b1b763a894c1bcf245591aefc1db8b0307d3f (patch)
tree8e59155304f019869d8b8e08147520396cafc1fc /system
parent0e6561a5315f216d44e052f4d1ed371791ebe06c (diff)
system/fsarchiver: New maintainer, slight tweaks.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/fsarchiver/README10
-rw-r--r--system/fsarchiver/fsarchiver.SlackBuild36
-rw-r--r--system/fsarchiver/fsarchiver.info10
-rw-r--r--system/fsarchiver/slack-desc6
4 files changed, 29 insertions, 33 deletions
diff --git a/system/fsarchiver/README b/system/fsarchiver/README
index c434beadce..c4f5317f52 100644
--- a/system/fsarchiver/README
+++ b/system/fsarchiver/README
@@ -1,12 +1,14 @@
+fsarchiver (Filesystem Archiver for Linux)
+
FSArchiver is a system tool that allows you to save the contents of
-a filesystem to a compressed archive file. The filesystem can be
+a filesystem to a compressed archive file. The filesystem can be
restored on a partition which has a different size and it can be
-restored on a different filesystem. Unlike tar/dar, FSArchiver
+restored on a different filesystem type. Unlike tar/dar, FSArchiver
also creates the filesystem when it extracts the data to partitions.
Everything is checksummed in the archive in order to protect the data.
-If the archive is corrupt, you just loose the current file, not the
+If the archive is corrupt, you just lose the current file, not the
whole archive.
-There's a manpage now so you can get on usage by doing
+There's a manpage now so you can get info on on usage by running
"fsarchiver -h" (for short help) or "man 8 fsarchiver"
diff --git a/system/fsarchiver/fsarchiver.SlackBuild b/system/fsarchiver/fsarchiver.SlackBuild
index fed2cb5719..6c69aba6ed 100644
--- a/system/fsarchiver/fsarchiver.SlackBuild
+++ b/system/fsarchiver/fsarchiver.SlackBuild
@@ -4,7 +4,7 @@
# Home Page: http://www.fsarchiver.org/Main_Page
# Copyright (c) 2009-2016, Nishant Limbachia, Hoffman Estates, IL, USA
-# (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2024, B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,15 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240826 bkw: BUILD=2
+# - new maintainer.
+# - clean up README and slack-desc (loose => lose, for one thing).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="fsarchiver"
-VERSION=${VERSION:-0.8.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.7}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,11 +76,8 @@ cd $TMP
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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -91,17 +89,13 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-strip -g --strip-unneeded $PKG/usr/sbin/fsarchiver
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
-### compress man pages
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a ChangeLog COPYING README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/system/fsarchiver/fsarchiver.info b/system/fsarchiver/fsarchiver.info
index 39cf97e669..0dde3102b6 100644
--- a/system/fsarchiver/fsarchiver.info
+++ b/system/fsarchiver/fsarchiver.info
@@ -1,10 +1,10 @@
PRGNAM="fsarchiver"
-VERSION="0.8.6"
+VERSION="0.8.7"
HOMEPAGE="http://www.fsarchiver.org/"
-DOWNLOAD="https://github.com/fdupoux/fsarchiver/releases/download/0.8.6/fsarchiver-0.8.6.tar.gz"
-MD5SUM="705e2ca268249d6bed10a860379eb812"
+DOWNLOAD="https://github.com/fdupoux/fsarchiver/releases/download/0.8.7/fsarchiver-0.8.7.tar.gz"
+MD5SUM="0e865f5ffab1cec204733fb32556ebc4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Nishant Limbachia"
-EMAIL="nishant@mnspace.net"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/system/fsarchiver/slack-desc b/system/fsarchiver/slack-desc
index 868bedee53..954363de49 100644
--- a/system/fsarchiver/slack-desc
+++ b/system/fsarchiver/slack-desc
@@ -9,9 +9,9 @@
fsarchiver: fsarchiver (Filesystem Archiver for Linux)
fsarchiver:
fsarchiver: FSArchiver is a system tool that allows you to save the
-fsarchiver: contents of a file-system to a compressed archive file. The
-fsarchiver: file system can also be restored on a different-sized partition
-fsarchiver: and also to a different filesystem. It can also create the
+fsarchiver: contents of a filesystem to a compressed archive file. The
+fsarchiver: filesystem can also be restored on a different-sized partition
+fsarchiver: and also to a different filesystem type. It can also create the
fsarchiver: filesytems while restoring.
fsarchiver:
fsarchiver: More info on http://www.fsarchiver.org/