aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-12 13:23:44 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-13 09:17:50 +0700
commitb5495b329e331829bd713923148a3fdd73055ca6 (patch)
treed125025ec5bd699068753304d35ad7356c27fba1
parent9e028fa05776ba78ca3d540a41847c6403b23e79 (diff)
system/posixovl: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/posixovl/README18
-rw-r--r--system/posixovl/posixovl.SlackBuild41
-rw-r--r--system/posixovl/posixovl.info6
-rw-r--r--system/posixovl/slack-desc4
4 files changed, 36 insertions, 33 deletions
diff --git a/system/posixovl/README b/system/posixovl/README
index d9e3021b4562..926de965045b 100644
--- a/system/posixovl/README
+++ b/system/posixovl/README
@@ -1,12 +1,14 @@
POSIX Overlay Filesystem (posixovl)
-A FUSE (filesystem in userspace) filesystem that provides POSIX functionality -
-UNIX-style permissions, ownership, special files - for filesystems that do not
-have such, e.g. vfat. It is a modern equivalent of the UMSDOS fs.
+A FUSE (filesystem in userspace) filesystem that provides POSIX
+functionality - UNIX-style permissions, ownership, special files -
+for filesystems that do not have such, e.g. vfat. It is a modern
+equivalent of the UMSDOS fs.
-It provides a filesystem view that supports various POSIX operations while using
-an otherwise incapable lower filesystem. Filesystems of various degrees of
-POSIXness can be utilitzed. VFAT is a common denominator when it comes to
-cross-compatibility, though NTFS — its features are unused in Linux — would be
-another possibility. Secondly, potent native POSIX-style filesystems can also
+It provides a filesystem view that supports various POSIX operations
+while using an otherwise incapable lower filesystem. Filesystems
+of various degrees of POSIXness can be utilitzed. VFAT is a
+common denominator when it comes to cross-compatibility, though
+NTFS -- its features are unused in Linux -- would be another
+possibility. Secondly, potent native POSIX-style filesystems can also
be used, though the actual use of doing that remains to be discovered.
diff --git a/system/posixovl/posixovl.SlackBuild b/system/posixovl/posixovl.SlackBuild
index 6528e6d4a998..9512761ddafe 100644
--- a/system/posixovl/posixovl.SlackBuild
+++ b/system/posixovl/posixovl.SlackBuild
@@ -22,13 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220212 bkw: Modified by SlackBuilds.org: upstream moved from
+# sourceforge to github, so update the URLs. The old .tar.xz tarball
+# is gone from sourceforge. The new .tar.gz one from github has a
+# different md5sum, but its contents are identical (except that the
+# top-level directory now has the version number in it). Also, fix
+# compliation on 15.0 and stop installing the install instructions.
+
set -e
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=posixovl
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +47,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
@@ -70,18 +74,18 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-mv $PRGNAM $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 {} \;
+chmod 644 *
+
+# 20220212 bkw: include file moved on 15.0.
+sed -i 's,attr/xattr.h,linux/xattr.h,g' *
-./autogen.sh
+sh ./autogen.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -92,16 +96,13 @@ find -L . \
--build=$ARCH-slackware-linux
make
-make install PREFIX=/usr DESTDIR=$PKG
-
-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
+make install-strip PREFIX=/usr DESTDIR=$PKG
-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
+# 20220212 bkw: really, the man page ought to be in section 8, or else
+# the binary ought to be in /usr/bin. but leave it as-is...
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp INSTALL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/posixovl/posixovl.info b/system/posixovl/posixovl.info
index 9aaa1b8ba0af..56a5df96f6ba 100644
--- a/system/posixovl/posixovl.info
+++ b/system/posixovl/posixovl.info
@@ -1,8 +1,8 @@
PRGNAM="posixovl"
VERSION="1.2"
-HOMEPAGE="https://posixovl.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/posixovl/posixovl/1.2/posixovl-1.2.tar.xz"
-MD5SUM="02630aba4478f661ec6a247338a3d54e"
+HOMEPAGE="https://github.com/Tomas-M/posixovl/"
+DOWNLOAD="https://github.com/Tomas-M/posixovl/archive/v1.2/posixovl-1.2.tar.gz"
+MD5SUM="2c7da0654100db41429ec046e945c502"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/posixovl/slack-desc b/system/posixovl/slack-desc
index df81acbaaafb..03527feadb93 100644
--- a/system/posixovl/slack-desc
+++ b/system/posixovl/slack-desc
@@ -11,9 +11,9 @@ posixovl:
posixovl: posixovl provides a filesystem view that supports various POSIX
posixovl: operations while using an otherwise incapable lower filesystem.
posixovl: Filesystems of various degrees of POSIXness can be utilitzed. VFAT
-posixovl: is a common denominator when it comes to cross-compatibility,
+posixovl: is a common denominator when it comes to cross-compatibility,
posixovl: though NTFS - its features are unused in Linux - would be another
posixovl: possibility. Secondly, potent native POSIX-style filesystems can
-posixovl: also be used, though the actual use of doing that remains to be
+posixovl: also be used, though the actual use of doing that remains to be
posixovl: discovered.
posixovl: