aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-02-07 13:58:41 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-02-07 13:58:41 +0100
commit6df7905736f354abbef05894a59e067d6568bf0c (patch)
tree8e9392127c81f1396f69aa081a46d469ca428fb5
parent9c96c3986f03ab3b776cbf8ab7db624ec704c2a3 (diff)
Bump version: 0.1.2.25-9c96-dirty → 0.2.00.2.0
-rw-r--r--TODO-RELEASE1
-rw-r--r--configure.ac4
-rw-r--r--contrib/libosmo-pfcp.spec.in18
-rw-r--r--debian/changelog37
-rw-r--r--debian/control14
-rw-r--r--debian/libosmo-gtlv1.install (renamed from debian/libosmo-gtlv0.install)0
-rwxr-xr-xdebian/rules2
-rw-r--r--src/libosmo-gtlv/Makefile.am2
-rw-r--r--src/libosmo-pfcp/Makefile.am2
9 files changed, 58 insertions, 22 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 19c1fce..d0852fc 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,4 +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
-libosmo-pfcp libosmogsm>=1.7.0 libosmo-pfcp now uses API from libosmogsm (from libosmocore.git)
diff --git a/configure.ac b/configure.ac
index 4d10d3f..bbca19a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,8 +37,8 @@ fi
PKG_PROG_PKG_CONFIG([0.20])
dnl checks for libraries
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.7.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.7.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.8.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.8.0)
dnl checks for header files
AC_HEADER_STDC
diff --git a/contrib/libosmo-pfcp.spec.in b/contrib/libosmo-pfcp.spec.in
index e789ef6..421a893 100644
--- a/contrib/libosmo-pfcp.spec.in
+++ b/contrib/libosmo-pfcp.spec.in
@@ -11,8 +11,8 @@ BuildRequires: automake >= 1.9
BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel
BuildRequires: pkgconfig >= 0.20
-BuildRequires: pkgconfig(libosmocore) >= 1.7.0
-BuildRequires: pkgconfig(libosmogsm) >= 1.7.0
+BuildRequires: pkgconfig(libosmocore) >= 1.8.0
+BuildRequires: pkgconfig(libosmogsm) >= 1.8.0
BuildRequires: pkgconfig(talloc)
%description
@@ -22,12 +22,12 @@ Install Osmocom PFCP and generic TLV protocol libraries.
libosmo-gtlv and libosmo-pfcp
-%package -n libosmo-gtlv0
+%package -n libosmo-gtlv1
Summary: Generic TLV and TLIV protocol support
License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: System/Libraries
-%description -n libosmo-gtlv0
+%description -n libosmo-gtlv1
Decoding, encoding and logging of protocols using a Tag-Length-Value and/or
Tag-Length-Instance-Value structure.
@@ -36,7 +36,7 @@ Tag-Length-Instance-Value structure.
Summary: Development files for libosmo-pfcp
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
-Requires: libosmo-gtlv0 = %{version}
+Requires: libosmo-gtlv1 = %{version}
%description -n libosmo-gtlv-devel
libosmo-pfcp implements decoding, encoding and endpoint implementation of the
@@ -84,13 +84,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
-%post -n libosmo-gtlv0 -p /sbin/ldconfig
-%postun -n libosmo-gtlv0 -p /sbin/ldconfig
+%post -n libosmo-gtlv1 -p /sbin/ldconfig
+%postun -n libosmo-gtlv1 -p /sbin/ldconfig
%post -n libosmo-pfcp0 -p /sbin/ldconfig
%postun -n libosmo-pfcp0 -p /sbin/ldconfig
-%files -n libosmo-gtlv0
-%{_libdir}/libosmo-gtlv.so.0*
+%files -n libosmo-gtlv1
+%{_libdir}/libosmo-gtlv.so.1*
%files -n libosmo-gtlv-devel
%dir %{_includedir}/%{name}
diff --git a/debian/changelog b/debian/changelog
index 453bc6e..ecac7cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,40 @@
+libosmo-pfcp (0.2.0) unstable; urgency=medium
+
+ [ Neels Hofmeyr ]
+ * pfcp_msg: check use count correctness
+ * gtlv: check memory bounds 1/3: encoding TLV
+ * gtlv: check memory bounds 2/3: decoding TLV
+ * gtlv: check memory bounds 3/3: encoding to str
+ * gtlv: fix repeated IEIs to several struct members
+ * gtlv: test repeated IEIs to several struct members
+
+ [ Harald Welte ]
+ * Support building with -Werror=strict-prototypes / -Werror=old-style-definition
+ * Add -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition
+
+ [ Vadim Yanitskiy ]
+ * contrib/jenkins.sh: build with --enable-werror
+ * tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS'
+
+ [ Neels Janosch Hofmeyr ]
+ * api doc: explain heartbeat handling in rx_msg_cb
+ * pfcp_test: init logging, for PFCP errors
+ * pfcp_test: add missing 'pdi_present = true'
+ * pfcp_test: fix order of dependencies
+ * PFCP: add Network Instance IE in PDI IE
+ * add osmo_pfcp_ip_addrs_to_str_*()
+ * osmo_pfcp_ip_addrs_set(): do not set port number
+ * add osmo_pfcp_ie_outer_header_creation_to_str_*()
+ * tweak comment in pfcp_ies_custom.c
+ * pfcp coding errmsgs: drop extra newlines
+ * fix coding of Network Instance IE
+ * fix coding of Node ID: FQDN type
+ * bitmask to string: shorten
+ * gtlv: decoding error: log size limited hexdump of IE
+ * silence compiler warning in gtlv_dec_enc.c
+
+ -- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 07 Feb 2023 13:58:41 +0100
+
libosmo-pfcp (0.1.2) unstable; urgency=medium
[ Neels Hofmeyr ]
diff --git a/debian/control b/debian/control
index 1d4822d..898d32d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>=10),
automake,
libtool,
pkg-config,
- libosmocore-dev (>= 1.7.0),
+ libosmocore-dev (>= 1.8.0),
libtalloc-dev (>= 2.1.0)
Standards-Version: 3.9.8
Vcs-Git: https://gitea.osmocom.org/osmocom/libosmo-pfcp
@@ -22,12 +22,12 @@ Section: libs
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends},
- libosmo-gtlv0 (= ${binary:Version}),
+ libosmo-gtlv1 (= ${binary:Version}),
libosmo-pfcp0 (= ${binary:Version})
Description: Osmocom PFCP protocol implementation (metapackage)
Install Osmocom PFCP and generic TLV protocol libraries.
-Package: libosmo-gtlv0
+Package: libosmo-gtlv1
Section: libs
Architecture: any
Multi-Arch: same
@@ -43,8 +43,8 @@ Architecture: any
Multi-Arch: same
Section: libdevel
Depends: ${misc:Depends},
- libosmo-gtlv0 (= ${binary:Version}),
- libosmocore-dev (>= 1.7.0),
+ libosmo-gtlv1 (= ${binary:Version}),
+ libosmocore-dev (>= 1.8.0),
libtalloc-dev (>= 2.1.0)
Description: Development files for libosmo-gtlv
libosmo-gtlv implements decoding, encoding and logging of protocols using a
@@ -57,7 +57,7 @@ Multi-Arch: same
Section: debug
Priority: extra
Depends: ${misc:Depends},
- libosmo-gtlv0 (= ${binary:Version})
+ libosmo-gtlv1 (= ${binary:Version})
Description: Debug symbols for libosmo-gtlv
libosmo-gtlv implements decoding, encoding and logging of protocols using a
Tag-Length-Value and/or Tag-Length-Instance-Value structure. This package in
@@ -69,7 +69,7 @@ Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
- libosmo-gtlv0 (= ${binary:Version})
+ libosmo-gtlv1 (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends}
Description: PFCP protocol support
Decoding, encoding and endpoint implementation of the Packet Forwarding Control Protocol
diff --git a/debian/libosmo-gtlv0.install b/debian/libosmo-gtlv1.install
index dba9905..dba9905 100644
--- a/debian/libosmo-gtlv0.install
+++ b/debian/libosmo-gtlv1.install
diff --git a/debian/rules b/debian/rules
index e32eb67..7b522af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,7 +55,7 @@ override_dh_auto_configure:
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
override_dh_strip:
- dh_strip -plibosmo-gtlv0 --dbg-package=libosmo-gtlv-dbg
+ dh_strip -plibosmo-gtlv1 --dbg-package=libosmo-gtlv-dbg
dh_strip -plibosmo-pfcp0 --dbg-package=libosmo-pfcp-dbg
# Print test results in case of a failure
diff --git a/src/libosmo-gtlv/Makefile.am b/src/libosmo-gtlv/Makefile.am
index af0f839..1c40386 100644
--- a/src/libosmo-gtlv/Makefile.am
+++ b/src/libosmo-gtlv/Makefile.am
@@ -29,6 +29,6 @@ libosmo_gtlv_la_SOURCES = \
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool
# documentation before making any modification
-LIBVERSION=0:0:0
+LIBVERSION=1:0:0
libosmo_gtlv_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined -export-symbols-regex '^osmo_'
diff --git a/src/libosmo-pfcp/Makefile.am b/src/libosmo-pfcp/Makefile.am
index 6ca88b8..578ac0b 100644
--- a/src/libosmo-pfcp/Makefile.am
+++ b/src/libosmo-pfcp/Makefile.am
@@ -38,7 +38,7 @@ libosmo_pfcp_la_SOURCES = \
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool
# documentation before making any modification
-LIBVERSION=0:0:0
+LIBVERSION=1:0:1
libosmo_pfcp_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined -export-symbols-regex '^osmo_'