This PR updates inetutils to its latest released version, 2.4, while addressing a logic error in packaging.
The error in question involves the fact that, before this change, any inetutils package from Procursus attempted to symlink ping onto itself. The root cause of this was the prefix logic, where (for targets like macOS) prefixes ($(MEMO_PREFIX)$(MEMO_SUB_PREFIX) and $(MEMO_PREFIX)) ended up matching.
For reference, previous inetutils packages installed ping inside /opt/procursus/bin/ping (resolved from $(MEMO_PREFIX)$(MEMO_SUB_PREFIX)), but attempted to symlink it to /opt/procursus/sbin/ping (resolved from $(MEMO_PREFIX)/sbin/ping) and /opt/procursus/bin/ping (resolved from $(MEMO_PREFIX)/bin/ping)
Other errors previous distributions of the package suffered from was attempting to access /bin to symlink ping into it, which has also been resolved. All changes were tested on iOS 12, iOS 14, and macOS 12.6.1.
Checklist
[x] Have you made sure there aren't any other open Pull Requests for the same update/change?
[ ] This Pull Request doesn't contain any package additions; it's a small change (e.g README change)
[x] Have you confirmed this builds & works as intended on an iOS device (if applicable)?
[x] Have you confirmed this builds & works as intended on a macOS device (if applicable)?
This PR updates
inetutils
to its latest released version, 2.4, while addressing a logic error in packaging.The error in question involves the fact that, before this change, any
inetutils
package from Procursus attempted to symlinkping
onto itself. The root cause of this was the prefix logic, where (for targets like macOS) prefixes ($(MEMO_PREFIX)$(MEMO_SUB_PREFIX)
and$(MEMO_PREFIX)
) ended up matching.For reference, previous
inetutils
packages installedping
inside/opt/procursus/bin/ping
(resolved from$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)
), but attempted to symlink it to/opt/procursus/sbin/ping
(resolved from$(MEMO_PREFIX)/sbin/ping
) and/opt/procursus/bin/ping
(resolved from$(MEMO_PREFIX)/bin/ping
)Other errors previous distributions of the package suffered from was attempting to access
/bin
to symlinkping
into it, which has also been resolved. All changes were tested on iOS 12, iOS 14, and macOS 12.6.1.Checklist