Proposed commit log:
net/asterisk: Overhaul & Add *bonus* user feature This port now supports custom Asterisk configurations using a *user-supplied* menuselect.makeopt file. This feature is of most value for users that want to disable or override default functionality that they dont want or need, particular in space and/or resource constrained, or embedded environments. For more information see this ports pkg-message file. Options: - Make speex, libexecinfo and mpg123 OPTION'al - Make menuselect backends (curses/newt) OPTION'al - Re-order, sort and group all OPTIONS - Rename MP3 option to MP3PLAYER (ambiguous with format_mp3 module) - Remove override-able OPTION descriptions (dont appear necessary) - Add CODECS, SOUNDS and DATABASE options groups for better UX - Improve OPTION descriptions - Temporarily disable ICONV option until libxml2 is fixed [1][2] General: - Add support for fetching G.279 Core and MOH sounds - Re-do patches using makepatch (portlint) - Use %%DATADIR%% in pkg-plist (portlint) - Make DATADIR-safe (portlint) - Re-order Makefile sections (portlint) - Reset @owner/@group after pkg-plist entries - Simplify post-install: find files/dirs pkg-plist commands - De-scope global use of LDFLAGS and CPPFLAGS - Use OPTIONS helpers for openh323 CPPFLAGS and MAKE_ENV - Use USE_OPENSSL and its respective variables in CONFIGURE_ARGS - Modify build to be verbose (NOISY_BUILD) - Pass CFLAGS/LDFLAGS to ASTCFLAGS/ASTLDFLAGS respectively in MAKE_ENV - Update and cleanup pkg-plist - Bump PORTREVISION [1] https://reviews.freebsd.org/D3261 [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202006 Reviewed by: madpilot (maintainer) Approved by: madpilot (maintainer) DiffRev: <D3262-full-url>