Bump version: 1.7.0.119-b31a-dirty → 1.8.0

Change-Id: I5e953cedc041371a9c192f58348b673a787f542e
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 7a8833d..8ccfa49 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,8 +7,3 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public release: c:r:0.
 #library	what			description / commit summary line
-libosmocore new API osmo_sockaddr_is_any(), osmo_sockaddr_netmask_to_prefixlen()
-libosmocore	ABI breakage		OSMO_NUM_DLIB change affecting internal_cat[]
-libosmocore new API osmo_netns_*()
-libosmocore new API osmo_netdev_*()
-libosmocore new API osmo_tundev_*()
diff --git a/contrib/libosmocore.spec.in b/contrib/libosmocore.spec.in
index 14e8a7e..fdd1a65 100644
--- a/contrib/libosmocore.spec.in
+++ b/contrib/libosmocore.spec.in
@@ -112,13 +112,13 @@
 This subpackage contains libraries and header files for developing
 applications that want to make use of libosmocoding.
 
-%package -n libosmocore19
+%package -n libosmocore20
 Summary:        Osmocom core library
 # crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+
 License:        GPL-2.0-only AND GPL-2.0-or-later
 Group:          System/Libraries
 
-%description -n libosmocore19
+%description -n libosmocore20
 libosmocore is a library with various utility functions shared
 between OpenBSC and OsmocomBB.
 
@@ -127,7 +127,7 @@
 # crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+
 License:        GPL-2.0-only AND GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-Requires:       libosmocore19 = %version
+Requires:       libosmocore20 = %version
 Requires:       libtalloc-devel
 Requires:       lksctp-tools-devel
 
@@ -354,8 +354,8 @@
 %postun -n libosmocodec0 -p /sbin/ldconfig
 %post   -n libosmocoding0 -p /sbin/ldconfig
 %postun -n libosmocoding0 -p /sbin/ldconfig
-%post   -n libosmocore19 -p /sbin/ldconfig
-%postun -n libosmocore19 -p /sbin/ldconfig
+%post   -n libosmocore20 -p /sbin/ldconfig
+%postun -n libosmocore20 -p /sbin/ldconfig
 %post   -n libosmoctrl0 -p /sbin/ldconfig
 %postun -n libosmoctrl0 -p /sbin/ldconfig
 %post   -n libosmogb14 -p /sbin/ldconfig
@@ -399,9 +399,9 @@
 %_libdir/libosmocoding.so
 %_libdir/pkgconfig/libosmocoding.pc
 
-%files -n libosmocore19
+%files -n libosmocore20
 %defattr(-,root,root)
-%_libdir/libosmocore.so.19*
+%_libdir/libosmocore.so.20*
 
 %files -n libosmocore-devel
 %defattr(-,root,root)
