Skip to content

luash: Disable upstream, fetch from MacPorts #28360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions shells/luash/Portfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortSystem 1.0

name luash
version 0.9
Expand All @@ -11,13 +11,21 @@ maintainers nomaintainer
description shell written in Lua/C++
long_description luash is a shell written in Lua/C++ that allow you to run command using Lua syntax
homepage http://luaforge.net/projects/luash
platforms darwin
master_sites http://files.luaforge.net/releases/luash/luash/luash${version}

# https://trac.macports.org/ticket/72434
# Disable upstream website, 2025 May 8.
# Upstream site luaforge.net is abandoned and hijacked.
# No alternate was found today.
# Now fetch exclusively from MacPorts archive copy.
# master_sites http://files.luaforge.net/releases/luash/luash/luash${version}

master_sites macports_distfiles
distname ${name}
dist_subdir ${name}/${version}
checksums md5 67bbb8985166579686361fe840e016c0 \
sha1 ef1d56843f19a29b96f6d5ce8f983b54074b955f \
rmd160 165d88850e8d068d7586f1785b36dd20c9c8ce37

checksums rmd160 165d88850e8d068d7586f1785b36dd20c9c8ce37 \
sha256 40ed9a86924fead319be3be966426f844a4ef7b5cb73425e5fe930daa6970634 \
size 15927

use_bzip2 yes

Expand Down Expand Up @@ -45,4 +53,3 @@ post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}${prefix}/share/doc/${name}
}