diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2015-08-30 10:36:13 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2015-08-30 10:36:13 +0000 |
commit | 56978384560efd07a8e601f8ed2552e3c4fb1b92 (patch) | |
tree | e269994bc33f2d692150c6f368252aadc7dba2ce /net/asterisk/files/patch-channels-chan_dahdi.c | |
parent | - Update to 2.4.0 (diff) |
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
Notes
Notes:
svn path=/head/; revision=395609
Diffstat (limited to 'net/asterisk/files/patch-channels-chan_dahdi.c')
-rw-r--r-- | net/asterisk/files/patch-channels-chan_dahdi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/asterisk/files/patch-channels-chan_dahdi.c b/net/asterisk/files/patch-channels-chan_dahdi.c index ef904b48472e..fbaa0e9d71bf 100644 --- a/net/asterisk/files/patch-channels-chan_dahdi.c +++ b/net/asterisk/files/patch-channels-chan_dahdi.c @@ -1,6 +1,6 @@ ---- channels/chan_dahdi.c.orig 2010-11-09 11:18:39.000000000 +0100 -+++ channels/chan_dahdi.c 2010-11-09 11:22:15.000000000 +0100 -@@ -4688,6 +4688,8 @@ +--- channels/chan_dahdi.c.orig 2014-07-03 21:38:30 UTC ++++ channels/chan_dahdi.c +@@ -4907,6 +4907,8 @@ static void dahdi_enable_ec(struct dahdi return; } if (p->echocancel.head.tap_length) { @@ -9,7 +9,7 @@ #if defined(HAVE_PRI) || defined(HAVE_SS7) switch (p->sig) { #if defined(HAVE_PRI) -@@ -4718,7 +4720,9 @@ +@@ -4937,7 +4939,9 @@ static void dahdi_enable_ec(struct dahdi break; } #endif /* defined(HAVE_PRI) || defined(HAVE_SS7) */ @@ -20,7 +20,7 @@ if (res) { ast_log(LOG_WARNING, "Unable to enable echo cancellation on channel %d (%s)\n", p->channel, strerror(errno)); } else { -@@ -4752,8 +4756,9 @@ +@@ -4971,8 +4975,9 @@ static void dahdi_disable_ec(struct dahd if (p->echocanon) { struct dahdi_echocanparams ecp = { .tap_length = 0 }; |