diff --git a/debian/changelog b/debian/changelog
index 05eb1b4..a1f9670 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,155 @@
+libosmocore (1.8.0) unstable; urgency=medium
+
+  [ Vadim Yanitskiy ]
+  * fix uninitialized err pointer passed to osmo_bssap_le_dec()
+  * gsm0408_test: do not return early in test_bearer_cap()
+  * gsm0408_test: add a testcase for gsm48_decode_bearer_cap()
+  * gsm48_ie: fix coding style: while is not a function
+  * gb: fix uninitialized ptr access in bssgp_encode_rim_pdu()
+  * fsm: add unit tests verifying state timeout s/ms accuracy
+  * fsm: fix state_chg(): pass microseconds to osmo_timer_schedule()
+  * tests/tdef: assert pointer returned by osmo_tdef_get_entry()
+  * gb/gprs_ns: call osmo_timer_del() unconditionally
+  * fsm: osmo_fsm_{event,inst,state}_name(): make *fi pointer const
+  * logging: add a new category DLCSN1 for libosmo-csn1
+  * {gb,sim,usb}: ensure -no-undefined is present in *_la_LDFLAGS
+  * include: use '#pragma once' everywhere
+  * gsm0502: use parentheses in GSM_TDMA_FN_{SUM,SUB} macros
+  * configure.ac: fix 'AM_CONDITIONAL(ENABLE_GNUTLS, false)' listed twice
+  * {gsm,gb}/Makefile.am: drop undefined $GCC_FVISIBILITY_HIDDEN
+  * gsm0502: gsm0502_fn_remap(): use GSM_TDMA_FN_SUB() macro
+  * */Makefile.am: do not mix up AM_CFLAGS with AM_CPPFLAGS
+  * gsm0808: cosmetic: switch is not a function
+  * gsm0808: remove unneeded assignment in enc_speech_codec()
+  * gsm0808: remove redundant assert() in enc_speech_codec()
+  * gsm0808: remove over-defensive assert()s for function parameters
+  * gsm0808: add gsm0808_enc_speech_codec[_list]2()
+  * gsm0808: use new gsm0808_enc_speech_codec[_list]2() API
+  * gsm48_ie: gsm48_decode_freq_list(): make 'cd' argument const
+
+  [ Pau Espin Pedrol ]
+  * iuup: Explicitly mark default case as unexpected with assert
+  * cbsp: avoid potential msgb write overflow in osmo_cbsp_recv_buffered
+  * gsm_23_041.h: Define CBS ETWS Warning Type values
+  * cbsp: Return error if decoding any of the cell id lists fail
+  * tests: Run smscb/gsm0341_test during make check
+  * cbsp: Guard against malformed msgb without l1h,l2h being passed
+  * cbsp: Fix decoding of Fail List
+  * cosmetic: tlv.h: Fix trailing whistespace
+  * tlv.h: Fix TLVP_PRESENT returning a pointer instead of a boolean
+  * gsm: Add BTS feature for Osmux
+  * gsm: rsl: Define new osmocom extension TLV IE to pass Osmux CID
+  * gsm: bts_features: Add missing entries to osmo_bts_features_names
+  * utils.h: protect param with parenthesis in OSMO_BYTES_FOR_BITS()
+  * vty: Allow using hex representations in cmd numeric ranges
+  * socket.h: Reorder sockaddr APIs to have them all together
+  * socket: Introduce API osmo_sockaddr_is_any
+  * gsm: constify several readonly params
+  * ctrl: error if program forgot to initialize the ctr handler before installing cmds
+  * socket.h: Introduce API osmo_sockaddr_netmask_to_prefixlen()
+  * Move src/*.{c,h} to src/core/
+  * src/core/Makefile.am: reformat SOURCES list
+  * Split include/Makefile.am content into subdirs
+  * Makefile.am: Remove unexsiting all_includes variable
+  * Fix all references to config.h
+  * Introduce netns API
+  * Introduce netdev API
+  * Introduce tundev API
+  * configure --enable-libmnl: Add libmnl to libosmocore.pc.in Requires
+  * netdev: Fix compilation building with --disable-libmnl
+  * tun: Fix potential unpaired call to osmo_netns_switch_exit()
+  * gprs_ns2_fr: use osmo_netdev to monitor and operate network device
+  * debian/rules: Fix moved path crc*gen.c
+
+  [ Mychaela Falconia ]
+  * gsm48_ie: fix parsing of Bearer capability IE without octet 3a
+
+  [ Harald Welte ]
+  * sim/class_tables: Add GET IDENTITY, SUSPEND UICC, EXCHANGE CAPABILITIES
+  * allocate VTY port number 4270 for osmo-isdntap
+  * logging.h: Allocate DLM2PA and DLM2UA for libosmo-sigtran
+  * Support building with -Werror=strict-prototypes / -Werror=old-style-definition
+  * Disable -Wstrict-prototypes for logging_vty_add_cmds()
+  * vty/logging.h: Avoid -Werror=pragmas error in C++ code
+  * Add -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition
+  * Fix typos in copyright statements.
+  * gsmtap.h: Add definitions for various ISDN sub-types
+  * create libosmoisdn sub-library
+  * isdndlc: Fix documentation
+
+  [ Oliver Smith ]
+  * gsm0808_enc_aoip_trasp_addr: add length check
+  * utils/osmo-stat-dummy: check for ENABLE_UTILITIES
+  * d/control: libosmocore-dev: depend on libmnl-dev
+  * gsm_08_08.h: fix typo in GSM0808_DATA_FULL_PREF
+
+  [ Alexander Couzens ]
+  * gprs_ns2: add vty `nse <0-65535> restart sns`
+  * gb: add bssgp2_enc_flush_ll encode FLUSH-LL
+
+  [ Neels Hofmeyr ]
+  * enrich API doc for gsm0808_speech_codec
+  * gsm0408_test: do not print errno in expected output
+  * comments: gsm_08_08.h: AMR cfg: explain in much more detail
+  * osmo_tdef_get(): clarify API doc on val_if_not_present
+
+  [ Max ]
+  * Ignore osmo-ns-dummy
+  * Add function to guess AF_UNSPEC address
+  * Add osmo_sockaddr_strs_to_str()
+  * cosmetic: remove trailing space
+  * cosmetic: make linter happy with LAPD code
+  * LAPD: log unknown format value
+  * LAPD: use bool for T200 reset flags
+  * msgb: expand copy test
+  * doc: correct typo in ticket reference
+  * msgb: introduce extended copy functions
+  * Add define for unset Frame Number
+  * LAPD: move tx_hist code into static functions
+  * osmo-ns-dummy: add ctrl interface
+  * jenkins_arm.sh: disable external tests
+  * vty: fix doc typo
+  * telnet_init_dynif: propagate error
+  * telnet_init_dynif: don't allow negative port
+  * rate_ctr: convert to timerfd
+  * rate_ctr: drop rate estimation code
+  * osmo-stat-dummy: add rate counters and statsd tester
+  * ctrl: add optional port to bind command
+  * ASCI: add VBS/VGCS support to BTS features list
+  * SI: add RR short PD message types
+  * Fixup .gitignore
+  * SI: add missing header
+  * Add SI10 support
+
+  [ neels ]
+  * Revert "Add osmo_sockaddr_strs_to_str()"
+  * Revert "Add function to guess AF_UNSPEC address"
+
+  [ Daniel Willmann ]
+  * use_count: Return if uc is NULL
+
+  [ Keith Whyte ]
+  * Fix LCLS-CONNECT-CONTROL generation
+  * Fix Typo in gsm0808_msgt_names[]
+
+  [ Philipp Maier ]
+  * msgb: assert msgb->lXh to be not NULL
+  * msgb: do not use msgb_l4 instead of msgb_sms
+  * bits: fix typo
+  * uitils: add floored and euclidian modulo functions
+  * gsm0408_test: add unittest for gsm_gsmtime2fn()
+  * gsm_utils: improve gsm_gsmtime2fn()
+
+  [ arehbein ]
+  * gb/vty: Show if NSVC is blocked locally by O&M/vty or by remote
+  * libosmocore: Deprecate APIs telnet_init(_dynip)()
+  * libosmocore:  Transition to use of 'telnet_init_default'
+
+  [ Eric ]
+  * bitgen test: fix concat macro
+
+ -- Pau Espin Pedrol <pespin@sysmocom.de>  Tue, 07 Feb 2023 11:20:41 +0100
+
 libosmocore (1.7.0) unstable; urgency=medium
 
   [ Vadim Yanitskiy ]
diff --git a/debian/control b/debian/control
index bbf9244..9632b7e 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,7 @@
 Multi-Arch: foreign
 Depends: libosmocodec0 (= ${binary:Version}),
          libosmocoding0 (= ${binary:Version}),
-         libosmocore19 (= ${binary:Version}),
+         libosmocore20 (= ${binary:Version}),
          libosmogb14 (= ${binary:Version}),
          libosmogsm18 (= ${binary:Version}),
          libosmoisdn0 (= ${binary:Version}),
@@ -116,7 +116,7 @@
  .
  This package contains the documentation for the libosmocoding library.
 
-Package: libosmocore19
+Package: libosmocore20
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -137,7 +137,7 @@
 Architecture: all
 Section: doc
 Depends: ${misc:Depends},
-         libosmocore19,
+         libosmocore20,
          libjs-jquery,
          libosmocodec-doc,
          libosmocoding-doc,
diff --git a/debian/libosmocore19.install b/debian/libosmocore20.install
similarity index 100%
rename from debian/libosmocore19.install
rename to debian/libosmocore20.install
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index e942a49..0965204 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=19:0:0
+LIBVERSION=20:0:0
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
 AM_CFLAGS = -Wall $(TALLOC_CFLAGS) $(PTHREAD_CFLAGS) $(LIBSCTP_CFLAGS) $(LIBMNL_CFLAGS)
diff --git a/src/ctrl/Makefile.am b/src/ctrl/Makefile.am
index 3134079..e1c6587 100644
--- a/src/ctrl/Makefile.am
+++ b/src/ctrl/Makefile.am
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=7:0:7
+LIBVERSION=8:0:8
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
 AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
diff --git a/src/gb/Makefile.am b/src/gb/Makefile.am
index 5bda374..1818db7 100644
--- a/src/gb/Makefile.am
+++ b/src/gb/Makefile.am
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=14:0:0
+LIBVERSION=15:0:1
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
 AM_CFLAGS = -Wall -fno-strict-aliasing \
diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am
index aa2e6ec..798f11a 100644
--- a/src/gsm/Makefile.am
+++ b/src/gsm/Makefile.am
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=18:0:0
+LIBVERSION=19:0:1
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
 AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
diff --git a/src/sim/Makefile.am b/src/sim/Makefile.am
index dee59bb..0f6be57 100644
--- a/src/sim/Makefile.am
+++ b/src/sim/Makefile.am
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=3:1:1
+LIBVERSION=3:2:1
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
 AM_CFLAGS = -fPIC -Wall $(TALLOC_CFLAGS)
diff --git a/src/vty/Makefile.am b/src/vty/Makefile.am
index 3da0919..252123d 100644
--- a/src/vty/Makefile.am
+++ b/src/vty/Makefile.am
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=11:0:2
+LIBVERSION=12:0:3
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
 AM_CFLAGS = -Wall $(TALLOC_CFLAGS) $(PTHREAD_CFLAGS)