summaryrefslogtreecommitdiff
path: root/system/musl
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-04-16 02:04:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:12:44 +0700
commitaa4111977a9ce8c4880958590c017242eb25ef00 (patch)
treee98e4c1c251bbc9b33c0bc6fb911963d60e1a918 /system/musl
parent029b8352e4996d9da8d6203b59ba79ae43815ded (diff)
downloadslackbuilds-aa4111977a9ce8c4880958590c017242eb25ef00.tar.gz
system/musl: Updated for version 1.2.3.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/musl')
-rw-r--r--system/musl/musl.SlackBuild12
-rw-r--r--system/musl/musl.info6
2 files changed, 12 insertions, 6 deletions
diff --git a/system/musl/musl.SlackBuild b/system/musl/musl.SlackBuild
index 662ce35d8b..68c532f0a4 100644
--- a/system/musl/musl.SlackBuild
+++ b/system/musl/musl.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=musl
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,10 +93,16 @@ make DESTDIR=$PKG install
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
-( cd $PKG/usr/bin ; ln -sf /usr/lib$LIBDIRSUFFIX/ld-musl-$ARCH.so.1 musl-ldd )
+# change symbolic links to relative
+( cd $PKG/usr/bin ; rm -rf musl-ldd )
+( cd $PKG/usr/bin ; ln -sf ../lib$LIBDIRSUFFIX/ld-musl-$ARCH.so.1 musl-ldd )
+( cd $PKG/usr/lib$LIBDIRSUFFIX ; rm -rf ld-musl-$ARCH.so.1 )
+( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -sf musl/libc.so ld-musl-$ARCH.so.1 )
+( cd $PKG/usr/lib$LIBDIRSUFFIX/musl ; rm -rf ld-musl-$ARCH.so.1 )
+( cd $PKG/usr/lib$LIBDIRSUFFIX/musl ; ln -sf libc.so ld-musl-$ARCH.so.1 )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT INSTALL README VERSION WHATSNEW $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYRIGHT README VERSION WHATSNEW $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/musl/musl.info b/system/musl/musl.info
index 62c703be66..3cd3d7f952 100644
--- a/system/musl/musl.info
+++ b/system/musl/musl.info
@@ -1,8 +1,8 @@
PRGNAM="musl"
-VERSION="1.2.2"
+VERSION="1.2.3"
HOMEPAGE="https://musl.libc.org/"
-DOWNLOAD="https://musl.libc.org/releases/musl-1.2.2.tar.gz"
-MD5SUM="aed8ae9e2b0898151b36a204088292dd"
+DOWNLOAD="https://musl.libc.org/releases/musl-1.2.3.tar.gz"
+MD5SUM="a507ae4f7f20bcfe566d8eb65c1af73e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""