Hello community, here is the log from the commit of package osmo-ggsn for openSUSE:Factory checked in at 2019-01-05 14:41:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osmo-ggsn (Old) and /work/SRC/openSUSE:Factory/.osmo-ggsn.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osmo-ggsn" Sat Jan 5 14:41:51 2019 rev:2 rq:657200 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/osmo-ggsn/osmo-ggsn.changes 2018-01-10 23:34:13.782665034 +0100 +++ /work/SRC/openSUSE:Factory/.osmo-ggsn.new.28833/osmo-ggsn.changes 2019-01-05 14:41:51.928505338 +0100 @@ -1,0 +2,10 @@ +Tue Dec 11 13:08:04 UTC 2018 - Jan Engelhardt <jeng...@inai.de> + +- Update to new upstream release 1.2.2 + * Add support for IPv4v6 End User Addresses + * ggsn: Add 'ipv6 link-local' vty cmd + * Add talloc context introspection via VTY +- Remove 0001-fix-compiler-warnings-return-0-in-main-in-3-tests.patch + (merged) + +------------------------------------------------------------------- Old: ---- 0001-fix-compiler-warnings-return-0-in-main-in-3-tests.patch osmo-ggsn-1.1.0.tar.xz New: ---- osmo-ggsn-1.2.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osmo-ggsn.spec ++++++ --- /var/tmp/diff_new_pack.x2z4OO/_old 2019-01-05 14:41:52.496504856 +0100 +++ /var/tmp/diff_new_pack.x2z4OO/_new 2019-01-05 14:41:52.500504853 +0100 @@ -1,7 +1,7 @@ # # spec file for package osmo-ggsn # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,30 +12,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: osmo-ggsn -Version: 1.1.0 +%define lname libgtp3 +Version: 1.2.2 Release: 0 Summary: GPRS Support Node -License: GPL-2.0 AND LGPL-2.1+ +License: GPL-2.0-only AND LGPL-2.1-or-later Group: Productivity/Telephony/Servers URL: https://osmocom.org/projects/openggsn/wiki/OsmoGGSN Source: %name-%version.tar.xz Patch1: build-fixes.diff -Patch2: 0001-fix-compiler-warnings-return-0-in-main-in-3-tests.patch BuildRequires: libtool >= 2 BuildRequires: pkgconfig >= 0.20 BuildRequires: systemd-rpm-macros BuildRequires: xz -BuildRequires: pkgconfig(libgtpnl) >= 1.0.0 +BuildRequires: pkgconfig(libgtpnl) >= 1.2.0 BuildRequires: pkgconfig(libmnl) >= 1.0.3 -BuildRequires: pkgconfig(libosmocore) >= 0.6.4 -BuildRequires: pkgconfig(libosmoctrl) +BuildRequires: pkgconfig(libosmocore) >= 0.11.0 +BuildRequires: pkgconfig(libosmoctrl) >= 0.11.0 BuildRequires: pkgconfig(libosmogsm) -BuildRequires: pkgconfig(libosmovty) >= 0.3.0 +BuildRequires: pkgconfig(libosmovty) >= 0.11.0 Obsoletes: openggsn %{?systemd_requires} @@ -44,19 +44,19 @@ Support Node), a core network element of ETSI/3GPP cellular networks such as GPRS, EDGE, UMTS or HSPA. -%package -n libgtp2 +%package -n %lname Summary: Library implementing GTP between SGSN and GGSN -License: GPL-2.0 +License: GPL-2.0-only Group: System/Libraries -%description -n libgtp2 +%description -n %lname libgtp implements the GPRS Tunneling Protocol between SGSN and GGSN. %package -n libgtp-devel Summary: Development files for the GTP library -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Libraries/C and C++ -Requires: libgtp2 = %version +Requires: %lname = %version %description -n libgtp-devel libgtp implements the GPRS Tunneling Protocol between SGSN and GGSN. @@ -65,8 +65,7 @@ applications that want to make use of libgtp. %prep -%setup -q -%patch -P 1 -P 2 -p1 +%autosetup -p1 %build echo "%version" >.tarball-version @@ -98,8 +97,8 @@ %postun %service_del_postun %name.service -%post -n libgtp2 -p /sbin/ldconfig -%postun -n libgtp2 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %files %doc AUTHORS COPYING README.md @@ -115,8 +114,8 @@ %config(noreplace) %_sysconfdir/osmocom/osmo-ggsn.cfg %config(noreplace) %_sysconfdir/osmocom/sgsnemu.conf -%files -n libgtp2 -%_libdir/libgtp.so.2* +%files -n %lname +%_libdir/libgtp.so.3* %files -n libgtp-devel %_includedir/%name/ ++++++ _service ++++++ --- /var/tmp/diff_new_pack.x2z4OO/_old 2019-01-05 14:41:52.520504836 +0100 +++ /var/tmp/diff_new_pack.x2z4OO/_new 2019-01-05 14:41:52.520504836 +0100 @@ -2,8 +2,8 @@ <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">git://git.osmocom.org/osmo-ggsn</param> - <param name="revision">1.1.0</param> - <param name="versionformat">1.1.0</param> + <param name="revision">1.2.2</param> + <param name="versionformat">1.2.2</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ build-fixes.diff ++++++ --- /var/tmp/diff_new_pack.x2z4OO/_old 2019-01-05 14:41:52.532504825 +0100 +++ /var/tmp/diff_new_pack.x2z4OO/_new 2019-01-05 14:41:52.532504825 +0100 @@ -9,48 +9,84 @@ * remove AC_PROG_CXX, the C++ is never used --- - ggsn/Makefile.am | 12 ++++++------ - ggsn/gtp-kernel.c | 5 +---- + ggsn/Makefile.am | 10 +++++----- gtp/Makefile.am | 3 ++- - lib/Makefile.am | 8 +++++--- - sgsnemu/Makefile.am | 9 ++++----- + lib/Makefile.am | 13 ++++++++----- + lib/gtp-kernel.c | 5 +---- + sgsnemu/Makefile.am | 10 +++++----- tests/gtp/Makefile.am | 2 +- tests/lib/Makefile.am | 4 ++-- - 7 files changed, 21 insertions(+), 22 deletions(-) + 7 files changed, 24 insertions(+), 23 deletions(-) -Index: osmo-ggsn-1.1.0/ggsn/Makefile.am +Index: osmo-ggsn-1.2.2/ggsn/Makefile.am =================================================================== ---- osmo-ggsn-1.1.0.orig/ggsn/Makefile.am -+++ osmo-ggsn-1.1.0/ggsn/Makefile.am -@@ -1,17 +1,17 @@ +--- osmo-ggsn-1.2.2.orig/ggsn/Makefile.am ++++ osmo-ggsn-1.2.2/ggsn/Makefile.am +@@ -1,15 +1,15 @@ -bin_PROGRAMS = osmo-ggsn +sbin_PROGRAMS = osmo-ggsn AM_LDFLAGS = @EXEC_LDFLAGS@ -AM_CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS) -+AM_CPPFLAGS = -D_GNU_SOURCE -DSBINDIR='"${sbindir}"' ${LIBOSMOCORE_CFLAGS} ${LIBOSMOCTRL_CFLAGS} ${LIBOSMOVTY_CFLAGS} ++AM_CPPFLAGS = -D_GNU_SOURCE -DSBINDIR='"$(sbindir)"' $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS) +AM_CFLAGS = -fno-builtin -Wall -osmo_ggsn_LDADD = @EXEC_LDADD@ -lgtp -L../gtp ../lib/libmisc.a $(LIBOSMOCORE_LIBS) $(LIBOSMOCTRL_LIBS) $(LIBOSMOVTY_LIBS) +osmo_ggsn_LDADD = @EXEC_LDADD@ ../gtp/libgtp.la ../lib/libmisc.la $(LIBOSMOCORE_LIBS) $(LIBOSMOCTRL_LIBS) $(LIBOSMOVTY_LIBS) if ENABLE_GTP_KERNEL --AM_CFLAGS += -DGTP_KERNEL --osmo_ggsn_LDADD += -lgtpnl -+AM_CPPFLAGS += -DGTP_KERNEL ${LIBGTPNL_CFLAGS} -+osmo_ggsn_LDADD += ${LIBGTPNL_LIBS} +-AM_CFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS) ++AM_CPPFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS) + osmo_ggsn_LDADD += $(LIBGTPNL_LIBS) endif -osmo_ggsn_DEPENDENCIES = ../gtp/libgtp.la ../lib/libmisc.a - osmo_ggsn_SOURCES = ggsn_vty.c ggsn.c ggsn.h gtp-kernel.h icmpv6.c icmpv6.h checksum.c checksum.h + osmo_ggsn_SOURCES = ggsn_vty.c ggsn.c ggsn.h icmpv6.c icmpv6.h checksum.c checksum.h +Index: osmo-ggsn-1.2.2/gtp/Makefile.am +=================================================================== +--- osmo-ggsn-1.2.2.orig/gtp/Makefile.am ++++ osmo-ggsn-1.2.2/gtp/Makefile.am +@@ -8,7 +8,8 @@ lib_LTLIBRARIES = libgtp.la + + include_HEADERS = gtp.h pdp.h gtpie.h + +-AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) ++AM_CPPFLAGS = -DSBINDIR='"$(sbindir)"' $(LIBOSMOCORE_CFLAGS) ++AM_CFLAGS = -O2 -fno-builtin -Wall -ggdb + + 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 +Index: osmo-ggsn-1.2.2/lib/Makefile.am +=================================================================== +--- osmo-ggsn-1.2.2.orig/lib/Makefile.am ++++ osmo-ggsn-1.2.2/lib/Makefile.am +@@ -1,12 +1,15 @@ +-noinst_LIBRARIES = libmisc.a ++noinst_LTLIBRARIES = libmisc.la + + noinst_HEADERS = gnugetopt.h ippool.h lookup.h syserr.h tun.h in46_addr.h netdev.h gtp-kernel.h + +-AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) ++AM_CPPFLAGS = -DSBINDIR='"$(sbindir)"' $(LIBOSMOCORE_CFLAGS) ++AM_CFLAGS = -fno-builtin -Wall + +-libmisc_a_SOURCES = getopt1.c getopt.c ippool.c lookup.c tun.c debug.c in46_addr.c netdev.c ++libmisc_la_SOURCES = getopt1.c getopt.c ippool.c lookup.c tun.c debug.c in46_addr.c netdev.c ++libmisc_la_LIBADD = ${LIBOSMOCORE_LIBS} if ENABLE_GTP_KERNEL -Index: osmo-ggsn-1.1.0/ggsn/gtp-kernel.c +-AM_CFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS) +-libmisc_a_SOURCES += gtp-kernel.c ++AM_CPPFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS) ++libmisc_la_SOURCES += gtp-kernel.c ++libmisc_la_LIBADD += ${LIBGTPNL_LIBS} + endif +Index: osmo-ggsn-1.2.2/lib/gtp-kernel.c =================================================================== ---- osmo-ggsn-1.1.0.orig/ggsn/gtp-kernel.c -+++ osmo-ggsn-1.1.0/ggsn/gtp-kernel.c -@@ -17,8 +17,6 @@ +--- osmo-ggsn-1.2.2.orig/lib/gtp-kernel.c ++++ osmo-ggsn-1.2.2/lib/gtp-kernel.c +@@ -18,8 +18,6 @@ #include <libgtpnl/gtp.h> #include <libgtpnl/gtpnl.h> @@ -59,7 +95,7 @@ #include <errno.h> #include <time.h> -@@ -30,8 +28,6 @@ +@@ -31,8 +29,6 @@ #include <libgtpnl/gtp.h> #include <libgtpnl/gtpnl.h> @@ -67,68 +103,44 @@ - #include "gtp-kernel.h" - static void pdp_debug(struct pdp_t *pdp) -@@ -69,6 +65,7 @@ static void pdp_debug(struct pdp_t *pdp) - printf("\n"); + static void pdp_debug(const char *prefix, const char *devname, struct pdp_t *pdp) +@@ -49,6 +45,7 @@ static void pdp_debug(const char *prefix + in46a_ntoa(&ia46), inet_ntoa(ia)); } +struct mnl_socket; static struct { int genl_id; struct mnl_socket *nl; -Index: osmo-ggsn-1.1.0/gtp/Makefile.am -=================================================================== ---- osmo-ggsn-1.1.0.orig/gtp/Makefile.am -+++ osmo-ggsn-1.1.0/gtp/Makefile.am -@@ -6,7 +6,8 @@ lib_LTLIBRARIES = libgtp.la - - include_HEADERS = gtp.h pdp.h gtpie.h - --AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) -+AM_CPPFLAGS = -DSBINDIR='"$(sbindir)"' $(LIBOSMOCORE_CFLAGS) -+AM_CFLAGS = -O2 -fno-builtin -Wall -ggdb - - 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 -Index: osmo-ggsn-1.1.0/lib/Makefile.am -=================================================================== ---- osmo-ggsn-1.1.0.orig/lib/Makefile.am -+++ osmo-ggsn-1.1.0/lib/Makefile.am -@@ -1,7 +1,9 @@ --noinst_LIBRARIES = libmisc.a -+noinst_LTLIBRARIES = libmisc.la - - noinst_HEADERS = gnugetopt.h ippool.h lookup.h syserr.h tun.h in46_addr.h - --AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) -+AM_CPPFLAGS = -DSBINDIR='"${sbindir}"' ${LIBOSMOCORE_CFLAGS} -+AM_CFLAGS = -fno-builtin -Wall - --libmisc_a_SOURCES = getopt1.c getopt.c ippool.c lookup.c tun.c debug.c in46_addr.c -+libmisc_la_SOURCES = getopt1.c getopt.c ippool.c lookup.c tun.c debug.c in46_addr.c -+libmisc_la_LIBADD = ${LIBOSMOCORE_LIBS} -Index: osmo-ggsn-1.1.0/sgsnemu/Makefile.am +Index: osmo-ggsn-1.2.2/sgsnemu/Makefile.am =================================================================== ---- osmo-ggsn-1.1.0.orig/sgsnemu/Makefile.am -+++ osmo-ggsn-1.1.0/sgsnemu/Makefile.am -@@ -1,9 +1,8 @@ +--- osmo-ggsn-1.2.2.orig/sgsnemu/Makefile.am ++++ osmo-ggsn-1.2.2/sgsnemu/Makefile.am +@@ -1,15 +1,15 @@ -bin_PROGRAMS = sgsnemu +sbin_PROGRAMS = sgsnemu AM_LDFLAGS = @EXEC_LDFLAGS@ -+AM_CPPFLAGS = -D_GNU_SOURCE -DSBINDIR='"$(sbindir)"' $(LIBOSMOCORE_CFLAGS) -+AM_CFLAGS = -O2 -fno-builtin -Wall -ggdb -AM_CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb $(LIBOSMOCORE_CFLAGS) -- ++AM_CPPFLAGS = -D_GNU_SOURCE -DSBINDIR='"$(sbindir)"' $(LIBOSMOCORE_CFLAGS) ++AM_CFLAGS = -fno-builtin -Wall + -sgsnemu_LDADD = @EXEC_LDADD@ -lgtp -L../gtp ../lib/libmisc.a $(LIBOSMOCORE_LIBS) --sgsnemu_DEPENDENCIES = ../gtp/libgtp.la ../lib/libmisc.a +sgsnemu_LDADD = @EXEC_LDADD@ ../gtp/libgtp.la ../lib/libmisc.la $(LIBOSMOCORE_LIBS) + + if ENABLE_GTP_KERNEL +-AM_CFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS) ++AM_CPPFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS) + sgsnemu_LDADD += $(LIBGTPNL_LIBS) + endif + +-sgsnemu_DEPENDENCIES = ../gtp/libgtp.la ../lib/libmisc.a sgsnemu_SOURCES = sgsnemu.c cmdline.c cmdline.h -Index: osmo-ggsn-1.1.0/tests/gtp/Makefile.am +Index: osmo-ggsn-1.2.2/tests/gtp/Makefile.am =================================================================== ---- osmo-ggsn-1.1.0.orig/tests/gtp/Makefile.am -+++ osmo-ggsn-1.1.0/tests/gtp/Makefile.am +--- osmo-ggsn-1.2.2.orig/tests/gtp/Makefile.am ++++ osmo-ggsn-1.2.2/tests/gtp/Makefile.am @@ -13,7 +13,7 @@ gtpie_test_SOURCES = \ $(NULL) @@ -138,11 +150,11 @@ $(top_builddir)/gtp/libgtp.la \ $(LIBOSMOCORE_LIBS) \ $(NULL) -Index: osmo-ggsn-1.1.0/tests/lib/Makefile.am +Index: osmo-ggsn-1.2.2/tests/lib/Makefile.am =================================================================== ---- osmo-ggsn-1.1.0.orig/tests/lib/Makefile.am -+++ osmo-ggsn-1.1.0/tests/lib/Makefile.am -@@ -10,7 +10,7 @@ ippool_test_SOURCES = \ +--- osmo-ggsn-1.2.2.orig/tests/lib/Makefile.am ++++ osmo-ggsn-1.2.2/tests/lib/Makefile.am +@@ -14,7 +14,7 @@ ippool_test_SOURCES = \ $(NULL) ippool_test_LDADD = \ @@ -151,7 +163,7 @@ $(LIBOSMOCORE_LIBS) \ $(NULL) -@@ -19,6 +19,6 @@ in46a_test_SOURCES = \ +@@ -23,6 +23,6 @@ in46a_test_SOURCES = \ $(NULL) in46a_test_LDADD = \ ++++++ osmo-ggsn-1.1.0.tar.xz -> osmo-ggsn-1.2.2.tar.xz ++++++ ++++ 6131 lines of diff (skipped)