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 asterisk18-18.26.4:
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
*/*: Bump PORTREVISION after libuuid/libblkid switch
from e2fsprogs to util-linux, to complete the bump of all users
of either library that started with Alexander's commit titled
'*/*: Switch to misc/libuuid and misc/libblkid'
PR: 251489
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
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
*/*: Fix typos on OPENSSL3 build fixes
On my previous OpenSSL 3 fixes there was an accidental typo. This commit
fixes all those typos.
Approved by: portmgr (blanket)
*/*: 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/asterisk18: 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/asterisk18: 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: 8d2283b7663ce9
net/asterisk18: Update to 18.12.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
- Remove trailing whitespace
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/asterisk18: 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/asterisk18: Add back g729 files distinfo
I removed these by mistake in commit 1e67882380f4
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>