mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
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
4 changed files with 36 additions and 33 deletions
|
@ -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.
|
||||
|
|
|
@ -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 *
|
||||
|
||||
./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} \
|
||||
|
@ -92,16 +96,13 @@ find -L . \
|
|||
--build=$ARCH-slackware-linux
|
||||
|
||||
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 \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
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
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue