pkgsrc-wip/baresip/Makefile

64 lines
1.8 KiB
Makefile
Raw Permalink Normal View History

# $NetBSD: Makefile,v 1.2 2014/09/05 08:06:00 thomasklausner Exp $
baresip: update to baresip-1.0.0 (Presumably the changelog [Unreleased] section is for 1.0.0) = Baresip Changelog == [Unreleased] === Added - aac: add AAC_STREAMTYPE_AUDIO enum value - aac: add AAC_ prefix - Video mode param to call_answer(), ua_answer() and ua_hold_answer [#966] - video_stop_display() API function [#977] - module: add path to module_load() function - conf: add conf_configure_buf - test: add usage of g711.so module [#978] - JSON initial codec state command and response [#973] - account_set_video_codecs() API function [#981] - net: add fallback dns nameserver [#996] - gtk: show call_peername in notify title [#1006] - call: Added call_state() API function that returns enum state of the call [#1013] - account_set_stun_user() and account_set_stun_pass() API functions [#1015] - API functions account_stun_uri and account_set_stun_uri. [#1018] - ausine: Audio sine wave input module [#1021] - gtk/menu: replace spaces from uri [#1007] - jack: allowing jack client name to be specified in the config file [#1025] [#1020] - snapshot: Add snapshot_send and snapshot_recv commands [#1029] - webrtc_aec: 'extended_filter' config option [#1030] - avfilter: FFmpeg filter graphs integration [#1038] - reg: view proxy expiry value in reg_status [#1068] - account: add parameter rwait for re-register interval [#1069] - call, stream, menu: add cmd to set the direction of video stream [#1073] === Changed - **Using [baresip/re](https://github.com/baresip/re) fork now** - audio: move calculation to audio_jb_current_value - avformat: clean up docs - gzrtp: update docs - account: increased size of audio codec list to 16 - video: make video_sdp_attr_decode public - config: Derive default audio driver from default audio device [#1009] - jack: modifying info message on jack client creation [#1019] - call: when video stream is disabled, stop also video display [#1023] - dtls_srtp: use tls_set_selfsigned_rsa with keysize 2048 [#1062] [#1056] - rst: use a min ptime of 20ms - aac: change ptime to 4ms === Fixed - avcodec: fix H.264 interop with Firefox - winwave: waveInGetPosition is no longer supported for use as of Windows Vista [#960] - avcodec: call av_hwdevice_ctx_create before if-statement - account: use single quote instead of backtick - ice: fix segfault in connh [#980] - call: Update call->got_offer when re-INVITE or answer to re-INVITE is received [#986] - mk: Test also for /usr/lib64/libspeexdsp.so to cover Fedora/RHEL/CentOS [#992] - config: Allow distribution specific CA trust bundle locations (fixes [#993] - config: Allow distribution specific default audio device (fixes [#994] - mqtt: fix err is never read (found by clang static analyzer) - avcodec: fix err is never read (found by clang static analyzer) - gtk: notification buttons do not work on Systems [#1012] - gtk: fix dtmf_tone and add tones as feedback [#1010] - pulse: drain pulse buffers before freeing [#1016] - jack: jack_play connect all physical ports [#1028] - Makefile: do not try to install modules if build is static [#1031] - gzrtp: media_alloc function is missing [#1034] [#1022] - call: when updating video, check if video stream has been disabled [#1037] - amr: fix length check, fixes [#1011] - modules: fix search path for avdevice.h [#1043] - gtk: declare variables C89 style - config: init newly added member - menu: fix segfault in ua_event_handler [#1059] [#1061] - debug_cmd: fix OpenSSL no-deprecated [#1065] - aac: handle missing bitrate parameter in SDP format - av1: properly configure encoder === Removed - ice: remove support for ICE-lite - ice: remove ice_debug, use log level DEBUG instead - ice: make stun server optional - config: remove ice_debug option (unused) === Contributors (many thanks) - Alfred E. Heggestad - Alexander Gramner - Andrew Webster - Christian Spielberger - Christoph Huber - Davide Alberani - Ethan Funk - Juha Heinanen - mbattista - Michael Malone - Mikl Kurkov - ndilieto - Robert Scheck - Roger Sandholm - Sebastian Reimers [#966]: https://github.com/baresip/baresip/pull/966 [#977]: https://github.com/baresip/baresip/pull/977 [#978]: https://github.com/baresip/baresip/pull/978 [#973]: https://github.com/baresip/baresip/pull/973 [#981]: https://github.com/baresip/baresip/pull/981 [#996]: https://github.com/baresip/baresip/pull/996 [#1006]: https://github.com/baresip/baresip/pull/1006 [#1013]: https://github.com/baresip/baresip/pull/1013 [#1015]: https://github.com/baresip/baresip/pull/1015 [#1018]: https://github.com/baresip/baresip/pull/1018 [#1021]: https://github.com/baresip/baresip/pull/1021 [#1007]: https://github.com/baresip/baresip/pull/1007 [#1025]: https://github.com/baresip/baresip/pull/1025 [#1020]: https://github.com/baresip/baresip/pull/1020 [#1029]: https://github.com/baresip/baresip/pull/1029 [#1030]: https://github.com/baresip/baresip/pull/1030 [#1038]: https://github.com/baresip/baresip/pull/1038 [#1009]: https://github.com/baresip/baresip/pull/1009 [#1019]: https://github.com/baresip/baresip/pull/1019 [#1023]: https://github.com/baresip/baresip/pull/1023 [#1062]: https://github.com/baresip/baresip/pull/1062 [#1056]: https://github.com/baresip/baresip/pull/1056 [#960]: https://github.com/baresip/baresip/pull/960 [#980]: https://github.com/baresip/baresip/pull/980 [#986]: https://github.com/baresip/baresip/pull/986 [#992]: https://github.com/baresip/baresip/pull/992 [#993]: https://github.com/baresip/baresip/pull/993 [#994]: https://github.com/baresip/baresip/pull/994 [#1012]: https://github.com/baresip/baresip/pull/1012 [#1010]: https://github.com/baresip/baresip/pull/1010 [#1016]: https://github.com/baresip/baresip/pull/1016 [#1028]: https://github.com/baresip/baresip/pull/1028 [#1031]: https://github.com/baresip/baresip/pull/1031 [#1034]: https://github.com/baresip/baresip/pull/1034 [#1022]: https://github.com/baresip/baresip/pull/1022 [#1037]: https://github.com/baresip/baresip/pull/1037 [#1011]: https://github.com/baresip/baresip/pull/1011 [#1043]: https://github.com/baresip/baresip/pull/1043 [#1059]: https://github.com/baresip/baresip/pull/1059 [#1061]: https://github.com/baresip/baresip/pull/1061 [#1065]: https://github.com/baresip/baresip/pull/1065 [#1068]: https://github.com/baresip/baresip/pull/1068 [#1069]: https://github.com/baresip/baresip/pull/1069 [#1073]: https://github.com/baresip/baresip/pull/1073 [Unreleased]: https://github.com/baresip/baresip/compare/v0.6.6...HEAD
2020-11-28 16:16:20 +00:00
DISTNAME= baresip-1.0.0
CATEGORIES= net audio
baresip: update to baresip-1.0.0 (Presumably the changelog [Unreleased] section is for 1.0.0) = Baresip Changelog == [Unreleased] === Added - aac: add AAC_STREAMTYPE_AUDIO enum value - aac: add AAC_ prefix - Video mode param to call_answer(), ua_answer() and ua_hold_answer [#966] - video_stop_display() API function [#977] - module: add path to module_load() function - conf: add conf_configure_buf - test: add usage of g711.so module [#978] - JSON initial codec state command and response [#973] - account_set_video_codecs() API function [#981] - net: add fallback dns nameserver [#996] - gtk: show call_peername in notify title [#1006] - call: Added call_state() API function that returns enum state of the call [#1013] - account_set_stun_user() and account_set_stun_pass() API functions [#1015] - API functions account_stun_uri and account_set_stun_uri. [#1018] - ausine: Audio sine wave input module [#1021] - gtk/menu: replace spaces from uri [#1007] - jack: allowing jack client name to be specified in the config file [#1025] [#1020] - snapshot: Add snapshot_send and snapshot_recv commands [#1029] - webrtc_aec: 'extended_filter' config option [#1030] - avfilter: FFmpeg filter graphs integration [#1038] - reg: view proxy expiry value in reg_status [#1068] - account: add parameter rwait for re-register interval [#1069] - call, stream, menu: add cmd to set the direction of video stream [#1073] === Changed - **Using [baresip/re](https://github.com/baresip/re) fork now** - audio: move calculation to audio_jb_current_value - avformat: clean up docs - gzrtp: update docs - account: increased size of audio codec list to 16 - video: make video_sdp_attr_decode public - config: Derive default audio driver from default audio device [#1009] - jack: modifying info message on jack client creation [#1019] - call: when video stream is disabled, stop also video display [#1023] - dtls_srtp: use tls_set_selfsigned_rsa with keysize 2048 [#1062] [#1056] - rst: use a min ptime of 20ms - aac: change ptime to 4ms === Fixed - avcodec: fix H.264 interop with Firefox - winwave: waveInGetPosition is no longer supported for use as of Windows Vista [#960] - avcodec: call av_hwdevice_ctx_create before if-statement - account: use single quote instead of backtick - ice: fix segfault in connh [#980] - call: Update call->got_offer when re-INVITE or answer to re-INVITE is received [#986] - mk: Test also for /usr/lib64/libspeexdsp.so to cover Fedora/RHEL/CentOS [#992] - config: Allow distribution specific CA trust bundle locations (fixes [#993] - config: Allow distribution specific default audio device (fixes [#994] - mqtt: fix err is never read (found by clang static analyzer) - avcodec: fix err is never read (found by clang static analyzer) - gtk: notification buttons do not work on Systems [#1012] - gtk: fix dtmf_tone and add tones as feedback [#1010] - pulse: drain pulse buffers before freeing [#1016] - jack: jack_play connect all physical ports [#1028] - Makefile: do not try to install modules if build is static [#1031] - gzrtp: media_alloc function is missing [#1034] [#1022] - call: when updating video, check if video stream has been disabled [#1037] - amr: fix length check, fixes [#1011] - modules: fix search path for avdevice.h [#1043] - gtk: declare variables C89 style - config: init newly added member - menu: fix segfault in ua_event_handler [#1059] [#1061] - debug_cmd: fix OpenSSL no-deprecated [#1065] - aac: handle missing bitrate parameter in SDP format - av1: properly configure encoder === Removed - ice: remove support for ICE-lite - ice: remove ice_debug, use log level DEBUG instead - ice: make stun server optional - config: remove ice_debug option (unused) === Contributors (many thanks) - Alfred E. Heggestad - Alexander Gramner - Andrew Webster - Christian Spielberger - Christoph Huber - Davide Alberani - Ethan Funk - Juha Heinanen - mbattista - Michael Malone - Mikl Kurkov - ndilieto - Robert Scheck - Roger Sandholm - Sebastian Reimers [#966]: https://github.com/baresip/baresip/pull/966 [#977]: https://github.com/baresip/baresip/pull/977 [#978]: https://github.com/baresip/baresip/pull/978 [#973]: https://github.com/baresip/baresip/pull/973 [#981]: https://github.com/baresip/baresip/pull/981 [#996]: https://github.com/baresip/baresip/pull/996 [#1006]: https://github.com/baresip/baresip/pull/1006 [#1013]: https://github.com/baresip/baresip/pull/1013 [#1015]: https://github.com/baresip/baresip/pull/1015 [#1018]: https://github.com/baresip/baresip/pull/1018 [#1021]: https://github.com/baresip/baresip/pull/1021 [#1007]: https://github.com/baresip/baresip/pull/1007 [#1025]: https://github.com/baresip/baresip/pull/1025 [#1020]: https://github.com/baresip/baresip/pull/1020 [#1029]: https://github.com/baresip/baresip/pull/1029 [#1030]: https://github.com/baresip/baresip/pull/1030 [#1038]: https://github.com/baresip/baresip/pull/1038 [#1009]: https://github.com/baresip/baresip/pull/1009 [#1019]: https://github.com/baresip/baresip/pull/1019 [#1023]: https://github.com/baresip/baresip/pull/1023 [#1062]: https://github.com/baresip/baresip/pull/1062 [#1056]: https://github.com/baresip/baresip/pull/1056 [#960]: https://github.com/baresip/baresip/pull/960 [#980]: https://github.com/baresip/baresip/pull/980 [#986]: https://github.com/baresip/baresip/pull/986 [#992]: https://github.com/baresip/baresip/pull/992 [#993]: https://github.com/baresip/baresip/pull/993 [#994]: https://github.com/baresip/baresip/pull/994 [#1012]: https://github.com/baresip/baresip/pull/1012 [#1010]: https://github.com/baresip/baresip/pull/1010 [#1016]: https://github.com/baresip/baresip/pull/1016 [#1028]: https://github.com/baresip/baresip/pull/1028 [#1031]: https://github.com/baresip/baresip/pull/1031 [#1034]: https://github.com/baresip/baresip/pull/1034 [#1022]: https://github.com/baresip/baresip/pull/1022 [#1037]: https://github.com/baresip/baresip/pull/1037 [#1011]: https://github.com/baresip/baresip/pull/1011 [#1043]: https://github.com/baresip/baresip/pull/1043 [#1059]: https://github.com/baresip/baresip/pull/1059 [#1061]: https://github.com/baresip/baresip/pull/1061 [#1065]: https://github.com/baresip/baresip/pull/1065 [#1068]: https://github.com/baresip/baresip/pull/1068 [#1069]: https://github.com/baresip/baresip/pull/1069 [#1073]: https://github.com/baresip/baresip/pull/1073 [Unreleased]: https://github.com/baresip/baresip/compare/v0.6.6...HEAD
2020-11-28 16:16:20 +00:00
MASTER_SITES= ${MASTER_SITE_GITHUB:=baresip/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
baresip: update to baresip-1.0.0 (Presumably the changelog [Unreleased] section is for 1.0.0) = Baresip Changelog == [Unreleased] === Added - aac: add AAC_STREAMTYPE_AUDIO enum value - aac: add AAC_ prefix - Video mode param to call_answer(), ua_answer() and ua_hold_answer [#966] - video_stop_display() API function [#977] - module: add path to module_load() function - conf: add conf_configure_buf - test: add usage of g711.so module [#978] - JSON initial codec state command and response [#973] - account_set_video_codecs() API function [#981] - net: add fallback dns nameserver [#996] - gtk: show call_peername in notify title [#1006] - call: Added call_state() API function that returns enum state of the call [#1013] - account_set_stun_user() and account_set_stun_pass() API functions [#1015] - API functions account_stun_uri and account_set_stun_uri. [#1018] - ausine: Audio sine wave input module [#1021] - gtk/menu: replace spaces from uri [#1007] - jack: allowing jack client name to be specified in the config file [#1025] [#1020] - snapshot: Add snapshot_send and snapshot_recv commands [#1029] - webrtc_aec: 'extended_filter' config option [#1030] - avfilter: FFmpeg filter graphs integration [#1038] - reg: view proxy expiry value in reg_status [#1068] - account: add parameter rwait for re-register interval [#1069] - call, stream, menu: add cmd to set the direction of video stream [#1073] === Changed - **Using [baresip/re](https://github.com/baresip/re) fork now** - audio: move calculation to audio_jb_current_value - avformat: clean up docs - gzrtp: update docs - account: increased size of audio codec list to 16 - video: make video_sdp_attr_decode public - config: Derive default audio driver from default audio device [#1009] - jack: modifying info message on jack client creation [#1019] - call: when video stream is disabled, stop also video display [#1023] - dtls_srtp: use tls_set_selfsigned_rsa with keysize 2048 [#1062] [#1056] - rst: use a min ptime of 20ms - aac: change ptime to 4ms === Fixed - avcodec: fix H.264 interop with Firefox - winwave: waveInGetPosition is no longer supported for use as of Windows Vista [#960] - avcodec: call av_hwdevice_ctx_create before if-statement - account: use single quote instead of backtick - ice: fix segfault in connh [#980] - call: Update call->got_offer when re-INVITE or answer to re-INVITE is received [#986] - mk: Test also for /usr/lib64/libspeexdsp.so to cover Fedora/RHEL/CentOS [#992] - config: Allow distribution specific CA trust bundle locations (fixes [#993] - config: Allow distribution specific default audio device (fixes [#994] - mqtt: fix err is never read (found by clang static analyzer) - avcodec: fix err is never read (found by clang static analyzer) - gtk: notification buttons do not work on Systems [#1012] - gtk: fix dtmf_tone and add tones as feedback [#1010] - pulse: drain pulse buffers before freeing [#1016] - jack: jack_play connect all physical ports [#1028] - Makefile: do not try to install modules if build is static [#1031] - gzrtp: media_alloc function is missing [#1034] [#1022] - call: when updating video, check if video stream has been disabled [#1037] - amr: fix length check, fixes [#1011] - modules: fix search path for avdevice.h [#1043] - gtk: declare variables C89 style - config: init newly added member - menu: fix segfault in ua_event_handler [#1059] [#1061] - debug_cmd: fix OpenSSL no-deprecated [#1065] - aac: handle missing bitrate parameter in SDP format - av1: properly configure encoder === Removed - ice: remove support for ICE-lite - ice: remove ice_debug, use log level DEBUG instead - ice: make stun server optional - config: remove ice_debug option (unused) === Contributors (many thanks) - Alfred E. Heggestad - Alexander Gramner - Andrew Webster - Christian Spielberger - Christoph Huber - Davide Alberani - Ethan Funk - Juha Heinanen - mbattista - Michael Malone - Mikl Kurkov - ndilieto - Robert Scheck - Roger Sandholm - Sebastian Reimers [#966]: https://github.com/baresip/baresip/pull/966 [#977]: https://github.com/baresip/baresip/pull/977 [#978]: https://github.com/baresip/baresip/pull/978 [#973]: https://github.com/baresip/baresip/pull/973 [#981]: https://github.com/baresip/baresip/pull/981 [#996]: https://github.com/baresip/baresip/pull/996 [#1006]: https://github.com/baresip/baresip/pull/1006 [#1013]: https://github.com/baresip/baresip/pull/1013 [#1015]: https://github.com/baresip/baresip/pull/1015 [#1018]: https://github.com/baresip/baresip/pull/1018 [#1021]: https://github.com/baresip/baresip/pull/1021 [#1007]: https://github.com/baresip/baresip/pull/1007 [#1025]: https://github.com/baresip/baresip/pull/1025 [#1020]: https://github.com/baresip/baresip/pull/1020 [#1029]: https://github.com/baresip/baresip/pull/1029 [#1030]: https://github.com/baresip/baresip/pull/1030 [#1038]: https://github.com/baresip/baresip/pull/1038 [#1009]: https://github.com/baresip/baresip/pull/1009 [#1019]: https://github.com/baresip/baresip/pull/1019 [#1023]: https://github.com/baresip/baresip/pull/1023 [#1062]: https://github.com/baresip/baresip/pull/1062 [#1056]: https://github.com/baresip/baresip/pull/1056 [#960]: https://github.com/baresip/baresip/pull/960 [#980]: https://github.com/baresip/baresip/pull/980 [#986]: https://github.com/baresip/baresip/pull/986 [#992]: https://github.com/baresip/baresip/pull/992 [#993]: https://github.com/baresip/baresip/pull/993 [#994]: https://github.com/baresip/baresip/pull/994 [#1012]: https://github.com/baresip/baresip/pull/1012 [#1010]: https://github.com/baresip/baresip/pull/1010 [#1016]: https://github.com/baresip/baresip/pull/1016 [#1028]: https://github.com/baresip/baresip/pull/1028 [#1031]: https://github.com/baresip/baresip/pull/1031 [#1034]: https://github.com/baresip/baresip/pull/1034 [#1022]: https://github.com/baresip/baresip/pull/1022 [#1037]: https://github.com/baresip/baresip/pull/1037 [#1011]: https://github.com/baresip/baresip/pull/1011 [#1043]: https://github.com/baresip/baresip/pull/1043 [#1059]: https://github.com/baresip/baresip/pull/1059 [#1061]: https://github.com/baresip/baresip/pull/1061 [#1065]: https://github.com/baresip/baresip/pull/1065 [#1068]: https://github.com/baresip/baresip/pull/1068 [#1069]: https://github.com/baresip/baresip/pull/1069 [#1073]: https://github.com/baresip/baresip/pull/1073 [Unreleased]: https://github.com/baresip/baresip/compare/v0.6.6...HEAD
2020-11-28 16:16:20 +00:00
HOMEPAGE= https://github.com/baresip/baresip/
COMMENT= SIP User-Agent with audio and video support
LICENSE= modified-bsd
USE_LANGUAGES= c c++
baresip: update to baresip-0.4.20 Pkgsrc changes: * change the build procedure a bit to accommodate modules * use the options framework top optionally build a number of modules * install example configuration files Notes: On my NetBSD machine the "oss" and "portaudio" modules do not work correctly. This is probably due to the fact that the module opens and initializes the device twice (once for reading and once for writing) but I was unable to diagnose the exact problem. A workaround is to use the jack plugin (or pulseaudio) by enabling the "jack.so" module in ~/.baresip/config. The jack server can start automatically: echo "/usr/pkg/bin/jackd -T -r -d sun" > ~/.jackdrc export JACK_START_SERVER=yes The sndiod module currently does not build. Changelog: 2016-07-22 Alfred E. Heggestad <aeh@db.org> * Version 0.4.20 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.20 * NOTE: Requires libre v0.4.17 or later Requires librem v0.4.7 or later * new modules: - pulse Pulseaudio driver - vp9 VP9 video codec * config: - audio_path Path to audio files - call_local_timeout Timeout for incoming calls - redial_attempts Number of redial attempts - redial_delay Redial delay in seconds * baresip-core: - baresip: added a global baresip instance (WIP) - call: add RTP timeout (thanks to Sveriges Radio) - config: added call_local_timeout for incoming call timeout - config: added compile-time configureable CONFIG_PATH - config: added 'audio_path' config variable (thanks Juha Heinanen) - net: made it re-entrant with struct network - ua: added uag_set_exit_handler - ua: fix bug with reg_uri limited to 64-chars - video: vidfilters should not modify decoded image * selftest: - add test for network - add test for sending SIP OPTIONS - add test for RTP timeout * Modules: * avcodec: fix usage of deprecated API * avformat: remove support for scaling fix usage of deprecated API * cons: relay log-messages to active UDP/TCP connections https://github.com/alfredh/baresip/issues/144 * h265: fix usage of deprecated API * menu: added support for re-dial on failure (thanks to Sveriges Radio) * mpa: Bug with reinit of codec structs (thanks Christian Hoene) * natpmp: added support for RTCP * presence: use correct struct in deref handler * pulse: new module for Pulseaudio driver (thanks to Matthias Apitz for testing) * vidloop: vidfilters should not modify decoded image * vp8: module renamed from vpx.so to vp8.so * vp9: new module implementing VP9 video codec * wincons: use ReadConsoleInput, thanks to GGGO (fixes #139) https://github.com/alfredh/baresip/issues/139 2016-05-20 Alfred E. Heggestad <aeh@db.org> * Version 0.4.19 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.19 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * new modules: - mpa MPA Speech and Audio Codec (thanks Christian Hoene) * baresip-core: - audio: remove is_g722 exception use aucodec's rtp clockrate for calculating RTP timestamp plc: make sure sampc is exactly one ptime frame - aucodec: split srate into DSP srate and RTP clockrate (these are different for e.g. G.722 and MDA) - mos: add mos_calculate() (thanks Lorenzo Mangani) - net: use configured dns servers only, if specified - ua: fix potential NULL-pointer crash for uag.cfg * selftest: - add test for SIP registration with DNS - add test for SIP registration with authentication - add test for MOS calculations - added a mock DNS Server - added a mock SIP Server * Modules: * aucodec: add support for NV12 and YUVJ420P pixel formats * daala: update to libdaala version 0.0-1564-g79787c7 * gtk: fix autodetection of libgtk+ 2.0 (thanks Charles Lehner) * h265: remove call to x265_cleanup, caused crash on OpenBSD * mpa: new module that implements MPA Speech and Audio Codec (this module was contributed by Christian Hoene) * opus: added new configuration parameters: opus_cbr {yes,no} # Constant Bitrate (inverse of VBR) opus_inbandfec {yes,no} # Enable inband FEC opus_dtx {yes,no} # Enable DTX * presence: improved interoperability, allow white space before xml element closing tags (thanks Juha Heinanen) * x11: added borderless window (thanks Doug Blewett) 2016-03-12 Alfred E. Heggestad <aeh@db.org> * Version 0.4.18 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.18 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * baresip-core: - call: fix SIP INFO with dtmf-relay (thanks Gary Metalle) - ua: add event UA_EVENT_CALL_CLOSED for ua_hangup() * selftest: - add tests for answer a call and hangup * Modules: * alsa: fix potential crash (thanks Gary Metalle) * audiounit: fix compilation for iOS (issue #91) * avcodec: fix compilation for FFmpeg 3.0 * avformat: fix compilation for FFmpeg 3.0 * gtk: always handle incoming calls (thanks Charles Lehner) * h265: fix compilation for FFmpeg 3.0 * menu: add config 'menu_bell off/on' to enable Bell alert add command 'A' for switch audio device (thanks AlexMarlo) * v4l2_codec: add list of encoders (fixes #99) 2016-01-17 Alfred E. Heggestad <aeh@db.org> * Version 0.4.17 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.17 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * new modules: - echo Echo server module - jack JACK Audio Connection Kit audio-driver * baresip-core: - config: keep config object in memory - ua: moved playing of ringtones out of core, to "menu" module (let's keep the core nice and slim..) - ui: added ui_password_prompt() * selftest: - silence debug/info log by default, only print warnings (use -v to see verbose logging) * Modules: * alsa: added config option to specify the sample format "alsa_sample_format {s16,float,s24_3le}" thanks to Ola Palm for valuable feedback * audiounit: fix recording on OSX (thanks Sebastian Reimers) print hardware samplerate in debug mode * auloop: add support for 44100 Hz samplerate * daala: update to latest libdaala API (thanks Dmitrij D. Czarkoff) * echo: new module which implements a simple Echo-server, to be used in combination with the aubridge.so module. contributed by Sebastian Reimers * gtk: fixes to support C89 compiler (thanks Dmitrij D. Czarkoff) * jack: new module which implements audio-driver for JACK * menu: playing of ringtones moved here, from ua.c * sndio: fix crash when device open fails (thanks Dmitrij D. Czarkoff) 2015-12-01 Alfred E. Heggestad <aeh@db.org> * Version 0.4.16 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit bed2241da3261e472f09b21958f0cc1324a94f27 * GIT tag: v0.4.16 * NOTE: Requires libre v0.4.14 or later * new modules: - v4l2_codec Video4Linux2 video codec (H264 hardware encoding) - vidinfo Video info overlay module * baresip-core: - audio: add audio_set_source() and audio_set_player() - audio: flush tx-buffer for all modes (thanks Thibault Gueslin) - call: add call_is_outgoing() - call: check address-family of incoming SDP offer (thanks Olle) - h264: move H.264 packetization code to core - main: add -u option to append extra global UA parameters - main: pre-load modules after all arguments are parsed - ua: add events UA_EVENT_SHUTDOWN,UA_EXIT - ua: add ua_hold_answer() - ua: add ua_set_media_af() - ua: delay mod-unloading if mods has a ref to struct ua * build: - add verbose build with V=1 (thanks Dmitrij D. Czarkoff) - add pkg-config file (thanks William King) - add travis.yml file for Github build-system * Modules: * alsa: fix memory leaks * avcodec: move common H.264 packetization code to core * cairo: use pkg-config in makefile * daala: update to latest libdaala (thanks Dmitrij D. Czarkoff) * gst_video: use H.264 packetization API from core * gst_video1: use H.264 packetization API from core * gtk: fix segmentation fault on window close * mwi: add 500ms delay after closing subscription * oss: use pthread for ausrc instead of fd_listen (fixes FreeBSD) * presence: use sipevent_sock instance from UA core add 500ms delay after closing subscription * v4l2_codec: new module * vidinfo: new module * zrtp: fix ZRTP over TURN by moving helper to layer 10 fix ZID verification (thanks Ingo Feinerer) 2015-09-26 Alfred E. Heggestad <aeh@db.org> * Version 0.4.15 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit 86262a6fc17e19e2be82eb8a2a05ec0f884d3d38 * GIT tag: v0.4.15 * NOTE: Requires libre v0.4.13 or later * added selftest binary * baresip-core: - audio: fix televent when pt != 101 (reported by AndyJRobinson) - magic: use __func__ for C99 or later - sip: make sip_req_send() public - ua: add UA_EVENT_CALL_DTMF_START/END, thanks Gary Metalle * Modules: * alsa: added extra logging * gtk: add support for libnotify (thanks Charles Lehner) * video: fix potential null deref (thanks Tomasz Ostrowski) * zrtp: added 36-bytes preamble for TURN-header 2015-08-08 Alfred E. Heggestad <aeh@db.org> * Version 0.4.14 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit ebac23b0692de71ee4c3a436f0372013150c937f * GIT tag: v0.4.14 * NOTE: Requires libre v0.4.13 or later * new modules: - gtk GTK+ 2.0 UI (thanks Charles E. Lehner) - gst1 Gstreamer 1.0 audio module - gst_video1 Gstreamer 1.0 video module (thanks Thomas Strobel) - daala Experimental video-codec using Daala * baresip-core: - baresip: added -m argument to pre-load modules - config: add kqueue to sample config (thanks Dmitrij D. Czarkoff) - log: make code C89 compliant (thanks Victor Sergienko) - module: added module_preload() - ua: add CALL_EVENT_TRANSFER_FAILED - ua: skip initial white space from uri (thanks Juha Heinanen) - ua: ua_prev_call() - videnc: move videnc_packet_h to update-handler * build: - added optional $(MOD)_CFLAGS for local module CFLAGS - added project file for Visual C++ Express 2010 - freebsd: add include path to $(SYSROOT)/local/include (thanks Hellmuth Michaelis) * Modules: * avcodec: make code C89 compliant (thanks Victor Sergienko) * cons: make code C89 compliant (thanks Victor Sergienko) * daala: new module * dshow: updates for VC2010 (thanks Victor Sergienko) * gst1: new module * gst_video1: new module * gtk: new module * menu: fix crash when 0 UAs (thanks Hans Petter Selasky) added command 'H' to hold previous call (thanks xanm) * wincons: make code C89 compliant (thanks ggcoding) 2015-06-20 Alfred E. Heggestad <aeh@db.org> * Version 0.4.13 * GIT commit 2e3e825ef5532dfde5a8b52de9ebaac51aa20a9c * NOTE: Requires libre v0.4.12 or later * new modules: - aufile Audio module for using a WAV-file as audio input - b2bua Back-to-Back User-Agent (B2BUA) module - codec2 CODEC2 audio codec - gst_video Gstreamer video codec - h265 H.265 (HEVC) video codec * baresip-core: - contact: add support for access-control (thanks Doug Blewett) - ausrc: change base-class to a const pointer - auplay: change base-class to a const pointer - vidsrc: change base-class to a const pointer - vidisp: change base-class to a const pointer - video: smooth sending of video packets * Modules: * amr: added support for octet-align mode (thanks to Stefan Sayer) * aubridge: copy audio-samples if resampler not needed * aufile: new module for using a WAV-file as audio source * avcapture: only register 1 video source * avformat: fix segfault on recent versions of libav * b2bua: new experimental module * codec2: new module for CODEC2 audio codec * dtls_srtp: uppercase fingerprint, interop (thanks Juha Heinanen) alternative SDP protocols for interop * dtmfio: unregister event handler on close (thanks Hellmuth Michaelis) * gst_video: new module using Gstreamer as a video codec (Thanks to Victor Sergienko and Fadeev Alexander) * h265: new module for H.265 video codec * httpd: added raw mode (thanks Lorenzo Mangani) * menu: create user-agent with a command 'R' (thanks Lorenzo Mangani) * opus: add configuration of "opus_bitrate" (thanks to Juha Heinanen) * speex: add configuration of "speex_mode_nb" and "speex_mode_wb" (thanks to Dmitrij D. Czarkoff and Juha Heinanen) * vidloop: add VIDLOOP_INTERNAL_FMT and split encoder/decoder * x11: catch Window delete (thanks to Doug Blewett) * zrtp: initialize remote_zid (thanks to Ingo Feinerer) 2014-12-24 Alfred E. Heggestad <aeh@db.org> * Version 0.4.12 * GIT commit 67993e35d980375458348b264c4a35a944bb5180 * NOTE: Requires libre v0.4.11 or later * baresip: - account: add regint and pubint - audio: fix checking of sample-rate range - config: remove the "input" block - config: added support for quoted device parameters - config: fix conversion of bandwidth to kbit/s - config: generate more relevant config for FreeBSD and OpenBSD (thanks Dmitrij D. Czarkoff) - reg: add support for extracting GRUU parameter - main: add -p option to set path to audio files - sipreq: make response-handler optional - ua: add support for GRUU (RFC 5627) (many thanks to Juha Heinanen for starting this work and helping out with the testing) - ua: moved presence-status to each struct ua instance - ua: add presence status to each User-Agent instance - ua: use public-GRUU if set, otherwise local cuser - ui: make UI single instance - video: add VIDENC_INTERNAL_FMT (suggested by Victor Sergienko) * docs: added sample configuration files * account: added pubint for Publishing Interval * avcodec: upgrade to recent ffmpeg/libav APIs either FFmpeg or libav can be used * celt: deleted module (replaced by opus) * cons: update usage of struct ui, added output handler added config: cons_listen 0.0.0.0:5555 * evdev: update usage of struct ui, added output handler added config: evdev_device /dev/input/event0 * httpd: added ui output handler * menu: added command 'o' for sending OPTION request (thanks to Juha Heinanen) added command 'D' for accepting incoming calls * mwi: subscribe to MWI after Registration succeeded (thanks to Juha Heinanen) * opensles: add double-buffering and some tuning (thanks to Francesco Bradascio) * opus: added config "opus_bitrate" (thanks to Sebastian Reimers) * presence: added support for PUBLISH (thanks to Juha Heinanen) interop fixes and tuning * stdio: update usage of struct ui, added output handler * uuid: use internal version of generating UUID * v4l2: use memory mapped mode only * vumeter: dont call tmr_start from non-RE thread * wincons: update usage of struct ui, added output handler * winwave: fix bug when closing player device (thanks to Tomasz Ostrowski) add support for mapping device name to index * zrtp: add support for verify SAS (thanks to Ingo Feinerer)
2016-09-06 08:13:31 +00:00
USE_TOOLS+= gmake pkg-config
NO_CONFIGURE= yes
SUBST_CLASSES+= prefix
SUBST_FILES.prefix= Makefile
SUBST_MESSAGE.prefix= Fixing PREFIX path.
SUBST_SED.prefix= -e "s|/usr/local|${PREFIX}|1"
baresip: update to baresip-1.0.0 (Presumably the changelog [Unreleased] section is for 1.0.0) = Baresip Changelog == [Unreleased] === Added - aac: add AAC_STREAMTYPE_AUDIO enum value - aac: add AAC_ prefix - Video mode param to call_answer(), ua_answer() and ua_hold_answer [#966] - video_stop_display() API function [#977] - module: add path to module_load() function - conf: add conf_configure_buf - test: add usage of g711.so module [#978] - JSON initial codec state command and response [#973] - account_set_video_codecs() API function [#981] - net: add fallback dns nameserver [#996] - gtk: show call_peername in notify title [#1006] - call: Added call_state() API function that returns enum state of the call [#1013] - account_set_stun_user() and account_set_stun_pass() API functions [#1015] - API functions account_stun_uri and account_set_stun_uri. [#1018] - ausine: Audio sine wave input module [#1021] - gtk/menu: replace spaces from uri [#1007] - jack: allowing jack client name to be specified in the config file [#1025] [#1020] - snapshot: Add snapshot_send and snapshot_recv commands [#1029] - webrtc_aec: 'extended_filter' config option [#1030] - avfilter: FFmpeg filter graphs integration [#1038] - reg: view proxy expiry value in reg_status [#1068] - account: add parameter rwait for re-register interval [#1069] - call, stream, menu: add cmd to set the direction of video stream [#1073] === Changed - **Using [baresip/re](https://github.com/baresip/re) fork now** - audio: move calculation to audio_jb_current_value - avformat: clean up docs - gzrtp: update docs - account: increased size of audio codec list to 16 - video: make video_sdp_attr_decode public - config: Derive default audio driver from default audio device [#1009] - jack: modifying info message on jack client creation [#1019] - call: when video stream is disabled, stop also video display [#1023] - dtls_srtp: use tls_set_selfsigned_rsa with keysize 2048 [#1062] [#1056] - rst: use a min ptime of 20ms - aac: change ptime to 4ms === Fixed - avcodec: fix H.264 interop with Firefox - winwave: waveInGetPosition is no longer supported for use as of Windows Vista [#960] - avcodec: call av_hwdevice_ctx_create before if-statement - account: use single quote instead of backtick - ice: fix segfault in connh [#980] - call: Update call->got_offer when re-INVITE or answer to re-INVITE is received [#986] - mk: Test also for /usr/lib64/libspeexdsp.so to cover Fedora/RHEL/CentOS [#992] - config: Allow distribution specific CA trust bundle locations (fixes [#993] - config: Allow distribution specific default audio device (fixes [#994] - mqtt: fix err is never read (found by clang static analyzer) - avcodec: fix err is never read (found by clang static analyzer) - gtk: notification buttons do not work on Systems [#1012] - gtk: fix dtmf_tone and add tones as feedback [#1010] - pulse: drain pulse buffers before freeing [#1016] - jack: jack_play connect all physical ports [#1028] - Makefile: do not try to install modules if build is static [#1031] - gzrtp: media_alloc function is missing [#1034] [#1022] - call: when updating video, check if video stream has been disabled [#1037] - amr: fix length check, fixes [#1011] - modules: fix search path for avdevice.h [#1043] - gtk: declare variables C89 style - config: init newly added member - menu: fix segfault in ua_event_handler [#1059] [#1061] - debug_cmd: fix OpenSSL no-deprecated [#1065] - aac: handle missing bitrate parameter in SDP format - av1: properly configure encoder === Removed - ice: remove support for ICE-lite - ice: remove ice_debug, use log level DEBUG instead - ice: make stun server optional - config: remove ice_debug option (unused) === Contributors (many thanks) - Alfred E. Heggestad - Alexander Gramner - Andrew Webster - Christian Spielberger - Christoph Huber - Davide Alberani - Ethan Funk - Juha Heinanen - mbattista - Michael Malone - Mikl Kurkov - ndilieto - Robert Scheck - Roger Sandholm - Sebastian Reimers [#966]: https://github.com/baresip/baresip/pull/966 [#977]: https://github.com/baresip/baresip/pull/977 [#978]: https://github.com/baresip/baresip/pull/978 [#973]: https://github.com/baresip/baresip/pull/973 [#981]: https://github.com/baresip/baresip/pull/981 [#996]: https://github.com/baresip/baresip/pull/996 [#1006]: https://github.com/baresip/baresip/pull/1006 [#1013]: https://github.com/baresip/baresip/pull/1013 [#1015]: https://github.com/baresip/baresip/pull/1015 [#1018]: https://github.com/baresip/baresip/pull/1018 [#1021]: https://github.com/baresip/baresip/pull/1021 [#1007]: https://github.com/baresip/baresip/pull/1007 [#1025]: https://github.com/baresip/baresip/pull/1025 [#1020]: https://github.com/baresip/baresip/pull/1020 [#1029]: https://github.com/baresip/baresip/pull/1029 [#1030]: https://github.com/baresip/baresip/pull/1030 [#1038]: https://github.com/baresip/baresip/pull/1038 [#1009]: https://github.com/baresip/baresip/pull/1009 [#1019]: https://github.com/baresip/baresip/pull/1019 [#1023]: https://github.com/baresip/baresip/pull/1023 [#1062]: https://github.com/baresip/baresip/pull/1062 [#1056]: https://github.com/baresip/baresip/pull/1056 [#960]: https://github.com/baresip/baresip/pull/960 [#980]: https://github.com/baresip/baresip/pull/980 [#986]: https://github.com/baresip/baresip/pull/986 [#992]: https://github.com/baresip/baresip/pull/992 [#993]: https://github.com/baresip/baresip/pull/993 [#994]: https://github.com/baresip/baresip/pull/994 [#1012]: https://github.com/baresip/baresip/pull/1012 [#1010]: https://github.com/baresip/baresip/pull/1010 [#1016]: https://github.com/baresip/baresip/pull/1016 [#1028]: https://github.com/baresip/baresip/pull/1028 [#1031]: https://github.com/baresip/baresip/pull/1031 [#1034]: https://github.com/baresip/baresip/pull/1034 [#1022]: https://github.com/baresip/baresip/pull/1022 [#1037]: https://github.com/baresip/baresip/pull/1037 [#1011]: https://github.com/baresip/baresip/pull/1011 [#1043]: https://github.com/baresip/baresip/pull/1043 [#1059]: https://github.com/baresip/baresip/pull/1059 [#1061]: https://github.com/baresip/baresip/pull/1061 [#1065]: https://github.com/baresip/baresip/pull/1065 [#1068]: https://github.com/baresip/baresip/pull/1068 [#1069]: https://github.com/baresip/baresip/pull/1069 [#1073]: https://github.com/baresip/baresip/pull/1073 [Unreleased]: https://github.com/baresip/baresip/compare/v0.6.6...HEAD
2020-11-28 16:16:20 +00:00
SUBST_STAGE.prefix= post-extract
baresip: update to baresip-0.4.20 Pkgsrc changes: * change the build procedure a bit to accommodate modules * use the options framework top optionally build a number of modules * install example configuration files Notes: On my NetBSD machine the "oss" and "portaudio" modules do not work correctly. This is probably due to the fact that the module opens and initializes the device twice (once for reading and once for writing) but I was unable to diagnose the exact problem. A workaround is to use the jack plugin (or pulseaudio) by enabling the "jack.so" module in ~/.baresip/config. The jack server can start automatically: echo "/usr/pkg/bin/jackd -T -r -d sun" > ~/.jackdrc export JACK_START_SERVER=yes The sndiod module currently does not build. Changelog: 2016-07-22 Alfred E. Heggestad <aeh@db.org> * Version 0.4.20 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.20 * NOTE: Requires libre v0.4.17 or later Requires librem v0.4.7 or later * new modules: - pulse Pulseaudio driver - vp9 VP9 video codec * config: - audio_path Path to audio files - call_local_timeout Timeout for incoming calls - redial_attempts Number of redial attempts - redial_delay Redial delay in seconds * baresip-core: - baresip: added a global baresip instance (WIP) - call: add RTP timeout (thanks to Sveriges Radio) - config: added call_local_timeout for incoming call timeout - config: added compile-time configureable CONFIG_PATH - config: added 'audio_path' config variable (thanks Juha Heinanen) - net: made it re-entrant with struct network - ua: added uag_set_exit_handler - ua: fix bug with reg_uri limited to 64-chars - video: vidfilters should not modify decoded image * selftest: - add test for network - add test for sending SIP OPTIONS - add test for RTP timeout * Modules: * avcodec: fix usage of deprecated API * avformat: remove support for scaling fix usage of deprecated API * cons: relay log-messages to active UDP/TCP connections https://github.com/alfredh/baresip/issues/144 * h265: fix usage of deprecated API * menu: added support for re-dial on failure (thanks to Sveriges Radio) * mpa: Bug with reinit of codec structs (thanks Christian Hoene) * natpmp: added support for RTCP * presence: use correct struct in deref handler * pulse: new module for Pulseaudio driver (thanks to Matthias Apitz for testing) * vidloop: vidfilters should not modify decoded image * vp8: module renamed from vpx.so to vp8.so * vp9: new module implementing VP9 video codec * wincons: use ReadConsoleInput, thanks to GGGO (fixes #139) https://github.com/alfredh/baresip/issues/139 2016-05-20 Alfred E. Heggestad <aeh@db.org> * Version 0.4.19 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.19 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * new modules: - mpa MPA Speech and Audio Codec (thanks Christian Hoene) * baresip-core: - audio: remove is_g722 exception use aucodec's rtp clockrate for calculating RTP timestamp plc: make sure sampc is exactly one ptime frame - aucodec: split srate into DSP srate and RTP clockrate (these are different for e.g. G.722 and MDA) - mos: add mos_calculate() (thanks Lorenzo Mangani) - net: use configured dns servers only, if specified - ua: fix potential NULL-pointer crash for uag.cfg * selftest: - add test for SIP registration with DNS - add test for SIP registration with authentication - add test for MOS calculations - added a mock DNS Server - added a mock SIP Server * Modules: * aucodec: add support for NV12 and YUVJ420P pixel formats * daala: update to libdaala version 0.0-1564-g79787c7 * gtk: fix autodetection of libgtk+ 2.0 (thanks Charles Lehner) * h265: remove call to x265_cleanup, caused crash on OpenBSD * mpa: new module that implements MPA Speech and Audio Codec (this module was contributed by Christian Hoene) * opus: added new configuration parameters: opus_cbr {yes,no} # Constant Bitrate (inverse of VBR) opus_inbandfec {yes,no} # Enable inband FEC opus_dtx {yes,no} # Enable DTX * presence: improved interoperability, allow white space before xml element closing tags (thanks Juha Heinanen) * x11: added borderless window (thanks Doug Blewett) 2016-03-12 Alfred E. Heggestad <aeh@db.org> * Version 0.4.18 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.18 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * baresip-core: - call: fix SIP INFO with dtmf-relay (thanks Gary Metalle) - ua: add event UA_EVENT_CALL_CLOSED for ua_hangup() * selftest: - add tests for answer a call and hangup * Modules: * alsa: fix potential crash (thanks Gary Metalle) * audiounit: fix compilation for iOS (issue #91) * avcodec: fix compilation for FFmpeg 3.0 * avformat: fix compilation for FFmpeg 3.0 * gtk: always handle incoming calls (thanks Charles Lehner) * h265: fix compilation for FFmpeg 3.0 * menu: add config 'menu_bell off/on' to enable Bell alert add command 'A' for switch audio device (thanks AlexMarlo) * v4l2_codec: add list of encoders (fixes #99) 2016-01-17 Alfred E. Heggestad <aeh@db.org> * Version 0.4.17 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.17 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * new modules: - echo Echo server module - jack JACK Audio Connection Kit audio-driver * baresip-core: - config: keep config object in memory - ua: moved playing of ringtones out of core, to "menu" module (let's keep the core nice and slim..) - ui: added ui_password_prompt() * selftest: - silence debug/info log by default, only print warnings (use -v to see verbose logging) * Modules: * alsa: added config option to specify the sample format "alsa_sample_format {s16,float,s24_3le}" thanks to Ola Palm for valuable feedback * audiounit: fix recording on OSX (thanks Sebastian Reimers) print hardware samplerate in debug mode * auloop: add support for 44100 Hz samplerate * daala: update to latest libdaala API (thanks Dmitrij D. Czarkoff) * echo: new module which implements a simple Echo-server, to be used in combination with the aubridge.so module. contributed by Sebastian Reimers * gtk: fixes to support C89 compiler (thanks Dmitrij D. Czarkoff) * jack: new module which implements audio-driver for JACK * menu: playing of ringtones moved here, from ua.c * sndio: fix crash when device open fails (thanks Dmitrij D. Czarkoff) 2015-12-01 Alfred E. Heggestad <aeh@db.org> * Version 0.4.16 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit bed2241da3261e472f09b21958f0cc1324a94f27 * GIT tag: v0.4.16 * NOTE: Requires libre v0.4.14 or later * new modules: - v4l2_codec Video4Linux2 video codec (H264 hardware encoding) - vidinfo Video info overlay module * baresip-core: - audio: add audio_set_source() and audio_set_player() - audio: flush tx-buffer for all modes (thanks Thibault Gueslin) - call: add call_is_outgoing() - call: check address-family of incoming SDP offer (thanks Olle) - h264: move H.264 packetization code to core - main: add -u option to append extra global UA parameters - main: pre-load modules after all arguments are parsed - ua: add events UA_EVENT_SHUTDOWN,UA_EXIT - ua: add ua_hold_answer() - ua: add ua_set_media_af() - ua: delay mod-unloading if mods has a ref to struct ua * build: - add verbose build with V=1 (thanks Dmitrij D. Czarkoff) - add pkg-config file (thanks William King) - add travis.yml file for Github build-system * Modules: * alsa: fix memory leaks * avcodec: move common H.264 packetization code to core * cairo: use pkg-config in makefile * daala: update to latest libdaala (thanks Dmitrij D. Czarkoff) * gst_video: use H.264 packetization API from core * gst_video1: use H.264 packetization API from core * gtk: fix segmentation fault on window close * mwi: add 500ms delay after closing subscription * oss: use pthread for ausrc instead of fd_listen (fixes FreeBSD) * presence: use sipevent_sock instance from UA core add 500ms delay after closing subscription * v4l2_codec: new module * vidinfo: new module * zrtp: fix ZRTP over TURN by moving helper to layer 10 fix ZID verification (thanks Ingo Feinerer) 2015-09-26 Alfred E. Heggestad <aeh@db.org> * Version 0.4.15 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit 86262a6fc17e19e2be82eb8a2a05ec0f884d3d38 * GIT tag: v0.4.15 * NOTE: Requires libre v0.4.13 or later * added selftest binary * baresip-core: - audio: fix televent when pt != 101 (reported by AndyJRobinson) - magic: use __func__ for C99 or later - sip: make sip_req_send() public - ua: add UA_EVENT_CALL_DTMF_START/END, thanks Gary Metalle * Modules: * alsa: added extra logging * gtk: add support for libnotify (thanks Charles Lehner) * video: fix potential null deref (thanks Tomasz Ostrowski) * zrtp: added 36-bytes preamble for TURN-header 2015-08-08 Alfred E. Heggestad <aeh@db.org> * Version 0.4.14 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit ebac23b0692de71ee4c3a436f0372013150c937f * GIT tag: v0.4.14 * NOTE: Requires libre v0.4.13 or later * new modules: - gtk GTK+ 2.0 UI (thanks Charles E. Lehner) - gst1 Gstreamer 1.0 audio module - gst_video1 Gstreamer 1.0 video module (thanks Thomas Strobel) - daala Experimental video-codec using Daala * baresip-core: - baresip: added -m argument to pre-load modules - config: add kqueue to sample config (thanks Dmitrij D. Czarkoff) - log: make code C89 compliant (thanks Victor Sergienko) - module: added module_preload() - ua: add CALL_EVENT_TRANSFER_FAILED - ua: skip initial white space from uri (thanks Juha Heinanen) - ua: ua_prev_call() - videnc: move videnc_packet_h to update-handler * build: - added optional $(MOD)_CFLAGS for local module CFLAGS - added project file for Visual C++ Express 2010 - freebsd: add include path to $(SYSROOT)/local/include (thanks Hellmuth Michaelis) * Modules: * avcodec: make code C89 compliant (thanks Victor Sergienko) * cons: make code C89 compliant (thanks Victor Sergienko) * daala: new module * dshow: updates for VC2010 (thanks Victor Sergienko) * gst1: new module * gst_video1: new module * gtk: new module * menu: fix crash when 0 UAs (thanks Hans Petter Selasky) added command 'H' to hold previous call (thanks xanm) * wincons: make code C89 compliant (thanks ggcoding) 2015-06-20 Alfred E. Heggestad <aeh@db.org> * Version 0.4.13 * GIT commit 2e3e825ef5532dfde5a8b52de9ebaac51aa20a9c * NOTE: Requires libre v0.4.12 or later * new modules: - aufile Audio module for using a WAV-file as audio input - b2bua Back-to-Back User-Agent (B2BUA) module - codec2 CODEC2 audio codec - gst_video Gstreamer video codec - h265 H.265 (HEVC) video codec * baresip-core: - contact: add support for access-control (thanks Doug Blewett) - ausrc: change base-class to a const pointer - auplay: change base-class to a const pointer - vidsrc: change base-class to a const pointer - vidisp: change base-class to a const pointer - video: smooth sending of video packets * Modules: * amr: added support for octet-align mode (thanks to Stefan Sayer) * aubridge: copy audio-samples if resampler not needed * aufile: new module for using a WAV-file as audio source * avcapture: only register 1 video source * avformat: fix segfault on recent versions of libav * b2bua: new experimental module * codec2: new module for CODEC2 audio codec * dtls_srtp: uppercase fingerprint, interop (thanks Juha Heinanen) alternative SDP protocols for interop * dtmfio: unregister event handler on close (thanks Hellmuth Michaelis) * gst_video: new module using Gstreamer as a video codec (Thanks to Victor Sergienko and Fadeev Alexander) * h265: new module for H.265 video codec * httpd: added raw mode (thanks Lorenzo Mangani) * menu: create user-agent with a command 'R' (thanks Lorenzo Mangani) * opus: add configuration of "opus_bitrate" (thanks to Juha Heinanen) * speex: add configuration of "speex_mode_nb" and "speex_mode_wb" (thanks to Dmitrij D. Czarkoff and Juha Heinanen) * vidloop: add VIDLOOP_INTERNAL_FMT and split encoder/decoder * x11: catch Window delete (thanks to Doug Blewett) * zrtp: initialize remote_zid (thanks to Ingo Feinerer) 2014-12-24 Alfred E. Heggestad <aeh@db.org> * Version 0.4.12 * GIT commit 67993e35d980375458348b264c4a35a944bb5180 * NOTE: Requires libre v0.4.11 or later * baresip: - account: add regint and pubint - audio: fix checking of sample-rate range - config: remove the "input" block - config: added support for quoted device parameters - config: fix conversion of bandwidth to kbit/s - config: generate more relevant config for FreeBSD and OpenBSD (thanks Dmitrij D. Czarkoff) - reg: add support for extracting GRUU parameter - main: add -p option to set path to audio files - sipreq: make response-handler optional - ua: add support for GRUU (RFC 5627) (many thanks to Juha Heinanen for starting this work and helping out with the testing) - ua: moved presence-status to each struct ua instance - ua: add presence status to each User-Agent instance - ua: use public-GRUU if set, otherwise local cuser - ui: make UI single instance - video: add VIDENC_INTERNAL_FMT (suggested by Victor Sergienko) * docs: added sample configuration files * account: added pubint for Publishing Interval * avcodec: upgrade to recent ffmpeg/libav APIs either FFmpeg or libav can be used * celt: deleted module (replaced by opus) * cons: update usage of struct ui, added output handler added config: cons_listen 0.0.0.0:5555 * evdev: update usage of struct ui, added output handler added config: evdev_device /dev/input/event0 * httpd: added ui output handler * menu: added command 'o' for sending OPTION request (thanks to Juha Heinanen) added command 'D' for accepting incoming calls * mwi: subscribe to MWI after Registration succeeded (thanks to Juha Heinanen) * opensles: add double-buffering and some tuning (thanks to Francesco Bradascio) * opus: added config "opus_bitrate" (thanks to Sebastian Reimers) * presence: added support for PUBLISH (thanks to Juha Heinanen) interop fixes and tuning * stdio: update usage of struct ui, added output handler * uuid: use internal version of generating UUID * v4l2: use memory mapped mode only * vumeter: dont call tmr_start from non-RE thread * wincons: update usage of struct ui, added output handler * winwave: fix bug when closing player device (thanks to Tomasz Ostrowski) add support for mapping device name to index * zrtp: add support for verify SAS (thanks to Ingo Feinerer)
2016-09-06 08:13:31 +00:00
INSTALLATION_DIRS= share/examples/baresip
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/examples/accounts ${DESTDIR}${PREFIX}/share/examples/baresip
${INSTALL_DATA} ${WRKSRC}/docs/examples/config ${DESTDIR}${PREFIX}/share/examples/baresip
${INSTALL_DATA} ${WRKSRC}/docs/examples/contacts ${DESTDIR}${PREFIX}/share/examples/baresip
CFLAGS+= -DHAVE_GETOPT=1 -DHAVE_UNISTD_H=1
CFLAGS+= ${BUILDLINK_CFLAGS.pthread}
CFLAGS+= ${BUILDLINK_LIBS.pthread}
CFLAGS+= ${BUILDLINK_LDFLAGS.pthread}
CFLAGS+= -D__ssize_t_defined
LFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libre}/lib
MAKE_FLAGS+= HAVE_PTHREAD=yes
MAKE_FLAGS+= MOD_AUTODETECT=
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= SYSROOT=${BUILDLINK_PREFIX.libre}
MAKE_FLAGS+= USE_CONS=yes
MAKE_FLAGS+= USE_G711=yes
MAKE_FLAGS+= USE_G722=yes
MAKE_FLAGS+= USE_G722_1=
MAKE_FLAGS+= USE_G726=yes
MAKE_FLAGS+= USE_GSM=yes
MAKE_FLAGS+= USE_L16=yes
MAKE_FLAGS+= USE_PLC=yes
MAKE_FLAGS+= USE_SRTP=yes
MAKE_FLAGS+= USE_STDIO=yes
.include "options.mk"
MAKE_FLAGS+= LFLAGS="${LFLAGS}"
.include "../../audio/gsm/buildlink3.mk"
.include "../../comms/spandsp/buildlink3.mk"
.include "../../wip/libre/buildlink3.mk"
.include "../../wip/librem/buildlink3.mk"
baresip: update to baresip-0.4.20 Pkgsrc changes: * change the build procedure a bit to accommodate modules * use the options framework top optionally build a number of modules * install example configuration files Notes: On my NetBSD machine the "oss" and "portaudio" modules do not work correctly. This is probably due to the fact that the module opens and initializes the device twice (once for reading and once for writing) but I was unable to diagnose the exact problem. A workaround is to use the jack plugin (or pulseaudio) by enabling the "jack.so" module in ~/.baresip/config. The jack server can start automatically: echo "/usr/pkg/bin/jackd -T -r -d sun" > ~/.jackdrc export JACK_START_SERVER=yes The sndiod module currently does not build. Changelog: 2016-07-22 Alfred E. Heggestad <aeh@db.org> * Version 0.4.20 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.20 * NOTE: Requires libre v0.4.17 or later Requires librem v0.4.7 or later * new modules: - pulse Pulseaudio driver - vp9 VP9 video codec * config: - audio_path Path to audio files - call_local_timeout Timeout for incoming calls - redial_attempts Number of redial attempts - redial_delay Redial delay in seconds * baresip-core: - baresip: added a global baresip instance (WIP) - call: add RTP timeout (thanks to Sveriges Radio) - config: added call_local_timeout for incoming call timeout - config: added compile-time configureable CONFIG_PATH - config: added 'audio_path' config variable (thanks Juha Heinanen) - net: made it re-entrant with struct network - ua: added uag_set_exit_handler - ua: fix bug with reg_uri limited to 64-chars - video: vidfilters should not modify decoded image * selftest: - add test for network - add test for sending SIP OPTIONS - add test for RTP timeout * Modules: * avcodec: fix usage of deprecated API * avformat: remove support for scaling fix usage of deprecated API * cons: relay log-messages to active UDP/TCP connections https://github.com/alfredh/baresip/issues/144 * h265: fix usage of deprecated API * menu: added support for re-dial on failure (thanks to Sveriges Radio) * mpa: Bug with reinit of codec structs (thanks Christian Hoene) * natpmp: added support for RTCP * presence: use correct struct in deref handler * pulse: new module for Pulseaudio driver (thanks to Matthias Apitz for testing) * vidloop: vidfilters should not modify decoded image * vp8: module renamed from vpx.so to vp8.so * vp9: new module implementing VP9 video codec * wincons: use ReadConsoleInput, thanks to GGGO (fixes #139) https://github.com/alfredh/baresip/issues/139 2016-05-20 Alfred E. Heggestad <aeh@db.org> * Version 0.4.19 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.19 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * new modules: - mpa MPA Speech and Audio Codec (thanks Christian Hoene) * baresip-core: - audio: remove is_g722 exception use aucodec's rtp clockrate for calculating RTP timestamp plc: make sure sampc is exactly one ptime frame - aucodec: split srate into DSP srate and RTP clockrate (these are different for e.g. G.722 and MDA) - mos: add mos_calculate() (thanks Lorenzo Mangani) - net: use configured dns servers only, if specified - ua: fix potential NULL-pointer crash for uag.cfg * selftest: - add test for SIP registration with DNS - add test for SIP registration with authentication - add test for MOS calculations - added a mock DNS Server - added a mock SIP Server * Modules: * aucodec: add support for NV12 and YUVJ420P pixel formats * daala: update to libdaala version 0.0-1564-g79787c7 * gtk: fix autodetection of libgtk+ 2.0 (thanks Charles Lehner) * h265: remove call to x265_cleanup, caused crash on OpenBSD * mpa: new module that implements MPA Speech and Audio Codec (this module was contributed by Christian Hoene) * opus: added new configuration parameters: opus_cbr {yes,no} # Constant Bitrate (inverse of VBR) opus_inbandfec {yes,no} # Enable inband FEC opus_dtx {yes,no} # Enable DTX * presence: improved interoperability, allow white space before xml element closing tags (thanks Juha Heinanen) * x11: added borderless window (thanks Doug Blewett) 2016-03-12 Alfred E. Heggestad <aeh@db.org> * Version 0.4.18 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.18 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * baresip-core: - call: fix SIP INFO with dtmf-relay (thanks Gary Metalle) - ua: add event UA_EVENT_CALL_CLOSED for ua_hangup() * selftest: - add tests for answer a call and hangup * Modules: * alsa: fix potential crash (thanks Gary Metalle) * audiounit: fix compilation for iOS (issue #91) * avcodec: fix compilation for FFmpeg 3.0 * avformat: fix compilation for FFmpeg 3.0 * gtk: always handle incoming calls (thanks Charles Lehner) * h265: fix compilation for FFmpeg 3.0 * menu: add config 'menu_bell off/on' to enable Bell alert add command 'A' for switch audio device (thanks AlexMarlo) * v4l2_codec: add list of encoders (fixes #99) 2016-01-17 Alfred E. Heggestad <aeh@db.org> * Version 0.4.17 * GIT URL: https://github.com/alfredh/baresip.git * GIT tag: v0.4.17 * NOTE: Requires libre v0.4.14 or later Requires librem v0.4.7 or later * new modules: - echo Echo server module - jack JACK Audio Connection Kit audio-driver * baresip-core: - config: keep config object in memory - ua: moved playing of ringtones out of core, to "menu" module (let's keep the core nice and slim..) - ui: added ui_password_prompt() * selftest: - silence debug/info log by default, only print warnings (use -v to see verbose logging) * Modules: * alsa: added config option to specify the sample format "alsa_sample_format {s16,float,s24_3le}" thanks to Ola Palm for valuable feedback * audiounit: fix recording on OSX (thanks Sebastian Reimers) print hardware samplerate in debug mode * auloop: add support for 44100 Hz samplerate * daala: update to latest libdaala API (thanks Dmitrij D. Czarkoff) * echo: new module which implements a simple Echo-server, to be used in combination with the aubridge.so module. contributed by Sebastian Reimers * gtk: fixes to support C89 compiler (thanks Dmitrij D. Czarkoff) * jack: new module which implements audio-driver for JACK * menu: playing of ringtones moved here, from ua.c * sndio: fix crash when device open fails (thanks Dmitrij D. Czarkoff) 2015-12-01 Alfred E. Heggestad <aeh@db.org> * Version 0.4.16 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit bed2241da3261e472f09b21958f0cc1324a94f27 * GIT tag: v0.4.16 * NOTE: Requires libre v0.4.14 or later * new modules: - v4l2_codec Video4Linux2 video codec (H264 hardware encoding) - vidinfo Video info overlay module * baresip-core: - audio: add audio_set_source() and audio_set_player() - audio: flush tx-buffer for all modes (thanks Thibault Gueslin) - call: add call_is_outgoing() - call: check address-family of incoming SDP offer (thanks Olle) - h264: move H.264 packetization code to core - main: add -u option to append extra global UA parameters - main: pre-load modules after all arguments are parsed - ua: add events UA_EVENT_SHUTDOWN,UA_EXIT - ua: add ua_hold_answer() - ua: add ua_set_media_af() - ua: delay mod-unloading if mods has a ref to struct ua * build: - add verbose build with V=1 (thanks Dmitrij D. Czarkoff) - add pkg-config file (thanks William King) - add travis.yml file for Github build-system * Modules: * alsa: fix memory leaks * avcodec: move common H.264 packetization code to core * cairo: use pkg-config in makefile * daala: update to latest libdaala (thanks Dmitrij D. Czarkoff) * gst_video: use H.264 packetization API from core * gst_video1: use H.264 packetization API from core * gtk: fix segmentation fault on window close * mwi: add 500ms delay after closing subscription * oss: use pthread for ausrc instead of fd_listen (fixes FreeBSD) * presence: use sipevent_sock instance from UA core add 500ms delay after closing subscription * v4l2_codec: new module * vidinfo: new module * zrtp: fix ZRTP over TURN by moving helper to layer 10 fix ZID verification (thanks Ingo Feinerer) 2015-09-26 Alfred E. Heggestad <aeh@db.org> * Version 0.4.15 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit 86262a6fc17e19e2be82eb8a2a05ec0f884d3d38 * GIT tag: v0.4.15 * NOTE: Requires libre v0.4.13 or later * added selftest binary * baresip-core: - audio: fix televent when pt != 101 (reported by AndyJRobinson) - magic: use __func__ for C99 or later - sip: make sip_req_send() public - ua: add UA_EVENT_CALL_DTMF_START/END, thanks Gary Metalle * Modules: * alsa: added extra logging * gtk: add support for libnotify (thanks Charles Lehner) * video: fix potential null deref (thanks Tomasz Ostrowski) * zrtp: added 36-bytes preamble for TURN-header 2015-08-08 Alfred E. Heggestad <aeh@db.org> * Version 0.4.14 * GIT URL: https://github.com/alfredh/baresip.git * GIT commit ebac23b0692de71ee4c3a436f0372013150c937f * GIT tag: v0.4.14 * NOTE: Requires libre v0.4.13 or later * new modules: - gtk GTK+ 2.0 UI (thanks Charles E. Lehner) - gst1 Gstreamer 1.0 audio module - gst_video1 Gstreamer 1.0 video module (thanks Thomas Strobel) - daala Experimental video-codec using Daala * baresip-core: - baresip: added -m argument to pre-load modules - config: add kqueue to sample config (thanks Dmitrij D. Czarkoff) - log: make code C89 compliant (thanks Victor Sergienko) - module: added module_preload() - ua: add CALL_EVENT_TRANSFER_FAILED - ua: skip initial white space from uri (thanks Juha Heinanen) - ua: ua_prev_call() - videnc: move videnc_packet_h to update-handler * build: - added optional $(MOD)_CFLAGS for local module CFLAGS - added project file for Visual C++ Express 2010 - freebsd: add include path to $(SYSROOT)/local/include (thanks Hellmuth Michaelis) * Modules: * avcodec: make code C89 compliant (thanks Victor Sergienko) * cons: make code C89 compliant (thanks Victor Sergienko) * daala: new module * dshow: updates for VC2010 (thanks Victor Sergienko) * gst1: new module * gst_video1: new module * gtk: new module * menu: fix crash when 0 UAs (thanks Hans Petter Selasky) added command 'H' to hold previous call (thanks xanm) * wincons: make code C89 compliant (thanks ggcoding) 2015-06-20 Alfred E. Heggestad <aeh@db.org> * Version 0.4.13 * GIT commit 2e3e825ef5532dfde5a8b52de9ebaac51aa20a9c * NOTE: Requires libre v0.4.12 or later * new modules: - aufile Audio module for using a WAV-file as audio input - b2bua Back-to-Back User-Agent (B2BUA) module - codec2 CODEC2 audio codec - gst_video Gstreamer video codec - h265 H.265 (HEVC) video codec * baresip-core: - contact: add support for access-control (thanks Doug Blewett) - ausrc: change base-class to a const pointer - auplay: change base-class to a const pointer - vidsrc: change base-class to a const pointer - vidisp: change base-class to a const pointer - video: smooth sending of video packets * Modules: * amr: added support for octet-align mode (thanks to Stefan Sayer) * aubridge: copy audio-samples if resampler not needed * aufile: new module for using a WAV-file as audio source * avcapture: only register 1 video source * avformat: fix segfault on recent versions of libav * b2bua: new experimental module * codec2: new module for CODEC2 audio codec * dtls_srtp: uppercase fingerprint, interop (thanks Juha Heinanen) alternative SDP protocols for interop * dtmfio: unregister event handler on close (thanks Hellmuth Michaelis) * gst_video: new module using Gstreamer as a video codec (Thanks to Victor Sergienko and Fadeev Alexander) * h265: new module for H.265 video codec * httpd: added raw mode (thanks Lorenzo Mangani) * menu: create user-agent with a command 'R' (thanks Lorenzo Mangani) * opus: add configuration of "opus_bitrate" (thanks to Juha Heinanen) * speex: add configuration of "speex_mode_nb" and "speex_mode_wb" (thanks to Dmitrij D. Czarkoff and Juha Heinanen) * vidloop: add VIDLOOP_INTERNAL_FMT and split encoder/decoder * x11: catch Window delete (thanks to Doug Blewett) * zrtp: initialize remote_zid (thanks to Ingo Feinerer) 2014-12-24 Alfred E. Heggestad <aeh@db.org> * Version 0.4.12 * GIT commit 67993e35d980375458348b264c4a35a944bb5180 * NOTE: Requires libre v0.4.11 or later * baresip: - account: add regint and pubint - audio: fix checking of sample-rate range - config: remove the "input" block - config: added support for quoted device parameters - config: fix conversion of bandwidth to kbit/s - config: generate more relevant config for FreeBSD and OpenBSD (thanks Dmitrij D. Czarkoff) - reg: add support for extracting GRUU parameter - main: add -p option to set path to audio files - sipreq: make response-handler optional - ua: add support for GRUU (RFC 5627) (many thanks to Juha Heinanen for starting this work and helping out with the testing) - ua: moved presence-status to each struct ua instance - ua: add presence status to each User-Agent instance - ua: use public-GRUU if set, otherwise local cuser - ui: make UI single instance - video: add VIDENC_INTERNAL_FMT (suggested by Victor Sergienko) * docs: added sample configuration files * account: added pubint for Publishing Interval * avcodec: upgrade to recent ffmpeg/libav APIs either FFmpeg or libav can be used * celt: deleted module (replaced by opus) * cons: update usage of struct ui, added output handler added config: cons_listen 0.0.0.0:5555 * evdev: update usage of struct ui, added output handler added config: evdev_device /dev/input/event0 * httpd: added ui output handler * menu: added command 'o' for sending OPTION request (thanks to Juha Heinanen) added command 'D' for accepting incoming calls * mwi: subscribe to MWI after Registration succeeded (thanks to Juha Heinanen) * opensles: add double-buffering and some tuning (thanks to Francesco Bradascio) * opus: added config "opus_bitrate" (thanks to Sebastian Reimers) * presence: added support for PUBLISH (thanks to Juha Heinanen) interop fixes and tuning * stdio: update usage of struct ui, added output handler * uuid: use internal version of generating UUID * v4l2: use memory mapped mode only * vumeter: dont call tmr_start from non-RE thread * wincons: update usage of struct ui, added output handler * winwave: fix bug when closing player device (thanks to Tomasz Ostrowski) add support for mapping device name to index * zrtp: add support for verify SAS (thanks to Ingo Feinerer)
2016-09-06 08:13:31 +00:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"