summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-01-06 01:19:02 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:49 +0700
commit0c59623a06a72252c4ff097a2318dab4d890e432 (patch)
treeae57658e94100a1aef5eea260c7da22817d31e5f /system
parentf16da80314a3be6ccdb44ffc1c4561438d4d5a50 (diff)
downloadslackbuilds-0c59623a06a72252c4ff097a2318dab4d890e432.tar.gz
slackbuilds-0c59623a06a72252c4ff097a2318dab4d890e432.tar.xz
system/xar: Upstream changed the tarball.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/xar/xar.SlackBuild9
-rw-r--r--system/xar/xar.info4
2 files changed, 8 insertions, 5 deletions
diff --git a/system/xar/xar.SlackBuild b/system/xar/xar.SlackBuild
index ea3c626644..e8f80a88a2 100644
--- a/system/xar/xar.SlackBuild
+++ b/system/xar/xar.SlackBuild
@@ -21,6 +21,9 @@
# from. "xar --version" reports "1.8dev", the tarball's version
# number is the SVN revision, 452...
+# 20230106 bkw: apple quit hosting their own tarball, old URL is now
+# a redirect to a github generated one, script has to change to handle it.
+
# 20221229 bkw: this is still being developed, code is at
# https://github.com/apple-oss-distributions/xar/ but the latest tag
# (494) won't compile, and I don't love this enough to spend time on
@@ -75,9 +78,9 @@ SRCVER="$( echo $VERSION | cut -d+ -f2 )"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$PRGNAM-$SRCVER
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
diff --git a/system/xar/xar.info b/system/xar/xar.info
index 7b5a945215..d9a59c7195 100644
--- a/system/xar/xar.info
+++ b/system/xar/xar.info
@@ -1,8 +1,8 @@
PRGNAM="xar"
VERSION="1.8dev+452"
HOMEPAGE="https://opensource.apple.com/source/xar/"
-DOWNLOAD="https://opensource.apple.com/tarballs/xar/xar-452.tar.gz"
-MD5SUM="79e673ca905a16674dae0ce54d7ead5b"
+DOWNLOAD="https://github.com/apple-oss-distributions/xar/archive/xar-452/xar-xar-452.tar.gz"
+MD5SUM="2dd42db34c7a7050b5e8c58d81d791cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""