Hello community,
here is the log from the commit of package libgtpnl for openSUSE:Factory checked in at 2017-12-29 18:51:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgtpnl (Old)
and /work/SRC/openSUSE:Factory/.libgtpnl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgtpnl"
Fri Dec 29 18:51:51 2017 rev:2 rq:560207 version:1.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/libgtpnl/libgtpnl.changes 2017-05-16 14:37:54.000292420 +0200
+++ /work/SRC/openSUSE:Factory/.libgtpnl.new/libgtpnl.changes 2017-12-29 18:51:58.986396834 +0100
@@ -1,0 +2,13 @@
+Thu Dec 28 00:37:51 UTC 2017 - jengelh@inai.de
+
+- Update to new upstream release 1.1.0
+ * gtp: fix missing initialization of netns file descriptor
+ * tools,gtp-genl: gtp-tunnel: fix wrong MS address
+ * tools: gtp-tunnel: restore option parsing
+ * tools: gtp-link: allow to delete links
+ * tools: gtp-link: bind to GTP UDP sockets
+ * Fix look-up of GTP tunnel by TEI
+ * Add support for SGSN role via IFLA_GTP_ROLE
+ * Add support for SGSN role via IFLA_GTP_ROLE
+
+-------------------------------------------------------------------
Old:
----
libgtpnl-1.0.1.7.tar.xz
New:
----
libgtpnl-1.1.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgtpnl.spec ++++++
--- /var/tmp/diff_new_pack.po7dKY/_old 2017-12-29 18:51:59.494250975 +0100
+++ /var/tmp/diff_new_pack.po7dKY/_new 2017-12-29 18:51:59.498249826 +0100
@@ -17,7 +17,7 @@
Name: libgtpnl
-Version: 1.0.1.7
+Version: 1.1.0
Release: 0
Summary: GPRS tunnel configuration library
License: GPL-2.0+ and LGPL-2.1+
++++++ _service ++++++
--- /var/tmp/diff_new_pack.po7dKY/_old 2017-12-29 18:51:59.538238340 +0100
+++ /var/tmp/diff_new_pack.po7dKY/_new 2017-12-29 18:51:59.538238340 +0100
@@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">git://git.osmocom.org/libgtpnl</param>
- <param name="revision">master</param>
- <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param>
+ <param name="revision">1.1.0</param>
+ <param name="versionformat">1.1.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
++++++ libgtpnl-1.0.1.7.tar.xz -> libgtpnl-1.1.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/Make_global.am new/libgtpnl-1.1.0/Make_global.am
--- old/libgtpnl-1.0.1.7/Make_global.am 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/Make_global.am 2017-11-12 15:33:02.000000000 +0100
@@ -18,7 +18,7 @@
# set age to 0.
# </snippet>
#
-LIBVERSION=0:0:0
+LIBVERSION=1:0:1
AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_srcdir}/include ${LIBMNL_CFLAGS}
AM_CFLAGS = ${regular_CFLAGS} ${GCC_FVISIBILITY_HIDDEN}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/Makefile.am new/libgtpnl-1.1.0/Makefile.am
--- old/libgtpnl-1.0.1.7/Makefile.am 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/Makefile.am 2017-11-12 15:33:02.000000000 +0100
@@ -9,3 +9,5 @@
pkgconfig_DATA = libgtpnl.pc
${pkgconfig_DATA}: ${top_builddir}/config.status
+
+@RELMAKE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/configure.ac new/libgtpnl-1.1.0/configure.ac
--- old/libgtpnl-1.0.1.7/configure.ac 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/configure.ac 2017-11-12 15:33:02.000000000 +0100
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to create configure.
-AC_INIT([libgtpnl], [1.0.1])
+AC_INIT([libgtpnl], [1.1.0])
AC_CONFIG_AUX_DIR([build-aux])
AC_CANONICAL_HOST
AC_CONFIG_MACRO_DIR([m4])
@@ -13,6 +13,10 @@
dnl Dependencies
PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.0])
+dnl include release helper
+RELMAKE='-include osmo-release.mk'
+AC_SUBST([RELMAKE])
+
AC_PROG_CC
AM_PROG_CC_C_O
AC_EXEEXT
@@ -24,6 +28,18 @@
*) AC_MSG_ERROR([Linux only, dude!]);;
esac
+AC_ARG_ENABLE(sanitize,
+ [AS_HELP_STRING(
+ [--enable-sanitize],
+ [Compile with address sanitizer enabled],
+ )],
+ [sanitize=$enableval], [sanitize="no"])
+if test x"$sanitize" = x"yes"
+then
+ CFLAGS="$CFLAGS -fsanitize=address -fsanitize=undefined"
+ CPPFLAGS="$CPPFLAGS -fsanitize=address -fsanitize=undefined"
+fi
+
regular_CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_REENTRANT"
regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
-Wmissing-prototypes -Wshadow -Wstrict-prototypes \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/contrib/jenkins.sh new/libgtpnl-1.1.0/contrib/jenkins.sh
--- old/libgtpnl-1.0.1.7/contrib/jenkins.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/contrib/jenkins.sh 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -ex
+
+osmo-clean-workspace.sh
+
+autoreconf --install --force
+./configure --enable-sanitize CFLAGS="-Werror" CPPFLAGS="-Werror"
+$MAKE $PARALLEL_MAKE
+$MAKE distcheck
+
+osmo-clean-workspace.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/debian/changelog new/libgtpnl-1.1.0/debian/changelog
--- old/libgtpnl-1.0.1.7/debian/changelog 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/debian/changelog 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1,16 @@
+libgtpnl (1.1.0) UNRELEASED; urgency=medium
+
+ * Add genl_socket_close() function
+ * Add contrib/jenkins.sh for jenkins build verification
+ * Add '--enable-sanitize' from other osmocom projects
+ * gtp_build_payload(): Support absent peer and SGSN address
+ * Use release helper from libosmocore
+ * add 'm4' subdirectory to .gitignore
+
+ -- Harald Welte Sun, 12 Nov 2017 23:31:27 +0900
+
+libgtpnl (1.0.1) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Harald Welte Mon, 30 Oct 2017 23:03:47 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/debian/compat new/libgtpnl-1.1.0/debian/compat
--- old/libgtpnl-1.0.1.7/debian/compat 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/debian/compat 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1 @@
+9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/debian/control new/libgtpnl-1.1.0/debian/control
--- old/libgtpnl-1.0.1.7/debian/control 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/debian/control 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1,45 @@
+Source: libgtpnl
+Maintainer: Harald Welte
+Section: libs
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ autotools-dev,
+ autoconf,
+ automake,
+ libtool,
+ dh-autoreconf,
+ git,
+ pkg-config,
+ libmnl-dev
+Standards-Version: 3.9.8
+Vcs-Git: git://git.osmocom.org/libgtpnl.git
+Vcs-Browser: http://git.osmocom.org/gitweb?p=libgtpnl.git;a=summary
+Homepage: https://projects.osmocom.org/projects/openggsn
+
+Package: libgtpnl1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: Linux kernel GTP-U netlink library
+
+Package: libgtpnl-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: libmnl-dev,
+ libgtpnl1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Development headers for Linux kernel GTP-U netlink library
+ The header files provided by this package may be used to develop
+ applications against the libgtpnl library.
+
+Package: libgtpnl-dbg
+Architecture: any
+Multi-Arch: same
+Section: debug
+Priority: extra
+Depends: libgtpnl1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debug symbols for Linux kernel GTP-U netlink library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/debian/libgtpnl-dev.install new/libgtpnl-1.1.0/debian/libgtpnl-dev.install
--- old/libgtpnl-1.0.1.7/debian/libgtpnl-dev.install 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/debian/libgtpnl-dev.install 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/lib*.la
+usr/lib/*/pkgconfig/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/debian/libgtpnl1.install new/libgtpnl-1.1.0/debian/libgtpnl1.install
--- old/libgtpnl-1.0.1.7/debian/libgtpnl1.install 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/debian/libgtpnl1.install 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1 @@
+usr/lib/*/libgtpnl*.so.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/debian/rules new/libgtpnl-1.1.0/debian/rules
--- old/libgtpnl-1.0.1.7/debian/rules 1970-01-01 01:00:00.000000000 +0100
+++ new/libgtpnl-1.1.0/debian/rules 2017-11-12 15:33:02.000000000 +0100
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
+VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
+
+%:
+ dh $@ --with autoreconf --fail-missing
+
+override_dh_strip:
+ dh_strip --dbg-package=libgtpnl-dbg
+
+override_dh_install:
+ sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+ dh_install
+
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
+
+override_dh_autoreconf:
+ echo $(VERSION) > .tarball-version
+ dh_autoreconf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/include/libgtpnl/gtpnl.h new/libgtpnl-1.1.0/include/libgtpnl/gtpnl.h
--- old/libgtpnl-1.0.1.7/include/libgtpnl/gtpnl.h 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/include/libgtpnl/gtpnl.h 2017-11-12 15:33:02.000000000 +0100
@@ -7,6 +7,7 @@
struct nlmsghdr;
struct mnl_socket *genl_socket_open(void);
+void genl_socket_close(struct mnl_socket *nl);
struct nlmsghdr *genl_nlmsg_build_hdr(char *buf, uint16_t type, uint16_t flags,
uint32_t seq, uint8_t cmd);
int genl_socket_talk(struct mnl_socket *nl, struct nlmsghdr *nlh, uint32_t seq,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/src/genl.c new/libgtpnl-1.1.0/src/genl.c
--- old/libgtpnl-1.0.1.7/src/genl.c 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/src/genl.c 2017-11-12 15:33:02.000000000 +0100
@@ -106,6 +106,12 @@
}
EXPORT_SYMBOL(genl_socket_open);
+void genl_socket_close(struct mnl_socket *nl)
+{
+ mnl_socket_close(nl);
+}
+EXPORT_SYMBOL(genl_socket_close);
+
int genl_socket_talk(struct mnl_socket *nl, struct nlmsghdr *nlh, uint32_t seq,
int (*cb)(const struct nlmsghdr *nlh, void *data),
void *data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/src/gtp-genl.c new/libgtpnl-1.1.0/src/gtp-genl.c
--- old/libgtpnl-1.0.1.7/src/gtp-genl.c 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/src/gtp-genl.c 2017-11-12 15:33:02.000000000 +0100
@@ -48,8 +48,10 @@
if (t->ifns >= 0)
mnl_attr_put_u32(nlh, GTPA_NET_NS_FD, t->ifns);
mnl_attr_put_u32(nlh, GTPA_LINK, t->ifidx);
- mnl_attr_put_u32(nlh, GTPA_PEER_ADDRESS, t->sgsn_addr.s_addr);
- mnl_attr_put_u32(nlh, GTPA_MS_ADDRESS, t->ms_addr.s_addr);
+ if (t->sgsn_addr.s_addr)
+ mnl_attr_put_u32(nlh, GTPA_PEER_ADDRESS, t->sgsn_addr.s_addr);
+ if (t->ms_addr.s_addr)
+ mnl_attr_put_u32(nlh, GTPA_MS_ADDRESS, t->ms_addr.s_addr);
if (t->gtp_version == GTP_V0) {
mnl_attr_put_u64(nlh, GTPA_TID, t->u.v0.tid);
mnl_attr_put_u16(nlh, GTPA_FLOW, t->u.v0.flowid);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgtpnl-1.0.1.7/src/libgtpnl.map new/libgtpnl-1.1.0/src/libgtpnl.map
--- old/libgtpnl-1.0.1.7/src/libgtpnl.map 2017-03-24 15:39:17.000000000 +0100
+++ new/libgtpnl-1.1.0/src/libgtpnl.map 2017-11-12 15:33:02.000000000 +0100
@@ -1,6 +1,7 @@
LIBGTPNL_1.0 {
global:
genl_socket_open;
+ genl_socket_close;
genl_nlmsg_build_hdr;
genl_socket_talk;
genl_lookup_family;