aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-23 18:28:45 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-23 18:28:45 +0100
commit6ccdaa243fb25e787d928cf9e3e903df433cd6a6 (patch)
treed08bafa7b78eed60380487fcfc58a5cf1f5b9bf8
parentace0b946ffacd74bbce419b3ff27f7da6c673fb3 (diff)
Bump version: 1.7.0.138-ace0b-dirty → 1.8.01.8.0
-rw-r--r--TODO-RELEASE2
-rw-r--r--configure.ac14
-rw-r--r--contrib/osmo-mgw.spec.in28
-rw-r--r--debian/changelog160
-rw-r--r--debian/control12
-rw-r--r--debian/libosmo-mgcp-client8.install (renamed from debian/libosmo-mgcp-client6.install)0
-rw-r--r--src/libosmo-mgcp-client/Makefile.am2
7 files changed, 188 insertions, 30 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 8c7cd96a8..c5a3b36a5 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -24,5 +24,3 @@
# If any interfaces have been removed or changed since the last public release, a=0.
#
#library what description / commit summary line
-osmo-mgw update osmo-gsm-manuals dependency to > 0.3.0 for vty_cpu_sched.adoc include
-libosmo-mgcp-client mgcp_response, mgcp_conn_peer struct size change, breaks ABI
diff --git a/configure.ac b/configure.ac
index 85b46ebe0..64e2c04f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,13 +49,13 @@ AC_SEARCH_LIBS([dlsym], [dl dld], [LIBRARY_DLSYM="$LIBS";LIBS=""])
AC_SUBST(LIBRARY_DLSYM)
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.4.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.6.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 1.0.0)
-PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 1.0.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.5.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.5.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.5.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.5.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.1.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 1.1.0)
+PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 1.1.0)
AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/contrib/osmo-mgw.spec.in b/contrib/osmo-mgw.spec.in
index b08a59872..efb166a36 100644
--- a/contrib/osmo-mgw.spec.in
+++ b/contrib/osmo-mgw.spec.in
@@ -29,30 +29,30 @@ BuildRequires: pkgconfig >= 0.20
%if 0%{?suse_version}
BuildRequires: systemd-rpm-macros
%endif
-BuildRequires: pkgconfig(libosmo-netif) >= 0.6.0
-BuildRequires: pkgconfig(libosmocore) >= 1.0.0
-BuildRequires: pkgconfig(libosmoctrl) >= 1.1.0
-BuildRequires: pkgconfig(libosmogsm) >= 1.0.0
-BuildRequires: pkgconfig(libosmovty) >= 1.0.0
-BuildRequires: pkgconfig(libosmocoding) >= 1.0.0
-BuildRequires: pkgconfig(libosmoabis) >= 1.0.0
-BuildRequires: pkgconfig(libosmotrau) >= 1.0.0
+BuildRequires: pkgconfig(libosmo-netif) >= 1.1.0
+BuildRequires: pkgconfig(libosmocore) >= 1.5.0
+BuildRequires: pkgconfig(libosmoctrl) >= 1.5.0
+BuildRequires: pkgconfig(libosmogsm) >= 1.5.0
+BuildRequires: pkgconfig(libosmovty) >= 1.5.0
+BuildRequires: pkgconfig(libosmocoding) >= 1.5.0
+BuildRequires: pkgconfig(libosmoabis) >= 1.1.0
+BuildRequires: pkgconfig(libosmotrau) >= 1.1.0
%{?systemd_requires}
%description
OsmoMGW is Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks.
-%package -n libosmo-mgcp-client6
+%package -n libosmo-mgcp-client8
Summary: Osmocom's Media Gateway Control Protocol client library
Group: System/Libraries
-%description -n libosmo-mgcp-client6
+%description -n libosmo-mgcp-client8
Osmocom's Media Gateway Control Protocol client library.
%package -n libosmo-mgcp-client-devel
Summary: Development files for Osmocom's Media Gateway Control Protocol client library
Group: Development/Libraries/C and C++
-Requires: libosmo-mgcp-client6 = %{version}
+Requires: libosmo-mgcp-client8 = %{version}
%description -n libosmo-mgcp-client-devel
Osmocom's Media Gateway Control Protocol client librarary.
@@ -90,8 +90,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
-%post -n libosmo-mgcp-client6 -p /sbin/ldconfig
-%postun -n libosmo-mgcp-client6 -p /sbin/ldconfig
+%post -n libosmo-mgcp-client8 -p /sbin/ldconfig
+%postun -n libosmo-mgcp-client8 -p /sbin/ldconfig
%if 0%{?suse_version}
%preun
@@ -119,7 +119,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%dir %{_sysconfdir}/osmocom
%config(noreplace) %{_sysconfdir}/osmocom/osmo-mgw.cfg
-%files -n libosmo-mgcp-client6
+%files -n libosmo-mgcp-client8
%{_libdir}/libosmo-mgcp-client.so.6*
%files -n libosmo-mgcp-client-devel
diff --git a/debian/changelog b/debian/changelog
index fe317335d..9f04449a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,163 @@
+osmo-mgw (1.8.0) unstable; urgency=medium
+
+ [ Harald Welte ]
+ * Fix number of endpoints of default trunk
+ * Add CTRL interface to osmo-mgw
+ * Update per-trunk global packet/byte counters in real-time
+ * remove accidential TODO-RELEASE entry
+ * mgcp_protocol: Avoid code duplication between virtual + other trunks
+ * osmo-mgw.spec.in: Use %config(noreplace) to retain current config file
+ * mgcp_client_init(): consider "talloc returns NULL" case
+ * mgcp_client_pending_add(): Consider "talloc returns NULL" case
+ * libosmo-mgcp-client: fix memleak in case if no response is received
+ * debian/control + SPEC: Add missing build dependency to libosmo-abis
+ * osmo-mgw.spec.in: Fix dependency to libosmoabis
+ * osmo-mgw.spec.in: Add missing dependency to libosmotrau
+ * Add example osmo-mgw configuration file for Abis/E1
+ * use osmo_fd_setup() whenever applicable
+
+ [ Neels Hofmeyr ]
+ * fix vty dump_trunk: start from zero, do not omit first CONN
+ * allow larger MGCP client wqueue: 10 -> 1024
+ * add osmo-mgw --vty-ref-xml: dump VTY ref XML to stdout
+ * manuals: generate vty reference xml at build time
+ * refactor: use msgb to receive, pass and send RTP packets
+ * change timer T2427001 to X2427
+
+ [ Philipp Maier ]
+ * doc: do not bind osmo-mgw to random ip-address
+ * cosmetic: remove excess newlines
+ * mgcp: remove unused callback pointer
+ * mgcp: find better locations for LOGPCONN and LOGPENDP
+ * vty: fix unreachable code (error msg on trunk alloc fail)
+ * mgcp_vty: fix indentation
+ * osmo-mgw: rename struct mgcp_trunk_config and symbol tcfg
+ * mgcp_vty: fix indentation in VTY config write
+ * osmo-mgw: refactor endpoint and trunk handling
+ * mgcp_trunk: remove audio_name and audio_payload
+ * ratectr: move rate counter definitions into mgcp_ratectr.h
+ * cosmetic: fix doxygen
+ * cosmetic: fix doxygen
+ * cosmetic: fix doxygen for mgcp_cleanup_rtp_bridge_cb()
+ * trunk: get rid of virt_trunk pointer
+ * cosmetic: remove excess space
+ * endp: move endpoint name generation into mgcp_endp.c
+ * endp: add name generator function for E1 endpoints
+ * mgcp_client: add docstring for mgcp_client_rtpbridge_wildcard()
+ * mgcp_trunk: fix docstring for mgcp_trunk_alloc()
+ * mgcp_osmux: remove unused define constants
+ * mgcp_trunk: move enum mgcp_trunk_type to mgcp_trunk.h
+ * mgcp_trunk: use enum type for trunk type variable
+ * trunk: parse E1 trunk number
+ * endp: add typeset for e1-endpoints
+ * mgcp_conn: move struct mgcp_conn mgcp_conn.h
+ * mgcp_internal: remove forward declaration struct mgcp_endpoint_type
+ * endp: add E1 endpoint interlocking
+ * endp: require domain name also for E1 endpoints
+ * mgcp_trunk: pick trunk by number and type
+ * mgcp_client: add function to generate e1-endpoint names
+ * mgcp_endp: use define constant to define max number of E1 subslots
+ * mgcp_endp.c: cosmetic: fix sourcecode formatting
+ * mgcp_trunk: remove double check
+ * mgcp_test: do not access endpoint array elements directly
+ * mgcp_vty: fix endpoint number configuration
+ * mgcp_test: remove trunk2 from unit-test
+ * mgcp_trunk: use talloc_zero_array instead of _talloc_zero_array
+ * mgcp_protocol: remove unused variable
+ * mgcp_e1: finish E1 support, add E1 support from libosmoabis
+ * get rid of mgcp_internal.h
+ * mgcp_ratectr: fix comments in header file
+ * mgcp_e1: use return value of e1inp_line_update()
+ * mgcp_protocol: log when endpoint is unavailable
+ * cosmetic: add missing new-line
+ * mgcp_trunk: drop "trunk 0" limitation
+ * mgcp_e1: make E1 ts initalization more debugable
+ * mgcp_e1: remove unused struct member trunk->e1.line
+ * mgcp_endp: use NUM_E1_TS from e1_input.h
+ * mgcp_trunk: increase default number of virtual endpoints
+ * cosmetic: mgcp_client_fsm: change error message.
+ * mgcp_vty: remove remains of loopback functionality
+ * mgcp_vty: deprecate bind early command
+ * mgcp_e1: do not expose function mgcp_e1_init()
+ * mgcp_vty: add user attributes to configuration commands
+ * overview: update section limitations.
+ * overview: fix graph "OsmoMGW used with OsmoBSC"
+ * overview: fix graph "OsmoMGW used with OsmoMSC"
+ * overview: add graph to show E1 integration
+ * configuration: remove hint towards trunk 0 limit
+ * configuration: drop note about lackin E1 support
+ * configuration: add note that changes to trunks need a restart
+ * mgcp_vty: fix config write for trunk 0
+ * mgcp_vty: add missing VTY commands for E1 trunks
+ * mgcp_trunk: get rid of magic numbers for E1 slots
+ * configuration: add section about E1 trunks
+ * usermanual: add chapter about mgcp endpoints
+ * mgcp_client: get rid of magic numbers for E1 slots
+
+ [ Eric ]
+ * tests: dlopen does not imply availability of dlsym..
+ * configure.ac: fix libtool issue with clang and sanitizer
+
+ [ Alexander Chemeris ]
+ * vty: Prepend VTY output of counters for better visual separation.
+ * counters: Implement more useful counters.
+ * mgcp_network: Fix a typo in the comment bahviour -> behaviour
+ * rtp_bridge: Demote a chatty ERROR log message to DEBUG level.
+
+ [ Pau Espin Pedrol ]
+ * Use OSMO_FD_* instead of deprecated BSC_FD_*
+ * Support setting rt-prio and cpu-affinity mask through VTY
+ * cosmetic: Rename main talloc ctx
+ * mgcp-client: Support IPv6 in osmo_mgcpc_ep_ci_get_crcx_info_to_sockaddr() implementation
+ * mgcp-client: Fix trailing whitespace in mgcp_client_fsm.h
+ * mgcp_client: Use INET6_ADDRSTRLEN to store addresses in str format
+ * mgcp_client: Allow submitting and parsing IPv6 addr in SDP
+ * mgcp_client: Allow setting IPv6 addresses
+ * mgcp_client: Make MGCP_CLIENT_LOCAL_ADDR_DEFAULT IPv6 compatible
+ * mgcp_client: Support validating IPv6 addresses in CRCX and MDCX commands
+ * mgcp_client: Deprecate unused IPv4-only API
+ * mgcp_client: copy back Connection Information from MDCX ACK
+ * mgw: Fix mgcp_rtp_end field description comment
+ * mgw: Initial IPv6 support
+ * mgw: Introduce VTY cmd 'rtp bind-ip-v6' command
+ * mgw: Find and store RTP conn local_addr once during CRCX handling
+ * mgw: Announce and rebind new local address if change required during MDCX
+ * mgw: osmux: Avoid sending packets on recvonly connection
+ * mgw: Release endpoint after last conn times out
+ * mgw: osmux: Fix conn watchdog timeout not updated
+ * mgw: Don't be case-sensitive when parsing X-Osmo-IGN param
+ * cosmetic: Fix typo in comment
+ * mgw: Avoid logging notice message each time we receive nt param in LCO
+ * mgw: Fix return value documentation for API mgcp_verify_call_id
+ * cosmetic: Fix typo in comment
+ * contrib/jenkins: Enable parallel make in make distcheck
+ * .gitignore: Ignore new autofoo tmp files
+ * tests: Replace deprecated API log_set_print_filename
+
+ [ Oliver Smith ]
+ * contrib: import RPM spec
+ * contrib: integrate RPM spec
+ * Makefile.am: EXTRA_DIST: debian, contrib/*.spec.in
+ * contrib/jenkins: don't build osmo-gsm-manuals
+ * configure.ac: set -std=gnu11
+
+ [ Vadim Yanitskiy ]
+ * libosmo-mgcp-client: fix use-after-free in mgcp_client_tx()
+ * libosmo-mgcp-client: fix use-after-free in mgcp_msg_gen()
+ * libosmo-mgcp: fix unsigned compared against 0 in mgcp_trunk_by_name()
+ * libosmo-mgcp: fix unused extra argument to printf() in add_fmtp()
+ * libosmo-mgcp: always check result of msgb_printf() in add_fmtp()
+ * libosmo-mgcp-client: mgcp_client_tx(): return rc on error
+ * debian/control: change maintainer to the Osmocom team / mailing list
+ * vty: use install_lib_element() and install_lib_element_ve()
+ * main: add --vty-ref-mode, use vty_dump_xml_ref_mode()
+ * fixup mgcp_trunk: increase default number of virtual endpoints
+
+ [ Alexander Couzens ]
+ * configure.ac: require libosmoabis + libosmotrau >= 1.0.0
+
+ -- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 23 Feb 2021 18:28:45 +0100
+
osmo-mgw (1.7.0) unstable; urgency=medium
[ Neels Hofmeyr ]
diff --git a/debian/control b/debian/control
index 83860df78..8246708a1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,10 @@ Build-Depends: debhelper (>=9),
dh-autoreconf,
pkg-config,
autotools-dev,
- libosmocore-dev (>= 1.4.0),
- libosmo-netif-dev,
- libosmo-abis-dev,
- osmo-gsm-manuals-dev
+ libosmocore-dev (>= 1.5.0),
+ libosmo-netif-dev (>= 1.1.0),
+ libosmo-abis-dev (>= 1.1.0),
+ osmo-gsm-manuals-dev (>= 1.1.0)
Standards-Version: 3.9.8
Vcs-Git: git://git.osmocom.org/osmo-mgw.git
Vcs-Browser: https://git.osmocom.org/osmo-mgw/
@@ -21,7 +21,7 @@ Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: OsmoMGW: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks
-Package: libosmo-mgcp-client6
+Package: libosmo-mgcp-client8
Section: libs
Architecture: any
Multi-Arch: same
@@ -33,7 +33,7 @@ Package: libosmo-mgcp-client-dev
Section: libdevel
Architecture: any
Multi-Arch: same
-Depends: libosmo-mgcp-client6 (= ${binary:Version}), ${misc:Depends}
+Depends: libosmo-mgcp-client8 (= ${binary:Version}), ${misc:Depends}
Description: libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities
Package: osmo-mgw-doc
diff --git a/debian/libosmo-mgcp-client6.install b/debian/libosmo-mgcp-client8.install
index 7e86498ca..7e86498ca 100644
--- a/debian/libosmo-mgcp-client6.install
+++ b/debian/libosmo-mgcp-client8.install
diff --git a/src/libosmo-mgcp-client/Makefile.am b/src/libosmo-mgcp-client/Makefile.am
index ca2695adb..4f17e5308 100644
--- a/src/libosmo-mgcp-client/Makefile.am
+++ b/src/libosmo-mgcp-client/Makefile.am
@@ -21,7 +21,7 @@ AM_LDFLAGS = \
# This is not at all related to the release version, but a range of supported
# API versions. Read TODO_RELEASE in the source tree's root!
-MGCP_CLIENT_LIBVERSION=7:0:1
+MGCP_CLIENT_LIBVERSION=8:0:0
lib_LTLIBRARIES = \
libosmo-mgcp-client.la \