aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-09-17 20:13:14 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:33:51 +0700
commit3d41c932b8a66e57f5f104ec555847bcad0f19ea (patch)
tree89af3689d711d530ba55c5b881ac2101be7069ab
parent5215b73982c7465edeafe1270465cd9839f68207 (diff)
system/fio: Updated for version 3.35, new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/fio/fio.SlackBuild30
-rw-r--r--system/fio/fio.info10
2 files changed, 21 insertions, 19 deletions
diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild
index f66f43c80e85..cd6a45e48026 100644
--- a/system/fio/fio.SlackBuild
+++ b/system/fio/fio.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for fio
+# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2015-2020 Brenton Earl <brent@exitstatusone.com>
# All rights reserved.
@@ -12,7 +13,7 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fio
-VERSION=${VERSION:-3.29}
+VERSION=${VERSION:-3.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,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
@@ -60,16 +58,14 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-# Fio has a Gtk interface that is not built by default.
-# To enable it pass 'yes' to the GUI variable
-# Example: GUI=yes sh fio.SlackBuild
-gui="" ; [ "$GUI" = "yes" ] && gui="--enable-gfio"
-
set -e
rm -rf $PKG
@@ -81,9 +77,14 @@ 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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# Fio has a Gtk interface that is not built by default.
+# To enable it pass 'yes' to the GUI variable
+# Example: GUI=yes sh fio.SlackBuild
+gui="" ; [ "$GUI" = "yes" ] && gui="--enable-gfio"
./configure \
--prefix="/usr" \
@@ -100,7 +101,8 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING HOWTO README REPORTING-BUGS examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING HOWTO.rst MORAL-LICENSE README.rst REPORTING-BUGS \
+ examples/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Add .desktop file if GUI is built
@@ -111,8 +113,8 @@ if [ "$GUI" = "yes" ]; then
fi
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/fio/fio.info b/system/fio/fio.info
index 5ac43a552624..fce62734b694 100644
--- a/system/fio/fio.info
+++ b/system/fio/fio.info
@@ -1,10 +1,10 @@
PRGNAM="fio"
-VERSION="3.29"
+VERSION="3.35"
HOMEPAGE="https://git.kernel.dk/cgit/fio/"
-DOWNLOAD="https://brick.kernel.dk/snaps/fio-3.29.tar.gz"
-MD5SUM="340dceb63a9b7fe2d4cbcb1b3293b129"
+DOWNLOAD="https://brick.kernel.dk/snaps/fio-3.35.tar.gz"
+MD5SUM="024e73dacc4418a5552042b7faf7cc44"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Brenton Earl"
-EMAIL="brent@exitstatusone.com"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"