aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Philipp Braun <pbraun@nethence.com>2024-12-11 14:33:45 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-12-11 18:42:50 +0700
commit648dab4cee6e362c2b508e15bbfd8ab9b78259a0 (patch)
tree09b82846e4d94bf8924eed29acdc0cecceca4017
parent0877addf4d3b9787e44550d3a5abac8bc47e63b4 (diff)
system/partclone: Updated for version 0.3.32
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/partclone/partclone.SlackBuild24
-rw-r--r--system/partclone/partclone.info6
2 files changed, 12 insertions, 18 deletions
diff --git a/system/partclone/partclone.SlackBuild b/system/partclone/partclone.SlackBuild
index 1c669f6ba9..3404fdd985 100644
--- a/system/partclone/partclone.SlackBuild
+++ b/system/partclone/partclone.SlackBuild
@@ -22,12 +22,10 @@
# was previously maintained by Kevin Paulus
-# 20230803 bkw: Modified by SlackBuilds.org: fix conflict with dpkg.
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=partclone
-VERSION=${VERSION:-0.3.20}
+VERSION=${VERSION:-0.3.32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -58,7 +56,7 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- FAILMBR="prebuilt" # 20230803 bkw: see below.
+ #FAILMBR="prebuilt" # unused, see below
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -79,16 +77,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-# 20230803 bkw: force use of precompiled fail-mbr.bin, if needed.
-# Without this, the build will fail on x86_64 if dpkg happens to be
-# installed, because our gcc isn't biarch as Debian's is. If dpkg
-# *isn't* installed (the normal case), it just uses the prebuilt
-# binary. All this change does is make it always use the prebuilt
-# fail-mbr.bin on x86_64.
-if [ "$FAILMBR" = "prebuilt" ]; then
- sed -i 's,sh compile-mbr.sh,cp fail-mbr.bin.orig fail-mbr.bin,' \
- fail-mbr/Makefile.am
-fi
+# this was needed as of version 0.3.20 (boot-code build script was using dpkg-architecture instead of uname -m)
+# leaving for reference in case it ever comes up again
+# always use the prebuilt fail-mbr.bin on x86_64
+#if [ "$FAILMBR" = "prebuilt" ]; then
+# sed -i 's,sh .*compile-mbr.sh,cp -f fail-mbr.bin.orig fail-mbr.bin,' fail-mbr/Makefile.am
+#fi
./autogen
@@ -124,7 +118,7 @@ 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
-cp -a ABOUT-NLS AUTHORS btrfs_source.txt ChangeLog COPYING HACKING IMAGE_FORMATS.md NEWS README.md TODO \
+cp -a ABOUT-NLS AUTHORS ChangeLog COPYING HACKING IMAGE_FORMATS.md NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/partclone/partclone.info b/system/partclone/partclone.info
index 1d9d9e3fb4..eaf2b4fad1 100644
--- a/system/partclone/partclone.info
+++ b/system/partclone/partclone.info
@@ -1,8 +1,8 @@
PRGNAM="partclone"
-VERSION="0.3.20"
+VERSION="0.3.32"
HOMEPAGE="https://github.com/Thomas-Tsai/partclone/tags"
-DOWNLOAD="https://github.com/Thomas-Tsai/partclone/archive/0.3.20/partclone-0.3.20.tar.gz"
-MD5SUM="1031222c4550e917a6b2d658e5395566"
+DOWNLOAD="https://github.com/Thomas-Tsai/partclone/archive/0.3.32/partclone-0.3.32.tar.gz"
+MD5SUM="272fec078fc47512f64ee989a3675445"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="reiser4progs"