summaryrefslogtreecommitdiffstats
path: root/system/posixovl
diff options
context:
space:
mode:
Diffstat (limited to 'system/posixovl')
-rw-r--r--system/posixovl/README18
-rw-r--r--system/posixovl/posixovl.SlackBuild51
-rw-r--r--system/posixovl/posixovl.info6
-rw-r--r--system/posixovl/slack-desc4
4 files changed, 45 insertions, 34 deletions
diff --git a/system/posixovl/README b/system/posixovl/README
index d9e3021b45..926de96504 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 ee179ca48e..be8ae05e66 100644
--- a/system/posixovl/posixovl.SlackBuild
+++ b/system/posixovl/posixovl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash -e
#
# Slackware build script for posixovl
#
@@ -22,12 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set -e
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=posixovl
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,18 +72,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 *
-./autogen.sh
+# 20220212 bkw: include file moved on 15.0.
+sed -i 's,attr/xattr.h,linux/xattr.h,g' *
+
+sh ./autogen.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -82,20 +94,17 @@ 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
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/posixovl/posixovl.info b/system/posixovl/posixovl.info
index 9aaa1b8ba0..56a5df96f6 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 df81acbaaa..03527feadb 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: