commit osmo-sgsn for openSUSE:Factory

2020-10-02 Thread root
Hello community,

here is the log from the commit of package osmo-sgsn for openSUSE:Factory 
checked in at 2020-10-02 17:42:34

Comparing /work/SRC/openSUSE:Factory/osmo-sgsn (Old)
 and  /work/SRC/openSUSE:Factory/.osmo-sgsn.new.4249 (New)


Package is "osmo-sgsn"

Fri Oct  2 17:42:34 2020 rev:6 rq:839143 version:1.6.2

Changes:

--- /work/SRC/openSUSE:Factory/osmo-sgsn/osmo-sgsn.changes  2020-08-12 
10:38:36.696354212 +0200
+++ /work/SRC/openSUSE:Factory/.osmo-sgsn.new.4249/osmo-sgsn.changes
2020-10-02 17:43:29.090959793 +0200
@@ -1,0 +2,6 @@
+Sat Sep 26 19:00:12 UTC 2020 - Martin Hauke 
+
+- Update to new upstream release 1.6.2
+  * gtphub: rename sgsn's oww osmo_sockaddr into sgsn_sockaddr
+
+---

Old:

  osmo-sgsn-1.6.1.tar.xz

New:

  osmo-sgsn-1.6.2.tar.xz



Other differences:
--
++ osmo-sgsn.spec ++
--- /var/tmp/diff_new_pack.eEZ4cI/_old  2020-10-02 17:43:32.602961887 +0200
+++ /var/tmp/diff_new_pack.eEZ4cI/_new  2020-10-02 17:43:32.606961889 +0200
@@ -21,7 +21,7 @@
 
 %define with_iu 1
 Name:   osmo-sgsn
-Version:1.6.1
+Version:1.6.2
 Release:0
 Summary:Osmocom's SGSN for 2G and 3G packet-switched mobile networks
 License:AGPL-3.0-or-later AND GPL-2.0-or-later

++ _service ++
--- /var/tmp/diff_new_pack.eEZ4cI/_old  2020-10-02 17:43:32.630961904 +0200
+++ /var/tmp/diff_new_pack.eEZ4cI/_new  2020-10-02 17:43:32.630961904 +0200
@@ -2,8 +2,8 @@

git
git://git.osmocom.org/osmo-sgsn
-   1.6.1
-   1.6.1
+   1.6.2
+   1.6.2


*.tar

++ osmo-sgsn-1.6.1.tar.xz -> osmo-sgsn-1.6.2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-sgsn-1.6.1/debian/changelog 
new/osmo-sgsn-1.6.2/debian/changelog
--- old/osmo-sgsn-1.6.1/debian/changelog2020-07-26 14:15:19.0 
+0200
+++ new/osmo-sgsn-1.6.2/debian/changelog2020-08-13 11:37:23.0 
+0200
@@ -1,3 +1,10 @@
+osmo-sgsn (1.6.2) unstable; urgency=medium
+
+  [ Alexander Couzens ]
+  * gtphub: rename sgsn's oww osmo_sockaddr into sgsn_sockaddr
+
+ -- Harald Welte   Thu, 13 Aug 2020 11:37:22 +0200
+
 osmo-sgsn (1.6.1) unstable; urgency=medium
 
   * gtphub_test: Fix compilation with gcc-10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-sgsn-1.6.1/include/osmocom/sgsn/gtphub.h 
new/osmo-sgsn-1.6.2/include/osmocom/sgsn/gtphub.h
--- old/osmo-sgsn-1.6.1/include/osmocom/sgsn/gtphub.h   2020-07-26 
14:15:19.0 +0200
+++ new/osmo-sgsn-1.6.2/include/osmocom/sgsn/gtphub.h   2020-08-13 
11:37:23.0 +0200
@@ -35,14 +35,14 @@
 
 /* TODO move to osmocom/core/socket.c ? */
 #include  /* for IPPROTO_* etc */
