aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-08-02 04:42:01 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-12 08:29:51 +0700
commit34201e5852fe7c3775521dcc008541e0dcd75779 (patch)
treeabcd557b18e57558ca614e621a6a5f436def26a9
parent92cc6ab2943bd6eddfc1f436f3c7e5346f4ad4af (diff)
system/hfsprogs: Fix github URL.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/hfsprogs/hfsprogs.SlackBuild9
-rw-r--r--system/hfsprogs/hfsprogs.info4
2 files changed, 8 insertions, 5 deletions
diff --git a/system/hfsprogs/hfsprogs.SlackBuild b/system/hfsprogs/hfsprogs.SlackBuild
index b5158a38a294..7c8046149c55 100644
--- a/system/hfsprogs/hfsprogs.SlackBuild
+++ b/system/hfsprogs/hfsprogs.SlackBuild
@@ -22,6 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230802 bkw: Modified by SlackBuilds.org: fix github filename mess.
# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2: strip binaries.
# 20220211 bkw: Modified by SlackBuilds.org: fix build on 15.0.
@@ -70,9 +71,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+
+# 20230802 bkw: yes, we really do need $SRCNAM-$SRCNAM...
+rm -rf $SRCNAM-$SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/hfsprogs/hfsprogs.info b/system/hfsprogs/hfsprogs.info
index d947ad64c7e7..3c3ee5efbc52 100644
--- a/system/hfsprogs/hfsprogs.info
+++ b/system/hfsprogs/hfsprogs.info
@@ -1,8 +1,8 @@
PRGNAM="hfsprogs"
VERSION="332.25"
HOMEPAGE="https://opensource.apple.com"
-DOWNLOAD="https://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-332.25.tar.gz"
-MD5SUM="261c3de5ec0dcf5244e3f60d79c1d6f1"
+DOWNLOAD="https://github.com/apple-oss-distributions/diskdev_cmds/archive/diskdev_cmds-332.25/diskdev_cmds-diskdev_cmds-332.25.tar.gz"
+MD5SUM="610080ff02859685c268e1d0ad49f223"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libbsd"