abi/debian: Bump ABI version of libgtp after struct size change

The gsn_t changed the size with the addition of the ctrl pointer.
Bump the SO version to not break osmo-sgsn/ggsn on upgrade.

Call the -dev package libgtp-dev to follow the rest of Osmocom and
to ease making releases here.

Change-Id: Iac4d6d2effde1a6b2f60b1e1b49c91513d5ca8c3
This commit is contained in:
Holger Hans Peter Freyther 2017-01-24 17:21:05 +01:00
parent 7716860845
commit 68d244d302
5 changed files with 11 additions and 5 deletions

3
debian/changelog vendored
View File

@ -1,8 +1,9 @@
openggsn (0.93) UNRELEASED; urgency=medium openggsn (0.93) UNRELEASED; urgency=medium
* Bump version to ease upgrading from Debian SID. * Bump version to ease upgrading from Debian SID.
* Bump libgtp SO version after ABI change.
-- Holger Hans Peter Freyther <holger@moiji-mobile.com> Tue, 24 May 2016 22:53:16 +0200 -- Holger Hans Peter Freyther <holger@moiji-mobile.com> Tue, 24 Jan 2017 17:26:26 +0100
openggsn (0.92) precise; urgency=medium openggsn (0.92) precise; urgency=medium

8
debian/control vendored
View File

@ -22,7 +22,7 @@ Description: Gateway GPRS Support Node (GGSN)
operators as the interface between the Internet and the rest of the operators as the interface between the Internet and the rest of the
mobile network infrastructure. mobile network infrastructure.
Package: libgtp0 Package: libgtp1
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Section: libs Section: libs
@ -36,12 +36,12 @@ Description: library implementing the GTP protocol between SGSN and GGSN
This library is part of openggsn and implements the GTP protocol between This library is part of openggsn and implements the GTP protocol between
SGSN (Serving GPRS support node) and GGSN. SGSN (Serving GPRS support node) and GGSN.
Package: libgtp0-dev Package: libgtp-dev
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Section: libdevel Section: libdevel
Depends: ${misc:Depends}, Depends: ${misc:Depends},
libgtp0 (= ${binary:Version}) libgtp1 (= ${binary:Version})
Description: Development files for libgtp Description: Development files for libgtp
OpenGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile OpenGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
operators as the interface between the Internet and the rest of the operators as the interface between the Internet and the rest of the
@ -54,6 +54,6 @@ Package: openggsn-dbg
Section: debug Section: debug
Architecture: any Architecture: any
Priority: extra Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtp0 (= ${binary:Version}), openggsn (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libgtp1 (= ${binary:Version}), openggsn (= ${binary:Version})
Multi-Arch: same Multi-Arch: same
Description: Debug symbols for OpenGGSN Description: Debug symbols for OpenGGSN

View File

@ -1,3 +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=1:0:0
lib_LTLIBRARIES = libgtp.la lib_LTLIBRARIES = libgtp.la
include_HEADERS = gtp.h pdp.h gtpie.h include_HEADERS = gtp.h pdp.h gtpie.h
@ -5,6 +9,7 @@ include_HEADERS = gtp.h pdp.h gtpie.h
AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS)
libgtp_la_SOURCES = gtp.c gtp.h gtpie.c gtpie.h pdp.c pdp.h lookupa.c lookupa.h queue.c queue.h libgtp_la_SOURCES = gtp.c gtp.h gtpie.c gtpie.h pdp.c pdp.h lookupa.c lookupa.h queue.c queue.h
libgtp_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
libgtp_la_LIBADD = $(LIBOSMOCORE_LIBS) libgtp_la_LIBADD = $(LIBOSMOCORE_LIBS)