HomeFreeBSD

net/asterisk: Overhaul & Add *BONUS* user feature

Description

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 Changes:

  • 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 Changes:

  • 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

Note: These changes will be merged into net/asterisk11 and net/asterisk13

ports in the near future.

[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)
Differential Revision: https://reviews.freebsd.org/D3262

Details

Provenance
koobsAuthored on
Reviewer
madpilot
Differential Revision
D3262: net/asterisk: Overhaul & Add *bonus* user feature
Parents
rP395608: - Update to 2.4.0
Branches
Unknown
Tags
Unknown