ProcursusTeam / Procursus

Modern *OS Bootstrap
https://apt.procurs.us
BSD Zero Clause License
860 stars 126 forks source link

inetutils: Update to 2.4 #1375

Closed TheRealKeto closed 3 weeks ago

TheRealKeto commented 1 year ago

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

TheRealKeto commented 3 weeks ago

Closing per d7625ab implementing this fix