forked from Lainports/freebsd-ports
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
36 lines
1.6 KiB
Text
36 lines
1.6 KiB
Text
###########################################################################
|
|
|
|
This port 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.
|
|
|
|
If a file named ".asterisk.makeopts" is found in the ports files/
|
|
directory, its contents will be used to configure Asterisk at the
|
|
post-configure stage.
|
|
|
|
If the file is *not* found, the port will default to a 'normal' Asterisk
|
|
menuselect configuration, and only execute menuselect commands according
|
|
to what port OPTIONS the user has selected.
|
|
|
|
The format of this file is the same as the output of a standard
|
|
`make menuselect` command, as per standard build instructions for
|
|
Asterisk.
|
|
|
|
NOTE: The contents of this file *MUST* be syntactically and semantically
|
|
valid, as the port does *NOT* perform validation of this file.
|
|
|
|
In particular, ensure that all Asterisk options have their
|
|
dependencies met, using the corresponding port OPTIONS dependencies.
|
|
|
|
The `menuselect --check-deps` command can be used to verify the
|
|
configuration
|
|
|
|
The following related documentation resources are also available:
|
|
|
|
* https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options
|
|
* http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/installing_base_configuration.html#Installing_id293213
|
|
|
|
################################################################################
|