-struct osmo_sockaddr {
+struct sgsn_sockaddr {
struct sockaddr_storage a;
socklen_t l;
 };
 
 /* TODO move to osmocom/core/socket.c ? */
 /*! \brief Initialize a sockaddr
- * \param[out] addr  Valid osmo_sockaddr pointer to write result to
+ * \param[out] addr  Valid sgsn_sockaddr pointer to write result to
  * \param[in] family  Address Family like AF_INET, AF_INET6, AF_UNSPEC
  * \param[in] type  Socket type like SOCK_DGRAM, SOCK_STREAM
  * \param[in] proto  Protocol like IPPROTO_TCP, IPPROTO_UDP
@@ -53,16 +53,16 @@
  * Copy the first result from a getaddrinfo() call with the given parameters to
  * *addr and *addr_len. On error, do not change *addr and return nonzero.
  */
-int osmo_sockaddr_init(struct osmo_sockaddr *addr,
+int sgsn_sockaddr_init(struct sgsn_sockaddr *addr,
   uint16_t family, uint16_t type, uint8_t proto,
   const char *host, uint16_t port);
 
 /* Conveniently pass AF_UNSPEC, SOCK_DGRAM and IPPROTO_UDP to
- * osmo_sockaddr_init(). */
-static inline int osmo_sockaddr_init_udp(struct osmo_sockaddr *addr,
+ * sgsn_sockaddr_init(). */
+static inline int sgsn_sockaddr_init_udp(struct sgsn_sockaddr *addr,
 const char *host, uint16_t port)
 {
-   return osmo_sockaddr_init(addr, AF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP,
+   return sgsn_sockaddr_init(addr, AF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP,
  host, port);
 }
 
@@ -71,25 +71,25 @@
  * \param[in] addr_str_len  Size of buffer addr_str points at.
  * \param[out] port_str  Valid pointer to a buffer of length port_str_len.
  * \param[in] port_str_len  Size of buffer port_str points at.
- * \param[in] addr  Binary representation as returned by osmo_sockaddr_init().
+ * \param[in] addr  Binary representation as returned by 

commit osmo-sgsn for openSUSE:Factory

2020-08-12 Thread root
Hello community,

here is the log from the commit of package osmo-sgsn for openSUSE:Factory 
checked in at 2020-08-12 10:36:20

Comparing /work/SRC/openSUSE:Factory/osmo-sgsn (Old)
 and  /work/SRC/openSUSE:Factory/.osmo-sgsn.new.3399 (New)


Package is "osmo-sgsn"

Wed Aug 12 10:36:20 2020 rev:5 rq:825844 version:1.6.1

Changes:

--- /work/SRC/openSUSE:Factory/osmo-sgsn/osmo-sgsn.changes  2020-06-18 
10:30:43.381312909 +0200
+++ /work/SRC/openSUSE:Factory/.osmo-sgsn.new.3399/osmo-sgsn.changes
2020-08-12 10:38:36.696354212 +0200
@@ -1,0 +2,8 @@
+Sat Aug  1 14:28:13 UTC 2020 - Martin Hauke 
+
+- Update to new upstream release 1.6.1
+  * gtphub_test: Fix compilation with gcc-10
+- Remove not longer needed patch:
+  * 0001-gtphub_test-Fix-compilation-with-gcc-10.patch
+
+---

Old:

  0001-gtphub_test-Fix-compilation-with-gcc-10.patch
  osmo-sgsn-1.6.0.tar.xz

New:

  osmo-sgsn-1.6.1.tar.xz



Other differences:
--
++ osmo-sgsn.spec ++
--- /var/tmp/diff_new_pack.3eCPsv/_old  2020-08-12 10:38:38.348355031 +0200
+++ /var/tmp/diff_new_pack.3eCPsv/_new  2020-08-12 10:38:38.352355033 +0200
@@ -21,14 +21,13 @@
 
 %define with_iu 1
 Name:   osmo-sgsn
-Version:1.6.0
+Version:1.6.1
 Release:0
 Summary:Osmocom's SGSN for 2G and 3G packet-switched mobile networks
 License:AGPL-3.0-or-later AND GPL-2.0-or-later
 Group:  Productivity/Telephony/Servers
 URL:https://osmocom.org/projects/osmosgsn/wiki/OsmoSGSN
 Source: %{name}-%{version}.tar.xz
-Patch0: 0001-gtphub_test-Fix-compilation-with-gcc-10.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -73,7 +72,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 echo "%{version}" >.tarball-version

++ _service ++
--- /var/tmp/diff_new_pack.3eCPsv/_old  2020-08-12 10:38:38.396355055 +0200
+++ /var/tmp/diff_new_pack.3eCPsv/_new  2020-08-12 10:38:38.396355055 +0200
@@ -2,8 +2,8 @@

git
git://git.osmocom.org/osmo-sgsn
-   1.6.0
-   1.6.0
+   1.6.1
+   1.6.1


*.tar

++ osmo-sgsn-1.6.0.tar.xz -> osmo-sgsn-1.6.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-sgsn-1.6.0/debian/changelog 
new/osmo-sgsn-1.6.1/debian/changelog
--- old/osmo-sgsn-1.6.0/debian/changelog2020-01-03 19:17:56.0 
+0100
+++ new/osmo-sgsn-1.6.1/debian/changelog2020-07-26 14:15:19.0 
+0200
@@ -1,3 +1,9 @@
+osmo-sgsn (1.6.1) unstable; urgency=medium
+
+  * gtphub_test: Fix compilation with gcc-10
+
+ -- Harald Welte   Sun, 26 Jul 2020 14:15:18 +0200
+
 osmo-sgsn (1.6.0) unstable; urgency=medium
 
   [ Pau Espin Pedrol ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-sgsn-1.6.0/tests/gtphub/gtphub_test.c 
new/osmo-sgsn-1.6.1/tests/gtphub/gtphub_test.c
--- old/osmo-sgsn-1.6.0/tests/gtphub/gtphub_test.c  2020-01-03 
19:17:56.0 +0100
+++ new/osmo-sgsn-1.6.1/tests/gtphub/gtphub_test.c  2020-07-26 
14:15:19.0 +0200
@@ -54,7 +54,7 @@
 void gtphub_init(struct gtphub *hub);
 void gtphub_free(struct gtphub *hub);
 
-void *osmo_gtphub_ctx;
+extern void *osmo_gtphub_ctx;
 
 static void nr_mapping_free(struct expiring_item *e)
 {




commit osmo-sgsn for openSUSE:Factory

2020-06-18 Thread root
Hello community,

here is the log from the commit of package osmo-sgsn for openSUSE:Factory 
checked in at 2020-06-18 10:30:05

Comparing /work/SRC/openSUSE:Factory/osmo-sgsn (Old)
 and  /work/SRC/openSUSE:Factory/.osmo-sgsn.new.3606 (New)


Package is "osmo-sgsn"

Thu Jun 18 10:30:05 2020 rev:4 rq:815559 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/osmo-sgsn/osmo-sgsn.changes  2020-01-09 
22:49:57.942690401 +0100
+++ /work/SRC/openSUSE:Factory/.osmo-sgsn.new.3606/osmo-sgsn.changes
2020-06-18 10:30:43.381312909 +0200
@@ -1,0 +2,6 @@
+Thu Jun 11 19:03:31 UTC 2020 - Martin Hauke 
+
+- Add patch to fix gcc10 compilation errors (boo#1160244)
+  * 0001-gtphub_test-Fix-compilation-with-gcc-10.patch
+
+---

New:

  0001-gtphub_test-Fix-compilation-with-gcc-10.patch



Other differences:
--
++ osmo-sgsn.spec ++
--- /var/tmp/diff_new_pack.jrrXlT/_old  2020-06-18 10:30:44.597316784 +0200
+++ /var/tmp/diff_new_pack.jrrXlT/_new  2020-06-18 10:30:44.601316796 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package osmo-sgsn
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -28,6 +28,7 @@
 Group:  Productivity/Telephony/Servers
 URL:https://osmocom.org/projects/osmosgsn/wiki/OsmoSGSN
 Source: %{name}-%{version}.tar.xz
+Patch0: 0001-gtphub_test-Fix-compilation-with-gcc-10.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -72,6 +73,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 echo "%{version}" >.tarball-version

++ 0001-gtphub_test-Fix-compilation-with-gcc-10.patch ++
>From 9d550cb36972173fadaaa1e1c8f3d4428106079e Mon Sep 17 00:00:00 2001
From: Harald Welte 
Date: Mon, 20 Apr 2020 19:47:19 +0200
Subject: [PATCH] gtphub_test: Fix compilation with gcc-10

/usr/bin/ld: 
../../src/gtphub/gtphub.o:/home/laforge/projects/git/osmo-sgsn/src/gtphub/gtphub.c:50:
 multiple definition of `osmo_gtphub_ctx'; 
gtphub_test.o:/home/laforge/projects/git/osmo-sgsn/tests/gtphub/gtphub_test.c:57:
 first defined here
collect2: error: ld returned 1 exit status

See also 
https://alioth-lists.debian.net/pipermail/debian-mobcom-maintainers/Week-of-Mon-20200413/000653.html

Change-Id: I19c1eef6649d2747f0b624f5292d7ae47c4ca839
---
 tests/gtphub/gtphub_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gtphub/gtphub_test.c b/tests/gtphub/gtphub_test.c
index 2e48bb10..ed461762 100644
--- a/tests/gtphub/gtphub_test.c
+++ b/tests/gtphub/gtphub_test.c
@@ -54,7 +54,7 @@
 void gtphub_init(struct gtphub *hub);
 void gtphub_free(struct gtphub *hub);
 
-void *osmo_gtphub_ctx;
+extern void *osmo_gtphub_ctx;
 
 static void nr_mapping_free(struct expiring_item *e)
 {
-- 
2.26.2




commit osmo-sgsn for openSUSE:Factory

2020-01-09 Thread root
Hello community,

here is the log from the commit of package osmo-sgsn for openSUSE:Factory 
checked in at 2020-01-09 22:49:57

Comparing /work/SRC/openSUSE:Factory/osmo-sgsn (Old)
 and  /work/SRC/openSUSE:Factory/.osmo-sgsn.new.6675 (New)


Package is "osmo-sgsn"

Thu Jan  9 22:49:57 2020 rev:3 rq:761693 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/osmo-sgsn/osmo-sgsn.changes  2019-09-09 
12:39:13.693434588 +0200
+++ /work/SRC/openSUSE:Factory/.osmo-sgsn.new.6675/osmo-sgsn.changes
2020-01-09 22:49:57.942690401 +0100
@@ -1,0 +2,23 @@
+Sat Jan  4 10:51:56 UTC 2020 - Martin Hauke 
+
+- Update to new upstream release 1.6.0
+  * Improve logging in gprs_llc.c code
+  * sgsn: Gb: implementing PS Paging when MS is MM_STANDBY
+  * sgsn_libgtp: refactor ps paging into gprs_gb
+  * ranap: add non-spec X1001
+  * Iu: implement a user inactivity timer
+  * Implement GMM State using osmocom FSM
+  * Introduce FSM mm_state_iu_fsm, mm_state_gb_fsm
+  * gprs_gmm: only update gb/iu cell information when Iu/Gb present
+  * vty: Introduce cs7-instance-iu
+  * gprs/gprs_gmm: implement T3314. Timeout to reset MM state
+READY->STANDBY
+- Update to new upstream release 1.5.0
+  * sgsn: Have authentication required on by default
+  * osmo-sgsn: add VTY parameter to toggle authentication
+  * sgsn_libgtp: Use new per-GSN libgtp API instead of deprecated
+API
+  * Fix IMSI padding in imsi-acl
+  * Improve 'show subscriber cache' vty command
+
+---

Old:

  osmo-sgsn-1.4.0.tar.xz

New:

  osmo-sgsn-1.6.0.tar.xz



Other differences:
--
++ osmo-sgsn.spec ++
--- /var/tmp/diff_new_pack.TaDuxH/_old  2020-01-09 22:49:59.538691199 +0100
+++ /var/tmp/diff_new_pack.TaDuxH/_new  2020-01-09 22:49:59.582691221 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package osmo-sgsn
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,7 +21,7 @@
 
 %define with_iu 1
 Name:   osmo-sgsn
-Version:1.4.0
+Version:1.6.0
 Release:0
 Summary:Osmocom's SGSN for 2G and 3G packet-switched mobile networks
 License:AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -35,20 +35,20 @@
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libcares)
 BuildRequires:  pkgconfig(libcrypto) >= 0.9.5
-BuildRequires:  pkgconfig(libgtp) >= 1.2.0
-BuildRequires:  pkgconfig(libosmo-gsup-client) >= 0.2.1
-BuildRequires:  pkgconfig(libosmo-netif) >= 0.2.0
-BuildRequires:  pkgconfig(libosmoabis) >= 0.5.0
-BuildRequires:  pkgconfig(libosmocore) >= 0.11.0
-BuildRequires:  pkgconfig(libosmoctrl) >= 0.11.0
-BuildRequires:  pkgconfig(libosmogb) >= 0.11.0
-BuildRequires:  pkgconfig(libosmogsm) >= 0.11.0
-BuildRequires:  pkgconfig(libosmovty) >= 0.11.0
+BuildRequires:  pkgconfig(libgtp) >= 1.5.0
+BuildRequires:  pkgconfig(libosmo-gsup-client) >= 1.0.0
+BuildRequires:  pkgconfig(libosmo-netif) >= 0.4.0
+BuildRequires:  pkgconfig(libosmoabis) >= 0.6.0
+BuildRequires:  pkgconfig(libosmocore) >= 1.2.0
+BuildRequires:  pkgconfig(libosmoctrl) >= 1.2.0
+BuildRequires:  pkgconfig(libosmogb) >= 1.2.0
+BuildRequires:  pkgconfig(libosmogsm) >= 1.2.0
+BuildRequires:  pkgconfig(libosmovty) >= 1.2.0
 %{?systemd_requires}
 %if %{with_iu}
-BuildRequires:  pkgconfig(libasn1c)
-BuildRequires:  pkgconfig(libosmo-ranap) >= 0.3.0
-BuildRequires:  pkgconfig(libosmo-sigtran) >= 0.9.0
+BuildRequires:  pkgconfig(libasn1c) >= 0.9.30
+BuildRequires:  pkgconfig(libosmo-ranap) >= 0.6.0
+BuildRequires:  pkgconfig(libosmo-sigtran) >= 1.0.0
 %endif
 
 %description
@@ -128,6 +128,7 @@
 %exclude %{_docdir}/%{name}/examples/osmo-gtphub
 %exclude %{_docdir}/%{name}/examples/osmo-gbproxy
 %{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn-accept-all.cfg
+%{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn_custom-sccp.cfg
 %{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn.cfg
 %{_bindir}/osmo-sgsn
 %dir %{_sysconfdir}/osmocom

++ _service ++
--- /var/tmp/diff_new_pack.TaDuxH/_old  2020-01-09 22:49:59.930691395 +0100
+++ /var/tmp/diff_new_pack.TaDuxH/_new  2020-01-09 22:49:59.946691404 +0100
@@ -2,8 +2,8 @@

git
git://git.osmocom.org/osmo-sgsn
-   1.4.0
-   1.4.0
+   1.6.0
+   1.6.0


*.tar

++ osmo-sgsn-1.4.0.tar.xz -> osmo-sgsn-1.6.0.tar.xz ++
 58853 lines of diff (skipped)




commit osmo-sgsn for openSUSE:Factory

2019-09-09 Thread root
Hello community,

here is the log from the commit of package osmo-sgsn for openSUSE:Factory 
checked in at 2019-09-09 12:37:19

Comparing /work/SRC/openSUSE:Factory/osmo-sgsn (Old)
 and  /work/SRC/openSUSE:Factory/.osmo-sgsn.new.7948 (New)


Package is "osmo-sgsn"

Mon Sep  9 12:37:19 2019 rev:2 rq:729274 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/osmo-sgsn/osmo-sgsn.changes  2019-02-28 
21:42:18.257553262 +0100
+++ /work/SRC/openSUSE:Factory/.osmo-sgsn.new.7948/osmo-sgsn.changes
2019-09-09 12:39:13.693434588 +0200
@@ -1,0 +2,6 @@
+Sat Jul 27 19:52:22 UTC 2019 - Martin Hauke 
+
+- Disable LTO for now since it breaks compilation of the tests
+  See: https://osmocom.org/issues/4116
+
+---



Other differences:
--
++ osmo-sgsn.spec ++
--- /var/tmp/diff_new_pack.RhJbRX/_old  2019-09-09 12:39:15.697434260 +0200
+++ /var/tmp/diff_new_pack.RhJbRX/_new  2019-09-09 12:39:15.701434259 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package osmo-sgsn
 #
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,9 +13,12 @@
 # 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/
 #
 
+
+%define _lto_cflags %{nil}
+
 %define with_iu 1
 Name:   osmo-sgsn
 Version:1.4.0