system/posixovl: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9e028fa057
commit
b5495b329e
|
@ -1,12 +1,14 @@
|
||||||
POSIX Overlay Filesystem (posixovl)
|
POSIX Overlay Filesystem (posixovl)
|
||||||
|
|
||||||
A FUSE (filesystem in userspace) filesystem that provides POSIX functionality -
|
A FUSE (filesystem in userspace) filesystem that provides POSIX
|
||||||
UNIX-style permissions, ownership, special files - for filesystems that do not
|
functionality - UNIX-style permissions, ownership, special files -
|
||||||
have such, e.g. vfat. It is a modern equivalent of the UMSDOS fs.
|
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
|
It provides a filesystem view that supports various POSIX operations
|
||||||
an otherwise incapable lower filesystem. Filesystems of various degrees of
|
while using an otherwise incapable lower filesystem. Filesystems
|
||||||
POSIXness can be utilitzed. VFAT is a common denominator when it comes to
|
of various degrees of POSIXness can be utilitzed. VFAT is a
|
||||||
cross-compatibility, though NTFS — its features are unused in Linux — would be
|
common denominator when it comes to cross-compatibility, though
|
||||||
another possibility. Secondly, potent native POSIX-style filesystems can also
|
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.
|
be used, though the actual use of doing that remains to be discovered.
|
||||||
|
|
|
@ -22,13 +22,20 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# 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
|
set -e
|
||||||
|
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=posixovl
|
PRGNAM=posixovl
|
||||||
VERSION=${VERSION:-1.2}
|
VERSION=${VERSION:-1.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -40,9 +47,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -70,18 +74,18 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
|
||||||
mv $PRGNAM $PRGNAM-$VERSION
|
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
chmod 644 *
|
||||||
\( -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 {} \;
|
|
||||||
|
|
||||||
./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 \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
@ -92,16 +96,13 @@ find -L . \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install PREFIX=/usr DESTDIR=$PKG
|
make install-strip PREFIX=/usr DESTDIR=$PKG
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
# 20220212 bkw: really, the man page ought to be in section 8, or else
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
# the binary ought to be in /usr/bin. but leave it as-is...
|
||||||
|
gzip -9 $PKG/usr/man/man*/*
|
||||||
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
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="posixovl"
|
PRGNAM="posixovl"
|
||||||
VERSION="1.2"
|
VERSION="1.2"
|
||||||
HOMEPAGE="https://posixovl.sourceforge.io/"
|
HOMEPAGE="https://github.com/Tomas-M/posixovl/"
|
||||||
DOWNLOAD="https://downloads.sourceforge.net/project/posixovl/posixovl/1.2/posixovl-1.2.tar.xz"
|
DOWNLOAD="https://github.com/Tomas-M/posixovl/archive/v1.2/posixovl-1.2.tar.gz"
|
||||||
MD5SUM="02630aba4478f661ec6a247338a3d54e"
|
MD5SUM="2c7da0654100db41429ec046e945c502"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
|
@ -11,9 +11,9 @@ posixovl:
|
||||||
posixovl: posixovl provides a filesystem view that supports various POSIX
|
posixovl: posixovl provides a filesystem view that supports various POSIX
|
||||||
posixovl: operations while using an otherwise incapable lower filesystem.
|
posixovl: operations while using an otherwise incapable lower filesystem.
|
||||||
posixovl: Filesystems of various degrees of POSIXness can be utilitzed. VFAT
|
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: though NTFS - its features are unused in Linux - would be another
|
||||||
posixovl: possibility. Secondly, potent native POSIX-style filesystems can
|
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: discovered.
|
||||||
posixovl:
|
posixovl:
|
||||||
|
|
Loading…
Reference in New Issue