tmate has no LIB_DEPENDS on devel/libexecinfo and the configure script does
not detect it even if installed.
Since all of tmate-debug.c is under an HAVE_BACKTRACE macro guard, it makes
no sense to compile most of it and only keep calls to libexecinfo under a
DEBUG macro guard.
Disable it entirely to simplify the patch and avoid dead code.
Patches apply before configure obviously, but pre-configure's sed(1) hack
to move from base libevent to ports libevent2 comes after the patch target.
This would cause the update-patches target to pick up pre-configure's
one-line changes as well and thus breaking patches as they wouldn't apply
cleanly in a subsequent "make clean patch".
2.2.1 was broken/outdated in several ways, 2.4.0 now only chokes
on newer tmux.conf syntax, but otherwise works; changelog at
https://github.com/tmate-io/tmate/releases - mainly:
- libssh 0.9 compatibility
- SSH keys are no longer needed
- SSH key access control
- foreground mode
- support for named sessions
Wesley MOUEDINE ASSABY has not responded to any of my mails in months;
out-of-tree builds come for free.
This commit mostly separates churn from the upcoming tmate 2.4.0 update.
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into
the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed