Asterisk is an Open Source PBX and telephony toolkit. It is, in a
sense, middleware between Internet and telephony channels on the bottom,
and Internet and telephony applications at the top.
===> The following configuration options are available for asterisk16-16.30.1:
ASTVERSION=off: Install astversion (requires bash)
BACKTRACE=off: Stack backtrace support via (lib)execinfo
CURL=on: Data transfer support via cURL
DAHDI=on: DAHDI support
EXCHANGE=off: Exchange calendar support
FREETDS=on: FreeTDS library support
G729=off: Install G.729 format sounds for Music-on-Hold (MoH)
GEOLOCATION=off: Enable SIP Geolocation support
LDAP=off: LDAP protocol support
LUA=on: Lua scripting language support
MACRO=on: Enable app_macro (deprecated)
MP3PLAYER=on: Install MP3 Player for Music-On-Hold (mpg123)
OOH323=off: ooh323 support
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
PJSIP=on: Build the PJSIP based SIP channel
PORTAUDIO=on: PortAudio library support
RADIUS=on: RADIUS protocol support
SNMP=on: SNMP network protocol support
SPANDSP=on: SpanDSP faxing support
SRTP=on: SecureRTP support
SYSINFO=off: Use devel/libsysinfo to get system information
URIPARSER=on: Use RFC 3986 compliant uriparser library
XMLDOC=on: Build and install XML documentation
XMPP=on: XMPP/GTALK support
====> Menuselect Interface Backend: you have to choose at least one of them
NCURSES=off: Console (text) interface support
NEWT=on: Newt User Interface
====> Encoder/Decoder (Codec) Support
GSM=on: GSM codec support
NEWG711=off: New G711 Codec
OPUS=on: Opus Codec
SPEEX=on: Speex audio format support
VORBIS=on: Ogg Vorbis audio codec support
====> Database Support
MYSQL=on: MySQL database support
ODBC=on: ODBC database backend
PGSQL=on: PostgreSQL database support
===> Use 'make config' to modify these settings
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
NOTE: To get color output in the asterisk console you need to install
the misc/terminfo-db port
net/asterisk16: Fix build with OpenSSL 3
Although astersisk itself builds fine with OpenSSL 3 however one of it's
internal project pjproject fails to detect OpenSSL 3 and picks up gnutls
as a dependency but fails to detect the library.
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
net/asterisk16: Mark IGNORESSL
This port do not have upstream support for OpenSSL 3 and later as it's
supposed toe expire on 2023-10-09 so mark IGNORE_SSL for OSVERSION
1400092 and cases where SSL_DEFAULT is openssl.
Sponsored by: The FreeBSD Foundation
*/*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.
Approved by: portmgr (blanket)
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
cleanup: remove support for FreeBSD 13.0 which expired today.
- Mk/bsd.port.mk: mark 13.0 as unsupported
- Tools/scripts/portsearch: Drop support for FreeBSD <= 4
- archivers/zstd: revert "Fix build on FreeBSD 13.0"
- deskutils/xdg-desktop-portal: remove check for 13.0
- devel/libpeas: remove outdated comment
- editors/imhex: remove compatibility for 13.0
- editors/libreoffice: remove compatibility for 13.0
- editors/openoffice-4: remove compatibility for 13.0
- editors/openoffice-devel: remove compatibility for 13.0
- emulators/linux_base-c7: remove compatiblity for 13.0
- graphics/drm-kmod: remove detection for 13.0
- graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore
- graphics/linux-c7-libdrm: remove support for 13.0
(Only the first 15 lines of the commit message are shown above )
net/asterisk: drop maintainership
Drop maintainership for asterisk and related ports.
I've not been using asterisk for a while now, and am unable to
properly test updates and patches now.
Releasing it to the heap, hoping someone actually using it can take
maintanership.
net/asterisk16: Add red_geolocation support
Add a GEOLOCATION option (off by default) to allow building the new
res_geolocation module, which allows to use geolocation information
in SIP protocol (upstream provider support required).
Since it requires architecture specific flags to be passed to ld,
I've enabled it only for tier 1 architectures at present.
PR: 266053
Tested by: Seneca Cunningham <seneca@vybenetworks.com>
net/asterisk16: Fix configure issue when PJSIP option is disabled
pkgconfig is now used by asterisk to detect most required dependencies,
so add it to the global USES.
At the same time there is a bug in the menuselect configure script
that shows up when the PJSIP option is disabled. It tries to run
sed through a $SED variable before populating it.
As a workaround for now I just replace the $SED variable with the
bare sed command.
PR: 263980
Fixes: e8e6fba878cf12
net/asterisk16: Update to 16.26.0
- Embedded pjproject updated from 2.10 to 2.12
- Fix terminfo detection by adding the correct path to detection code [1]
- Add note to pkg-descr to explain that the misc/terminfo-db port
is required to get color in the console
Reported by: ogogon@ogogon.org (via email) [1]
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
net/asterisk16: Fix build when textproc/xmlstarlet is installed
Asterisk build system checks for presence of xmlstarlet as "xml"
binary on the system.
If found it triggers part of the build system trying to download
some external files during the install phase which even uses a
command line tool not available on FreeBSD.
Such code is not necessary for the port, as all supported modules
are downloaded using ports tree provided functionality. Furthermore
downloading files from the internet is forbidden during the install
phase.
This patch forces the variable used by the Makefiles to identify
xmlstarlet presence to be empty. so the code path described above
is not triggered.
PR: 261884
*/*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
net/asterisk1[68]: Remove obsolete patches
These patches are already included upstream. No functional change.
Reported by: Naveen Albert <asterisk at phreaknet.org> (via email)
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
net/asterisk16: Add back g729 files distinfo
I removed these by mistake in commit 99857c53ae27
PR: 257478
Reported by: OlivierW <olivierw1+bugzilla-freebsd@hotmail.com>
MFH: 2021Q3
net/asterisk*: Remove ONLY_FOR_ARCHS restriction
There is no architecture specific code in asterisk. It used to have
problems building on certain architectures due to the software
leveraging some then advanced compiler features.
At present asterisk is expected to compile and work fine on all
supported architectures. This is also shown by the restriction being
removed including almost all of them.
Noticed by: danfe
MFH: 2021Q3
net/asterisk*: Add aarch64 support
User testing reports asterisk compiles and works fine on aarch64.
PR: 257176
Tested by: José Pérez <pr@aoek.com>
MFH: 2021Q3
- Add variable to configure group owner for asterisk runtime directory
creation in startup script
- Correct order of variables
PR: 254232
SUbmitted by: Boris Korzun <drtr0jan@yandex.ru>
Add XMLDOC option to control installation of XML documentation.
This is on by default, which prodiuces the same behavior as before.
PR: 249531
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
- Update asterisk16 to 16.12.0
- Asterisk project now embeds pjsip 2.10, get it's distribution
from github and adapt port
- Remove patch merged upstream
- Refresh patches and rename to current naming scheme
- Reorder some variables to silnce portlint warning
- Remove bashisms from configure script which can cause wrong options
being passed to bundled pjproject configure script
- Prevent pjproject build from trying to touch, calculate checksum
and download the pjproject distribution file itself. This can cause
build failures in poudriere
Reported by: cmt
Tested by: cmt
Make asterisk16 port use the bundled pjproject(pjsip) library, as
suggested by upstream.
Force the bundled pjproject to use external srtp library provided
by ports to ensure it and asterisk itself link to the same library.
This decouples asterisk from the pjsip port, allowing it to be
upsdaated without breaking asterisk. [1]
PR: 245607 [1]
Submitted by: yuri
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION on asterisk ports after r500705 changes to pjsip.
Crashes have been reported, which are fixed by reinstallation.
Reported by: Christoph Moench-Tegeder <cmt@burggraben.net>
MFH: 2019Q2
Number of commits found: 178 (showing only 100 on this page)