aboutsummaryrefslogtreecommitdiff
path: root/libraries/libvmdk
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-15 15:33:46 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:09 +0700
commit0a227ffd5675ccbc37000878c0e331221fdedf41 (patch)
treea4a87403e79720088de8a762d29734a48c763d1f /libraries/libvmdk
parent9db8b4926857aad2c1be7e689d1477f8a352c0ac (diff)
libraries/libvmdk: Updated for version 20210807.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libvmdk')
-rw-r--r--libraries/libvmdk/README7
-rw-r--r--libraries/libvmdk/libvmdk.SlackBuild27
-rw-r--r--libraries/libvmdk/libvmdk.info6
3 files changed, 20 insertions, 20 deletions
diff --git a/libraries/libvmdk/README b/libraries/libvmdk/README
index ea36b34250039..aaad7fe9ef7cc 100644
--- a/libraries/libvmdk/README
+++ b/libraries/libvmdk/README
@@ -1,6 +1,7 @@
libvmdk (libYAL VMDK library)
-Library and tools to access the VMware Virtual Disk (VMDK) image format.
+Library and tools to access the VMware Virtual Disk (VMDK) image
+format.
Read supported extent file formats:
@@ -17,5 +18,5 @@ Supported VMDK format features:
VMDK format features not supported at the moment:
-images that use a physical device
- -changed block tracking (CBT) (supported by VMDK version 3 (sparse))
- change tracking file
+ -changed block tracking (CBT) (supported by VMDK version 3
+ (sparse)) change tracking file
diff --git a/libraries/libvmdk/libvmdk.SlackBuild b/libraries/libvmdk/libvmdk.SlackBuild
index 77fce89cdecfe..9249ff4b0d425 100644
--- a/libraries/libvmdk/libvmdk.SlackBuild
+++ b/libraries/libvmdk/libvmdk.SlackBuild
@@ -24,25 +24,26 @@
# Updated v20210418 August 2021
+# 20220215 bkw: Modified by SlackBuilds.org:
+# - update for v20210807 since the old version's source vanished.
+# - don't install useless ABOUT-NLS and INSTALL in doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvmdk
-VERSION=${VERSION:-20210418}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20210807}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
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
@@ -52,8 +53,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -77,9 +78,9 @@ 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 {} \+
CFLAGS="$SLKCFLAGS -std=gnu89" \
CXXFLAGS="$SLKCFLAGS -std=gnu89" \
@@ -95,12 +96,10 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
make
make install-strip 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
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
diff --git a/libraries/libvmdk/libvmdk.info b/libraries/libvmdk/libvmdk.info
index 1420ef0606987..38017bdd25432 100644
--- a/libraries/libvmdk/libvmdk.info
+++ b/libraries/libvmdk/libvmdk.info
@@ -1,8 +1,8 @@
PRGNAM="libvmdk"
-VERSION="20210418"
+VERSION="20210807"
HOMEPAGE="https://github.com/libyal/libvmdk"
-DOWNLOAD="https://linuxleo.com/Source/libvmdk-alpha-20210418.tar.gz"
-MD5SUM="ac1f48dc8761c26f77a7cfdb6e73353f"
+DOWNLOAD="https://github.com/libyal/libvmdk/releases/download/20210807/libvmdk-alpha-20210807.tar.gz"
+MD5SUM="3058cc76ac2c88604c6ab1973c55a883"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""