[PATCH] osmo-bsc[master]: resurrect meas_feed.c from openbsc.git history

2018-05-03 Thread Neels Hofmeyr

Review at  https://gerrit.osmocom.org/7993

resurrect meas_feed.c from openbsc.git history

meas_feed.c used to live in libmsc, to send out measurement reports to external
entities for evaluation. When splitting osmo-bsc and osmo-msc from openbsc.git,
meas_feed.c should have moved to osmo-bsc.git, but was dropped with libmsc.

Re-add the old meas_feed.c now into libbsc. This is the latest version that
existed in libmsc, and will not compile as-is here. Modifications to
incorporate in the osmo-bsc build will follow with subsequent patches.

Change-Id: Ic070d82e61c122061fe7297a8c5aabbbcef6b301
---
A src/libbsc/meas_feed.c
1 file changed, 168 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/93/7993/1

diff --git a/src/libbsc/meas_feed.c b/src/libbsc/meas_feed.c
new file mode 100644
index 000..1e7b4cd
--- /dev/null
+++ b/src/libbsc/meas_feed.c
@@ -0,0 +1,168 @@
+/* UDP-Feed of measurement reports */
+
+#include 
+
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "meas_feed.h"
+
+struct meas_feed_state {
+   struct osmo_wqueue wqueue;
+   char scenario[31+1];
+   char *dst_host;
+   uint16_t dst_port;
+};
+
+
+static struct meas_feed_state g_mfs;
+
+static int process_meas_rep(struct gsm_meas_rep *mr)
+{
+   struct msgb *msg;
+   struct meas_feed_meas *mfm;
+   struct vlr_subscr *vsub;
+
+   /* ignore measurements as long as we don't know who it is */
+   if (!mr->lchan || !mr->lchan->conn || !mr->lchan->conn->vsub)
+   return 0;
+
+   vsub = mr->lchan->conn->vsub;
+
+   msg = msgb_alloc(sizeof(struct meas_feed_meas), "Meas. Feed");
+   if (!msg)
+   return 0;
+
+   /* fill in the header */
+   mfm = (struct meas_feed_meas *) msgb_put(msg, sizeof(*mfm));
+   mfm->hdr.msg_type = MEAS_FEED_MEAS;
+   mfm->hdr.version = MEAS_FEED_VERSION;
+
+   /* fill in MEAS_FEED_MEAS specific header */
+   osmo_strlcpy(mfm->imsi, vsub->imsi, sizeof(mfm->imsi));
+   osmo_strlcpy(mfm->name, vsub->name, sizeof(mfm->name));
+   osmo_strlcpy(mfm->scenario, g_mfs.scenario, sizeof(mfm->scenario));
+
+   /* copy the entire measurement report */
+   memcpy(>mr, mr, sizeof(mfm->mr));
+
+   /* copy channel information */
+   /* we assume that the measurement report always belong to some timeslot 
*/
+   mfm->lchan_type = (uint8_t)mr->lchan->type;
+   mfm->pchan_type = (uint8_t)mr->lchan->ts->pchan;
+   mfm->bts_nr = mr->lchan->ts->trx->bts->nr;
+   mfm->trx_nr = mr->lchan->ts->trx->nr;
+   mfm->ts_nr = mr->lchan->ts->nr;
+   mfm->ss_nr = mr->lchan->nr;
+
+   /* and send it to the socket */
+   if (osmo_wqueue_enqueue(_mfs.wqueue, msg) != 0)
+   msgb_free(msg);
+
+   return 0;
+}
+
+static int meas_feed_sig_cb(unsigned int subsys, unsigned int signal,
+   void *handler_data, void *signal_data)
+{
+   struct lchan_signal_data *sdata = signal_data;
+
+   if (subsys != SS_LCHAN)
+   return 0;
+
+   if (signal == S_LCHAN_MEAS_REP)
+   process_meas_rep(sdata->mr);
+
+   return 0;
+}
+
+static int feed_write_cb(struct osmo_fd *ofd, struct msgb *msg)
+{
+   return write(ofd->fd, msgb_data(msg), msgb_length(msg));
+}
+
+static int feed_read_cb(struct osmo_fd *ofd)
+{
+   int rc;
+   char buf[256];
+
+   rc = read(ofd->fd, buf, sizeof(buf));
+   ofd->fd &= ~BSC_FD_READ;
+
+   return rc;
+}
+
+int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port)
+{
+   int rc;
+   int already_initialized = 0;
+
+   if (g_mfs.wqueue.bfd.fd)
+   already_initialized = 1;
+
+
+   if (already_initialized &&
+   !strcmp(dst_host, g_mfs.dst_host) &&
+   dst_port == g_mfs.dst_port)
+   return 0;
+
+   if (!already_initialized) {
+   osmo_wqueue_init(_mfs.wqueue, 10);
+   g_mfs.wqueue.write_cb = feed_write_cb;
+   g_mfs.wqueue.read_cb = feed_read_cb;
+   osmo_signal_register_handler(SS_LCHAN, meas_feed_sig_cb, NULL);
+   }
+
+   if (already_initialized) {
+   osmo_wqueue_clear(_mfs.wqueue);
+   osmo_fd_unregister(_mfs.wqueue.bfd);
+   close(g_mfs.wqueue.bfd.fd);
+   /* don't set to zero, as that would mean 'not yet initialized' 
*/
+   g_mfs.wqueue.bfd.fd = -1;
+   }
+   rc = osmo_sock_init_ofd(_mfs.wqueue.bfd, AF_UNSPEC, SOCK_DGRAM,
+   IPPROTO_UDP, dst_host, dst_port,
+   OSMO_SOCK_F_CONNECT);
+   if (rc < 0)
+   return rc;
+
+   g_mfs.wqueue.bfd.when &= ~BSC_FD_READ;
+
+   if (g_mfs.dst_host)
+   talloc_free(g_mfs.dst_host);
+   g_mfs.dst_host = talloc_strdup(NULL, 

[PATCH] osmo-bsc[master]: resurrect meas_feed.c: vty, vty-test

2018-05-03 Thread Neels Hofmeyr

Review at  https://gerrit.osmocom.org/7995

resurrect meas_feed.c: vty, vty-test

At this point, meas-feed is usable again, however, osmo-bsc is not able to
include the IMSI in every report like osmo-nitb did.

In consequence, the meas-vis and meas-web tools are unable to handle the
current measurement reports: these so far use the IMSI to list reports, and all
reports without an IMSI are collapsed onto the same line, swapping values.

So though osmo-bsc now sends usable measurement reports via meas-feed, two
avenues to improve should be pursued:

OS#3192: the visualization tools should use bts,ts,ss numbers, not IMSI.
OS#2969: osmo-bsc should always know a mobile identity.

Related: OS#2968
Change-Id: I186c7a995dd2b81746c32a58b55da64ed195a1ce
---
M include/osmocom/bsc/meas_feed.h
M src/libbsc/bsc_vty.c
A tests/osmo-bsc.vty
3 files changed, 69 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/95/7995/1

diff --git a/include/osmocom/bsc/meas_feed.h b/include/osmocom/bsc/meas_feed.h
index 55bce09..1849a89 100644
--- a/include/osmocom/bsc/meas_feed.h
+++ b/include/osmocom/bsc/meas_feed.h
@@ -1,5 +1,4 @@
-#ifndef _OPENBSC_MEAS_FEED_H
-#define _OPENBSC_MEAS_FEED_H
+#pragma once
 
 #include 
 
@@ -37,5 +36,8 @@
 
 #define MEAS_FEED_VERSION  1
 
+int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port);
+void meas_feed_scenario_set(const char *name);
 
-#endif
+void meas_feed_cfg_get(char **host, uint16_t *port);
+const char *meas_feed_scenario_get(void);
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index c8d1637..1efca0c 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -61,6 +61,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 
@@ -1016,6 +1017,22 @@
else
vty_out(vty, " periodic location update %u%s",
gsmnet->t3212 * 6, VTY_NEWLINE);
+
+   {
+   uint16_t meas_port;
+   char *meas_host;
+   const char *meas_scenario;
+
+   meas_feed_cfg_get(_host, _port);
+   meas_scenario = meas_feed_scenario_get();
+
+   if (meas_port)
+   vty_out(vty, " meas-feed destination %s %u%s",
+   meas_host, meas_port, VTY_NEWLINE);
+   if (strlen(meas_scenario) > 0)
+   vty_out(vty, " meas-feed scenario %s%s",
+   meas_scenario, VTY_NEWLINE);
+   }
 
return CMD_SUCCESS;
 }
@@ -4699,6 +4716,32 @@
return CMD_SUCCESS;
 }
 
+#define MEAS_FEED_STR "Measurement Report export\n"
+
+DEFUN(cfg_net_meas_feed_dest, cfg_net_meas_feed_dest_cmd,
+   "meas-feed destination ADDR <0-65535>",
+   MEAS_FEED_STR "Where to forward Measurement Report feeds\n" "address or 
hostname\n" "port number\n")
+{
+   int rc;
+   const char *host = argv[0];
+   uint16_t port = atoi(argv[1]);
+
+   rc = meas_feed_cfg_set(host, port);
+   if (rc < 0)
+   return CMD_WARNING;
+
+   return CMD_SUCCESS;
+}
+
+DEFUN(cfg_net_meas_feed_scenario, cfg_net_meas_feed_scenario_cmd,
+   "meas-feed scenario NAME",
+   MEAS_FEED_STR "Set a name to include in the Measurement Report feeds\n" 
"Name string, up to 31 characters\n")
+{
+   meas_feed_scenario_set(argv[0]);
+
+   return CMD_SUCCESS;
+}
+
 extern int bsc_vty_init_extra(void);
 
 int bsc_vty_init(struct gsm_network *network)
@@ -4741,6 +4784,8 @@
install_element(GSMNET_NODE, _net_per_loc_upd_cmd);
install_element(GSMNET_NODE, _net_no_per_loc_upd_cmd);
install_element(GSMNET_NODE, _net_dyn_ts_allow_tch_f_cmd);
+   install_element(GSMNET_NODE, _net_meas_feed_dest_cmd);
+   install_element(GSMNET_NODE, _net_meas_feed_scenario_cmd);
 
install_element_ve(_show_net_cmd);
install_element_ve(_bts_cmd);
diff --git a/tests/osmo-bsc.vty b/tests/osmo-bsc.vty
new file mode 100644
index 000..560fb36
--- /dev/null
+++ b/tests/osmo-bsc.vty
@@ -0,0 +1,19 @@
+OsmoBSC> enable
+
+OsmoBSC# configure terminal
+OsmoBSC(config)# network
+OsmoBSC(config-net)# list
+...
+  meas-feed destination ADDR <0-65535>
+  meas-feed scenario NAME
+...
+
+OsmoBSC(config-net)# meas-feed destination 127.0.0.23 4223
+OsmoBSC(config-net)# meas-feed scenario foo23
+OsmoBSC(config-net)# show running-config
+...
+network
+...
+ meas-feed destination 127.0.0.23 4223
+ meas-feed scenario foo23
+...

-- 
To view, visit https://gerrit.osmocom.org/7995
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I186c7a995dd2b81746c32a58b55da64ed195a1ce
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 


[PATCH] osmo-bts[master]: Bump version: 0.7.0.183-c45a-dirty → 0.8.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8003

Bump version: 0.7.0.183-c45a-dirty → 0.8.0

Change-Id: I92b7b584beac870d1dccc9d5637fa54154b6db03
---
M configure.ac
M debian/changelog
2 files changed, 215 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/03/8003/1

diff --git a/configure.ac b/configure.ac
index 9767349..6456f8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,14 +62,14 @@
 fi
 
 dnl checks for libraries
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore  >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.3.2)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.3.2)
-PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCODING, libosmocoding >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore  >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCODING, libosmocoding >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.5.0)
 PKG_CHECK_MODULES(ORTP, ortp)
 
 AC_MSG_CHECKING([whether to enable support for sysmobts calibration tool])
diff --git a/debian/changelog b/debian/changelog
index 1f6e970..39409d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,210 @@
+osmo-bts (0.8.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * vty: skip installing cmds now always installed by default
+  * jenkins_common.sh: fix build_bts distcheck for more than one conf_flag
+  * fix build: tests/sysmobts: add missing -I$(SYSMOBTS_INCDIR)
+  * fix handover: handle_ph_ra_ind(): evaluate ra_ind before msgb_trim()
+  * implement support for 3-digit MNC with leading zeros
+  * configure: add --enable-werror
+  * use osmo_init_logging2() with proper talloc ctx
+
+  [ Pau Espin Pedrol ]
+  * lc15: Fix cfg indentation
+  * l1sap: Fix abort on big RTP packet received
+  * bts-trx: trx_ctrl_cmd: Simplify var assignment logic
+  * bts-trx: Avoid enqueueing consecutive duplicate messages to TRX
+  * Fix malformed Resource Indication packet
+  * debian/control: Remove uneeded dep libosmo-netif-dev
+  * jenkins.sh: Disable building doxygen for deps
+  * oml.c: Fix use of htons instead of ntohs
+  * bts-trx: trx_if.c: Log timedout+retransmitted CMD
+  * bts-trx: trx_if.c: trx_ctrl_read_cb: Move error handling to end of func
+  * bts-trx: trx_if.c: Improve parsing of received RSP messages from TRX
+  * bts-trx: Detect duplicated responses for retransmitted commands
+  * gsm_pchan2chan_nr: move warning to pragma message and track issue
+  * Remove unused variables
+  * bts-trx: scheduler_trx.c: Fix missing header
+  * l1sap.c: l1sap_tch_rts_ind: Remove unused variables
+  * octphy: octpkt.c: Remove unused static functions
+  * vty.c: Remove warning message
+  * virtual: l1_if.c: Remove unneeded warning message
+  * main.c: bts_main: fix typo in error message
+  * l1sap: Validate incoming RTP payload, drop bw-efficient AMR
+  * l1sap: Avoid assumption that l1sap is at head of msgb
+  * contrib: jenkins_bts_model: Fix bashism expr
+  * Include missing headers for osmo_init_logging2
+  * common/sysinfo.c: Fix no return on on-void function
+  * gsm_data_shared.h: Remove unused enum gsm_paging_event
+  * scheduler_trx: Fix signed integer overflow in clock calculations
+
+  [ Harald Welte ]
+  * trx: Better be safe than sorry before calling strlen
+  * trx: Avoid NULL+1 dereference in trx_ctrl_read_cb()
+  * trx: Don't call osmo_fr_check_sid with negative 'rc'
+  * trx: Don't assume phy_instance_by_num() returns non-NULL
+  * l1sap: fix wrong return value of is_fill_frame()
+  * measurement.c: Fix various typos in comments
+  * Comments on individual members of struct gsm_abis_mo
+  * scheduler: Harmonize log line format; Always print TS name + decoded FN
+  * scheduler_trx: L1P is for PH (data), L1M for MPH (control)
+  * l1sap: Fix log subsystem: Use DRTP for RTP related bits, L1C for MPH
+  * measurment.c: Introduce INFO category for DMEAS logging
+  * osmo-bts-octphy: Remove bogus warning about BS_AG_BLKS_RES
+  * rsl.c: Log RTP socket related errors as DRTP, not DRSL
+  * Put useful information in RTCP SDES.
+  * osmo-bts-trx: Fix reported frame number during PRIM_INFO_MEAS
+  * DTX: avoid illegal character contained in DTX FSM allocation which causes 
BTS crash
+  * gsm_lchan: remove unused member fields
+  * Add 'show (bts|trx|ts|lchan)' commands
+  * Print much more information during 'show lchan'
+  * vty: don't print "Bound IP / Port" if it isn't bound [yet]
+  * osmo-bts: Add talloc context introspection via VTY
+  * sysmo: Fix compiler warnings in eeprom.c
+  * sysmo+lc15: Add missign include for readv/writev
+  

[MERGED] osmo-bts[master]: Bump version: 0.7.0.183-c45a-dirty → 0.8.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.7.0.183-c45a-dirty → 0.8.0
..


Bump version: 0.7.0.183-c45a-dirty → 0.8.0

Change-Id: I92b7b584beac870d1dccc9d5637fa54154b6db03
---
M configure.ac
M debian/changelog
2 files changed, 215 insertions(+), 8 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 9767349..6456f8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,14 +62,14 @@
 fi
 
 dnl checks for libraries
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore  >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.3.2)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.3.2)
-PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCODING, libosmocoding >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore  >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCODING, libosmocoding >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 0.5.0)
 PKG_CHECK_MODULES(ORTP, ortp)
 
 AC_MSG_CHECKING([whether to enable support for sysmobts calibration tool])
diff --git a/debian/changelog b/debian/changelog
index 1f6e970..39409d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,210 @@
+osmo-bts (0.8.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * vty: skip installing cmds now always installed by default
+  * jenkins_common.sh: fix build_bts distcheck for more than one conf_flag
+  * fix build: tests/sysmobts: add missing -I$(SYSMOBTS_INCDIR)
+  * fix handover: handle_ph_ra_ind(): evaluate ra_ind before msgb_trim()
+  * implement support for 3-digit MNC with leading zeros
+  * configure: add --enable-werror
+  * use osmo_init_logging2() with proper talloc ctx
+
+  [ Pau Espin Pedrol ]
+  * lc15: Fix cfg indentation
+  * l1sap: Fix abort on big RTP packet received
+  * bts-trx: trx_ctrl_cmd: Simplify var assignment logic
+  * bts-trx: Avoid enqueueing consecutive duplicate messages to TRX
+  * Fix malformed Resource Indication packet
+  * debian/control: Remove uneeded dep libosmo-netif-dev
+  * jenkins.sh: Disable building doxygen for deps
+  * oml.c: Fix use of htons instead of ntohs
+  * bts-trx: trx_if.c: Log timedout+retransmitted CMD
+  * bts-trx: trx_if.c: trx_ctrl_read_cb: Move error handling to end of func
+  * bts-trx: trx_if.c: Improve parsing of received RSP messages from TRX
+  * bts-trx: Detect duplicated responses for retransmitted commands
+  * gsm_pchan2chan_nr: move warning to pragma message and track issue
+  * Remove unused variables
+  * bts-trx: scheduler_trx.c: Fix missing header
+  * l1sap.c: l1sap_tch_rts_ind: Remove unused variables
+  * octphy: octpkt.c: Remove unused static functions
+  * vty.c: Remove warning message
+  * virtual: l1_if.c: Remove unneeded warning message
+  * main.c: bts_main: fix typo in error message
+  * l1sap: Validate incoming RTP payload, drop bw-efficient AMR
+  * l1sap: Avoid assumption that l1sap is at head of msgb
+  * contrib: jenkins_bts_model: Fix bashism expr
+  * Include missing headers for osmo_init_logging2
+  * common/sysinfo.c: Fix no return on on-void function
+  * gsm_data_shared.h: Remove unused enum gsm_paging_event
+  * scheduler_trx: Fix signed integer overflow in clock calculations
+
+  [ Harald Welte ]
+  * trx: Better be safe than sorry before calling strlen
+  * trx: Avoid NULL+1 dereference in trx_ctrl_read_cb()
+  * trx: Don't call osmo_fr_check_sid with negative 'rc'
+  * trx: Don't assume phy_instance_by_num() returns non-NULL
+  * l1sap: fix wrong return value of is_fill_frame()
+  * measurement.c: Fix various typos in comments
+  * Comments on individual members of struct gsm_abis_mo
+  * scheduler: Harmonize log line format; Always print TS name + decoded FN
+  * scheduler_trx: L1P is for PH (data), L1M for MPH (control)
+  * l1sap: Fix log subsystem: Use DRTP for RTP related bits, L1C for MPH
+  * measurment.c: Introduce INFO category for DMEAS logging
+  * osmo-bts-octphy: Remove bogus warning about BS_AG_BLKS_RES
+  * rsl.c: Log RTP socket related errors as DRTP, not DRSL
+  * Put useful information in RTCP SDES.
+  * osmo-bts-trx: Fix reported frame number during PRIM_INFO_MEAS
+  * DTX: avoid illegal character contained in DTX FSM allocation which causes 
BTS crash
+  * gsm_lchan: remove unused member fields
+  * Add 'show (bts|trx|ts|lchan)' commands
+  * Print much more information during 'show lchan'
+  * vty: don't print "Bound IP / Port" if it isn't bound [yet]

osmo-bsc[master]: bsc_api/GSCON: prevent unnecessary channel mode modifys

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/#/c/8019/1/src/libbsc/bsc_api.c
File src/libbsc/bsc_api.c:

Line 305:  * TODO: Add multirate configuration, make it work for more than 
audio.
might make sense to document the return values here, as we're using a slightly 
unusual notation of both 0 and 1 being succes with different meaning.


-- 
To view, visit https://gerrit.osmocom.org/8019
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I86a2d52836c54d2dbd77441b182f757327ec7262
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: Yes


osmo-hlr[master]: move creation of insert subscriber data messages to a common...

2018-05-03 Thread Harald Welte

Patch Set 1:

(2 comments)

https://gerrit.osmocom.org/#/c/7992/1/src/gsup_server.c
File src/gsup_server.c:

Line 372:   msisdn_enc = talloc_size(gsup, 
OSMO_GSUP_MAX_CALLED_PARTY_BCD_LEN);
simply OSMO_ASSERT on the talloc result, in all calls (both the one for gsup 
above, as well as the others here...


https://gerrit.osmocom.org/#/c/7992/1/src/luop.c
File src/luop.c:

Line 53:if (msg_out == NULL) {
same here. OSMO_ASSERT(msg_out) is sufficient.


-- 
To view, visit https://gerrit.osmocom.org/7992
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6a92ca34cdaadca9eacc774bb1ca386c325ba865
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: Yes


[PATCH] osmo-trx[master]: Bump version: 0.3.0-dirty → 0.4.0

2018-05-03 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/7985

to look at the new patch set (#2).

Bump version: 0.3.0-dirty → 0.4.0

Change-Id: Ifc469bce89d52012e1f876c847b4535360a602ad
---
M configure.ac
M debian/changelog
2 files changed, 125 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/85/7985/2

diff --git a/configure.ac b/configure.ac
index 2b2dab7..5f66225 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,9 +74,9 @@
 AC_HEADER_TIME
 AC_C_BIGENDIAN
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/debian/changelog b/debian/changelog
index ec65036..a9724d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,125 @@
+osmo-trx (0.4.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+
+  [ Harald Welte ]
+  * SocketsTest: Fix printing of non-nul-terminated string
+  * Revert "debian: Remove osmo-trx-usrp1 until we can build libusrp1.deb"
+  * debian/control: Remove "Maintainer" from binary package section
+  * debian/rules: Make sure we always require libusrp
+  * debian: Ensure USRP1 firmware is part of osmo-trx-usrp1
+  * debian/control: Add build dependency to libusrp-dev
+  * update .gitignore for new executable names
+  * osmo-trx: s/GSM Core Address/GSM BTS Address/
+
+  [ Piotr Krysik ]
+  * UHDDevice.cpp: add USRP B205mini support
+
+  [ Max ]
+  * Mark release target as virtual
+  * Remove outdated references to OpenBTS
+  * Remove unused headers
+  * Update installation instructions
+  * Update legal disclaimer
+  * Update license notes
+  * tests: null-terminate buffer
+
+  [ Pau Espin Pedrol ]
+  * cosmetic: Remove trailing whitespace
+  * Logger: Stop using Log.Alarms.Max from config
+  * Logger: Stop using Log.File and Log.Level from config
+  * Drop use of ConfigurationTable gConfig
+  * Remove Configuration module and libsqlite dependency
+  * cosmetic: AUTHORS: fix trailing whitespace
+  * Set up GNU Autotest infrastructure
+  * tests: InterThread: adapt to have reproducible output and enable autotest
+  * tests: Timeval: adapt to have reproducible output and enable autotest
+  * tests: Log: adapt to have reproducible output and enable autotest
+  * Sockets.cpp: Fix initialization of UDD socket
+  * tests: Sockets: adapt to have reproducible output and enable autotest
+  * utils/convolvtest: Remove uneeded libosmocore dependency
+  * Move ARCH_LA to Makefile.common
+  * tests: Migrate convtest util to autotest infrastructure
+  * arm/convert.c: Fix compilation error
+  * arm/convert.c: Add missing convert_init implementation
+  * .gitignore: Add missing test related files
+  * Remove UDDSocket class
+  * tests: SocketTests: Pick OS-assigned instead of setting one manually
+  * tests: SocketsTest: Avoid hang forever if test fails
+  * tests: SocketsTest: Fail test on write fail
+  * tests: TimevalTest: refactor and avoid double comparison
+  * contrib/jenkins.sh: Use qemu+proot+debootstrap to run tests with ARM 
instruction set
+  * tests: convolve: Disable due to difference in output in different archs
+  * Remove unneeded libdl dependency
+  * Fix whitespace
+  * Add support to set Rx/TxAntenna
+  * UHDDevice: Initialize async_event_thrd in constructor
+  * Logger: Drop unused gLogEarly
+  * Logger: Remove unused logging macros
+  * Logger: get rid of alarm APIs
+  * Logger: Drop syslog support
+  * Logger: Drop support to log into file
+  * Logger: Remove unused includes
+  * Logger: Remove gLogToConsole flag
+  * configure.ac: Check for pkg-config
+  * Depend on libosmocore
+  * osmo-trx: set up signals using libosmocore helpers
+  * osmo-trx: Set up talloc ctx
+  * debian: Depend on libtalloc and libosmocore
+  * Add initial support for logging, vty, ctrl
+  * Logger: Use libosmocore logging system
+  * osmo-trx.cpp: Move trx start and stop to helper functions
+  * Move enums required by VTY to a separate header
+  * vty: Implement VTY cfg parsing for current parameters
+  * doc: Add sample cfg file for LimeSDR
+  * osmo-trx: Use VTY cfg structures while still allowing cmd line options
+  * osmo-trx: Re-introduce -l cmd line parameter
+  * Makefile.am: Avoid using subdir if arch is not required
+  * Build Transceiver52M/common as an .la lib
+  * use osmo_init_logging2()
+  * tests: Makefile.am: Fix typo in include path
+  * configure.ac: Add --enable-sanitize option
+  * Move arch specific fiels to arch subdir
+  * Move device specific files to device subdir
+  * Change configure define USRP1 to DEVICE_USRP1
+  * Move device specific code out of 

[PATCH] libosmo-netif[master]: Bump version: 0.1.1.38-ef190-dirty → 0.2.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8002

Bump version: 0.1.1.38-ef190-dirty → 0.2.0

Change-Id: Ic8a9e44b2f930fed024040777eab58699fdcaadc
---
M configure.ac
M debian/changelog
M src/Makefile.am
3 files changed, 58 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/02/8002/1

diff --git a/configure.ac b/configure.ac
index 8fb338a..a04390c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,10 +82,10 @@
 dnl Generate the output
 AM_CONFIG_HEADER(config.h)
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
 dnl FIXME: We depend on libosmoabis by now until we can move LAPD code here
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.0.7)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
 
 old_LIBS=$LIBS
 AC_SEARCH_LIBS([sctp_send], [sctp], [
diff --git a/debian/changelog b/debian/changelog
index 8958b90..aa8e1fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,57 @@
+libosmo-netif (0.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * add --enable-sanitize config option
+  * gitignore: vim swp files
+  * osmo_stream_{cli,srv}_destroy: fix mem leak: empty msgb queue
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Harald Welte ]
+  * debian/control: Fix upstream-name
+  * debian/copyright: There are no AGPL licensed files left
+  * src/rs232.c: Fix accidential reference to GPLv3+ instead of GPLv2+
+  * Add SPDX-License-Identifier + Copyright statements
+  * debian/control: Fix Vcs-Browser
+  * osmux: Fix use of uninitialized memory in osmux_out_handle
+
+  [ Pau Espin Pedrol ]
+  * stream: Avoid re-creating and leaking socket when unneeded
+  * contrib: jenkins.sh: Disable building doxygen for deps
+  * test: osmo-pcap-test: Fix clock drift while replaying pcap file
+  * osmux: Use correct log category DLMUX
+  * stream.c: osmo_stream_cli_open2: Remove wrong assumption in reconnect 
decision
+  * tests: osmo-pcap-test: Fix pcap includes not found in old versions
+  * osmux: osmux_xfrm_output_pull: Improve checks and log of malformed packets
+  * jibuf: Add initial implementation of Jitter Buffer
+  * tests: jibuf_tool: Initial commit
+  * tests: jibuf_tool: Improve jibuf_test to read pcaps
+  * tests: jibuf_tool: Add OSMUX support
+  * tests: jibuf_tool: Add parameters to control size of buffer
+  * jibuf: Take RTP marker into account
+  * jibuf: re-sync clock out of sync timestamps
+  * tests: jibuf_tool: Add seq.plt
+  * jibuf: Estimate src clock skew
+  * tests: use osmo_init_logging2
+  * Build jibuf_tool based on libpcap availability
+  * examples: use osmo_init_logging2
+  * osmux: Add new API osmux_xfrm_output_sched to fix rtp generation issues
+  * tests: Add osmux2 testsuite
+  * osmux: Set Marker bit on osmux frame loss detected
+  * osmux: Move examples and tests to use new output APIs
+
+  [ Max ]
+  * Enable sanitize for CI tests
+
+  [ Stefan Sperling ]
+  * add support for flushing and destroying a server-side stream
+
+  [ Alexey ]
+  * Update README.md
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 16:55:21 +0200
+
 libosmo-netif (0.1.1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/src/Makefile.am b/src/Makefile.am
index 79e3685..9dc5e46 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 # 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=4:0:0
+LIBVERSION=5:0:1
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)
 AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOABIS_CFLAGS) 
$(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS)

-- 
To view, visit https://gerrit.osmocom.org/8002
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8a9e44b2f930fed024040777eab58699fdcaadc
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[MERGED] osmo-ggsn[master]: Bump version: 1.1.0.90-5468-dirty → 1.2.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 1.1.0.90-5468-dirty → 1.2.0
..


Bump version: 1.1.0.90-5468-dirty → 1.2.0

Change-Id: I2af8c8ff75d5153456b814b9dfe4fbddafe5af7a
---
M configure.ac
M debian/changelog
M debian/control
R debian/libgtp3.install
M gtp/Makefile.am
5 files changed, 116 insertions(+), 13 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index b9073e9..62812ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@
[enable_gtp_linux="$enableval"], [enable_gtp_linux="no"])
 
 AS_IF([test "x$enable_gtp_linux" = "xyes"], [
-   PKG_CHECK_MODULES([LIBGTPNL], [libgtpnl >= 1.0.0])
+   PKG_CHECK_MODULES([LIBGTPNL], [libgtpnl >= 1.2.0])
 ])
 
 AM_CONDITIONAL([ENABLE_GTP_KERNEL], [test "$enable_gtp_linux" = "yes"])
@@ -135,9 +135,9 @@
 
 AM_INIT_AUTOMAKE([foreign])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.6.4)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/debian/changelog b/debian/changelog
index 47e02f1..83fd823 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,110 @@
+osmo-ggsn (1.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * fix compiler warnings: return 0 in main(), in 3 tests
+  * add --enable-sanitize config option
+  * sanitize build: ensure uint16/32 alignment in gtpie_test and in46a_test
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Harald Welte ]
+  * sgsnemu: Don't leak FILE handle in proc_read()
+  * sgsnemu: Fix format string in printing tun-device name
+  * sgsnemu: Make sure buffer has space for terminating-NUL
+  * sgsnemu: Free strings in error path
+  * gtp: Fix buffer overflow in imsi_gtp2str()
+  * gtp: Explicit OSMO_ASSERT to ensure pdp variable is set
+  * tun: Don't copy 16byte IPv6 address to 'struct in_addr'
+  * ippool: Correctly compute size of static pool
+  * remove unused argument to alloc_ippool_blacklist()
+  * factor out netdev_ip_local_get() from tun_ip_local_get()
+  * Properly NULL-out blacklist in alloc_ippool_blacklist()
+  * gtp_kernel: Change gtp_kernel_init() function signature
+  * gtp-kernel: Re-add support for kernel GTP-U acceleration
+  * gtp-kernel: Get rid of hard-coded kernel GTP device name
+  * gtp-kernel: shut down kernel GTP device in apn_down()
+  * gtp-kernel: Align logging for APN start in kernel-gtp case with that of TUN
+  * gtp-kernel: Avoid global state variable
+  * gtp-kernel: Make sure repeated calls to gtp_kernel_init() are safe
+  * gtp-kernel: proper cleanup in error path
+  * gtp-kernel: Get rid of SYS_ERR where not applicable
+  * gtp-kernel: Add function name to pdp_debug() function calls
+  * gtp-kernel: Add device nime in pdp_debug() log statements
+  * contrib/jenkins.sh: Allow jenkins job to specify if kernel GTP is used
+  * ggsn.c: Fix byte order of IPCP IPv4 DNS servers
+  * ggsn: Ignore PCO with length 0, don't abort processing
+  * README.md: Remove misleading sentence on sgsnemu
+  * Add talloc context introspection via VTY
+  * fix segfault in case of kernel gtp-u
+  * lib/tun.c: Generalize tun_sifflags() to netdev_sifflags
+  * lib/tun.c: generalize tun_*route() to netdev_*route()
+  * lib/tun.c: Generalize tun_{set,add}addr*() functions
+  * lib/tun: split generic network device related stuff to lib/netdev
+  * lib/netdev.c: Cosmetic changes (coding style / cleanups)
+  * ggsn: Don't explicitly use tun_setaddr() API anymore
+  * sgsnemu: Convert from tun_setaddr() to tun_addaddr()
+  * lib/tun: Remove tun_setaddr() API, as everyone is using tun_addaddr() now
+  * Move kernel GTP support from ggsn/ to lib/
+  * ggsn: don't use gtp_kernel_tunnel_{add,del}() for userspace tun
+
+  [ Pau Espin Pedrol ]
+  * ggsn_vty: Stop using deprecated API vty_install_default
+  * contrib/jenkins.sh: Enable Werror in C(PP)FLAGS
+  * examples: Add secondary ipv6 google DNS to osmo-ggsn.cfg
+  * tun_setaddr6: Fix log typo
+  * cosmetic: Reorder tun_addaddr to get rid of decl of tun_setaddr4
+  * ggsn.c: Print version of unhandled ip packet
+  * Remove unused empty src/Makefile.in
+  * tests: Split ipv6 specific tests into a new test group
+  * Add support for IPv4v6 End User Addresses
+  * contrib: jenkins.sh: Build libgtpnl as dep when building with gtp kernel 
support
+  * cosmetic: sgsnemu.c: Fix trailing whitespace
+  * ggsn.c: Improve logging info on link-local ipv6 addr not found
+  * tun.c: tun_addaddr: Fix segfault and wrong usage of tun_nlattr
+  * Set tun_addaddr ipv agnostic and add support for ipv6
+  * ggsn: Add 'ipv6 

Build failed in Jenkins: master-asn1c » a1=default,a2=default,a3=default,osmocom-master-debian9 #111

2018-05-03 Thread jenkins
See 


--
[...truncated 3.73 KB...]
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for autoconf... /usr/bin/autoconf
checking for autoheader... /usr/bin/autoheader
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style 

[MERGED] libosmo-sccp[master]: Bump version: 0.8.1.43-7e34-dirty → 0.9.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.8.1.43-7e34-dirty → 0.9.0
..


Bump version: 0.8.1.43-7e34-dirty → 0.9.0

Change-Id: Ie3d11408f35509138475e7edde285e1bf5bef8e0
---
M configure.ac
M debian/changelog
M src/Makefile.am
3 files changed, 62 insertions(+), 5 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index a73bc82..d2d4d02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,10 +29,10 @@
 fi
 PKG_PROG_PKG_CONFIG([0.20])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
 
 old_LIBS=$LIBS
 AC_SEARCH_LIBS([sctp_send], [sctp], [
diff --git a/debian/changelog b/debian/changelog
index 64e18fb..9d582a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,60 @@
+libosmo-sccp (0.9.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * add osmo_sccp_inst_addr_name(), a variant of osmo_sccp_addr_name()
+  * sccp vty: be fatal for addressbook entry errors
+  * add --enable-sanitize config option
+  * sccp_test: sanitize: fix msgb mem leaks
+  * sccp_test: sanitize: don't memcmp NULL pointers
+  * xua_test: sanitize: fix msgb leak
+  * osmo_sccp_addr_name / _dump: drop 'NO_GT' output
+  * typo: osmo-stp main: 'Erro'
+  * add osmo_sccp_user_name()
+  * add osmo_ss7_route_name()
+  * cosmetic: hmrt_message_for_routing(): use osmo_ss7_route_name()
+  * error log: sccp_scoc.c: log failure to create/resolve conn_id
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Max ]
+  * Fix typo in .deb dependency
+  * Enable sanitize for CI tests
+  * SS7: clarify handling of stream opening error
+
+  [ Harald Welte ]
+  * xua: Write 'local-ip' only if non-NULL
+  * vty: Make sure 'point-code override dpc' is saved with correct indent
+  * ipa: Fix setting of OPC/DPC based on routing-context + override
+  * ipa: Fix endianness of pseud-M3UA header
+  * initialize msg->l2h in sccp_msgb_alloc()
+  * ipa: Patch DPC/OPC information into SCCP Calling/Called Party Address
+  * ipa: Automatically create / destroy route on IPA connect/disconnect
+  * osmo-stp: Align prompt formatting with other Osmocom programs
+  * STP: Add osmoappdesc.py
+  * debian/copyright: Fix upstream-name
+  * Add SPDX-License-Identifier + missing copyright statements
+  * Add "show cs7 (m3ua}sua}ipa)" command to show xUA servers
+  * xua_as[p]_fsm: Use osmo_timer_del() on FSM cleanup
+  * sccp_helpers: don't return msgb with l2h set
+  * Allocate SCCP user primitives with headroom
+  * sccp_types.h: Fix value for SCCP_REFUSAL_UNEQUIPPED_USER
+  * debian/control: Fix Vcs-Browser
+  * ipa_asp_fsm: Prevent against integer underflow
+
+  [ Pau Espin Pedrol ]
+  * ss7_vty: Fix out-of-bounds access in 'as' cmd
+  * contrib/test: Fix config of local/remote ports
+  * ss7: Re-bind xUA server socket after setting new IP
+  * contrib: jenkins.sh: Disable doxygen in libosmocore build
+  * use osmo_init_logging2
+
+  [ Martin Hauke ]
+  * build: AC_PROG_LIBTOOL is the same as LT_INIT
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 17:08:07 +0200
+
 libosmo-sccp (0.8.1) unstable; urgency=medium
 
   * New upstream 0.8.1 release.
diff --git a/src/Makefile.am b/src/Makefile.am
index 1001d19..3af23d1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,7 @@
 # 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_sigtran_la_SOURCES = sccp_sap.c sua.c m3ua.c xua_msg.c sccp_helpers.c \
 sccp2sua.c sccp_scrc.c sccp_sclc.c sccp_scoc.c \

-- 
To view, visit https://gerrit.osmocom.org/8004
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie3d11408f35509138475e7edde285e1bf5bef8e0
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


libosmocore[master]: debian/changelog: Fix typo in maintainer e-mail

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8000
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I74bef283090fd7601491c9fef9637f845853d032
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] libosmocore[master]: Bump version: 0.10.2.284-bc47-dirty → 0.11.0

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: Bump version: 0.10.2.284-bc47-dirty → 0.11.0
..


Bump version: 0.10.2.284-bc47-dirty → 0.11.0

Remark: For libosmogb and libosmogsm, LIBVERSION was
already bumped in c4fce1425e19d604c199c895e227dc2519110456.

Change-Id: Ib4fa53a9bb9954ae48d0a610ba9a81dd8e8b4ef6
---
M TODO-RELEASE
M debian/changelog
M debian/control
R debian/libosmocore10.install
M src/Makefile.am
M src/codec/Makefile.am
M src/coding/Makefile.am
M src/ctrl/Makefile.am
M src/sim/Makefile.am
M src/vty/Makefile.am
10 files changed, 333 insertions(+), 16 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/TODO-RELEASE b/TODO-RELEASE
index 146ab33..8ccfa49 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,9 +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   whatdescription / commit summary line
-core   msgb_queue_free()   add inline func to msgb.h
-coding gsm0503_rach_ext-encode()   add func to gsm0503_coding.h
-codec  ecu.c / ecu.h   implement ECU for FR (Error 
Concealment Unit)
-fsmfsmc / fsm.hadded callback for graceful 
exit => ABI changed
-gsmgsm0480.c / gsm0480.h   the 'ss_request' struct 
extended with ussd_data,
-   ussd_data_len, and 
ussd_data_dcs => ABI changed
diff --git a/debian/changelog b/debian/changelog
index 3ce3fad..393ea17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,326 @@
+libosmocore (0.11.0) unstable; urgency=medium
+
+  [ Max ]
+  * Enable GnuTLS fallback
+  * Ctrl: add rate counter group introspection
+  * ctrl: log incorrect interval values
+  * Improve get_rate_ctr() error handling
+  * ctrl: make response easier to parse
+  * coding test: cosmetic cleanup
+  * coding test: enable debug output
+  * coding test: move bit dump into functions
+  * coding test: use OSMO_ASSERT
+  * Fix embedded build
+  * embedded: fix tests
+  * Embedded: fix sercomm test
+  * Add functions for extended RACH coding
+  * Do not allocate already existing counter group
+  * Fix incorrect spec reference
+  * Use 127.0.0.1 for GSMTAP logging by default
+  * coding: move eB adjustement to appropriate place
+  * Add function to properly encode RAI
+  * Use existing function for TLLI encoding
+  * log: print loginfo assertions source
+  * Allow multiple 'log gsmtap' sinks
+  * Deprecate gsm48_construct_ra()
+  * Log lapd_datalink state on errors
+  * jenkins: add dispatcher script
+  * Embedded: disable stats test
+  * Embedded: add sercomm stubs
+  * GSUP: don't fail test on first error
+  * jenkins: remove obsolete scripts
+  * jenkins: move make invocation into shared function
+  * utils: add helper wrapper for osmo_strlcpy()
+  * GSUP: change osmo_gsup_encode() return type
+  * Use python 3 for utilities
+  * Add test for gsm48_generate_mid_from_imsi()
+  * Add generic Mobile Identity encoder
+  * Add function to encode classmark
+
+  [ Niro Mahasinghe ]
+  * gsm0503_coding.c: Fix tch_efr_unreorder() of one bit
+  * gsm0503_coding.c: Use majority vote in tch_efr_unreorder()
+
+  [ Harald Welte ]
+  * debian: build now depends on libgnutls
+  * Fix/Update copyright notices; Add SPDX annotation
+  * Print /proc/cpuinfo before executing testsuite
+  * conv_acc: Our code requires SSSE3, not just SSE3
+  * ports.h: Use same VTY port number for osmo-mgw and osmo-bsc_mgcp
+  * gsmtap.h: Introduce new GSMTAP type for LTE NAS messages
+  * gsm0808_create_cipher_reject: Fix encoding of Cause IE
+  * rate_ctr: print proper error message if rate_ctr already exists
+  * timer: fixup whitespace issues
+  * control_if: Close control connection socket/fd on read/write == 0
+  * control_if: Log the disconnect of a CTRL client
+  * CTRL: Ensure peer/connection info is always printed the same way
+  * MNCC: Add MNCC to string dumper
+  * gsm48_pdisc_names: Use conscise, short names
+  * SMS: Add value_string for TS 04.11 CP and RP state
+  * gsm_04_08.h: Clearly annotate timers that don't have a 3GPP Default value
+  * gsm_04_08.h: Reduce T310 default to 30s.
+  * gsm48_hdr_msg_type[_r99]: Fix bit-masks
+  * gsm48_hdr_msg_type(): SS is in the same group as MM/CC
+  * tlv_parser: Report *first* occurrence of repeated IEs
+  * msgb: Add msgb_hexdump_{l2,l3}() to dump l2 or l3 part of message buffer
+  * Revert "Use python 3 for utilities"
+  * Revert "fsm: do not terminate child FSMs early"
+  * osmo_msgbdump_{l2,l3}(): Proper typecast
+  * debian/control: Fix Vcs-Browser URL
+  * Add GSM 04.08 type-of-number / numbering-plan-id definitions
+  * talloc_ctx_vty: Fix help strings (missing \n at end of line)
+  * Revert "Add function to encode 

[MERGED] libosmocore[master]: osmo-release.sh: Always generate entire commit changelog

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: osmo-release.sh: Always generate entire commit changelog
..


osmo-release.sh: Always generate entire commit changelog

Before this commit, for library projects (containing LIBVERSION in some
Makefile), the entire commit list was not stored into the changelog, but
only a few lines from TODO-RELEASE files.

This is a bad approach for several reasons. First, because that file was
only aimed at containing API/ABI breaks, and not the full relevant
changeset (like bugfixes, new features, etc.). Second, because it relies
on every developer making API/ABI changes to remember to store the
change in there during commit break time.

Let's instead always store the entire commit list in changelog, and
let's use TODO-RELEASE only as a list of hints for the maintainer to
help him evaluate how LIBVERSION needs to be bumped for each library.
Other tools such as osmo-abi-check.git can be used to help with the
process of decission too.

Let's take the opportunity too to only commit stuff already added to the
staging area, as it proved easier to manage from my personal experinece
making latest releases.

Change-Id: Ibf662173ce2b4ff3966e9ad5f56c65dfb13607ff
---
M TODO-RELEASE
M osmo-release.sh
2 files changed, 13 insertions(+), 19 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/TODO-RELEASE b/TODO-RELEASE
index 16496d6..146ab33 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -1,6 +1,6 @@
 # When cleaning up this file: bump API version in corresponding Makefile.am 
and rename corresponding debian/lib*.install
-# according to 
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
-# In short:
+# according to 
https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
+# In short: 
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
 # LIBVERSION=c:r:a
 # If the library source code has changed at all since the last update, then 
increment revision: c:r + 1:a.
 # If any interfaces have been added, removed, or changed since the last 
update: c + 1:0:0.
diff --git a/osmo-release.sh b/osmo-release.sh
index 0e85023..3b50ded 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -11,7 +11,7 @@
 
 NEW_VER=`bumpversion --list --current-version $VERSION $REL --allow-dirty | 
awk -F '=' '{ print $2 }'`
 LIBVERS=`git grep -n LIBVERSION | grep  '=' | grep am | grep -v LDFLAGS`
-MAKEMOD=`git diff -GLIBVERSION --stat | grep Makefile.am`
+MAKEMOD=`git diff --cached -GLIBVERSION --stat | grep Makefile.am`
 ISODATE=`date -I`
 
 if [ "z$BUMPVER" = "z" ]; then
@@ -26,28 +26,22 @@
 
 echo "Releasing $VERSION -> $NEW_VER..."
 
-if [ "z$LIBVERS" = "z" ]; then
-   gbp dch --debian-tag='%(version)s' --auto --meta --git-author 
--multimaint-merge --ignore-branch --new-version="$NEW_VER"
-else
-   echo "You should NOT be doing this unless you've read and understood 
following article:"
-   echo 
"https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info;
-   grep -v '#' TODO-RELEASE | sed 's/\t\+/: /g' > TODO-RELEASE.entries
-   if [ "$(wc -l /dev/null)" -eq "0" ]; then
-   rm TODO-RELEASE.entries
-   echo "TODO-RELEASE must contain at least one line with change 
descriptions"
-   exit 1
-   fi
-   grep '#' TODO-RELEASE > TODO-RELEASE.clean
-   mv TODO-RELEASE.clean TODO-RELEASE
+if [ "z$LIBVERS" != "z" ]; then
if [ "z$MAKEMOD" = "z" ]; then
echo "Before releasing, please modify some of the libversions: 
$LIBVERS"
+   echo "You should NOT be doing this unless you've read and 
understood following article:"
+   echo 
"https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info;
exit 1
fi
-   xargs -a TODO-RELEASE.entries -r -d'\n' -I entry dch -m -v $NEW_VER 
"entry"
-   rm TODO-RELEASE.entries
+   if [ -f "TODO-RELEASE" ]; then
+   grep '#' TODO-RELEASE > TODO-RELEASE.clean
+   mv TODO-RELEASE.clean TODO-RELEASE
+   git add TODO-RELEASE
+   fi
 fi
+gbp dch --debian-tag='%(version)s' --auto --meta --git-author 
--multimaint-merge --ignore-branch --new-version="$NEW_VER"
 dch -r -m --distribution "unstable" ""
-git add -u
+git add debian/changelog
 bumpversion --current-version $VERSION $REL --tag --commit --tag-name $NEW_VER 
--allow-dirty
 git tag -s $NEW_VER -f -m "Release v$NEW_VER on $ISODATE."
 echo "Release $NEW_VER prepared, tagged and signed."

-- 
To view, visit https://gerrit.osmocom.org/7997
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf662173ce2b4ff3966e9ad5f56c65dfb13607ff
Gerrit-PatchSet: 

[MERGED] libosmocore[master]: debian: libosmoctrl: Use correct library version in pkg name

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: debian: libosmoctrl: Use correct library version in pkg name
..


debian: libosmoctrl: Use correct library version in pkg name

The number used in debian packaging is actually current-age, which is
still 0 in this case after it was bumped a while ago.

As a result, we had a libosmoctrl1_*.deb package installing a
libosmoctrl.so.0 file.

Fixes: OS#3175

Change-Id: I771f6c68570bc3b2bab68e1165c7284fd43e904d
---
M debian/control
R debian/libosmoctrl0.install
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/control b/debian/control
index d911f32..29dbd16 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,7 @@
  libosmogb6 (= ${binary:Version}),
  libosmogsm9 (= ${binary:Version}),
  libosmovty4 (= ${binary:Version}),
- libosmoctrl1 (= ${binary:Version}),
+ libosmoctrl0 (= ${binary:Version}),
  libosmosim0 (= ${binary:Version}),
  ${misc:Depends}
 Description: Open Source MObile COMmunications CORE library (metapackage)
@@ -245,7 +245,7 @@
  .
  This package contains the documentation for the libosmovty library.
 
-Package: libosmoctrl1
+Package: libosmoctrl0
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -259,7 +259,7 @@
  (at least) other programs that are developed in the sphere of Free Software /
  Open Source mobile communication.
  .
- The libosmoctrl1 library in particular contains an SNMP-like status interface.
+ The libosmoctrl library in particular contains an SNMP-like status interface.
 
 Package: libosmosim0
 Section: libs
diff --git a/debian/libosmoctrl1.install b/debian/libosmoctrl0.install
similarity index 100%
rename from debian/libosmoctrl1.install
rename to debian/libosmoctrl0.install

-- 
To view, visit https://gerrit.osmocom.org/7999
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I771f6c68570bc3b2bab68e1165c7284fd43e904d
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


libosmocore[master]: debian: libosmoctrl: Use correct library version in pkg name

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7999
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I771f6c68570bc3b2bab68e1165c7284fd43e904d
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


libosmocore[master]: Bump version: 0.10.2.284-bc47-dirty → 0.11.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8001
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib4fa53a9bb9954ae48d0a610ba9a81dd8e8b4ef6
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] libosmocore[master]: debian/changelog: Fix typo in maintainer e-mail

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: debian/changelog: Fix typo in maintainer e-mail
..


debian/changelog: Fix typo in maintainer e-mail

Change-Id: I74bef283090fd7601491c9fef9637f845853d032
---
M debian/changelog
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/changelog b/debian/changelog
index a50e30b..3ce3fad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,20 +3,20 @@
   * Revert "vty: Fix bad use of vector_slot()"
   * New upstream release of libosmocore
 
- -- Harald Welte   Thu, 02 Nov 2017 18:51:02 +0100
+ -- Harald Welte   Thu, 02 Nov 2017 18:51:02 +0100
 
 libosmocore (0.10.1) unstable; urgency=medium
 
   * New upstream release of libosmocore
 
- -- Harald Welte   Sun, 29 Oct 2017 10:46:47 +0100
+ -- Harald Welte   Sun, 29 Oct 2017 10:46:47 +0100
 
 libosmocore (0.10.0+nmu1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
   * New upstream release of libosmocore
 
- -- Harald Welte   Fri, 27 Oct 2017 19:45:00 +0200
+ -- Harald Welte   Fri, 27 Oct 2017 19:45:00 +0200
 
 libosmocore (0.9.6) unstable; urgency=medium
 
@@ -148,7 +148,7 @@
 
 libosmocore (0.5.3+git1-2) unstable; urgency=low
 
-  * New upstream version 
+  * New upstream version
 
  -- Holger Hans Peter Freyther   Mon, 05 Nov 2012 21:35:57 
+0100
 

-- 
To view, visit https://gerrit.osmocom.org/8000
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I74bef283090fd7601491c9fef9637f845853d032
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


[MERGED] libosmocore[master]: osmo-release.sh: Allow user to add extra information to the ...

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: osmo-release.sh: Allow user to add extra information to the 
release commit
..


osmo-release.sh: Allow user to add extra information to the release commit

Change-Id: Ie25d921dd27fb7653bd616cb2912330964108663
---
M osmo-release.sh
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/osmo-release.sh b/osmo-release.sh
index 3b50ded..86b41d8 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -43,5 +43,6 @@
 dch -r -m --distribution "unstable" ""
 git add debian/changelog
 bumpversion --current-version $VERSION $REL --tag --commit --tag-name $NEW_VER 
--allow-dirty
+git commit --amend # let the user add extra information to the release commit.
 git tag -s $NEW_VER -f -m "Release v$NEW_VER on $ISODATE."
 echo "Release $NEW_VER prepared, tagged and signed."

-- 
To view, visit https://gerrit.osmocom.org/7998
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie25d921dd27fb7653bd616cb2912330964108663
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


[MERGED] libosmo-abis[master]: Bump version: 0.4.0.21-60fd-dirty → 0.5.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.4.0.21-60fd-dirty → 0.5.0
..


Bump version: 0.4.0.21-60fd-dirty → 0.5.0

libosmotrau library version in debian package was wrong, fix it while
releasing.

Change-Id: I399618c7353a4150e3d571758b522dd2e9d9724f
---
M TODO-RELEASE
M configure.ac
M debian/changelog
M debian/control
R debian/libosmotrau2.install
M src/Makefile.am
6 files changed, 45 insertions(+), 9 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/TODO-RELEASE b/TODO-RELEASE
index b02e1eb..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   whatdescription / commit summary line
-libosmotrauadditionNew osmo_rtp_set_source_desc() wrapper around 
libortp
diff --git a/configure.ac b/configure.ac
index 05fbb12..0aca550 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,9 +59,9 @@
 dnl Generate the output
 AM_CONFIG_HEADER(config.h)
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.10)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
 PKG_CHECK_MODULES(ORTP, ortp >= 0.22.0)
 
 AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be 
built))
diff --git a/debian/changelog b/debian/changelog
index 13c0996..4c48e6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,40 @@
+libosmo-abis (0.5.0) unstable; urgency=medium
+
+  [ Max ]
+  * Use value string check from osmo-ci
+  * cosmetic: update ipaccess_bts_handle_ccm()
+  * IPA: log remote address
+
+  [ Neels Hofmeyr ]
+  * cosmetic: ipa.c: use msgb_dequeue(), drop local var
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * add --enable-sanitize config option
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Alexander Couzens ]
+  * debian/rules: show testsuite.log when tests are failing
+  * unixsocket: fix a potential string overflow
+
+  [ Harald Welte ]
+  * debian/copyright: fix upstream-name
+  * Add SPDX-License-Identifier to all source files
+  * Add a new osmo_rtp_set_source_desc() function to set the RTCP SDES items
+  * debian/control: Fix Vcs-Browser
+
+  [ Pau Espin Pedrol ]
+  * contrib: jenkins.sh: Disable doxygen in libosmocore build
+  * e1_input.h: Remove dead declaration of unexistent API ipaccess_setup
+  * configure.ac: Fix condition check for RTP_SIGNAL_PTR_CAST define
+  * use osmo_init_logging2
+  * git-version-gen: Check first for new tag format
+
+  [ Stefan Sperling ]
+  * preserve 'when' flags of new osmo_fd in ipaccess_rcvmsg()
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 16:12:04 +0200
+
 libosmo-abis (0.4.0) unstable; urgency=medium
 
   * Move forward towards a new release.
diff --git a/debian/control b/debian/control
index dd958c8..10295e6 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,7 @@
 Package: libosmo-abis
 Section: oldlibs
 Architecture: any
-Depends: libosmoabis5 (= ${binary:Version}), libosmotrau1 (= 
${binary:Version}), ${misc:Depends}
+Depends: libosmoabis5 (= ${binary:Version}), libosmotrau2 (= 
${binary:Version}), ${misc:Depends}
 Multi-Arch: same
 Description: Legacy package for libosmo-abis
  libosmo-abis is an empty package helping in the transition to one
@@ -40,7 +40,7 @@
  It also implements drivers for mISDN and DAHDI based E1 cards, as well as some
  A-bis/IP dialects.
 
-Package: libosmotrau1
+Package: libosmotrau2
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -58,7 +58,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
- libosmotrau1 (= ${binary:Version}),
+ libosmotrau2 (= ${binary:Version}),
  libosmoabis5 (= ${binary:Version})
 Description: Development headers for A-bis interface
  The libosmo-abis library contains common/shared code regarding the A-bis
@@ -72,7 +72,7 @@
 Section: debug
 Priority: extra
 Depends: libosmoabis5 (= ${binary:Version}),
- libosmotrau1 (= ${binary:Version}),
+ libosmotrau2 (= ${binary:Version}),
  ${misc:Depends}
 Description: Debug symbols for A-bis interface
  The libosmo-abis library contains common/shared code regarding the A-bis
diff --git a/debian/libosmotrau1.install b/debian/libosmotrau2.install
similarity index 100%
rename from debian/libosmotrau1.install
rename to debian/libosmotrau2.install
diff --git a/src/Makefile.am b/src/Makefile.am
index 7395d17..ab42d38 100644
--- 

[MERGED] osmo-hlr[master]: Bump version: 0.1.0.39-1cb4-dirty → 0.2.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.1.0.39-1cb4-dirty → 0.2.0
..


Bump version: 0.1.0.39-1cb4-dirty → 0.2.0

Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
---
M configure.ac
M debian/changelog
2 files changed, 62 insertions(+), 5 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 723c43f..a632a1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,11 +34,11 @@
 
 PKG_CHECK_MODULES(TALLOC, [talloc >= 2.0.1])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.9.5)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.9.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.9.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.3.2)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
 
 PKG_CHECK_MODULES(SQLITE3, sqlite3)
 
diff --git a/debian/changelog b/debian/changelog
index 7d8b208..dce4dd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,60 @@
+osmo-hlr (0.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * vty: skip installing cmds now always installed by default
+  * hlr_db_tool: fix error log strerror invocation
+  * cosmetic: add comment on ignored return value
+  * db-tool: add command 'create'
+  * db-tool: cosmetic: tweak printf output
+  * db-tool: error-exit on too many arguments
+  * add --enable-sanitize config option
+  * db_test: don't verify SQLite issued error messages, they might change
+  * cosmetic: rx_send_auth_info(): decide error cause with switch()
+  * return GMM_CAUSE_IMSI_UNKNOWN if there is no auth data
+  * db_get_auth_data / db_get_auc: clarify return values
+  * osmo-hlr: log details for unknown IMSI / no auth data / db error
+  * db_test: also test db_get_auc() return values
+  * fix test_subscriber_errors.ctrl after libosmocore change
+  * fix debug log: put 'deriving 2G from 3G' in proper place
+  * ctrl test: fix: adjust expectations after stricter ctrl parsing
+  * fix build: db_test: missing LIBOSMOABIS_CFLAGS and _LIBS
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Harald Welte ]
+  * hlr.c: Avoid overflow of lu_operation.subscr.imsi
+  * Fix expected test output after new 'logging print file 1' vty command
+  * osmo-hlr: Add talloc context introspection via VTY
+  * vty: Don't print error if removing auth data while none present
+  * Fix responses to PURGE MS
+
+  [ Alexander Couzens ]
+  * debian: include systemd service osmo-hlr.service
+  * doc: install example .cfg files to $(docdir)/examples/
+  * debian: install osmo-hlr.cfg to /etc/osmocom
+
+  [ Max ]
+  * Remove unused check
+  * Remove unused ipa.py
+  * Enable sanitize for CI tests
+
+  [ Pau Espin Pedrol ]
+  * luop.c: Transform FIXME from warning to pragma message
+  * contrib:jenkins.sh: Enable Werror
+  * use osmo_init_logging2
+  * Remove unused src/db_test.c
+
+  [ Alexander Huemer ]
+  * Add missing build products in .gitignore
+
+  [ Stefan Sperling ]
+  * more robust usage of osmo_timer API for osmo-hlr luop timer
+  * notify GSUP clients when HLR subscriber information changes
+  * rewrite subscriber_update_notify() without calls into luop
+  * don't forget to mark luop as a packet switched connection
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 16:27:13 +0200
+
 osmo-hlr (0.1.0) unstable; urgency=medium
 
   [ Neels Hofmeyr ]

-- 
To view, visit https://gerrit.osmocom.org/7986
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
Gerrit-PatchSet: 2
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


libosmo-netif[master]: Bump version: 0.1.1.38-ef190-dirty → 0.2.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8002
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic8a9e44b2f930fed024040777eab58699fdcaadc
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-bts[master]: Bump version: 0.7.0.183-c45a-dirty → 0.8.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8003
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I92b7b584beac870d1dccc9d5637fa54154b6db03
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


libosmo-sccp[master]: Bump version: 0.8.1.43-7e34-dirty → 0.9.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8004
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie3d11408f35509138475e7edde285e1bf5bef8e0
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[PATCH] osmo-mgw[master]: Bump version: 1.2.0.109-8d064-dirty → 1.3.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8009

Bump version: 1.2.0.109-8d064-dirty → 1.3.0

Change-Id: I524222f5a056111325087cfb44d83d02571b475f
---
M TODO-RELEASE
M configure.ac
M debian/changelog
M debian/control
R debian/libosmo-mgcp-client3.install
M src/libosmo-legacy-mgcp/Makefile.am
M src/libosmo-mgcp-client/Makefile.am
7 files changed, 133 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/09/8009/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index 9d0e0dc..c5a3b36 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -24,6 +24,3 @@
 # If any interfaces have been removed or changed since the last public 
release, a=0.
 #
 #library   whatdescription / commit summary line
-libosmo-mgcp   API/ABI change  parse and represent connection 
identifiers as hex strings
-libosmo-mgcp   API/ABI change  connection identifiers are assigned by 
the server, not CA
-libosmo-mgcp-clientAPI/ABI change  parse and store connection identifier 
in response
\ No newline at end of file
diff --git a/configure.ac b/configure.ac
index fed44f0..0ded288 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,10 +39,10 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/debian/changelog b/debian/changelog
index bb9a849..a8a850a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,128 @@
+osmo-mgw (1.3.0) unstable; urgency=medium
+
+  [ Pau Espin Pedrol ]
+  * contrib: Add osmo-mgw systemd service
+  * legacy: mgcp_protocol: Don't print osmux stats if it is off
+  * mgcp_stat: Don't print osmux stats if it is off
+
+  [ Neels Hofmeyr ]
+  * fix segfault: DLCX for unknown endpoint: dont try to log NULL endpoint
+  * MGCP endpoints: parse as decimal, not hex
+  * add --enable-sanitize config option
+  * legacy_mgcp: mgcp_test: sanitize: free msgb_ctx
+  * mgcp_test: test_packet_error_detection: sanitize: free all conns
+  * mgcp_test: test_no_cycle: sanitize: free endp
+  * mgcp_test: sanitize: free msgb_ctx
+  * mgcp_client: don't configure "bts base"
+  * Revert "mgcp_client: don't configure "bts base"" until osmo-msc is ready
+  * mgcp_client: add transaction cleanup
+  * mgcp_client_test makefile: add update_exp target
+  * cosmetic: mgcp_network: typo in log
+  * osmo-mgw: Add talloc context introspection via VTY
+  * mgcp_client: show failure by MGCP SDP section parsing test
+  * mgcp_client: cosmetic: clean up SDP params parsing
+  * mgcp_client: detect SDP section-start parsing errors
+  * compiler warning: ignore deprecated in mgcp_client_test.c
+  * configure: add --enable-werror
+  * jenkins.sh: add --enable-werror to configure flags
+  * cosmetic: mgcp, legacy_mgcp: drop unused vty.h definitions
+  * use osmo_init_logging2() with proper talloc ctx
+
+  [ Philipp Maier ]
+  * osmux: fix nullpointer dereference
+  * cosmetic: guard dead osmux vty code with ifdef
+  * cosmetic: remove prefix "net" from rtp related vty commands
+  * doc: update sample config file
+  * cosmetic: use correct VTY port number constant
+  * vty: simplify endpoint allocation
+  * vty: do not change number_endpoints at runtime
+  * MGCP: Connection Identifiers are hex strings
+  * libosmo-mgcp: Connection Identifiers are allocated by MGW, not CA
+  * client: use osmo_strlcpy instead of strncpy
+  * cosmetic: fix sourcecode formatting
+  * cosmetic: clearly mark endpoint numbers as hex
+  * client: use string as connection identifier
+  * conn: remove assertions
+  * mgcp_test: fix wrong strcmp() parameters
+  * mgcp_test: fix nullpointer dereference
+  * mgcp_test: add returncode check
+  * mgcp_test: fix possible double free
+  * mcgp_client: mgcp_msg_gen(): add checks to verify params
+  * network: use originating RTP packet address for loopback
+  * client: mgcp_response_parse_params: check rtp port
+  * mgcp: allow endpoints beginning from zero
+  * client/common: move constant MGCP_ENDPOINT_MAXLEN
+  * mgcp: make domain name configurable
+  * cosmetic: protocol: remove unnecessary nul termination
+  * client: do not insist on \n\n when parsing MGCP messages
+  * main: display mgcp ip/port
+  * client: make callid in MDCX mandatory
+  * client: add missing mandatory SDP fields
+  * mgcp: permit wildcarded endpoint assignment (CRCX)
+  * mgcp: add prefix to virtual trunk
+  * client: eliminate destructive parameter parsing
+  * client: eliminate destructive head parsing
+  * cosmetic: client: add doxygen comments
+  * protocol: fix problem with line break and OSMUX
+  * protocol: fix 

[PATCH] osmo-ggsn[master]: Bump version: 1.1.0.90-5468-dirty → 1.2.0

2018-05-03 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/7979

to look at the new patch set (#2).

Bump version: 1.1.0.90-5468-dirty → 1.2.0

Change-Id: I2af8c8ff75d5153456b814b9dfe4fbddafe5af7a
---
M configure.ac
M debian/changelog
M debian/control
R debian/libgtp3.install
M gtp/Makefile.am
5 files changed, 116 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/79/7979/2

diff --git a/configure.ac b/configure.ac
index b9073e9..62812ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@
[enable_gtp_linux="$enableval"], [enable_gtp_linux="no"])
 
 AS_IF([test "x$enable_gtp_linux" = "xyes"], [
-   PKG_CHECK_MODULES([LIBGTPNL], [libgtpnl >= 1.0.0])
+   PKG_CHECK_MODULES([LIBGTPNL], [libgtpnl >= 1.2.0])
 ])
 
 AM_CONDITIONAL([ENABLE_GTP_KERNEL], [test "$enable_gtp_linux" = "yes"])
@@ -135,9 +135,9 @@
 
 AM_INIT_AUTOMAKE([foreign])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.6.4)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/debian/changelog b/debian/changelog
index 47e02f1..83fd823 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,110 @@
+osmo-ggsn (1.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * fix compiler warnings: return 0 in main(), in 3 tests
+  * add --enable-sanitize config option
+  * sanitize build: ensure uint16/32 alignment in gtpie_test and in46a_test
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Harald Welte ]
+  * sgsnemu: Don't leak FILE handle in proc_read()
+  * sgsnemu: Fix format string in printing tun-device name
+  * sgsnemu: Make sure buffer has space for terminating-NUL
+  * sgsnemu: Free strings in error path
+  * gtp: Fix buffer overflow in imsi_gtp2str()
+  * gtp: Explicit OSMO_ASSERT to ensure pdp variable is set
+  * tun: Don't copy 16byte IPv6 address to 'struct in_addr'
+  * ippool: Correctly compute size of static pool
+  * remove unused argument to alloc_ippool_blacklist()
+  * factor out netdev_ip_local_get() from tun_ip_local_get()
+  * Properly NULL-out blacklist in alloc_ippool_blacklist()
+  * gtp_kernel: Change gtp_kernel_init() function signature
+  * gtp-kernel: Re-add support for kernel GTP-U acceleration
+  * gtp-kernel: Get rid of hard-coded kernel GTP device name
+  * gtp-kernel: shut down kernel GTP device in apn_down()
+  * gtp-kernel: Align logging for APN start in kernel-gtp case with that of TUN
+  * gtp-kernel: Avoid global state variable
+  * gtp-kernel: Make sure repeated calls to gtp_kernel_init() are safe
+  * gtp-kernel: proper cleanup in error path
+  * gtp-kernel: Get rid of SYS_ERR where not applicable
+  * gtp-kernel: Add function name to pdp_debug() function calls
+  * gtp-kernel: Add device nime in pdp_debug() log statements
+  * contrib/jenkins.sh: Allow jenkins job to specify if kernel GTP is used
+  * ggsn.c: Fix byte order of IPCP IPv4 DNS servers
+  * ggsn: Ignore PCO with length 0, don't abort processing
+  * README.md: Remove misleading sentence on sgsnemu
+  * Add talloc context introspection via VTY
+  * fix segfault in case of kernel gtp-u
+  * lib/tun.c: Generalize tun_sifflags() to netdev_sifflags
+  * lib/tun.c: generalize tun_*route() to netdev_*route()
+  * lib/tun.c: Generalize tun_{set,add}addr*() functions
+  * lib/tun: split generic network device related stuff to lib/netdev
+  * lib/netdev.c: Cosmetic changes (coding style / cleanups)
+  * ggsn: Don't explicitly use tun_setaddr() API anymore
+  * sgsnemu: Convert from tun_setaddr() to tun_addaddr()
+  * lib/tun: Remove tun_setaddr() API, as everyone is using tun_addaddr() now
+  * Move kernel GTP support from ggsn/ to lib/
+  * ggsn: don't use gtp_kernel_tunnel_{add,del}() for userspace tun
+
+  [ Pau Espin Pedrol ]
+  * ggsn_vty: Stop using deprecated API vty_install_default
+  * contrib/jenkins.sh: Enable Werror in C(PP)FLAGS
+  * examples: Add secondary ipv6 google DNS to osmo-ggsn.cfg
+  * tun_setaddr6: Fix log typo
+  * cosmetic: Reorder tun_addaddr to get rid of decl of tun_setaddr4
+  * ggsn.c: Print version of unhandled ip packet
+  * Remove unused empty src/Makefile.in
+  * tests: Split ipv6 specific tests into a new test group
+  * Add support for IPv4v6 End User Addresses
+  * contrib: jenkins.sh: Build libgtpnl as dep when building with gtp kernel 
support
+  * cosmetic: sgsnemu.c: Fix trailing whitespace
+  * ggsn.c: Improve logging info on link-local ipv6 addr not found
+  * tun.c: tun_addaddr: Fix segfault and wrong usage of tun_nlattr
+  * Set tun_addaddr ipv agnostic and add support for ipv6
+  * ggsn: Add 'ipv6 link-local' vty cmd
+  * ggsn_vty.c: Print ipv6 

osmo-pcu[master]: Bump version: 0.4.0.115-513c-dirty → 0.5.0

2018-05-03 Thread Harald Welte

Patch Set 2: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7983
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6ce6fb40690a66b0980eba4fa03b47da2f59ee6e
Gerrit-PatchSet: 2
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


libosmo-abis[master]: Bump version: 0.4.0.21-60fd-dirty → 0.5.0

2018-05-03 Thread Harald Welte

Patch Set 2: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7982
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I399618c7353a4150e3d571758b522dd2e9d9724f
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-ggsn[master]: Bump version: 1.1.0.90-5468-dirty → 1.2.0

2018-05-03 Thread Harald Welte

Patch Set 2: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7979
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2af8c8ff75d5153456b814b9dfe4fbddafe5af7a
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 
Gerrit-HasComments: No



[PATCH] osmo-hlr[master]: Bump version: 0.1.0.39-1cb4-dirty → 0.2.0

2018-05-03 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/7986

to look at the new patch set (#2).

Bump version: 0.1.0.39-1cb4-dirty → 0.2.0

Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
---
M configure.ac
M debian/changelog
2 files changed, 62 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/86/7986/2

diff --git a/configure.ac b/configure.ac
index 723c43f..a632a1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,11 +34,11 @@
 
 PKG_CHECK_MODULES(TALLOC, [talloc >= 2.0.1])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.9.5)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.9.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.9.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.3.2)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
 
 PKG_CHECK_MODULES(SQLITE3, sqlite3)
 
diff --git a/debian/changelog b/debian/changelog
index 7d8b208..dce4dd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,60 @@
+osmo-hlr (0.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * vty: skip installing cmds now always installed by default
+  * hlr_db_tool: fix error log strerror invocation
+  * cosmetic: add comment on ignored return value
+  * db-tool: add command 'create'
+  * db-tool: cosmetic: tweak printf output
+  * db-tool: error-exit on too many arguments
+  * add --enable-sanitize config option
+  * db_test: don't verify SQLite issued error messages, they might change
+  * cosmetic: rx_send_auth_info(): decide error cause with switch()
+  * return GMM_CAUSE_IMSI_UNKNOWN if there is no auth data
+  * db_get_auth_data / db_get_auc: clarify return values
+  * osmo-hlr: log details for unknown IMSI / no auth data / db error
+  * db_test: also test db_get_auc() return values
+  * fix test_subscriber_errors.ctrl after libosmocore change
+  * fix debug log: put 'deriving 2G from 3G' in proper place
+  * ctrl test: fix: adjust expectations after stricter ctrl parsing
+  * fix build: db_test: missing LIBOSMOABIS_CFLAGS and _LIBS
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Harald Welte ]
+  * hlr.c: Avoid overflow of lu_operation.subscr.imsi
+  * Fix expected test output after new 'logging print file 1' vty command
+  * osmo-hlr: Add talloc context introspection via VTY
+  * vty: Don't print error if removing auth data while none present
+  * Fix responses to PURGE MS
+
+  [ Alexander Couzens ]
+  * debian: include systemd service osmo-hlr.service
+  * doc: install example .cfg files to $(docdir)/examples/
+  * debian: install osmo-hlr.cfg to /etc/osmocom
+
+  [ Max ]
+  * Remove unused check
+  * Remove unused ipa.py
+  * Enable sanitize for CI tests
+
+  [ Pau Espin Pedrol ]
+  * luop.c: Transform FIXME from warning to pragma message
+  * contrib:jenkins.sh: Enable Werror
+  * use osmo_init_logging2
+  * Remove unused src/db_test.c
+
+  [ Alexander Huemer ]
+  * Add missing build products in .gitignore
+
+  [ Stefan Sperling ]
+  * more robust usage of osmo_timer API for osmo-hlr luop timer
+  * notify GSUP clients when HLR subscriber information changes
+  * rewrite subscriber_update_notify() without calls into luop
+  * don't forget to mark luop as a packet switched connection
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 16:27:13 +0200
+
 osmo-hlr (0.1.0) unstable; urgency=medium
 
   [ Neels Hofmeyr ]

-- 
To view, visit https://gerrit.osmocom.org/7986
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
Gerrit-PatchSet: 2
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


[MERGED] osmo-trx[master]: Bump version: 0.3.0-dirty → 0.4.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.3.0-dirty → 0.4.0
..


Bump version: 0.3.0-dirty → 0.4.0

Change-Id: Ifc469bce89d52012e1f876c847b4535360a602ad
---
M configure.ac
M debian/changelog
2 files changed, 125 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 2b2dab7..5f66225 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,9 +74,9 @@
 AC_HEADER_TIME
 AC_C_BIGENDIAN
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/debian/changelog b/debian/changelog
index ec65036..a9724d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,125 @@
+osmo-trx (0.4.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+
+  [ Harald Welte ]
+  * SocketsTest: Fix printing of non-nul-terminated string
+  * Revert "debian: Remove osmo-trx-usrp1 until we can build libusrp1.deb"
+  * debian/control: Remove "Maintainer" from binary package section
+  * debian/rules: Make sure we always require libusrp
+  * debian: Ensure USRP1 firmware is part of osmo-trx-usrp1
+  * debian/control: Add build dependency to libusrp-dev
+  * update .gitignore for new executable names
+  * osmo-trx: s/GSM Core Address/GSM BTS Address/
+
+  [ Piotr Krysik ]
+  * UHDDevice.cpp: add USRP B205mini support
+
+  [ Max ]
+  * Mark release target as virtual
+  * Remove outdated references to OpenBTS
+  * Remove unused headers
+  * Update installation instructions
+  * Update legal disclaimer
+  * Update license notes
+  * tests: null-terminate buffer
+
+  [ Pau Espin Pedrol ]
+  * cosmetic: Remove trailing whitespace
+  * Logger: Stop using Log.Alarms.Max from config
+  * Logger: Stop using Log.File and Log.Level from config
+  * Drop use of ConfigurationTable gConfig
+  * Remove Configuration module and libsqlite dependency
+  * cosmetic: AUTHORS: fix trailing whitespace
+  * Set up GNU Autotest infrastructure
+  * tests: InterThread: adapt to have reproducible output and enable autotest
+  * tests: Timeval: adapt to have reproducible output and enable autotest
+  * tests: Log: adapt to have reproducible output and enable autotest
+  * Sockets.cpp: Fix initialization of UDD socket
+  * tests: Sockets: adapt to have reproducible output and enable autotest
+  * utils/convolvtest: Remove uneeded libosmocore dependency
+  * Move ARCH_LA to Makefile.common
+  * tests: Migrate convtest util to autotest infrastructure
+  * arm/convert.c: Fix compilation error
+  * arm/convert.c: Add missing convert_init implementation
+  * .gitignore: Add missing test related files
+  * Remove UDDSocket class
+  * tests: SocketTests: Pick OS-assigned instead of setting one manually
+  * tests: SocketsTest: Avoid hang forever if test fails
+  * tests: SocketsTest: Fail test on write fail
+  * tests: TimevalTest: refactor and avoid double comparison
+  * contrib/jenkins.sh: Use qemu+proot+debootstrap to run tests with ARM 
instruction set
+  * tests: convolve: Disable due to difference in output in different archs
+  * Remove unneeded libdl dependency
+  * Fix whitespace
+  * Add support to set Rx/TxAntenna
+  * UHDDevice: Initialize async_event_thrd in constructor
+  * Logger: Drop unused gLogEarly
+  * Logger: Remove unused logging macros
+  * Logger: get rid of alarm APIs
+  * Logger: Drop syslog support
+  * Logger: Drop support to log into file
+  * Logger: Remove unused includes
+  * Logger: Remove gLogToConsole flag
+  * configure.ac: Check for pkg-config
+  * Depend on libosmocore
+  * osmo-trx: set up signals using libosmocore helpers
+  * osmo-trx: Set up talloc ctx
+  * debian: Depend on libtalloc and libosmocore
+  * Add initial support for logging, vty, ctrl
+  * Logger: Use libosmocore logging system
+  * osmo-trx.cpp: Move trx start and stop to helper functions
+  * Move enums required by VTY to a separate header
+  * vty: Implement VTY cfg parsing for current parameters
+  * doc: Add sample cfg file for LimeSDR
+  * osmo-trx: Use VTY cfg structures while still allowing cmd line options
+  * osmo-trx: Re-introduce -l cmd line parameter
+  * Makefile.am: Avoid using subdir if arch is not required
+  * Build Transceiver52M/common as an .la lib
+  * use osmo_init_logging2()
+  * tests: Makefile.am: Fix typo in include path
+  * configure.ac: Add --enable-sanitize option
+  * Move arch specific fiels to arch subdir
+  * Move device specific files to device subdir
+  * Change configure define USRP1 to DEVICE_USRP1
+  * Move device 

[MERGED] osmo-pcu[master]: Bump version: 0.4.0.115-513c-dirty → 0.5.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.4.0.115-513c-dirty → 0.5.0
..


Bump version: 0.4.0.115-513c-dirty → 0.5.0

Change-Id: I6ce6fb40690a66b0980eba4fa03b47da2f59ee6e
---
M configure.ac
M debian/changelog
2 files changed, 137 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 6365fcb..86b4ee1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,10 +73,10 @@
 fi
 
 dnl checks for libraries
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore  >= 0.10.1)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.3)
-PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.5.1.4)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.11.0)
 
 AC_MSG_CHECKING([whether to enable direct DSP access for PDCH of sysmocom-bts])
 AC_ARG_ENABLE(sysmocom-dsp,
diff --git a/debian/changelog b/debian/changelog
index 4caccc8..8ece776 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,136 @@
+osmo-pcu (0.5.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * implement support for 3-digit MNC with leading zeros
+  * configure: add --enable-werror
+  * mslot_class: find_free_tfi(): use uint32_t to shift 1 << 31
+  * mslot_class: two more: use uint32_t to shift 1 << 31
+  * Revert "Use Timing Advance Index in UL assignments"
+  * Revert "Rewrite Packet Uplink Assignment"
+  * Revert "Rewrite Packet Downlink Assignment"
+  * configure: fix --enable-sysmocom-dsp and --with-sysmobts flags
+  * configure: properly quote CFLAGS in lc15 check
+  * Revert "Rewrite EGPRS Packet Uplink Assignment"
+  * use osmo_init_logging2() with proper talloc ctx
+
+  [ Minh-Quang Nguyen ]
+  * PCU: Fix TA adjustment
+  * PCU: display TA information in TBF stats
+
+  [ Max ]
+  * Remove unused parameter
+  * Move multislot table to separate file
+  * Replace '.' in counter names with ':'
+  * Fix compiler warning
+  * TBF: log timer override
+  * TBF: fix compiler warning in test
+  * TBF: expand timer logging
+  * vty: print class and TBFs for each MS
+  * DL window: constify resend_needed() function
+  * TBF: move EGPRS enablement into (U|D)L-TBF
+  * TBF-DL: fix misleading idle time check
+  * TBF: remove unused variable
+  * Remove unused includes and forward declarations
+  * Fix tests after rate_ctr change
+  * Introduce LOGTBF* for consistent logging
+  * TBF: implement independent T31xx timers
+  * TBF: add N3101 counter
+  * Fix warnings
+  * Add function to get max supported MS class
+  * Add --enable-sanitize configure option
+  * Enable sanitize for CI test
+  * Add tests for pcu_lsb()
+  * Add optional profiling support
+  * TBF: unify timer handling
+  * TBF: log timer invocation source
+  * TBF: bail out for unknown timers
+  * Fix llc_queue_size() type
+  * TBF-DL: mark rcvd_dl_ack() parameters as boolean
+  * window: move encoding into functions
+  * cosmetic: clarify coding scheme and puncturing
+  * Make TBF state private
+  * TBF: cleanup state flag handling
+  * Clarify RACH-related interfaces
+  * TBF-UL: add simpler test helper
+  * Avoid code duplication in TBF test
+  * TBF: move window parameters to UL/DL level
+  * TBF-DL: move priority computation into function
+  * TBF: unify EGPRS window calculation
+  * Don't access TBF internals in vty functions
+  * Fix jenkins.sh to match jenkins job axis filter
+  * Allocate global context for TypesTest
+  * Fix sanitizer build
+  * Rewrite EGPRS Packet Uplink Assignment
+  * Rewrite Packet Downlink Assignment
+  * Rewrite Packet Uplink Assignment
+  * Use Timing Advance Index in UL assignments
+  * Allow specifying sysmocom headers explicitly
+  * TBF: log source of state transitions
+  * jenkins.sh: Disable building doxygen for deps
+  * Set V_N and V_B to known initial state
+  * TBF: add dedicated log categories
+  * TBF: make UL/DL state internal
+  * TBF: make UL ack state internal
+  * TBF: make poll state internal
+  * TBF: adjust test log levels
+  * Add tests for find_multi_slots()
+  * AllocTest: adjust test_alloc_b()
+  * AllocTest: expand test output
+  * AllocTest: remove assumption on max MS class
+  * Add multislot classes from latest spec
+  * cosmetic: fix whitespace issue with include files
+  * TBF: decrease L1 logging verbosity in test
+  * TBF: override send function via linker option
+  * Simplify TS alloc: adjust allocator signatures
+  * Simplify TS alloc: fix allocation calls
+  * Simplify TS alloc: avoid TS reassignment
+  * Simplify TS alloc: use defines for constants
+  * Simplify TS alloc: adjust function signatures
+  

[PATCH] libosmo-sccp[master]: Bump version: 0.8.1.43-7e34-dirty → 0.9.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8004

Bump version: 0.8.1.43-7e34-dirty → 0.9.0

Change-Id: Ie3d11408f35509138475e7edde285e1bf5bef8e0
---
M configure.ac
M debian/changelog
M src/Makefile.am
3 files changed, 62 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/04/8004/1

diff --git a/configure.ac b/configure.ac
index a73bc82..d2d4d02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,10 +29,10 @@
 fi
 PKG_PROG_PKG_CONFIG([0.20])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
 
 old_LIBS=$LIBS
 AC_SEARCH_LIBS([sctp_send], [sctp], [
diff --git a/debian/changelog b/debian/changelog
index 64e18fb..9d582a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,60 @@
+libosmo-sccp (0.9.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * add osmo_sccp_inst_addr_name(), a variant of osmo_sccp_addr_name()
+  * sccp vty: be fatal for addressbook entry errors
+  * add --enable-sanitize config option
+  * sccp_test: sanitize: fix msgb mem leaks
+  * sccp_test: sanitize: don't memcmp NULL pointers
+  * xua_test: sanitize: fix msgb leak
+  * osmo_sccp_addr_name / _dump: drop 'NO_GT' output
+  * typo: osmo-stp main: 'Erro'
+  * add osmo_sccp_user_name()
+  * add osmo_ss7_route_name()
+  * cosmetic: hmrt_message_for_routing(): use osmo_ss7_route_name()
+  * error log: sccp_scoc.c: log failure to create/resolve conn_id
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Max ]
+  * Fix typo in .deb dependency
+  * Enable sanitize for CI tests
+  * SS7: clarify handling of stream opening error
+
+  [ Harald Welte ]
+  * xua: Write 'local-ip' only if non-NULL
+  * vty: Make sure 'point-code override dpc' is saved with correct indent
+  * ipa: Fix setting of OPC/DPC based on routing-context + override
+  * ipa: Fix endianness of pseud-M3UA header
+  * initialize msg->l2h in sccp_msgb_alloc()
+  * ipa: Patch DPC/OPC information into SCCP Calling/Called Party Address
+  * ipa: Automatically create / destroy route on IPA connect/disconnect
+  * osmo-stp: Align prompt formatting with other Osmocom programs
+  * STP: Add osmoappdesc.py
+  * debian/copyright: Fix upstream-name
+  * Add SPDX-License-Identifier + missing copyright statements
+  * Add "show cs7 (m3ua}sua}ipa)" command to show xUA servers
+  * xua_as[p]_fsm: Use osmo_timer_del() on FSM cleanup
+  * sccp_helpers: don't return msgb with l2h set
+  * Allocate SCCP user primitives with headroom
+  * sccp_types.h: Fix value for SCCP_REFUSAL_UNEQUIPPED_USER
+  * debian/control: Fix Vcs-Browser
+  * ipa_asp_fsm: Prevent against integer underflow
+
+  [ Pau Espin Pedrol ]
+  * ss7_vty: Fix out-of-bounds access in 'as' cmd
+  * contrib/test: Fix config of local/remote ports
+  * ss7: Re-bind xUA server socket after setting new IP
+  * contrib: jenkins.sh: Disable doxygen in libosmocore build
+  * use osmo_init_logging2
+
+  [ Martin Hauke ]
+  * build: AC_PROG_LIBTOOL is the same as LT_INIT
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 17:08:07 +0200
+
 libosmo-sccp (0.8.1) unstable; urgency=medium
 
   * New upstream 0.8.1 release.
diff --git a/src/Makefile.am b/src/Makefile.am
index 1001d19..3af23d1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,7 @@
 # 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_sigtran_la_SOURCES = sccp_sap.c sua.c m3ua.c xua_msg.c sccp_helpers.c \
 sccp2sua.c sccp_scrc.c sccp_sclc.c sccp_scoc.c \

-- 
To view, visit https://gerrit.osmocom.org/8004
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3d11408f35509138475e7edde285e1bf5bef8e0
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[MERGED] libosmo-netif[master]: Bump version: 0.1.1.38-ef190-dirty → 0.2.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.1.1.38-ef190-dirty → 0.2.0
..


Bump version: 0.1.1.38-ef190-dirty → 0.2.0

Change-Id: Ic8a9e44b2f930fed024040777eab58699fdcaadc
---
M configure.ac
M debian/changelog
M src/Makefile.am
3 files changed, 58 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 8fb338a..a04390c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,10 +82,10 @@
 dnl Generate the output
 AM_CONFIG_HEADER(config.h)
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
 dnl FIXME: We depend on libosmoabis by now until we can move LAPD code here
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.0.7)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
 
 old_LIBS=$LIBS
 AC_SEARCH_LIBS([sctp_send], [sctp], [
diff --git a/debian/changelog b/debian/changelog
index 8958b90..aa8e1fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,57 @@
+libosmo-netif (0.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * add --enable-sanitize config option
+  * gitignore: vim swp files
+  * osmo_stream_{cli,srv}_destroy: fix mem leak: empty msgb queue
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Harald Welte ]
+  * debian/control: Fix upstream-name
+  * debian/copyright: There are no AGPL licensed files left
+  * src/rs232.c: Fix accidential reference to GPLv3+ instead of GPLv2+
+  * Add SPDX-License-Identifier + Copyright statements
+  * debian/control: Fix Vcs-Browser
+  * osmux: Fix use of uninitialized memory in osmux_out_handle
+
+  [ Pau Espin Pedrol ]
+  * stream: Avoid re-creating and leaking socket when unneeded
+  * contrib: jenkins.sh: Disable building doxygen for deps
+  * test: osmo-pcap-test: Fix clock drift while replaying pcap file
+  * osmux: Use correct log category DLMUX
+  * stream.c: osmo_stream_cli_open2: Remove wrong assumption in reconnect 
decision
+  * tests: osmo-pcap-test: Fix pcap includes not found in old versions
+  * osmux: osmux_xfrm_output_pull: Improve checks and log of malformed packets
+  * jibuf: Add initial implementation of Jitter Buffer
+  * tests: jibuf_tool: Initial commit
+  * tests: jibuf_tool: Improve jibuf_test to read pcaps
+  * tests: jibuf_tool: Add OSMUX support
+  * tests: jibuf_tool: Add parameters to control size of buffer
+  * jibuf: Take RTP marker into account
+  * jibuf: re-sync clock out of sync timestamps
+  * tests: jibuf_tool: Add seq.plt
+  * jibuf: Estimate src clock skew
+  * tests: use osmo_init_logging2
+  * Build jibuf_tool based on libpcap availability
+  * examples: use osmo_init_logging2
+  * osmux: Add new API osmux_xfrm_output_sched to fix rtp generation issues
+  * tests: Add osmux2 testsuite
+  * osmux: Set Marker bit on osmux frame loss detected
+  * osmux: Move examples and tests to use new output APIs
+
+  [ Max ]
+  * Enable sanitize for CI tests
+
+  [ Stefan Sperling ]
+  * add support for flushing and destroying a server-side stream
+
+  [ Alexey ]
+  * Update README.md
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 16:55:21 +0200
+
 libosmo-netif (0.1.1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/src/Makefile.am b/src/Makefile.am
index 79e3685..9dc5e46 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 # 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=4:0:0
+LIBVERSION=5:0:1
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)
 AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOABIS_CFLAGS) 
$(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS)

-- 
To view, visit https://gerrit.osmocom.org/8002
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8a9e44b2f930fed024040777eab58699fdcaadc
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] osmo-bsc[master]: resurrect meas_feed.c: make it compile, add logging

2018-05-03 Thread Neels Hofmeyr

Review at  https://gerrit.osmocom.org/7994

resurrect meas_feed.c: make it compile, add logging

Change-Id: I34ac25bcc460e87e813090b6d7c5085cffa2d78f
---
M src/libbsc/Makefile.am
M src/libbsc/meas_feed.c
2 files changed, 34 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/94/7994/1

diff --git a/src/libbsc/Makefile.am b/src/libbsc/Makefile.am
index 8956363..744278b 100644
--- a/src/libbsc/Makefile.am
+++ b/src/libbsc/Makefile.am
@@ -64,5 +64,6 @@
penalty_timers.c \
handover_decision_2.c \
bsc_subscr_conn_fsm.c \
+   meas_feed.c \
$(NULL)
 
diff --git a/src/libbsc/meas_feed.c b/src/libbsc/meas_feed.c
index 1e7b4cd..2e80754 100644
--- a/src/libbsc/meas_feed.c
+++ b/src/libbsc/meas_feed.c
@@ -13,14 +13,12 @@
 #include 
 #include 
 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include "meas_feed.h"
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
 
 struct meas_feed_state {
struct osmo_wqueue wqueue;
@@ -29,20 +27,25 @@
uint16_t dst_port;
 };
 
-
-static struct meas_feed_state g_mfs;
+static struct meas_feed_state g_mfs = {};
 
 static int process_meas_rep(struct gsm_meas_rep *mr)
 {
struct msgb *msg;
struct meas_feed_meas *mfm;
-   struct vlr_subscr *vsub;
+   struct bsc_subscr *bsub;
 
/* ignore measurements as long as we don't know who it is */
-   if (!mr->lchan || !mr->lchan->conn || !mr->lchan->conn->vsub)
+   if (!mr->lchan) {
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed: no lchan, not sending 
report\n");
return 0;
+   }
+   if (!mr->lchan->conn) {
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed: lchan without conn, not 
sending report\n");
+   return 0;
+   }
 
-   vsub = mr->lchan->conn->vsub;
+   bsub = mr->lchan->conn->bsub;
 
msg = msgb_alloc(sizeof(struct meas_feed_meas), "Meas. Feed");
if (!msg)
@@ -54,8 +57,16 @@
mfm->hdr.version = MEAS_FEED_VERSION;
 
/* fill in MEAS_FEED_MEAS specific header */
-   osmo_strlcpy(mfm->imsi, vsub->imsi, sizeof(mfm->imsi));
-   osmo_strlcpy(mfm->name, vsub->name, sizeof(mfm->name));
+   if (bsub)
+   osmo_strlcpy(mfm->imsi, bsub->imsi, sizeof(mfm->imsi));
+   /* This used to be a human readable meaningful name set in the old 
osmo-nitb's subscriber
+* database. Now we're several layers away from that (and possibly 
don't even have a name in
+* osmo-hlr either), hence this is a legacy item now that we should 
leave empty ... *but*:
+* here in the BSC we often don't know the subscriber's full identity 
information. For example,
+* we might only know the TMSI, and hence would pass an empty IMSI 
above. So after all, feed
+* bsc_subscr_name(), which possibly will feed the IMSI again, but in 
case only the TMSI is known
+* would add that to the information set as "TMSI:0x12345678". */
+   osmo_strlcpy(mfm->name, bsc_subscr_name(bsub), sizeof(mfm->name));
osmo_strlcpy(mfm->scenario, g_mfs.scenario, sizeof(mfm->scenario));
 
/* copy the entire measurement report */
@@ -71,8 +82,13 @@
mfm->ss_nr = mr->lchan->nr;
 
/* and send it to the socket */
-   if (osmo_wqueue_enqueue(_mfs.wqueue, msg) != 0)
+   if (osmo_wqueue_enqueue(_mfs.wqueue, msg) != 0) {
+   LOGP(DMEAS, LOGL_ERROR, "meas_feed %s: sending measurement 
report failed\n",
+gsm_lchan_name(mr->lchan));
msgb_free(msg);
+   } else
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed %s: sent measurement 
report\n",
+gsm_lchan_name(mr->lchan));
 
return 0;
 }
@@ -126,6 +142,7 @@
g_mfs.wqueue.write_cb = feed_write_cb;
g_mfs.wqueue.read_cb = feed_read_cb;
osmo_signal_register_handler(SS_LCHAN, meas_feed_sig_cb, NULL);
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed: registered signal 
callback\n");
}
 
if (already_initialized) {

-- 
To view, visit https://gerrit.osmocom.org/7994
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I34ac25bcc460e87e813090b6d7c5085cffa2d78f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 


[PATCH] osmo-bsc[master]: bsc_api.c: actually log with context

2018-05-03 Thread Neels Hofmeyr

Review at  https://gerrit.osmocom.org/7996

bsc_api.c: actually log with context

bsc_api.c notoriously lacks log context. Provide gsm_lchan_name() and/or
bsc_subscr_name() in roughly a million instances, using new LOGPLCHAN macro.

Change-Id: If469defcc6fe8950dac5df61db3f39d297893318
---
M src/libbsc/bsc_api.c
1 file changed, 57 insertions(+), 43 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/96/7996/1

diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c
index 142efef..f126bd4 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -44,6 +44,13 @@
 #define HO_DTAP_CACHE_MSGB_CB_LINK_ID 0
 #define HO_DTAP_CACHE_MSGB_CB_ALLOW_SACCH 1
 
+#define LOGPLCHAN(lchan, ss, level, fmt, args...) \
+   LOGP(ss, level, "%s%s (%s) " fmt, \
+lchan ? gsm_lchan_name(lchan) : "-", \
+lchan ? gsm_lchant_name(lchan->type) : "", \
+bsc_subscr_name(lchan && lchan->conn ? lchan->conn->bsub : NULL), \
+## args)
+
 static void rll_ind_cb(struct gsm_lchan *, uint8_t, void *, enum bsc_rllr_ind);
 static void send_sapi_reject(struct gsm_subscriber_connection *conn, int 
link_id);
 static void handle_release(struct gsm_subscriber_connection *conn, struct 
bsc_api *bsc, struct  gsm_lchan *lchan);
@@ -117,17 +124,17 @@
new_lchan = lchan_alloc(conn_get_bts(conn), chan_type, 0);
 
if (!new_lchan) {
-   LOGP(DMSC, LOGL_NOTICE, "No free channel.\n");
+   LOGP(DMSC, LOGL_NOTICE, "%s No free channel for %s\n",
+bsc_subscr_name(conn->bsub), gsm_lchant_name(chan_type));
return -1;
}
 
/* check if we are on TCH/F and requested TCH/H, but got TCH/F */
if (conn->lchan->type == new_lchan->type
&& chan_type != new_lchan->type) {
-   LOGP(DHO, LOGL_NOTICE, "%s -> %s Will not re-assign to 
identical channel type,"
-" %s was requested\n",
-gsm_lchan_name(conn->lchan), gsm_lchan_name(new_lchan),
-gsm_lchant_name(chan_type));
+   LOGPLCHAN(conn->lchan, DHO, LOGL_NOTICE,
+ "-> %s Will not re-assign to identical channel type, 
%s was requested\n",
+ gsm_lchan_name(new_lchan), 
gsm_lchant_name(chan_type));
lchan_free(new_lchan);
return -1;
}
@@ -148,7 +155,7 @@
handle_mr_config(conn, new_lchan, full_rate);
 
if (rsl_chan_activate_lchan(new_lchan, 0x1, 0) < 0) {
-   LOGP(DHO, LOGL_ERROR, "could not activate channel\n");
+   LOGPLCHAN(new_lchan, DHO, LOGL_ERROR, "could not activate 
channel\n");
lchan_free(new_lchan);
return -1;
}
@@ -219,7 +226,8 @@
 
if (!conn->lchan) {
LOGP(DMSC, LOGL_ERROR,
-"Called submit dtap without an lchan.\n");
+"%s Called submit dtap without an lchan.\n",
+bsc_subscr_name(conn->bsub));
msgb_free(msg);
return -1;
}
@@ -316,11 +324,9 @@
if (chan_mode == GSM48_CMODE_SPEECH_AMR)
handle_mr_config(conn, conn->lchan, full_rate);
 
-   LOGP(DMSC, LOGL_NOTICE,
-"Sending %s ChanModify for speech: %s on channel %s\n",
-gsm_lchan_name(conn->lchan),
-get_value_string(gsm48_chan_mode_names, chan_mode),
-get_value_string(gsm_chan_t_names, conn->lchan->type));
+   LOGPLCHAN(conn->lchan, DMSC, LOGL_NOTICE,
+ "Sending ChanModify for speech: %s\n",
+ get_value_string(gsm48_chan_mode_names, chan_mode));
gsm48_lchan_modify(conn->lchan, chan_mode);
}
 
@@ -348,8 +354,8 @@
struct lchan_signal_data sig;
struct gsm48_hdr *gh = msgb_l3(msg);
 
-   DEBUGP(DRR, "ASSIGNMENT COMPLETE cause = %s\n",
-   rr_cause_name(gh->data[0]));
+   LOGPLCHAN(msg->lchan, DRR, LOGL_DEBUG, "ASSIGNMENT COMPLETE 
cause = %s\n",
+ rr_cause_name(gh->data[0]));
 
sig.lchan = msg->lchan;
sig.mr = NULL;
@@ -363,14 +369,15 @@
}
 
if (conn->secondary_lchan != msg->lchan) {
-   LOGP(DMSC, LOGL_ERROR, "Assignment Compl should occur on second 
lchan.\n");
+   LOGPLCHAN(msg->lchan, DMSC, LOGL_ERROR,
+ "Assignment Compl should occur on second lchan.\n");
return;
}
 
gh = msgb_l3(msg);
if (msgb_l3len(msg) - sizeof(*gh) != 1) {
-   LOGP(DMSC, LOGL_ERROR, "Assignment Compl invalid: %zu\n",
-msgb_l3len(msg) - sizeof(*gh));
+   LOGPLCHAN(msg->lchan, DMSC, LOGL_ERROR, "Assignment Compl 
invalid: %zu\n",
+

[PATCH] libosmocore[master]: Bump version: 0.10.2.284-bc47-dirty → 0.11.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8001

Bump version: 0.10.2.284-bc47-dirty → 0.11.0

Remark: For libosmogb and libosmogsm, LIBVERSION was
already bumped in c4fce1425e19d604c199c895e227dc2519110456.

Change-Id: Ib4fa53a9bb9954ae48d0a610ba9a81dd8e8b4ef6
---
M TODO-RELEASE
M debian/changelog
M debian/control
R debian/libosmocore10.install
M src/Makefile.am
M src/codec/Makefile.am
M src/coding/Makefile.am
M src/ctrl/Makefile.am
M src/sim/Makefile.am
M src/vty/Makefile.am
10 files changed, 333 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/01/8001/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index 146ab33..8ccfa49 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,9 +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   whatdescription / commit summary line
-core   msgb_queue_free()   add inline func to msgb.h
-coding gsm0503_rach_ext-encode()   add func to gsm0503_coding.h
-codec  ecu.c / ecu.h   implement ECU for FR (Error 
Concealment Unit)
-fsmfsmc / fsm.hadded callback for graceful 
exit => ABI changed
-gsmgsm0480.c / gsm0480.h   the 'ss_request' struct 
extended with ussd_data,
-   ussd_data_len, and 
ussd_data_dcs => ABI changed
diff --git a/debian/changelog b/debian/changelog
index 3ce3fad..393ea17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,326 @@
+libosmocore (0.11.0) unstable; urgency=medium
+
+  [ Max ]
+  * Enable GnuTLS fallback
+  * Ctrl: add rate counter group introspection
+  * ctrl: log incorrect interval values
+  * Improve get_rate_ctr() error handling
+  * ctrl: make response easier to parse
+  * coding test: cosmetic cleanup
+  * coding test: enable debug output
+  * coding test: move bit dump into functions
+  * coding test: use OSMO_ASSERT
+  * Fix embedded build
+  * embedded: fix tests
+  * Embedded: fix sercomm test
+  * Add functions for extended RACH coding
+  * Do not allocate already existing counter group
+  * Fix incorrect spec reference
+  * Use 127.0.0.1 for GSMTAP logging by default
+  * coding: move eB adjustement to appropriate place
+  * Add function to properly encode RAI
+  * Use existing function for TLLI encoding
+  * log: print loginfo assertions source
+  * Allow multiple 'log gsmtap' sinks
+  * Deprecate gsm48_construct_ra()
+  * Log lapd_datalink state on errors
+  * jenkins: add dispatcher script
+  * Embedded: disable stats test
+  * Embedded: add sercomm stubs
+  * GSUP: don't fail test on first error
+  * jenkins: remove obsolete scripts
+  * jenkins: move make invocation into shared function
+  * utils: add helper wrapper for osmo_strlcpy()
+  * GSUP: change osmo_gsup_encode() return type
+  * Use python 3 for utilities
+  * Add test for gsm48_generate_mid_from_imsi()
+  * Add generic Mobile Identity encoder
+  * Add function to encode classmark
+
+  [ Niro Mahasinghe ]
+  * gsm0503_coding.c: Fix tch_efr_unreorder() of one bit
+  * gsm0503_coding.c: Use majority vote in tch_efr_unreorder()
+
+  [ Harald Welte ]
+  * debian: build now depends on libgnutls
+  * Fix/Update copyright notices; Add SPDX annotation
+  * Print /proc/cpuinfo before executing testsuite
+  * conv_acc: Our code requires SSSE3, not just SSE3
+  * ports.h: Use same VTY port number for osmo-mgw and osmo-bsc_mgcp
+  * gsmtap.h: Introduce new GSMTAP type for LTE NAS messages
+  * gsm0808_create_cipher_reject: Fix encoding of Cause IE
+  * rate_ctr: print proper error message if rate_ctr already exists
+  * timer: fixup whitespace issues
+  * control_if: Close control connection socket/fd on read/write == 0
+  * control_if: Log the disconnect of a CTRL client
+  * CTRL: Ensure peer/connection info is always printed the same way
+  * MNCC: Add MNCC to string dumper
+  * gsm48_pdisc_names: Use conscise, short names
+  * SMS: Add value_string for TS 04.11 CP and RP state
+  * gsm_04_08.h: Clearly annotate timers that don't have a 3GPP Default value
+  * gsm_04_08.h: Reduce T310 default to 30s.
+  * gsm48_hdr_msg_type[_r99]: Fix bit-masks
+  * gsm48_hdr_msg_type(): SS is in the same group as MM/CC
+  * tlv_parser: Report *first* occurrence of repeated IEs
+  * msgb: Add msgb_hexdump_{l2,l3}() to dump l2 or l3 part of message buffer
+  * Revert "Use python 3 for utilities"
+  * Revert "fsm: do not terminate child FSMs early"
+  * osmo_msgbdump_{l2,l3}(): Proper typecast
+  * debian/control: Fix Vcs-Browser URL
+  * Add GSM 04.08 type-of-number / numbering-plan-id definitions
+  * talloc_ctx_vty: Fix help strings (missing \n at end of line)
+  * Revert "Add function to encode classmark"
+  * rate_ctr: Add rate_ctr_inc2() as convenience wrapper
+  * coding: Add BER-reporting RACH decode functions
+  * l1sap: Add RSSI, BER and 

[ABANDON] libosmocore[master]: Bump version: 0.10.2.282-f8ca-dirty → 0.11.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has abandoned this change.

Change subject: Bump version: 0.10.2.282-f8ca-dirty → 0.11.0
..


Abandoned

-- 
To view, visit https://gerrit.osmocom.org/7977
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I22d6be1427b126edcd43ae0ae70fd9696108184b
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


[PATCH] libosmocore[master]: osmo-release.sh: Allow user to add extra information to the ...

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/7998

osmo-release.sh: Allow user to add extra information to the release commit

Change-Id: Ie25d921dd27fb7653bd616cb2912330964108663
---
M osmo-release.sh
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/98/7998/1

diff --git a/osmo-release.sh b/osmo-release.sh
index 3b50ded..86b41d8 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -43,5 +43,6 @@
 dch -r -m --distribution "unstable" ""
 git add debian/changelog
 bumpversion --current-version $VERSION $REL --tag --commit --tag-name $NEW_VER 
--allow-dirty
+git commit --amend # let the user add extra information to the release commit.
 git tag -s $NEW_VER -f -m "Release v$NEW_VER on $ISODATE."
 echo "Release $NEW_VER prepared, tagged and signed."

-- 
To view, visit https://gerrit.osmocom.org/7998
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie25d921dd27fb7653bd616cb2912330964108663
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libosmocore[master]: debian/changelog: Fix typo in maintainer e-mail

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8000

debian/changelog: Fix typo in maintainer e-mail

Change-Id: I74bef283090fd7601491c9fef9637f845853d032
---
M debian/changelog
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/00/8000/1

diff --git a/debian/changelog b/debian/changelog
index a50e30b..3ce3fad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,20 +3,20 @@
   * Revert "vty: Fix bad use of vector_slot()"
   * New upstream release of libosmocore
 
- -- Harald Welte   Thu, 02 Nov 2017 18:51:02 +0100
+ -- Harald Welte   Thu, 02 Nov 2017 18:51:02 +0100
 
 libosmocore (0.10.1) unstable; urgency=medium
 
   * New upstream release of libosmocore
 
- -- Harald Welte   Sun, 29 Oct 2017 10:46:47 +0100
+ -- Harald Welte   Sun, 29 Oct 2017 10:46:47 +0100
 
 libosmocore (0.10.0+nmu1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
   * New upstream release of libosmocore
 
- -- Harald Welte   Fri, 27 Oct 2017 19:45:00 +0200
+ -- Harald Welte   Fri, 27 Oct 2017 19:45:00 +0200
 
 libosmocore (0.9.6) unstable; urgency=medium
 
@@ -148,7 +148,7 @@
 
 libosmocore (0.5.3+git1-2) unstable; urgency=low
 
-  * New upstream version 
+  * New upstream version
 
  -- Holger Hans Peter Freyther   Mon, 05 Nov 2012 21:35:57 
+0100
 

-- 
To view, visit https://gerrit.osmocom.org/8000
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74bef283090fd7601491c9fef9637f845853d032
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libosmocore[master]: osmo-release.sh: Always generate entire commit changelog

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/7997

osmo-release.sh: Always generate entire commit changelog

Before this commit, for library projects (containing LIBVERSION in some
Makefile), the entire commit list was not stored into the changelog, but
only a few lines from TODO-RELEASE files.

This is a bad approach for several reasons. First, because that file was
only aimed at containing API/ABI breaks, and not the full relevant
changeset (like bugfixes, new features, etc.). Second, because it relies
on every developer making API/ABI changes to remember to store the
change in there during commit break time.

Let's instead always store the entire commit list in changelog, and
let's use TODO-RELEASE only as a list of hints for the maintainer to
help him evaluate how LIBVERSION needs to be bumped for each library.
Other tools such as osmo-abi-check.git can be used to help with the
process of decission too.

Let's take the opportunity too to only commit stuff already added to the
staging area, as it proved easier to manage from my personal experinece
making latest releases.

Change-Id: Ibf662173ce2b4ff3966e9ad5f56c65dfb13607ff
---
M TODO-RELEASE
M osmo-release.sh
2 files changed, 13 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/97/7997/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index 16496d6..146ab33 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -1,6 +1,6 @@
 # When cleaning up this file: bump API version in corresponding Makefile.am 
and rename corresponding debian/lib*.install
-# according to 
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
-# In short:
+# according to 
https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
+# In short: 
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
 # LIBVERSION=c:r:a
 # If the library source code has changed at all since the last update, then 
increment revision: c:r + 1:a.
 # If any interfaces have been added, removed, or changed since the last 
update: c + 1:0:0.
diff --git a/osmo-release.sh b/osmo-release.sh
index 0e85023..3b50ded 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -11,7 +11,7 @@
 
 NEW_VER=`bumpversion --list --current-version $VERSION $REL --allow-dirty | 
awk -F '=' '{ print $2 }'`
 LIBVERS=`git grep -n LIBVERSION | grep  '=' | grep am | grep -v LDFLAGS`
-MAKEMOD=`git diff -GLIBVERSION --stat | grep Makefile.am`
+MAKEMOD=`git diff --cached -GLIBVERSION --stat | grep Makefile.am`
 ISODATE=`date -I`
 
 if [ "z$BUMPVER" = "z" ]; then
@@ -26,28 +26,22 @@
 
 echo "Releasing $VERSION -> $NEW_VER..."
 
-if [ "z$LIBVERS" = "z" ]; then
-   gbp dch --debian-tag='%(version)s' --auto --meta --git-author 
--multimaint-merge --ignore-branch --new-version="$NEW_VER"
-else
-   echo "You should NOT be doing this unless you've read and understood 
following article:"
-   echo 
"https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info;
-   grep -v '#' TODO-RELEASE | sed 's/\t\+/: /g' > TODO-RELEASE.entries
-   if [ "$(wc -l /dev/null)" -eq "0" ]; then
-   rm TODO-RELEASE.entries
-   echo "TODO-RELEASE must contain at least one line with change 
descriptions"
-   exit 1
-   fi
-   grep '#' TODO-RELEASE > TODO-RELEASE.clean
-   mv TODO-RELEASE.clean TODO-RELEASE
+if [ "z$LIBVERS" != "z" ]; then
if [ "z$MAKEMOD" = "z" ]; then
echo "Before releasing, please modify some of the libversions: 
$LIBVERS"
+   echo "You should NOT be doing this unless you've read and 
understood following article:"
+   echo 
"https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info;
exit 1
fi
-   xargs -a TODO-RELEASE.entries -r -d'\n' -I entry dch -m -v $NEW_VER 
"entry"
-   rm TODO-RELEASE.entries
+   if [ -f "TODO-RELEASE" ]; then
+   grep '#' TODO-RELEASE > TODO-RELEASE.clean
+   mv TODO-RELEASE.clean TODO-RELEASE
+   git add TODO-RELEASE
+   fi
 fi
+gbp dch --debian-tag='%(version)s' --auto --meta --git-author 
--multimaint-merge --ignore-branch --new-version="$NEW_VER"
 dch -r -m --distribution "unstable" ""
-git add -u
+git add debian/changelog
 bumpversion --current-version $VERSION $REL --tag --commit --tag-name $NEW_VER 
--allow-dirty
 git tag -s $NEW_VER -f -m "Release v$NEW_VER on $ISODATE."
 echo "Release $NEW_VER prepared, tagged and signed."

-- 
To view, visit https://gerrit.osmocom.org/7997
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf662173ce2b4ff3966e9ad5f56c65dfb13607ff
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libosmocore[master]: debian: libosmoctrl: Use correct library version in pkg name

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/7999

debian: libosmoctrl: Use correct library version in pkg name

The number used in debian packaging is actually current-age, which is
still 0 in this case after it was bumped a while ago.

As a result, we had a libosmoctrl1_*.deb package installing a
libosmoctrl.so.0 file.

Fixes: OS#3175

Change-Id: I771f6c68570bc3b2bab68e1165c7284fd43e904d
---
M debian/control
R debian/libosmoctrl0.install
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/99/7999/1

diff --git a/debian/control b/debian/control
index d911f32..29dbd16 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,7 @@
  libosmogb6 (= ${binary:Version}),
  libosmogsm9 (= ${binary:Version}),
  libosmovty4 (= ${binary:Version}),
- libosmoctrl1 (= ${binary:Version}),
+ libosmoctrl0 (= ${binary:Version}),
  libosmosim0 (= ${binary:Version}),
  ${misc:Depends}
 Description: Open Source MObile COMmunications CORE library (metapackage)
@@ -245,7 +245,7 @@
  .
  This package contains the documentation for the libosmovty library.
 
-Package: libosmoctrl1
+Package: libosmoctrl0
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -259,7 +259,7 @@
  (at least) other programs that are developed in the sphere of Free Software /
  Open Source mobile communication.
  .
- The libosmoctrl1 library in particular contains an SNMP-like status interface.
+ The libosmoctrl library in particular contains an SNMP-like status interface.
 
 Package: libosmosim0
 Section: libs
diff --git a/debian/libosmoctrl1.install b/debian/libosmoctrl0.install
similarity index 100%
rename from debian/libosmoctrl1.install
rename to debian/libosmoctrl0.install

-- 
To view, visit https://gerrit.osmocom.org/7999
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I771f6c68570bc3b2bab68e1165c7284fd43e904d
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libosmo-abis[master]: Bump version: 0.4.0.21-60fd-dirty → 0.5.0

2018-05-03 Thread Pau Espin Pedrol
Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/7982

to look at the new patch set (#2).

Bump version: 0.4.0.21-60fd-dirty → 0.5.0

libosmotrau library version in debian package was wrong, fix it while
releasing.

Change-Id: I399618c7353a4150e3d571758b522dd2e9d9724f
---
M TODO-RELEASE
M configure.ac
M debian/changelog
M debian/control
R debian/libosmotrau2.install
M src/Makefile.am
6 files changed, 45 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/82/7982/2

diff --git a/TODO-RELEASE b/TODO-RELEASE
index b02e1eb..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   whatdescription / commit summary line
-libosmotrauadditionNew osmo_rtp_set_source_desc() wrapper around 
libortp
diff --git a/configure.ac b/configure.ac
index 05fbb12..0aca550 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,9 +59,9 @@
 dnl Generate the output
 AM_CONFIG_HEADER(config.h)
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.10)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
 PKG_CHECK_MODULES(ORTP, ortp >= 0.22.0)
 
 AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be 
built))
diff --git a/debian/changelog b/debian/changelog
index 13c0996..4c48e6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,40 @@
+libosmo-abis (0.5.0) unstable; urgency=medium
+
+  [ Max ]
+  * Use value string check from osmo-ci
+  * cosmetic: update ipaccess_bts_handle_ccm()
+  * IPA: log remote address
+
+  [ Neels Hofmeyr ]
+  * cosmetic: ipa.c: use msgb_dequeue(), drop local var
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * add --enable-sanitize config option
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Alexander Couzens ]
+  * debian/rules: show testsuite.log when tests are failing
+  * unixsocket: fix a potential string overflow
+
+  [ Harald Welte ]
+  * debian/copyright: fix upstream-name
+  * Add SPDX-License-Identifier to all source files
+  * Add a new osmo_rtp_set_source_desc() function to set the RTCP SDES items
+  * debian/control: Fix Vcs-Browser
+
+  [ Pau Espin Pedrol ]
+  * contrib: jenkins.sh: Disable doxygen in libosmocore build
+  * e1_input.h: Remove dead declaration of unexistent API ipaccess_setup
+  * configure.ac: Fix condition check for RTP_SIGNAL_PTR_CAST define
+  * use osmo_init_logging2
+  * git-version-gen: Check first for new tag format
+
+  [ Stefan Sperling ]
+  * preserve 'when' flags of new osmo_fd in ipaccess_rcvmsg()
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 16:12:04 +0200
+
 libosmo-abis (0.4.0) unstable; urgency=medium
 
   * Move forward towards a new release.
diff --git a/debian/control b/debian/control
index dd958c8..10295e6 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,7 @@
 Package: libosmo-abis
 Section: oldlibs
 Architecture: any
-Depends: libosmoabis5 (= ${binary:Version}), libosmotrau1 (= 
${binary:Version}), ${misc:Depends}
+Depends: libosmoabis5 (= ${binary:Version}), libosmotrau2 (= 
${binary:Version}), ${misc:Depends}
 Multi-Arch: same
 Description: Legacy package for libosmo-abis
  libosmo-abis is an empty package helping in the transition to one
@@ -40,7 +40,7 @@
  It also implements drivers for mISDN and DAHDI based E1 cards, as well as some
  A-bis/IP dialects.
 
-Package: libosmotrau1
+Package: libosmotrau2
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -58,7 +58,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
- libosmotrau1 (= ${binary:Version}),
+ libosmotrau2 (= ${binary:Version}),
  libosmoabis5 (= ${binary:Version})
 Description: Development headers for A-bis interface
  The libosmo-abis library contains common/shared code regarding the A-bis
@@ -72,7 +72,7 @@
 Section: debug
 Priority: extra
 Depends: libosmoabis5 (= ${binary:Version}),
- libosmotrau1 (= ${binary:Version}),
+ libosmotrau2 (= ${binary:Version}),
  ${misc:Depends}
 Description: Debug symbols for A-bis interface
  The libosmo-abis library contains common/shared code regarding the A-bis
diff --git a/debian/libosmotrau1.install b/debian/libosmotrau2.install
similarity index 100%
rename from debian/libosmotrau1.install
rename to debian/libosmotrau2.install
diff --git a/src/Makefile.am b/src/Makefile.am
index 7395d17..ab42d38 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
 

[PATCH] libasn1c[master]: debian/changelog: Set previous versions to unstable

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8007

debian/changelog: Set previous versions to unstable

Otherwise make rlease overwrittes the latest UNRELEASED one.

Change-Id: Ic6a9b1d6c7724b15c69e780d562007b22af141e6
---
M debian/changelog
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/07/8007/1

diff --git a/debian/changelog b/debian/changelog
index 20354b0..457e269 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-libasn1c (0.9.28) UNRELEASED; urgency=low
+libasn1c (0.9.28) unstable; urgency=low
 
   * Initial release.
 
  -- Harald Welte   Fri, 27 Oct 2017 22:08:03 +
 
-libasn1c (0.1.0) UNRELEASED; urgency=low
+libasn1c (0.1.0) unstable; urgency=low
 
   * Initial release.
 

-- 
To view, visit https://gerrit.osmocom.org/8007
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6a9b1d6c7724b15c69e780d562007b22af141e6
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libasn1c[master]: Bump version: 0.9.28 → 0.9.29

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8008

Bump version: 0.9.28 → 0.9.29

Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
---
M debian/changelog
M src/Makefile.am
2 files changed, 21 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/08/8008/1

diff --git a/debian/changelog b/debian/changelog
index 457e269..c2fd343 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,23 @@
+libasn1c (0.9.29) unstable; urgency=medium
+
+  [ Harald Welte ]
+  * link libasn1c against libmath, don't ask users to do it
+
+  [ Neels Hofmeyr ]
+  * fix compiler warning: drop dead code from BIT_STRING_fromBuf()
+  * jenkins: add missing set -e to catch build errors
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * add --enable-sanitize config option
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Pau Espin Pedrol ]
+  * .gitignore: add compile
+  * build: Support make release target
+  * debian/changelog: Set previous versions to unstable
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 17:18:02 +0200
+
 libasn1c (0.9.28) unstable; urgency=low
 
   * Initial release.
diff --git a/src/Makefile.am b/src/Makefile.am
index 8009c76..27fce6d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
 # 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=1:0:0
+LIBVERSION=1:1:0
 
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include/asn1c
 AM_CFLAGS = -fPIC -Wall $(LIBTALLOC_CFLAGS)

-- 
To view, visit https://gerrit.osmocom.org/8008
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libasn1c[master]: .gitignore: add compile

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8005

.gitignore: add compile

Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812
---
M .gitignore
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/05/8005/1

diff --git a/.gitignore b/.gitignore
index 73505b6..4a42306 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@
 aclocal.m4
 config.*
 configure
+compile
 depcomp
 libtool
 ltmain.sh

-- 
To view, visit https://gerrit.osmocom.org/8005
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] libasn1c[master]: build: Support make release target

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8006

build: Support make release target

Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
---
M Makefile.am
M configure.ac
2 files changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/06/8006/1

diff --git a/Makefile.am b/Makefile.am
index 534c86e..5cffc1d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+@RELMAKE@
+
 AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
 ACLOCAL_AMFLAGS = -I m4
 
diff --git a/configure.ac b/configure.ac
index 1610973..ab63045 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,10 @@
 dnl kernel style compile messages
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
+dnl include release helper
+RELMAKE='-include osmo-release.mk'
+AC_SUBST([RELMAKE])
+
 dnl checks for programs
 AC_PROG_MAKE_SET
 AC_PROG_CC

-- 
To view, visit https://gerrit.osmocom.org/8006
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


libosmocore[master]: osmo-release.sh: Always generate entire commit changelog

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7997
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibf662173ce2b4ff3966e9ad5f56c65dfb13607ff
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[PATCH] osmo-pcu[master]: Bump version: 0.4.0.115-513c-dirty → 0.5.0

2018-05-03 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/7983

to look at the new patch set (#2).

Bump version: 0.4.0.115-513c-dirty → 0.5.0

Change-Id: I6ce6fb40690a66b0980eba4fa03b47da2f59ee6e
---
M configure.ac
M debian/changelog
2 files changed, 137 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/83/7983/2

diff --git a/configure.ac b/configure.ac
index 6365fcb..86b4ee1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,10 +73,10 @@
 fi
 
 dnl checks for libraries
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore  >= 0.10.1)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.3)
-PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.5.1.4)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.11.0)
 
 AC_MSG_CHECKING([whether to enable direct DSP access for PDCH of sysmocom-bts])
 AC_ARG_ENABLE(sysmocom-dsp,
diff --git a/debian/changelog b/debian/changelog
index 4caccc8..8ece776 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,136 @@
+osmo-pcu (0.5.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * implement support for 3-digit MNC with leading zeros
+  * configure: add --enable-werror
+  * mslot_class: find_free_tfi(): use uint32_t to shift 1 << 31
+  * mslot_class: two more: use uint32_t to shift 1 << 31
+  * Revert "Use Timing Advance Index in UL assignments"
+  * Revert "Rewrite Packet Uplink Assignment"
+  * Revert "Rewrite Packet Downlink Assignment"
+  * configure: fix --enable-sysmocom-dsp and --with-sysmobts flags
+  * configure: properly quote CFLAGS in lc15 check
+  * Revert "Rewrite EGPRS Packet Uplink Assignment"
+  * use osmo_init_logging2() with proper talloc ctx
+
+  [ Minh-Quang Nguyen ]
+  * PCU: Fix TA adjustment
+  * PCU: display TA information in TBF stats
+
+  [ Max ]
+  * Remove unused parameter
+  * Move multislot table to separate file
+  * Replace '.' in counter names with ':'
+  * Fix compiler warning
+  * TBF: log timer override
+  * TBF: fix compiler warning in test
+  * TBF: expand timer logging
+  * vty: print class and TBFs for each MS
+  * DL window: constify resend_needed() function
+  * TBF: move EGPRS enablement into (U|D)L-TBF
+  * TBF-DL: fix misleading idle time check
+  * TBF: remove unused variable
+  * Remove unused includes and forward declarations
+  * Fix tests after rate_ctr change
+  * Introduce LOGTBF* for consistent logging
+  * TBF: implement independent T31xx timers
+  * TBF: add N3101 counter
+  * Fix warnings
+  * Add function to get max supported MS class
+  * Add --enable-sanitize configure option
+  * Enable sanitize for CI test
+  * Add tests for pcu_lsb()
+  * Add optional profiling support
+  * TBF: unify timer handling
+  * TBF: log timer invocation source
+  * TBF: bail out for unknown timers
+  * Fix llc_queue_size() type
+  * TBF-DL: mark rcvd_dl_ack() parameters as boolean
+  * window: move encoding into functions
+  * cosmetic: clarify coding scheme and puncturing
+  * Make TBF state private
+  * TBF: cleanup state flag handling
+  * Clarify RACH-related interfaces
+  * TBF-UL: add simpler test helper
+  * Avoid code duplication in TBF test
+  * TBF: move window parameters to UL/DL level
+  * TBF-DL: move priority computation into function
+  * TBF: unify EGPRS window calculation
+  * Don't access TBF internals in vty functions
+  * Fix jenkins.sh to match jenkins job axis filter
+  * Allocate global context for TypesTest
+  * Fix sanitizer build
+  * Rewrite EGPRS Packet Uplink Assignment
+  * Rewrite Packet Downlink Assignment
+  * Rewrite Packet Uplink Assignment
+  * Use Timing Advance Index in UL assignments
+  * Allow specifying sysmocom headers explicitly
+  * TBF: log source of state transitions
+  * jenkins.sh: Disable building doxygen for deps
+  * Set V_N and V_B to known initial state
+  * TBF: add dedicated log categories
+  * TBF: make UL/DL state internal
+  * TBF: make UL ack state internal
+  * TBF: make poll state internal
+  * TBF: adjust test log levels
+  * Add tests for find_multi_slots()
+  * AllocTest: adjust test_alloc_b()
+  * AllocTest: expand test output
+  * AllocTest: remove assumption on max MS class
+  * Add multislot classes from latest spec
+  * cosmetic: fix whitespace issue with include files
+  * TBF: decrease L1 logging verbosity in test
+  * TBF: override send function via linker option
+  * Simplify TS alloc: adjust allocator signatures
+  * Simplify TS alloc: fix allocation calls
+  * Simplify TS alloc: avoid TS reassignment
+  * Simplify TS alloc: use defines for constants
+  * Simplify TS alloc: adjust function signatures
+  * TS alloc: print suggested TRX on 

libosmocore[master]: osmo-release.sh: Allow user to add extra information to the ...

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7998
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie25d921dd27fb7653bd616cb2912330964108663
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-hlr[master]: Bump version: 0.1.0.39-1cb4-dirty → 0.2.0

2018-05-03 Thread Harald Welte

Patch Set 2: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7986
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
Gerrit-PatchSet: 2
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-trx[master]: Bump version: 0.3.0-dirty → 0.4.0

2018-05-03 Thread Harald Welte

Patch Set 2: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7985
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifc469bce89d52012e1f876c847b4535360a602ad
Gerrit-PatchSet: 2
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_17.04/i586

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_17.04/i586

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_17.04/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  149s] #define STDC_HEADERS 1
[  149s] #define HAVE_SYS_TYPES_H 1
[  149s] #define HAVE_SYS_STAT_H 1
[  149s] #define HAVE_STDLIB_H 1
[  149s] #define HAVE_STRING_H 1
[  149s] #define HAVE_MEMORY_H 1
[  149s] #define HAVE_STRINGS_H 1
[  149s] #define HAVE_INTTYPES_H 1
[  149s] #define HAVE_STDINT_H 1
[  149s] #define HAVE_UNISTD_H 1
[  149s] #define HAVE_DLFCN_H 1
[  149s] #define LT_OBJDIR ".libs/"
[  149s] #define PACKAGE "osmo-iuh"
[  149s] #define VERSION "0.3.0.20180503"
[  149s] 
[  149s] configure: exit 1
[  149s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu 
--libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  149s] debian/rules:9: recipe for target 'build' failed
[  149s] make: *** [build] Error 2
[  149s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  149s] 
[  149s] lamb58 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:19:48 UTC 2018.
[  149s] 
[  149s] ### VM INTERACTION START ###
[  151s] [  142.151210] reboot: Power down
[  151s] ### VM INTERACTION END ###
[  151s] 
[  151s] lamb58 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:19:51 UTC 2018.
[  151s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_16.04/i586

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_16.04/i586

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_16.04/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  170s] #define STDC_HEADERS 1
[  170s] #define HAVE_SYS_TYPES_H 1
[  170s] #define HAVE_SYS_STAT_H 1
[  170s] #define HAVE_STDLIB_H 1
[  170s] #define HAVE_STRING_H 1
[  170s] #define HAVE_MEMORY_H 1
[  170s] #define HAVE_STRINGS_H 1
[  170s] #define HAVE_INTTYPES_H 1
[  170s] #define HAVE_STDINT_H 1
[  170s] #define HAVE_UNISTD_H 1
[  170s] #define HAVE_DLFCN_H 1
[  170s] #define LT_OBJDIR ".libs/"
[  170s] #define PACKAGE "osmo-iuh"
[  170s] #define VERSION "0.3.0.20180503"
[  170s] 
[  170s] configure: exit 1
[  170s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu 
--libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  170s] debian/rules:9: recipe for target 'build' failed
[  170s] make: *** [build] Error 255
[  170s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  170s] 
[  170s] lamb69 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:20:20 UTC 2018.
[  170s] 
[  170s] ### VM INTERACTION START ###
[  174s] [  163.311365] reboot: Power down
[  174s] ### VM INTERACTION END ###
[  174s] 
[  174s] lamb69 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:20:24 UTC 2018.
[  174s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in Debian_8.0/i586

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/Debian_8.0/i586

Package network:osmocom:nightly/osmo-iuh failed to build in Debian_8.0/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  207s] #define HAVE_SYS_TYPES_H 1
[  207s] #define HAVE_SYS_STAT_H 1
[  207s] #define HAVE_STDLIB_H 1
[  207s] #define HAVE_STRING_H 1
[  207s] #define HAVE_MEMORY_H 1
[  207s] #define HAVE_STRINGS_H 1
[  207s] #define HAVE_INTTYPES_H 1
[  207s] #define HAVE_STDINT_H 1
[  207s] #define HAVE_UNISTD_H 1
[  207s] #define HAVE_DLFCN_H 1
[  207s] #define LT_OBJDIR ".libs/"
[  207s] #define PACKAGE "osmo-iuh"
[  207s] #define VERSION "0.3.0.20180503"
[  207s] 
[  207s] configure: exit 1
[  207s] dh_auto_configure: ./configure --build=i586-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--libdir=${prefix}/lib/i386-linux-gnu --libexecdir=${prefix}/lib/i386-linux-gnu 
--disable-maintainer-mode --disable-dependency-tracking returned exit code 1
[  207s] debian/rules:9: recipe for target 'build' failed
[  207s] make: *** [build] Error 255
[  207s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  207s] 
[  207s] lamb52 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:25:25 UTC 2018.
[  207s] 
[  207s] ### VM INTERACTION START ###
[  208s] Powering off.
[  208s] [  194.187684] reboot: Power down
[  208s] ### VM INTERACTION END ###
[  208s] 
[  208s] lamb52 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:25:26 UTC 2018.
[  208s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_17.10/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_17.10/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_17.10/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  116s] #define STDC_HEADERS 1
[  116s] #define HAVE_SYS_TYPES_H 1
[  116s] #define HAVE_SYS_STAT_H 1
[  116s] #define HAVE_STDLIB_H 1
[  116s] #define HAVE_STRING_H 1
[  116s] #define HAVE_MEMORY_H 1
[  116s] #define HAVE_STRINGS_H 1
[  116s] #define HAVE_INTTYPES_H 1
[  116s] #define HAVE_STDINT_H 1
[  116s] #define HAVE_UNISTD_H 1
[  116s] #define HAVE_DLFCN_H 1
[  116s] #define LT_OBJDIR ".libs/"
[  116s] #define PACKAGE "osmo-iuh"
[  116s] #define VERSION "0.3.0.20180503"
[  116s] 
[  116s] configure: exit 1
[  116s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  116s] debian/rules:9: recipe for target 'build' failed
[  116s] make: *** [build] Error 2
[  116s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  116s] 
[  116s] lamb24 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:37:16 UTC 2018.
[  116s] 
[  116s] ### VM INTERACTION START ###
[  119s] [  111.680517] reboot: Power down
[  119s] ### VM INTERACTION END ###
[  119s] 
[  119s] lamb24 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:37:20 UTC 2018.
[  119s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in Debian_9.0/i586

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/Debian_9.0/i586

Package network:osmocom:nightly/osmo-iuh failed to build in Debian_9.0/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[   94s] #define STDC_HEADERS 1
[   94s] #define HAVE_SYS_TYPES_H 1
[   94s] #define HAVE_SYS_STAT_H 1
[   94s] #define HAVE_STDLIB_H 1
[   94s] #define HAVE_STRING_H 1
[   94s] #define HAVE_MEMORY_H 1
[   94s] #define HAVE_STRINGS_H 1
[   94s] #define HAVE_INTTYPES_H 1
[   94s] #define HAVE_STDINT_H 1
[   94s] #define HAVE_UNISTD_H 1
[   94s] #define HAVE_DLFCN_H 1
[   94s] #define LT_OBJDIR ".libs/"
[   94s] #define PACKAGE "osmo-iuh"
[   94s] #define VERSION "0.3.0.20180503"
[   94s] 
[   94s] configure: exit 1
[   94s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu 
--libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[   94s] debian/rules:9: recipe for target 'build' failed
[   94s] make: *** [build] Error 2
[   94s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[   94s] 
[   94s] lamb01 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:18:47 UTC 2018.
[   94s] 
[   94s] ### VM INTERACTION START ###
[   97s] [   88.807092] reboot: Power down
[   97s] ### VM INTERACTION END ###
[   97s] 
[   97s] lamb01 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:18:50 UTC 2018.
[   97s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_16.04/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_16.04/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_16.04/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  136s] #define STDC_HEADERS 1
[  136s] #define HAVE_SYS_TYPES_H 1
[  136s] #define HAVE_SYS_STAT_H 1
[  136s] #define HAVE_STDLIB_H 1
[  136s] #define HAVE_STRING_H 1
[  136s] #define HAVE_MEMORY_H 1
[  136s] #define HAVE_STRINGS_H 1
[  136s] #define HAVE_INTTYPES_H 1
[  136s] #define HAVE_STDINT_H 1
[  136s] #define HAVE_UNISTD_H 1
[  136s] #define HAVE_DLFCN_H 1
[  136s] #define LT_OBJDIR ".libs/"
[  136s] #define PACKAGE "osmo-iuh"
[  136s] #define VERSION "0.3.0.20180503"
[  136s] 
[  136s] configure: exit 1
[  136s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu 
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  136s] debian/rules:9: recipe for target 'build' failed
[  136s] make: *** [build] Error 255
[  136s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  136s] 
[  136s] wildcard3 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:28:07 UTC 2018.
[  136s] 
[  136s] ### VM INTERACTION START ###
[  136s] [  113.613814] reboot: Power down
[  138s] ### VM INTERACTION END ###
[  138s] 
[  138s] wildcard3 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:28:14 UTC 2018.
[  138s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_16.10/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_16.10/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_16.10/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  184s] #define STDC_HEADERS 1
[  184s] #define HAVE_SYS_TYPES_H 1
[  184s] #define HAVE_SYS_STAT_H 1
[  184s] #define HAVE_STDLIB_H 1
[  184s] #define HAVE_STRING_H 1
[  184s] #define HAVE_MEMORY_H 1
[  184s] #define HAVE_STRINGS_H 1
[  184s] #define HAVE_INTTYPES_H 1
[  184s] #define HAVE_STDINT_H 1
[  184s] #define HAVE_UNISTD_H 1
[  184s] #define HAVE_DLFCN_H 1
[  184s] #define LT_OBJDIR ".libs/"
[  184s] #define PACKAGE "osmo-iuh"
[  184s] #define VERSION "0.3.0.20180503"
[  184s] 
[  184s] configure: exit 1
[  184s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu 
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  184s] debian/rules:9: recipe for target 'build' failed
[  184s] make: *** [build] Error 2
[  184s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  184s] 
[  184s] lamb51 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:28:33 UTC 2018.
[  184s] 
[  184s] ### VM INTERACTION START ###
[  187s] [  178.888963] reboot: Power down
[  187s] ### VM INTERACTION END ###
[  187s] 
[  187s] lamb51 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:28:37 UTC 2018.
[  187s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in Debian_9.0/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/Debian_9.0/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in Debian_9.0/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  168s] #define HAVE_STRING_H 1
[  168s] #define HAVE_MEMORY_H 1
[  168s] #define HAVE_STRINGS_H 1
[  168s] #define HAVE_INTTYPES_H 1
[  168s] #define HAVE_STDINT_H 1
[  168s] #define HAVE_UNISTD_H 1
[  168s] #define HAVE_DLFCN_H 1
[  168s] #define LT_OBJDIR ".libs/"
[  168s] #define PACKAGE "osmo-iuh"
[  168s] #define VERSION "0.3.0.20180503"
[  168s] 
[  168s] configure: exit 1
[  168s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu 
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  168s] debian/rules:9: recipe for target 'build' failed
[  168s] make: *** [build] Error 2
[  168s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  168s] [  142.200054] serial8250: too much work for irq4
[  168s] [  142.324031] serial8250: too much work for irq4
[  168s] [  142.440071] serial8250: too much work for irq4
[  168s] [  142.556062] serial8250: too much work for irq4
[  168s] 
[  168s] cloud119 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:32:43 UTC 2018.
[  168s] 
[  168s] ### VM INTERACTION START ###
[  172s] [  145.842995] reboot: Power down
[  173s] ### VM INTERACTION END ###
[  173s] 
[  173s] cloud119 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:32:49 UTC 2018.
[  173s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in Debian_9.0/aarch64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-iuh failed to build in Debian_9.0/aarch64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  428s] configure:11149: checking whether to build shared libraries
[  428s] configure:11174: result: yes
[  428s] configure:11177: checking whether to build static libraries
[  428s] configure:11181: result: yes
[  428s] configure:11235: checking for a BSD-compatible install
[  428s] configure:11303: result: /usr/bin/install -c
[  428s] configure:11314: checking whether build environment is sane
[  428s] configure:11369: result: yes
[  428s] configure:11517: checking for a thread-safe mkdir -p
[  428s] configure:11556: result: /bin/mkdir -p
[  428s] configure:11559: checking whether make sets $(MAKE)
[  428s] configure:11581: result: yes
[  428s] configure:11611: checking for style of include used by make
[  428s] configure:11639: result: GNU
[  428s] configure:11673: checking whether make supports nested variables
[  428s] configure:11690: result: yes
[  428s] configure:11779: checking whether UID '399' is supported by ustar 
format
[  428s] configure:11782: result: yes
[  428s] configure:11789: checking whether GID '399' is supported by ustar 
format
[  428s] configure:11792: result: yes
[  428s] configure:11800: checking how to create a ustar tar archive
[  428s] configure:11811: tar --version
[  428s] tar (GNU tar) 1.29
[  430s] Copyri[  371.101536] sysrq: SysRq : Power Off
[  430s] [  371.105701] reboot: Power down
[  431s] ### VM INTERACTION END ###
[  431s] 
[  431s] obs-arm-1 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:30:17 UTC 2018.
[  431s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in Debian_8.0/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/Debian_8.0/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in Debian_8.0/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  149s] #define HAVE_SYS_STAT_H 1
[  149s] #define HAVE_STDLIB_H 1
[  149s] #define HAVE_STRING_H 1
[  149s] #define HAVE_MEMORY_H 1
[  149s] #define HAVE_STRINGS_H 1
[  149s] #define HAVE_INTTYPES_H 1
[  149s] #define HAVE_STDINT_H 1
[  149s] #define HAVE_UNISTD_H 1
[  149s] #define HAVE_DLFCN_H 1
[  149s] #define LT_OBJDIR ".libs/"
[  149s] #define PACKAGE "osmo-iuh"
[  149s] #define VERSION "0.3.0.20180503"
[  149s] 
[  149s] configure: exit 1
[  149s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/et[  129.120048] serial8250: too 
much work for irq4
[  149s] c --localstatedir=/var --libdir=${prefix}/lib/x86_64-linux-gnu 
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  149s] debian/rules:9: recipe for target 'build' failed
[  149s] make: *** [build] Error 255
[  149s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  149s] 
[  149s] cloud125 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:34:01 UTC 2018.
[  149s] 
[  149s] ### VM INTERACTION START ###
[  151s] Powering off.
[  151s] [  130.277204] reboot: Power down
[  153s] ### VM INTERACTION END ###
[  153s] 
[  153s] cloud125 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:34:05 UTC 2018.
[  153s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-ggsn in xUbuntu_18.04/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-ggsn/xUbuntu_18.04/x86_64

Package network:osmocom:nightly/osmo-ggsn failed to build in 
xUbuntu_18.04/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-ggsn

Last lines of build log:
[  132s]dh_installman
[  132s]dh_installinit
[  132s]dh_perl
[  132s]dh_link
[  133s]dh_strip_nondeterminism
[  133s]dh_compress
[  133s]dh_fixperms
[  133s]dh_missing
[  133s]debian/rules override_dh_strip
[  133s] make[1]: Entering directory '/usr/src/packages/BUILD'
[  133s] dh_strip -posmo-ggsn --dbg-package=osmo-ggsn-dbg
[  134s] dh_strip -plibgtp2 --dbg-package=libgtp-dbg
[  134s] dh_strip: Requested unknown package libgtp2 via -p/--package, expected 
one of: osmo-ggsn libgtp3 libgtp-dev osmo-ggsn-dbg libgtp-dbg
[  134s] dh_strip: unknown option or error during option parsing; aborting
[  134s] debian/rules:18: recipe for target 'override_dh_strip' failed
[  134s] make[1]: *** [override_dh_strip] Error 25
[  134s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  134s] debian/rules:15: recipe for target 'binary' failed
[  134s] make: *** [binary] Error 2
[  134s] dpkg-buildpackage: error: fakeroot debian/rules binary subprocess 
returned exit status 2
[  134s] 
[  134s] lamb57 failed "build osmo-ggsn_1.2.0.20180503.dsc" at Thu May  3 
20:33:41 UTC 2018.
[  134s] 
[  134s] ### VM INTERACTION START ###
[  137s] [  128.048951] reboot: Power down
[  137s] ### VM INTERACTION END ###
[  137s] 
[  137s] lamb57 failed "build osmo-ggsn_1.2.0.20180503.dsc" at Thu May  3 
20:33:45 UTC 2018.
[  137s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in Debian_9.0/armv7l

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/Debian_9.0/armv7l

Package network:osmocom:nightly/osmo-iuh failed to build in Debian_9.0/armv7l

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  305s] #define HAVE_SYS_TYPES_H 1
[  305s] #define HAVE_SYS_STAT_H 1
[  305s] #define HAVE_STDLIB_H 1
[  305s] #define HAVE_STRING_H 1
[  305s] #define HAVE_MEMORY_H 1
[  305s] #define HAVE_STRINGS_H 1
[  305s] #define HAVE_INTTYPES_H 1
[  305s] #define HAVE_STDINT_H 1
[  305s] #define HAVE_UNISTD_H 1
[  305s] #define HAVE_DLFCN_H 1
[  305s] #define LT_OBJDIR ".libs/"
[  305s] #define PACKAGE "osmo-iuh"
[  305s] #define VERSION "0.3.0.20180503"
[  305s] 
[  305s] configure: exit 1
[  305s] dh_auto_configure: ./configure --build=arm-linux-gnueabihf 
--prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/arm-linux-gnueabihf 
--libexecdir=${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  305s] debian/rules:9: recipe for target 'build' failed
[  305s] make: *** [build] Error 2
[  305s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  305s] 
[  305s] armbuild22 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:48:07 UTC 2018.
[  305s] 
[  305s] ### VM INTERACTION START ###
[  308s] [  293.744575] SysRq : Power Off
[  308s] [  293.771276] reboot: Power down
[  309s] ### VM INTERACTION END ###
[  309s] 
[  309s] armbuild22 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:48:11 UTC 2018.
[  309s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_16.10/i586

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_16.10/i586

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_16.10/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  109s] #define STDC_HEADERS 1
[  109s] #define HAVE_SYS_TYPES_H 1
[  109s] #define HAVE_SYS_STAT_H 1
[  109s] #define HAVE_STDLIB_H 1
[  109s] #define HAVE_STRING_H 1
[  109s] #define HAVE_MEMORY_H 1
[  109s] #define HAVE_STRINGS_H 1
[  109s] #define HAVE_INTTYPES_H 1
[  109s] #define HAVE_STDINT_H 1
[  109s] #define HAVE_UNISTD_H 1
[  109s] #define HAVE_DLFCN_H 1
[  109s] #define LT_OBJDIR ".libs/"
[  109s] #define PACKAGE "osmo-iuh"
[  109s] #define VERSION "0.3.0.20180503"
[  109s] 
[  109s] configure: exit 1
[  109s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu 
--libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  109s] debian/rules:9: recipe for target 'build' failed
[  109s] make: *** [build] Error 2
[  109s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  109s] 
[  109s] lamb13 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:19:03 UTC 2018.
[  109s] 
[  109s] ### VM INTERACTION START ###
[  112s] [  104.553498] reboot: Power down
[  112s] ### VM INTERACTION END ###
[  112s] 
[  112s] lamb13 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:19:06 UTC 2018.
[  112s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_17.04/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_17.04/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_17.04/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  205s] #define STDC_HEADERS 1
[  205s] #define HAVE_SYS_TYPES_H 1
[  205s] #define HAVE_SYS_STAT_H 1
[  205s] #define HAVE_STDLIB_H 1
[  205s] #define HAVE_STRING_H 1
[  205s] #define HAVE_MEMORY_H 1
[  205s] #define HAVE_STRINGS_H 1
[  205s] #define HAVE_INTTYPES_H 1
[  205s] #define HAVE_STDINT_H 1
[  205s] #define HAVE_UNISTD_H 1
[  205s] #define HAVE_DLFCN_H 1
[  205s] #define LT_OBJDIR ".libs/"
[  205s] #define PACKAGE "osmo-iuh"
[  205s] #define VERSION "0.3.0.20180503"
[  205s] 
[  205s] configure: exit 1
[  205s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu 
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  205s] debian/rules:9: recipe for target 'build' failed
[  205s] make: *** [build] Error 2
[  205s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  205s] 
[  205s] lamb52 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:34:55 UTC 2018.
[  205s] 
[  205s] ### VM INTERACTION START ###
[  208s] [  190.094742] reboot: Power down
[  208s] ### VM INTERACTION END ###
[  208s] 
[  208s] lamb52 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:34:59 UTC 2018.
[  208s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-iuh in xUbuntu_18.04/x86_64

2018-05-03 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-iuh/xUbuntu_18.04/x86_64

Package network:osmocom:nightly/osmo-iuh failed to build in xUbuntu_18.04/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-iuh

Last lines of build log:
[  126s] #define STDC_HEADERS 1
[  126s] #define HAVE_SYS_TYPES_H 1
[  126s] #define HAVE_SYS_STAT_H 1
[  126s] #define HAVE_STDLIB_H 1
[  126s] #define HAVE_STRING_H 1
[  126s] #define HAVE_MEMORY_H 1
[  126s] #define HAVE_STRINGS_H 1
[  126s] #define HAVE_INTTYPES_H 1
[  126s] #define HAVE_STDINT_H 1
[  126s] #define HAVE_UNISTD_H 1
[  126s] #define HAVE_DLFCN_H 1
[  126s] #define LT_OBJDIR ".libs/"
[  126s] #define PACKAGE "osmo-iuh"
[  126s] #define VERSION "0.3.0.20180503"
[  126s] 
[  126s] configure: exit 1
[  126s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
[  126s] debian/rules:9: recipe for target 'build' failed
[  126s] make: *** [build] Error 2
[  126s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  126s] 
[  126s] lamb57 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:40:04 UTC 2018.
[  126s] 
[  126s] ### VM INTERACTION START ###
[  129s] [  120.387579] reboot: Power down
[  129s] ### VM INTERACTION END ###
[  129s] 
[  129s] lamb57 failed "build osmo-iuh_0.3.0.20180503.dsc" at Thu May  3 
20:40:08 UTC 2018.
[  129s] 

-- 
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)


libasn1c[master]: .gitignore: add compile

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8005
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] libasn1c[master]: .gitignore: add compile

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: .gitignore: add compile
..


.gitignore: add compile

Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812
---
M .gitignore
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/.gitignore b/.gitignore
index 73505b6..4a42306 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@
 aclocal.m4
 config.*
 configure
+compile
 depcomp
 libtool
 ltmain.sh

-- 
To view, visit https://gerrit.osmocom.org/8005
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


[PATCH] osmo-iuh[master]: debian/changelog: set prev releases to unstable

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8014

debian/changelog: set prev releases to unstable

Otherwise it fools osmo-release.mk

Change-Id: I6c05bb7f5bb2b3e78283a5eae6ccf95ce86838f8
---
M debian/changelog
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/14/8014/1

diff --git a/debian/changelog b/debian/changelog
index e8fb68e..0c11efb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-osmo-iuh (0.2.0) UNRELEASED; urgency=low
+osmo-iuh (0.2.0) unstable; urgency=low
 
   * Upstream 0.2.0 release
 
  -- Harald Welte   Fri, 27 Oct 2017 22:19:00 +
 
-osmo-iuh (0.1.0) UNRELEASED; urgency=low
+osmo-iuh (0.1.0) unstable; urgency=low
 
   * Initial release.
 

-- 
To view, visit https://gerrit.osmocom.org/8014
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6c05bb7f5bb2b3e78283a5eae6ccf95ce86838f8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] osmo-bsc[master]: Bump version: 1.1.2.360-42ab-dirty → 1.2.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8016

Bump version: 1.1.2.360-42ab-dirty → 1.2.0

Change-Id: Ie6ad5c769dd11c79b2bfd0d19f0feda8416e09cd
---
M configure.ac
M debian/changelog
2 files changed, 397 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/16/8016/1

diff --git a/configure.ac b/configure.ac
index a077fd5..ccfce19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,19 +39,19 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.3.2)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.8.0)
-PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2)
-PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.2.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
+PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.3.0)
 
 #NOTE: osmo-bsc does not depend on libosmo-legacy-mgcp anymore, but we still
 #  need the dependancy for osmo-bsc-nat, which still uses the old API.
-PKG_CHECK_MODULES(LIBOSMOLEGACYMGCP, libosmo-legacy-mgcp >= 1.0.0)
+PKG_CHECK_MODULES(LIBOSMOLEGACYMGCP, libosmo-legacy-mgcp >= 1.3.0)
 
 dnl checks for header files
 AC_HEADER_STDC
diff --git a/debian/changelog b/debian/changelog
index 5f345a3..a8e2631 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,390 @@
+osmo-bsc (1.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * vty: skip installing cmds now always installed by default
+  * bssap: paging: page entire BSS for unimplemented cell id list
+  * fix build: bssap test broke by undefined references
+  * osmo-bsc RESET FSM: use distinct struct names
+  * osmo-bsc: SCCP addrs: default only if unset, reject invalid
+  * osmo-bsc vty: be fatal for addressbook entry errors
+  * use osmo_sccp_inst_addr_name() instead of looking up ss7
+  * add --enable-sanitize config option
+  * bsc_init: fix Werror: define rc for 2quater with si2q_count == 0
+  * bsc filter: don't ignore imsi-allow on "global" filter level
+  * compiler warnings: drop some unused variables
+  * compiler warnings: constify in abis_nm.c
+  * cleanup: drop unused gsm_bts.role
+  * compiler warnings: add includes in abis_rsl.h, gsm_data_shared.h
+  * cosmetic: handover.h: use "#pragma once", declare structs, comments
+  * examples: add osmo-bsc-minimal.cfg
+  * HO prep: pass gsm_network to gsm_bts_alloc() already
+  * fix segfault upon release paging on BSSMAP Reset: init llist
+  * log typo fix in gsm0808_cipher_mode()
+  * debug log: log Cipher Mode info upon sending down RSL/A-bis
+  * fix bssmap_handle_cipher_mode()'s encryption decision
+  * abisip-find: add getopt option parsing in preparation for a new option
+  * abisip-find: add -l to list base stations instead of streaming replies
+  * abisip-find: update copyright
+  * abisip-find: add timeout option
+  * abisip-find: add --interval option
+  * vty: fix 'show lchan ...' arg [lchan_nr] to [<0-7>]
+  * vty: change handover command's arg LCHAN_NR to <0-7>
+  * vty: cosmetic: use common BTS, TRX, TS, LCHAN strings
+  * vty: add various manual handover and assignment trigger commands
+  * osmo_bsc_mgcp: cosmetic: introduce mgcp_init(), soak up fsm init
+  * HO: fix recovery from failed handover
+  * HO prep: introduce per-BTS handover config, with defaults on net node
+  * HO: add indicators for inter-cell and async ho, use for chan act type
+  * cosmetic: explicitly init ho_ref start value
+  * fixup: neigh_meas_avg: detect invalid window size as <=0, log if invalid
+  * fixup: neigh_meas_avg: fix condition to reduce window size
+  * HO: enable handover by initializing at startup; rename init function
+  * HO: add handover algo 2 parameters; skip HO 1 if HO 2 is configured
+  * HO: rename gsm_bts_neighbor() to bts_by_arfcn_bsic()
+  * HO: make bts_by_arfcn_bsic() public
+  * libcommon: eliminate bsc_version.c
+  * libcommon: eliminate common_vty.c
+  * libcommon: eliminate debug.c
+  * libcommon: eliminate socket.c
+  * libcommon: eliminate talloc_ctx.c
+  * ipaccess-proxy: don't redefine tall_bsc_ctx
+  * libcommon: join gsm_data_shared.* into gsm_data.*
+  * drop libcommon completely, move remaining files to libbsc
+  * libcommon-cs: move a_reset.c into libbsc
+  * libcommon-cs: move gsm_network_init() into bsc_network_init()
+  * gsm_network: drop unused trans_list
+  * libcommon_cs: move gsm48 bits to 

osmo-msc[master]: Bump version: 1.1.2.269-86f21-dirty → 1.2.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8017
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I79d1f009617b247b6c3322a7926fd565913b1e6c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


libasn1c[master]: Bump version: 0.9.29.1-42b1 → 0.9.30

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8013
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5e4817c04a980d099c146f977adf6f15f7bd56b0
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-bsc[master]: Bump version: 1.1.2.360-42ab-dirty → 1.2.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8016
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6ad5c769dd11c79b2bfd0d19f0feda8416e09cd
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] osmo-sgsn[master]: Bump version: 1.2.0.58-85ca87-dirty → 1.3.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 1.2.0.58-85ca87-dirty → 1.3.0
..


Bump version: 1.2.0.58-85ca87-dirty → 1.3.0

Change-Id: I466089b40fed02153e2850cb4a748ee6568b130b
---
M configure.ac
M debian/changelog
2 files changed, 83 insertions(+), 11 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 1b23d27..2b5bb1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,28 +39,28 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.9.5)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.9.5)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.2.0)
-PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.6.4)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.0.1)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
 
 # Enable/disable 3G aka IuPS + IuCS support?
 AC_ARG_ENABLE([iu], [AS_HELP_STRING([--enable-iu], [Build 3G support, aka IuPS 
and IuCS interfaces])],
 [osmo_ac_iu="$enableval"],[osmo_ac_iu="no"])
 if test "x$osmo_ac_iu" = "xyes" ; then
-PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran) # TODO version?
-PKG_CHECK_MODULES(LIBASN1C, libasn1c) # TODO version?
-PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap) # TODO version?
+PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.9.0)
+PKG_CHECK_MODULES(LIBASN1C, libasn1c >= 0.9.30)
+PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap >= 0.3.0)
 AC_DEFINE(BUILD_IU, 1, [Define if we want to build IuPS and IuCS 
interfaces support])
 fi
 AM_CONDITIONAL(BUILD_IU, test "x$osmo_ac_iu" = "xyes")
 AC_SUBST(osmo_ac_iu)
 
 
-PKG_CHECK_MODULES(LIBGTP, libgtp >= 1.0.0)
+PKG_CHECK_MODULES(LIBGTP, libgtp >= 1.2.0)
 PKG_CHECK_MODULES(LIBCARES, libcares)
 
 dnl checks for header files
diff --git a/debian/changelog b/debian/changelog
index 0b56541..b39abb8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,75 @@
+osmo-sgsn (1.3.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * drop osmo_sgsn.cfg from src/gprs dir
+  * change default config filename to osmo-sgsn.cfg, not osmo_sgsn.cfg
+  * vty: skip installing cmds now always installed by default
+  * add --enable-sanitize config option
+  * use default point-code as listed on Point_Codes wiki page
+  * gprs_gmm: segfault: gracefully handle failure to alloc context
+  * gsm48_rx_gmm_att_req: fix error handling: don't clean up NULL llme
+  * gprs_llc: tx dl ud: make mismatching LLE not crash osmo-sgsn
+  * fix build: missing LIBGTP_CFLAGS in sgsn_test
+  * sgsn_test: guard against struct gprs_ra_id changing
+  * vty: absorb command explanations from osmo-gsm-manuals
+  * configure: add --enable-werror
+  * implement support for 3-digit MNC with leading zeros
+  * osmo-gbproxy: use 'osmo-gbproxy.cfg' as default config name
+  * compiler warnings: use enum ranap_nsap_addr_enc, constify local var
+  * use osmo_init_logging2(), fix regression test memleaks
+  * auth+ciph: log is_r99 and auth types
+  * log two RA Update Request failure causes
+  * GERAN: allow GSM SRES on UMTS AKA challenge
+
+  [ Alexander Couzens ]
+  * .gitignore: remove unneeded ignores of bsc/msc/nitb files
+  * tests/ctrl_test_runner.py: remove BSC/NAT TestRunner
+  * debian: remove doublicated project name in example files
+  * .gitignore: remove non-existent /src/utils exludes
+  * configure.ac: remove pcap check
+  * configure.ac: remove unused libcdk check
+  * .service: remove OpenBSC from service desription
+  * mandatory depend on libc-ares and libgtp
+  * GMM: dont reply to GMM_DETACH_REQ with POWER OFF when MS is unknown
+
+  [ Harald Welte ]
+  * Replace '.' in counter names with ':'
+  * Add talloc context introspection via VTY
+
+  [ Pau Espin Pedrol ]
+  * Replace '.' in counter names with ':'
+  * tests: Fix selection of python version
+  * sgsn_cdr: Split log formatting into a snprintf function
+  * Add vty cmd 'cdr trap' to send CDR through CTRL iface
+  * tests: sgsn_test: Define wrap APIs with correct parameters
+  * cosmetic: tests: sgsn_test: Use proper formatting and remove uneeded 
semicolons
+  * gprs_gmm: Remove unused variable
+  * cosmetic: gprs_gmm: Remove trailing whitespace
+  * gprs_gmm: Convert warning message to pragma message
+  * configure.ac: Enable Wall in CFLAGS
+  * .gitignore: Add m4 files
+  * sgsn_libgtp.c: Fix typos and whitespace
+
+  [ Max ]
+  * Fix display of GTP addresses
+  * Show GTP version for PDP context in vty
+  * Remove 

[MERGED] osmo-bsc[master]: resurrect meas_feed.c: make it compile, add logging

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: resurrect meas_feed.c: make it compile, add logging
..


resurrect meas_feed.c: make it compile, add logging

Change-Id: I34ac25bcc460e87e813090b6d7c5085cffa2d78f
---
M src/libbsc/Makefile.am
M src/libbsc/meas_feed.c
2 files changed, 34 insertions(+), 16 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libbsc/Makefile.am b/src/libbsc/Makefile.am
index 8956363..744278b 100644
--- a/src/libbsc/Makefile.am
+++ b/src/libbsc/Makefile.am
@@ -64,5 +64,6 @@
penalty_timers.c \
handover_decision_2.c \
bsc_subscr_conn_fsm.c \
+   meas_feed.c \
$(NULL)
 
diff --git a/src/libbsc/meas_feed.c b/src/libbsc/meas_feed.c
index 1e7b4cd..2e80754 100644
--- a/src/libbsc/meas_feed.c
+++ b/src/libbsc/meas_feed.c
@@ -13,14 +13,12 @@
 #include 
 #include 
 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include "meas_feed.h"
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
 
 struct meas_feed_state {
struct osmo_wqueue wqueue;
@@ -29,20 +27,25 @@
uint16_t dst_port;
 };
 
-
-static struct meas_feed_state g_mfs;
+static struct meas_feed_state g_mfs = {};
 
 static int process_meas_rep(struct gsm_meas_rep *mr)
 {
struct msgb *msg;
struct meas_feed_meas *mfm;
-   struct vlr_subscr *vsub;
+   struct bsc_subscr *bsub;
 
/* ignore measurements as long as we don't know who it is */
-   if (!mr->lchan || !mr->lchan->conn || !mr->lchan->conn->vsub)
+   if (!mr->lchan) {
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed: no lchan, not sending 
report\n");
return 0;
+   }
+   if (!mr->lchan->conn) {
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed: lchan without conn, not 
sending report\n");
+   return 0;
+   }
 
-   vsub = mr->lchan->conn->vsub;
+   bsub = mr->lchan->conn->bsub;
 
msg = msgb_alloc(sizeof(struct meas_feed_meas), "Meas. Feed");
if (!msg)
@@ -54,8 +57,16 @@
mfm->hdr.version = MEAS_FEED_VERSION;
 
/* fill in MEAS_FEED_MEAS specific header */
-   osmo_strlcpy(mfm->imsi, vsub->imsi, sizeof(mfm->imsi));
-   osmo_strlcpy(mfm->name, vsub->name, sizeof(mfm->name));
+   if (bsub)
+   osmo_strlcpy(mfm->imsi, bsub->imsi, sizeof(mfm->imsi));
+   /* This used to be a human readable meaningful name set in the old 
osmo-nitb's subscriber
+* database. Now we're several layers away from that (and possibly 
don't even have a name in
+* osmo-hlr either), hence this is a legacy item now that we should 
leave empty ... *but*:
+* here in the BSC we often don't know the subscriber's full identity 
information. For example,
+* we might only know the TMSI, and hence would pass an empty IMSI 
above. So after all, feed
+* bsc_subscr_name(), which possibly will feed the IMSI again, but in 
case only the TMSI is known
+* would add that to the information set as "TMSI:0x12345678". */
+   osmo_strlcpy(mfm->name, bsc_subscr_name(bsub), sizeof(mfm->name));
osmo_strlcpy(mfm->scenario, g_mfs.scenario, sizeof(mfm->scenario));
 
/* copy the entire measurement report */
@@ -71,8 +82,13 @@
mfm->ss_nr = mr->lchan->nr;
 
/* and send it to the socket */
-   if (osmo_wqueue_enqueue(_mfs.wqueue, msg) != 0)
+   if (osmo_wqueue_enqueue(_mfs.wqueue, msg) != 0) {
+   LOGP(DMEAS, LOGL_ERROR, "meas_feed %s: sending measurement 
report failed\n",
+gsm_lchan_name(mr->lchan));
msgb_free(msg);
+   } else
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed %s: sent measurement 
report\n",
+gsm_lchan_name(mr->lchan));
 
return 0;
 }
@@ -126,6 +142,7 @@
g_mfs.wqueue.write_cb = feed_write_cb;
g_mfs.wqueue.read_cb = feed_read_cb;
osmo_signal_register_handler(SS_LCHAN, meas_feed_sig_cb, NULL);
+   LOGP(DMEAS, LOGL_DEBUG, "meas_feed: registered signal 
callback\n");
}
 
if (already_initialized) {

-- 
To view, visit https://gerrit.osmocom.org/7994
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I34ac25bcc460e87e813090b6d7c5085cffa2d78f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


osmo-bsc[master]: resurrect meas_feed.c: make it compile, add logging

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7994
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I34ac25bcc460e87e813090b6d7c5085cffa2d78f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-bsc[master]: resurrect meas_feed.c from openbsc.git history

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7993
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic070d82e61c122061fe7297a8c5aabbbcef6b301
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-bsc[master]: resurrect meas_feed.c: vty, vty-test

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7995
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I186c7a995dd2b81746c32a58b55da64ed195a1ce
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] osmo-bsc[master]: Bump version: 1.1.2.360-42ab-dirty → 1.2.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 1.1.2.360-42ab-dirty → 1.2.0
..


Bump version: 1.1.2.360-42ab-dirty → 1.2.0

Change-Id: Ie6ad5c769dd11c79b2bfd0d19f0feda8416e09cd
---
M configure.ac
M debian/changelog
2 files changed, 397 insertions(+), 10 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index a077fd5..ccfce19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,19 +39,19 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.3.2)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.8.0)
-PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2)
-PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.2.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
+PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.3.0)
 
 #NOTE: osmo-bsc does not depend on libosmo-legacy-mgcp anymore, but we still
 #  need the dependancy for osmo-bsc-nat, which still uses the old API.
-PKG_CHECK_MODULES(LIBOSMOLEGACYMGCP, libosmo-legacy-mgcp >= 1.0.0)
+PKG_CHECK_MODULES(LIBOSMOLEGACYMGCP, libosmo-legacy-mgcp >= 1.3.0)
 
 dnl checks for header files
 AC_HEADER_STDC
diff --git a/debian/changelog b/debian/changelog
index 5f345a3..a8e2631 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,390 @@
+osmo-bsc (1.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * vty: skip installing cmds now always installed by default
+  * bssap: paging: page entire BSS for unimplemented cell id list
+  * fix build: bssap test broke by undefined references
+  * osmo-bsc RESET FSM: use distinct struct names
+  * osmo-bsc: SCCP addrs: default only if unset, reject invalid
+  * osmo-bsc vty: be fatal for addressbook entry errors
+  * use osmo_sccp_inst_addr_name() instead of looking up ss7
+  * add --enable-sanitize config option
+  * bsc_init: fix Werror: define rc for 2quater with si2q_count == 0
+  * bsc filter: don't ignore imsi-allow on "global" filter level
+  * compiler warnings: drop some unused variables
+  * compiler warnings: constify in abis_nm.c
+  * cleanup: drop unused gsm_bts.role
+  * compiler warnings: add includes in abis_rsl.h, gsm_data_shared.h
+  * cosmetic: handover.h: use "#pragma once", declare structs, comments
+  * examples: add osmo-bsc-minimal.cfg
+  * HO prep: pass gsm_network to gsm_bts_alloc() already
+  * fix segfault upon release paging on BSSMAP Reset: init llist
+  * log typo fix in gsm0808_cipher_mode()
+  * debug log: log Cipher Mode info upon sending down RSL/A-bis
+  * fix bssmap_handle_cipher_mode()'s encryption decision
+  * abisip-find: add getopt option parsing in preparation for a new option
+  * abisip-find: add -l to list base stations instead of streaming replies
+  * abisip-find: update copyright
+  * abisip-find: add timeout option
+  * abisip-find: add --interval option
+  * vty: fix 'show lchan ...' arg [lchan_nr] to [<0-7>]
+  * vty: change handover command's arg LCHAN_NR to <0-7>
+  * vty: cosmetic: use common BTS, TRX, TS, LCHAN strings
+  * vty: add various manual handover and assignment trigger commands
+  * osmo_bsc_mgcp: cosmetic: introduce mgcp_init(), soak up fsm init
+  * HO: fix recovery from failed handover
+  * HO prep: introduce per-BTS handover config, with defaults on net node
+  * HO: add indicators for inter-cell and async ho, use for chan act type
+  * cosmetic: explicitly init ho_ref start value
+  * fixup: neigh_meas_avg: detect invalid window size as <=0, log if invalid
+  * fixup: neigh_meas_avg: fix condition to reduce window size
+  * HO: enable handover by initializing at startup; rename init function
+  * HO: add handover algo 2 parameters; skip HO 1 if HO 2 is configured
+  * HO: rename gsm_bts_neighbor() to bts_by_arfcn_bsic()
+  * HO: make bts_by_arfcn_bsic() public
+  * libcommon: eliminate bsc_version.c
+  * libcommon: eliminate common_vty.c
+  * libcommon: eliminate debug.c
+  * libcommon: eliminate socket.c
+  * libcommon: eliminate talloc_ctx.c
+  * ipaccess-proxy: don't redefine tall_bsc_ctx
+  * libcommon: join gsm_data_shared.* into gsm_data.*
+  * drop libcommon completely, move remaining files to libbsc
+  * libcommon-cs: move a_reset.c 

[MERGED] libasn1c[master]: configure.ac: Use git-version-gen to set VERSION

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: configure.ac: Use git-version-gen to set VERSION
..


configure.ac: Use git-version-gen to set VERSION

We updated to 0.9.29 tag, but configure.ac was locked to 0.9.28, which
means release 0.9.29 is going to generated an old version and thus is
broken. A new release will follow this commit.

Change-Id: I8e1665f21d1bc76922423cabad3df72a2502f559
---
M configure.ac
A git-version-gen
2 files changed, 153 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index ab63045..53720b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,5 @@
-AC_INIT([libasn1c], [0.9.28],
+AC_INIT([libasn1c],
+m4_esyscmd([./git-version-gen .tarball-version]),
 [openbsc-de...@lists.openbsc.org])
 
 AM_INIT_AUTOMAKE([dist-bzip2])
@@ -75,4 +76,3 @@
 include/Makefile
 include/asn1c/Makefile
 Makefile)
-
diff --git a/git-version-gen b/git-version-gen
new file mode 100755
index 000..42cf3d2
--- /dev/null
+++ b/git-version-gen
@@ -0,0 +1,151 @@
+#!/bin/sh
+# Print a version string.
+scriptversion=2010-01-28.01
+
+# Copyright (C) 2007-2010 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/.
+# It may be run two ways:
+# - from a git repository in which the "git describe" command below
+#   produces useful output (thus requiring at least one signed tag)
+# - from a non-git-repo directory containing a .tarball-version file, which
+#   presumes this script is invoked like "./git-version-gen .tarball-version".
+
+# In order to use intra-version strings in your project, you will need two
+# separate generated version string files:
+#
+# .tarball-version - present only in a distribution tarball, and not in
+#   a checked-out repository.  Created with contents that were learned at
+#   the last time autoconf was run, and used by git-version-gen.  Must not
+#   be present in either $(srcdir) or $(builddir) for git-version-gen to
+#   give accurate answers during normal development with a checked out tree,
+#   but must be present in a tarball when there is no version control system.
+#   Therefore, it cannot be used in any dependencies.  GNUmakefile has
+#   hooks to force a reconfigure at distribution time to get the value
+#   correct, without penalizing normal development with extra reconfigures.
+#
+# .version - present in a checked-out repository and in a distribution
+#   tarball.  Usable in dependencies, particularly for files that don't
+#   want to depend on config.h but do want to track version changes.
+#   Delete this file prior to any autoconf run where you want to rebuild
+#   files to pick up a version string change; and leave it stale to
+#   minimize rebuild time after unrelated changes to configure sources.
+#
+# It is probably wise to add these two files to .gitignore, so that you
+# don't accidentally commit either generated file.
+#
+# Use the following line in your configure.ac, so that $(VERSION) will
+# automatically be up-to-date each time configure is run (and note that
+# since configure.ac no longer includes a version string, Makefile rules
+# should not depend on configure.ac for version updates).
+#
+# AC_INIT([GNU project],
+# m4_esyscmd([build-aux/git-version-gen .tarball-version]),
+# [bug-project@example])
+#
+# Then use the following lines in your Makefile.am, so that .version
+# will be present for dependencies, and so that .tarball-version will
+# exist in distribution tarballs.
+#
+# BUILT_SOURCES = $(top_srcdir)/.version
+# $(top_srcdir)/.version:
+#  echo $(VERSION) > $@-t && mv $@-t $@
+# dist-hook:
+#  echo $(VERSION) > $(distdir)/.tarball-version
+
+case $# in
+1) ;;
+*) echo 1>&2 "Usage: $0 \$srcdir/.tarball-version"; exit 1;;
+esac
+
+tarball_version_file=$1
+nl='
+'
+
+# First see if there is a tarball-only version file.
+# then try "git describe", then default.
+if test -f $tarball_version_file
+then
+v=`cat $tarball_version_file` || exit 1
+case $v in
+   *$nl*) v= ;; # reject multi-line output
+   [0-9]*) ;;
+   *) v= ;;
+esac
+test -z "$v" \
+   && 

[MERGED] osmo-iuh[master]: Bump version: 0.2.0.57-cf5f-dirty → 0.3.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 0.2.0.57-cf5f-dirty → 0.3.0
..


Bump version: 0.2.0.57-cf5f-dirty → 0.3.0

Change-Id: Id5d2f749bca46e8b81cc2934447707e3db80ea18
---
M configure.ac
M debian/changelog
M debian/control
R debian/libosmo-ranap2.install
M src/Makefile.am
5 files changed, 85 insertions(+), 11 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 8a654dc..bb99dfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,13 +33,13 @@
 fi
 PKG_PROG_PKG_CONFIG([0.20])
 
-PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl)
-PKG_CHECK_MODULES(OSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(OSMOSIGTRAN, libosmo-sigtran >= 0.8.0)
-PKG_CHECK_MODULES(ASN1C, libasn1c >= 0.9.28)
+PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(OSMONETIF, libosmo-netif >= 0.2.0)
+PKG_CHECK_MODULES(OSMOSIGTRAN, libosmo-sigtran >= 0.9.0)
+PKG_CHECK_MODULES(ASN1C, libasn1c >= 0.9.30)
 
 AC_CONFIG_MACRO_DIR([m4])
 
diff --git a/debian/changelog b/debian/changelog
index 0c11efb..1ec6437 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,77 @@
+osmo-iuh (0.3.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * vty: skip installing cmds now always installed by default
+  * src/Makefile.am: drop unused COMMON_LDADD
+  * add --enable-sanitize config option
+  * osmo-hnbgw: drop erratic log line on remote STP address
+  * api doc: clarify byte order in ranap_new_msg_rab_assign_*
+  * tests: sanitize: fix mem leaks, clean after tests
+  * ranap_msg_factory: sanitize: memcpy instead of unaligned int copy
+  * test_common: fix compiler warning: include ranap_common.h
+  * osmo-hnbgw: auto-config local and remote PCs if omitted
+  * cosmetic: osmo-hnbgw: log remote SCCP addresses on startup
+  * osmo-hnbgw: don't configure specific local IP address for STP connection
+  * iu client: store multiple LAC,RAC per RNC = fix paging for multiple RNC
+  * hnbgw: use proper VTY port number defined in libosmocore (4261)
+  * fix 3 compiler warnings in ranap_common.c
+  * hnbgw: use proper talloc ctx for vty telnet init
+  * hnbgw: hnb info: record MCC, MNC, show on 'show hnb'
+  * hnbap,rua,ranap decode: fix segfault on decode error
+  * vty: tweak / improve HNB and cnlink introspection
+  * osmo-hnbgw: vty: revamp output of context maps on 'show hnb'
+  * compiler warning: asn1tostruct.py: return 0 at end of *_free_*()
+  * segfault: context_map gc: use llist_for_each_entry_safe()
+  * rua: discard context maps on id-Disconnect
+  * rua_to_scu(): don't create a context map for UNITDATA
+  * cosmetic: context_map_tmr_cb(): fix comment
+  * osmo-hnbgw config: add 'rnc-id' config item
+  * osmo-hnbgw: startup: log the RNC-Id that is going to be used
+  * comments: hnbgw_rua.c: remove obsolete fixmes for asn1 free
+  * vty typo: 'show hnb': SCTP stream, not SCCP stream
+  * hnbgw_rua.c: log: fix integer format for cN_DomainIndicator
+  * hnbgw_rua: fix dereference of unset pointer
+  * hnbgw_cn: rx ranap: set rc in all cases
+  * hnbgw_hnbap: fix missing return in rx [un]successful outcome
+  * cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome
+  * hnbap: log errors on decoding/encoding HNB-REGISTER msgs
+  * hnb-test: log accurate three-digit MNC with leading zeros
+  * configure: add --enable-werror
+  * cosmetic: use osmo_plmn_id instead of mcc,mnc
+
+  [ Harald Welte ]
+  * osmo-hnbgw: Avoid useless linking to libosmogsm and libsctp
+  * Link libosmo-ranap against libosmovty
+  * Add "-Wall" to the compile rules of the non-asn1c-generated source code
+  * hnbgw.c: Remove dead code creating libsctp linker dependency
+  * sccp_sap_up(): Fix never-hit "default" case in switch
+  * Fix various compiler warnings in hnb-gw code
+  * hnbgw_vty.c: cosmetic: Fix non-tab-indented code
+  * hnbgw_vty.c: Fix "-Werror=format-security" failure in vty_out()
+
+  [ Philipp Maier ]
+  * iu: iu_helpers: add functions to decode ip/port from rab-ass
+  * ranap_msg_factory: check IE encoder return codes
+  * ranap_msg_factory: remove unusued variable
+
+  [ Max ]
+  * Use proper package version
+  * Add control interface
+  * Expand ctrl interface
+  * Enable sanitize for CI tests
+
+  [ Pau Espin Pedrol ]
+  * iu_client.c: Remove unusued variable
+  * configure.ac: Enable -Wall flag
+  * contrib: jenkins.sh: Disable doxygen in libosmocore build
+  * debian/changelog: set prev releases to unstable
+
+  [ Stefan Sperling ]
+  * ensure unique CellIDs in HNB-GW

[MERGED] osmo-iuh[master]: debian/changelog: set prev releases to unstable

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: debian/changelog: set prev releases to unstable
..


debian/changelog: set prev releases to unstable

Otherwise it fools osmo-release.mk

Change-Id: I6c05bb7f5bb2b3e78283a5eae6ccf95ce86838f8
---
M debian/changelog
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/changelog b/debian/changelog
index e8fb68e..0c11efb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-osmo-iuh (0.2.0) UNRELEASED; urgency=low
+osmo-iuh (0.2.0) unstable; urgency=low
 
   * Upstream 0.2.0 release
 
  -- Harald Welte   Fri, 27 Oct 2017 22:19:00 +
 
-osmo-iuh (0.1.0) UNRELEASED; urgency=low
+osmo-iuh (0.1.0) unstable; urgency=low
 
   * Initial release.
 

-- 
To view, visit https://gerrit.osmocom.org/8014
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c05bb7f5bb2b3e78283a5eae6ccf95ce86838f8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] osmo-bsc[master]: bsc_api/GSCON: prevent unnecessary channel mode modifys

2018-05-03 Thread dexter

Review at  https://gerrit.osmocom.org/8019

bsc_api/GSCON: prevent unnecessary channel mode modifys

gsm0808_assign_req() checks if the new channel mode is compatible
with the new mode. If it is, it does a gsm48_lchan_modify(), but
it does not actually check if the new mode is equal to the current
mode.

- skip when the channel is compatible and the new mode is equal to
  the old mode.

- send the ASSIGNMENT COMPLETE directly from ST_ACTIVE when no
  mode modify was necessary.

Change-Id: I86a2d52836c54d2dbd77441b182f757327ec7262
Related: OS#2936
---
M src/libbsc/bsc_api.c
M src/libbsc/bsc_subscr_conn_fsm.c
2 files changed, 10 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/19/8019/1

diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c
index 142efef..1c4dc6b 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -313,6 +313,11 @@
if (handle_new_assignment(conn, chan_mode, full_rate) != 0)
goto error;
} else {
+   /* Check if the channel is already in the requested mode, if
+* yes, we skip unnecessary channel mode modify operations. */
+   if (conn->lchan->tch_mode == chan_mode)
+   return 1;
+
if (chan_mode == GSM48_CMODE_SPEECH_AMR)
handle_mr_config(conn, conn->lchan, full_rate);
 
diff --git a/src/libbsc/bsc_subscr_conn_fsm.c b/src/libbsc/bsc_subscr_conn_fsm.c
index b5e7e7d..7f53f1b 100644
--- a/src/libbsc/bsc_subscr_conn_fsm.c
+++ b/src/libbsc/bsc_subscr_conn_fsm.c
@@ -438,7 +438,11 @@
 * change back to ST_ACTIVE (here) immediately. */
rc = gsm0808_assign_req(conn, 
conn->user_plane.chan_mode,
conn->user_plane.full_rate);
-   if (rc != 0) {
+
+   if (rc == 1) {
+   send_ass_compl(conn->lchan, fi, false);
+   return;
+   } else if (rc != 0) {
resp = 
gsm0808_create_assignment_failure(GSM0808_CAUSE_EQUIPMENT_FAILURE, NULL);
sigtran_send(conn, resp, fi);
return;

-- 
To view, visit https://gerrit.osmocom.org/8019
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86a2d52836c54d2dbd77441b182f757327ec7262
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter 


[PATCH] osmo-ttcn3-hacks[master]: make PCU tests send PS paging requests on BVCI zero

2018-05-03 Thread Stefan Sperling

Review at  https://gerrit.osmocom.org/8020

make PCU tests send PS paging requests on BVCI zero

osmo-pcu discards PAGING-PS messages unless received on the
signalling BVCI 0. The BVCI value must be set to zero both
in the NS header and the BSSGP header. Create new ports between
the PCU_Test components which the TC_paging test case can use
to ensure that both layers send frames with BVCI value of zero.

This does not make PCU_Tests.tc_paging work yet, however the PS
paging request is now processed by osmo-pcu rather than discarded.

Change-Id: I0437123b04b7320a4f690f0646578c57abf6bc87
Related: OS#2404
---
M library/BSSGP_Emulation.ttcn
M library/NS_Emulation.ttcn
M pcu/PCU_Tests.ttcn
3 files changed, 14 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/20/8020/1

diff --git a/library/BSSGP_Emulation.ttcn b/library/BSSGP_Emulation.ttcn
index c7766dc..fcebf04 100644
--- a/library/BSSGP_Emulation.ttcn
+++ b/library/BSSGP_Emulation.ttcn
@@ -99,8 +99,9 @@
 }
 
 type component BSSGP_CT {
-   /* UDP port towards the bottom (IUT) */
+   /* UDP ports towards the bottom (IUT) */
port NS_PT BSCP;
+   port NS_PT BSCP_SIG;
/* NS-User SAP towards the user */
port BSSGP_SP_PT BSSGP_SP;
port BSSGP_PROC_PT BSSGP_PROC;
@@ -534,6 +535,10 @@
}
}
 
+   [] BSSGP_SP.receive(tr_BSSGP_PS_PAGING(0)) -> value bs_pdu sender 
vc_conn {
+   BSCP_SIG.send(f_BnsUdReq(bs_pdu, g_cfg.bvci));
+   }
+
/* pass virtually any PDU from user to NS-UNITDATA PDU on network */
[] BSSGP_SP.receive(PDU_BSSGP:?) -> value bs_pdu sender vc_conn {
BSCP.send(f_BnsUdReq(bs_pdu, g_cfg.bvci));
diff --git a/library/NS_Emulation.ttcn b/library/NS_Emulation.ttcn
index 27acae2..47dc526 100644
--- a/library/NS_Emulation.ttcn
+++ b/library/NS_Emulation.ttcn
@@ -92,6 +92,7 @@
port NS_CODEC_PT NSCP;
/* NS-User SAP towards the user */
port NS_SP_PT NS_SP;
+   port NS_SP_PT NS_SP_SIG;
 
var NseStateg_state := NSE_S_DEAD_BLOCKED;
var ConnectionIdg_conn_id := -1;
@@ -264,6 +265,9 @@
var octetstring enc := 
enc_PDU_BSSGP(ud_req.bssgp);
NSCP.send(t_NS_Send(g_conn_id, 
t_NS_UNITDATA(t_SduCtrlB, ud_req.bvci, enc)));
}
+   [] NS_SP_SIG.receive(t_NsUdReq(mp_nsei, ?, ?, 
omit)) -> value ud_req {
+   NSCP.send(t_NS_Send(g_conn_id, 
t_NS_UNITDATA(t_SduCtrlB, 0, ud_req.sdu)));
+   }
}
}
 
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 12b63d6..54cb9da 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -63,6 +63,7 @@
connect(self:BSSGP_PROC, bssgp_component:BSSGP_PROC);
/* connect lower-end of BSSGP with BSSGP_CODEC_PORT (maps to 
NS_PT*/
connect(bssgp_component:BSCP, ns_component:NS_SP);
+   connect(bssgp_component:BSCP_SIG, ns_component:NS_SP_SIG);
/* connect lower-end of NS emulation to NS_CODEC_PORT (on top 
of IPl4) */
map(ns_component:NSCP, system:NS_CODEC_PORT);
ns_component.start(NSStart());
@@ -200,8 +201,9 @@
g_mmctx.tlli := f_random_tlli();
f_init();
 
-   BSSGP.send(ts_BSSGP_PS_PAGING_IMSI(mp_gb_cfg.bvci, 
g_mmctx.imsi));
-   BSSGP.send(ts_BSSGP_PS_PAGING_PTMSI(mp_gb_cfg.bvci, 
g_mmctx.imsi, tmsi));
+   /* Send paging on signalling BVCI 0 since osmo-pcu does not 
support paging on PTP yet. */
+   BSSGP.send(ts_BSSGP_PS_PAGING_IMSI(0, g_mmctx.imsi));
+   BSSGP.send(ts_BSSGP_PS_PAGING_PTMSI(0, g_mmctx.imsi, tmsi));
 
while (true) {
var BssgpDecoded bd;

-- 
To view, visit https://gerrit.osmocom.org/8020
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0437123b04b7320a4f690f0646578c57abf6bc87
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling 


osmo-sgsn[master]: Bump version: 1.2.0.58-85ca87-dirty → 1.3.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8018
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I466089b40fed02153e2850cb4a748ee6568b130b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] osmo-bsc[master]: resurrect meas_feed.c from openbsc.git history

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: resurrect meas_feed.c from openbsc.git history
..


resurrect meas_feed.c from openbsc.git history

meas_feed.c used to live in libmsc, to send out measurement reports to external
entities for evaluation. When splitting osmo-bsc and osmo-msc from openbsc.git,
meas_feed.c should have moved to osmo-bsc.git, but was dropped with libmsc.

Re-add the old meas_feed.c now into libbsc. This is the latest version that
existed in libmsc, and will not compile as-is here. Modifications to
incorporate in the osmo-bsc build will follow with subsequent patches.

Change-Id: Ic070d82e61c122061fe7297a8c5aabbbcef6b301
---
A src/libbsc/meas_feed.c
1 file changed, 168 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libbsc/meas_feed.c b/src/libbsc/meas_feed.c
new file mode 100644
index 000..1e7b4cd
--- /dev/null
+++ b/src/libbsc/meas_feed.c
@@ -0,0 +1,168 @@
+/* UDP-Feed of measurement reports */
+
+#include 
+
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include "meas_feed.h"
+
+struct meas_feed_state {
+   struct osmo_wqueue wqueue;
+   char scenario[31+1];
+   char *dst_host;
+   uint16_t dst_port;
+};
+
+
+static struct meas_feed_state g_mfs;
+
+static int process_meas_rep(struct gsm_meas_rep *mr)
+{
+   struct msgb *msg;
+   struct meas_feed_meas *mfm;
+   struct vlr_subscr *vsub;
+
+   /* ignore measurements as long as we don't know who it is */
+   if (!mr->lchan || !mr->lchan->conn || !mr->lchan->conn->vsub)
+   return 0;
+
+   vsub = mr->lchan->conn->vsub;
+
+   msg = msgb_alloc(sizeof(struct meas_feed_meas), "Meas. Feed");
+   if (!msg)
+   return 0;
+
+   /* fill in the header */
+   mfm = (struct meas_feed_meas *) msgb_put(msg, sizeof(*mfm));
+   mfm->hdr.msg_type = MEAS_FEED_MEAS;
+   mfm->hdr.version = MEAS_FEED_VERSION;
+
+   /* fill in MEAS_FEED_MEAS specific header */
+   osmo_strlcpy(mfm->imsi, vsub->imsi, sizeof(mfm->imsi));
+   osmo_strlcpy(mfm->name, vsub->name, sizeof(mfm->name));
+   osmo_strlcpy(mfm->scenario, g_mfs.scenario, sizeof(mfm->scenario));
+
+   /* copy the entire measurement report */
+   memcpy(>mr, mr, sizeof(mfm->mr));
+
+   /* copy channel information */
+   /* we assume that the measurement report always belong to some timeslot 
*/
+   mfm->lchan_type = (uint8_t)mr->lchan->type;
+   mfm->pchan_type = (uint8_t)mr->lchan->ts->pchan;
+   mfm->bts_nr = mr->lchan->ts->trx->bts->nr;
+   mfm->trx_nr = mr->lchan->ts->trx->nr;
+   mfm->ts_nr = mr->lchan->ts->nr;
+   mfm->ss_nr = mr->lchan->nr;
+
+   /* and send it to the socket */
+   if (osmo_wqueue_enqueue(_mfs.wqueue, msg) != 0)
+   msgb_free(msg);
+
+   return 0;
+}
+
+static int meas_feed_sig_cb(unsigned int subsys, unsigned int signal,
+   void *handler_data, void *signal_data)
+{
+   struct lchan_signal_data *sdata = signal_data;
+
+   if (subsys != SS_LCHAN)
+   return 0;
+
+   if (signal == S_LCHAN_MEAS_REP)
+   process_meas_rep(sdata->mr);
+
+   return 0;
+}
+
+static int feed_write_cb(struct osmo_fd *ofd, struct msgb *msg)
+{
+   return write(ofd->fd, msgb_data(msg), msgb_length(msg));
+}
+
+static int feed_read_cb(struct osmo_fd *ofd)
+{
+   int rc;
+   char buf[256];
+
+   rc = read(ofd->fd, buf, sizeof(buf));
+   ofd->fd &= ~BSC_FD_READ;
+
+   return rc;
+}
+
+int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port)
+{
+   int rc;
+   int already_initialized = 0;
+
+   if (g_mfs.wqueue.bfd.fd)
+   already_initialized = 1;
+
+
+   if (already_initialized &&
+   !strcmp(dst_host, g_mfs.dst_host) &&
+   dst_port == g_mfs.dst_port)
+   return 0;
+
+   if (!already_initialized) {
+   osmo_wqueue_init(_mfs.wqueue, 10);
+   g_mfs.wqueue.write_cb = feed_write_cb;
+   g_mfs.wqueue.read_cb = feed_read_cb;
+   osmo_signal_register_handler(SS_LCHAN, meas_feed_sig_cb, NULL);
+   }
+
+   if (already_initialized) {
+   osmo_wqueue_clear(_mfs.wqueue);
+   osmo_fd_unregister(_mfs.wqueue.bfd);
+   close(g_mfs.wqueue.bfd.fd);
+   /* don't set to zero, as that would mean 'not yet initialized' 
*/
+   g_mfs.wqueue.bfd.fd = -1;
+   }
+   rc = osmo_sock_init_ofd(_mfs.wqueue.bfd, AF_UNSPEC, SOCK_DGRAM,
+   IPPROTO_UDP, dst_host, dst_port,
+   OSMO_SOCK_F_CONNECT);
+   if (rc < 0)
+   return rc;
+
+   

[PATCH] libasn1c[master]: configure.ac: Use git-version-gen to set VERSION

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8012

configure.ac: Use git-version-gen to set VERSION

We updated to 0.9.29 tag, but configure.ac was locked to 0.9.28, which
means release 0.9.29 is going to generated an old version and thus is
broken. A new release will follow this commit.

Change-Id: I8e1665f21d1bc76922423cabad3df72a2502f559
---
M configure.ac
A git-version-gen
2 files changed, 153 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/12/8012/1

diff --git a/configure.ac b/configure.ac
index ab63045..53720b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,5 @@
-AC_INIT([libasn1c], [0.9.28],
+AC_INIT([libasn1c],
+m4_esyscmd([./git-version-gen .tarball-version]),
 [openbsc-de...@lists.openbsc.org])
 
 AM_INIT_AUTOMAKE([dist-bzip2])
@@ -75,4 +76,3 @@
 include/Makefile
 include/asn1c/Makefile
 Makefile)
-
diff --git a/git-version-gen b/git-version-gen
new file mode 100755
index 000..42cf3d2
--- /dev/null
+++ b/git-version-gen
@@ -0,0 +1,151 @@
+#!/bin/sh
+# Print a version string.
+scriptversion=2010-01-28.01
+
+# Copyright (C) 2007-2010 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see .
+
+# This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/.
+# It may be run two ways:
+# - from a git repository in which the "git describe" command below
+#   produces useful output (thus requiring at least one signed tag)
+# - from a non-git-repo directory containing a .tarball-version file, which
+#   presumes this script is invoked like "./git-version-gen .tarball-version".
+
+# In order to use intra-version strings in your project, you will need two
+# separate generated version string files:
+#
+# .tarball-version - present only in a distribution tarball, and not in
+#   a checked-out repository.  Created with contents that were learned at
+#   the last time autoconf was run, and used by git-version-gen.  Must not
+#   be present in either $(srcdir) or $(builddir) for git-version-gen to
+#   give accurate answers during normal development with a checked out tree,
+#   but must be present in a tarball when there is no version control system.
+#   Therefore, it cannot be used in any dependencies.  GNUmakefile has
+#   hooks to force a reconfigure at distribution time to get the value
+#   correct, without penalizing normal development with extra reconfigures.
+#
+# .version - present in a checked-out repository and in a distribution
+#   tarball.  Usable in dependencies, particularly for files that don't
+#   want to depend on config.h but do want to track version changes.
+#   Delete this file prior to any autoconf run where you want to rebuild
+#   files to pick up a version string change; and leave it stale to
+#   minimize rebuild time after unrelated changes to configure sources.
+#
+# It is probably wise to add these two files to .gitignore, so that you
+# don't accidentally commit either generated file.
+#
+# Use the following line in your configure.ac, so that $(VERSION) will
+# automatically be up-to-date each time configure is run (and note that
+# since configure.ac no longer includes a version string, Makefile rules
+# should not depend on configure.ac for version updates).
+#
+# AC_INIT([GNU project],
+# m4_esyscmd([build-aux/git-version-gen .tarball-version]),
+# [bug-project@example])
+#
+# Then use the following lines in your Makefile.am, so that .version
+# will be present for dependencies, and so that .tarball-version will
+# exist in distribution tarballs.
+#
+# BUILT_SOURCES = $(top_srcdir)/.version
+# $(top_srcdir)/.version:
+#  echo $(VERSION) > $@-t && mv $@-t $@
+# dist-hook:
+#  echo $(VERSION) > $(distdir)/.tarball-version
+
+case $# in
+1) ;;
+*) echo 1>&2 "Usage: $0 \$srcdir/.tarball-version"; exit 1;;
+esac
+
+tarball_version_file=$1
+nl='
+'
+
+# First see if there is a tarball-only version file.
+# then try "git describe", then default.
+if test -f $tarball_version_file
+then
+v=`cat $tarball_version_file` || exit 1
+case $v in
+   *$nl*) v= ;; # reject multi-line output
+   [0-9]*) ;;
+   *) v= ;;
+esac
+test -z "$v" \
+   && echo "$0: WARNING: $tarball_version_file seems to be damaged" 1>&2
+fi
+
+if test -n "$v"
+then
+: # use $v
+elif
+   v=`git describe --abbrev=4 --match='v*' 

[PATCH] libasn1c[master]: Bump version: 0.9.29.1-42b1 → 0.9.30

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8013

Bump version: 0.9.29.1-42b1 → 0.9.30

Change-Id: I5e4817c04a980d099c146f977adf6f15f7bd56b0
---
M debian/changelog
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/13/8013/1

diff --git a/debian/changelog b/debian/changelog
index c2fd343..26b8e9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libasn1c (0.9.30) unstable; urgency=medium
+
+  * configure.ac: Use git-version-gen to set VERSION
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 18:23:35 +0200
+
 libasn1c (0.9.29) unstable; urgency=medium
 
   [ Harald Welte ]

-- 
To view, visit https://gerrit.osmocom.org/8013
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e4817c04a980d099c146f977adf6f15f7bd56b0
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 


[PATCH] osmo-msc[master]: Bump version: 1.1.2.269-86f21-dirty → 1.2.0

2018-05-03 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/8017

Bump version: 1.1.2.269-86f21-dirty → 1.2.0

Change-Id: I79d1f009617b247b6c3322a7926fd565913b1e6c
---
M configure.ac
M debian/changelog
2 files changed, 309 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/17/8017/1

diff --git a/configure.ac b/configure.ac
index 1dd79e8..deee84b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,16 +39,16 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.2.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.8.0)
-PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp)
-PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.1.0)
-PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.12.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
+PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.3.0)
+PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.13.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
@@ -84,7 +84,7 @@
 AC_ARG_ENABLE([smpp], [AS_HELP_STRING([--enable-smpp], [Build the SMPP 
interface])],
 [osmo_ac_build_smpp="$enableval"],[osmo_ac_build_smpp="no"])
 if test "$osmo_ac_build_smpp" = "yes" ; then
-PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.12)
+PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.13.0)
 AC_DEFINE(BUILD_SMPP, 1, [Define if we want to build SMPP])
 fi
 AM_CONDITIONAL(BUILD_SMPP, test "x$osmo_ac_build_smpp" = "xyes")
@@ -94,8 +94,8 @@
 AC_ARG_ENABLE([iu], [AS_HELP_STRING([--enable-iu], [Build 3G support, aka IuPS 
and IuCS interfaces])],
 [osmo_ac_iu="$enableval"],[osmo_ac_iu="no"])
 if test "x$osmo_ac_iu" = "xyes" ; then
-PKG_CHECK_MODULES(LIBASN1C, libasn1c >= 0.9.28)
-PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap >= 0.2.0)
+PKG_CHECK_MODULES(LIBASN1C, libasn1c >= 0.9.30)
+PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap >= 0.3.0)
 AC_DEFINE(BUILD_IU, 1, [Define if we want to build IuPS and IuCS 
interfaces support])
 fi
 AM_CONDITIONAL(BUILD_IU, test "x$osmo_ac_iu" = "xyes")
diff --git a/debian/changelog b/debian/changelog
index 708129d..f14c792 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,299 @@
+osmo-msc (1.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * msc_vlr_tests: fix rebuild: rebuild when src/ libs were rebuilt
+  * cosmetic: vlr: rename auth_tuple_max_use_count to _reuse_
+  * tests: add msc_vlr_test_authen_reuse
+  * vty: make auth tuple reuse configurable
+  * vty: drop deprecated 'logging level sms...'
+  * defaults: assign TMSI by default
+  * vty: skip installing cmds now always installed by default
+  * examples: apply mgcp_client vty rename from 'mgcpgw' to 'mgw'
+  * vlr: auth_fsm_start: check return value of fsm alloc
+  * add --enable-sanitize config option
+  * rate_ctr: don't use . as separator
+  * sub_pres_vlr_fsm_start: fix heap use after free
+  * vlr_gsupc_read_cb: fix use after free of GSUP msgb
+  * subscr_conn: don't close after conn timeout
+  * vlr_subscr_conn_timeout(): don't fire events to discarded fi
+  * cosmetic: msc_vlr_tests: add comment to show expected tallocs
+  * sms_queue_test: sanitize: clean up talloc contexts when done
+  * cosmetic: log: CC state transition: log trans id and subscr
+  * cosmetic: log: CC trans_alloc: log trans_id and subscr, not memory addrs
+  * cosmetic: debug log: mncc: detached subscr: show subscriber
+  * msc_vlr_tests: fix test nr arg: clear errno before strtol()
+  * msc_vlr_tests: set a valid lac for fake conns
+  * use only 0.23.1 as point code for both A and Iu
+  * subscr_conn: introduce usage tokens for ref error tracking
+  * cosmetic: log error when using a conn that's in release
+  * add msc_vlr_test_call to reproduce a sanitizer error
+  * fix use after free: missing conn_get on CC paging response
+  * sms db: don't attempt to query pending SMS for unset MSISDN
+  * sms db: properly quote MSISDN in various SQL queries
+  * sms.db: silence libdbi warnings on out-of-range index
+  * fix vty write: add missing 'authentication optional/required' output
+  * compiler warning: drop double 'const' in a_iface_tx_cipher_mode()
+  * debug log: a_iface_tx_cipher_mode(): log cipher and key
+  * cosmetic: msc_vlr_tests: log SMS details when invoked with -v
+  * vlr: debug log: log Ciphering Mode details
+  * fix BSSMAP Cipher Mode Cmd: properly set 

[MERGED] libsmpp34[master]: src/Makefile.am: Use LIBVERSION variable to set version-info

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: src/Makefile.am: Use LIBVERSION variable to set version-info
..


src/Makefile.am: Use LIBVERSION variable to set version-info

Same as we do in all other osmocom projects, and osmo-release.mk
expects that variable name.

Change-Id: I9c6ebb9656d6756e8344fd57a246be58b105c419
---
M src/Makefile.am
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/Makefile.am b/src/Makefile.am
index 940fd0a..8954eae 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,6 @@
+# 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:1:0
 
 # src/Makefile.am #
 lib_LTLIBRARIES = libsmpp34.la
@@ -22,7 +25,5 @@
 libsmpp34_la_CFLAGS = @CFLAGS@ -Wall
 libsmpp34_la_CFLAGS += -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
 libsmpp34_la_INCLUDES = -I. -I..
-libsmpp34_la_LDFLAGS = @LDFLAGS@ -version-info 0:1:0
+libsmpp34_la_LDFLAGS = @LDFLAGS@ -version-info $(LIBVERSION) -no-undefined
 libsmpp34_la_LDFLAGS += -lrt -lpthread
-
-

-- 
To view, visit https://gerrit.osmocom.org/8010
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9c6ebb9656d6756e8344fd57a246be58b105c419
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


libsmpp34[master]: src/Makefile.am: Use LIBVERSION variable to set version-info

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8010
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9c6ebb9656d6756e8344fd57a246be58b105c419
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


libsmpp34[master]: Bump version: 1.12.0.20-a637-dirty → 1.13.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8011
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If8b3a91714b4738ace025fc7ccbcf6a8e1190c4b
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] libsmpp34[master]: Bump version: 1.12.0.20-a637-dirty → 1.13.0

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: Bump version: 1.12.0.20-a637-dirty → 1.13.0
..


Bump version: 1.12.0.20-a637-dirty → 1.13.0

Change-Id: If8b3a91714b4738ace025fc7ccbcf6a8e1190c4b
---
M debian/changelog
M debian/control
R debian/libsmpp1.install
M src/Makefile.am
4 files changed, 36 insertions(+), 6 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/changelog b/debian/changelog
index 5a142af..b8459ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libsmpp34 (1.12.0) UNRELEASED; urgency=medium
+libsmpp34 (1.13.0) unstable; urgency=medium
 
   [ Holger Hans Peter Freyther ]
   * Move forward towards a new release.
@@ -8,8 +8,38 @@
   * SMPP_DELIVERY_RECEIPT_* constants
   * SMPP ESM class parameter definitions
   * smpp34_tlv_for_each() helper macro
+  * Fix 'make distcheck' by adding .version to EXTRA_DISTI
+  * debian/control: Fix Vcs-{Browser,Git} URLs
 
- -- Harald Welte   Mon, 14 Aug 2017 19:08:37 
+0200
+  [ Max ]
+  * Use release helper from libosmocore
+  * Enable sanitize for CI tests
+
+  [ Pau Espin Pedrol ]
+  * smpp34_dumpBuf.c: remove unused variable
+  * smpp34_structs.h: Fix trailing whitespace
+  * smpp34_structs.h: Fix truncated output in str_tlv_id
+  * smpp34_unpack.c: remove unused variable
+  * bind_receiver_resp_test.c: Fix compilation warning
+  * Fix Out of bounds compilation warning in OCTET8
+  * contrib: Enable -Werror by default
+  * src/Makefile.am: Use LIBVERSION variable to set version-info
+
+  [ Alexander Couzens ]
+  * debian/rules: show testsuite.log when tests are failing
+
+  [ Neels Hofmeyr ]
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * add --enable-sanitize config option
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Martin Hauke ]
+  * binaries/Makefile.am: Fix parallel build issue
+  * jenkins: Enable parallel build and distcheck
+  * jenkins.sh: output all test logs when 'make check' failed
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 18:04:10 +0200
 
 libsmpp34 (1.10z1) stable; urgency=low
 
diff --git a/debian/control b/debian/control
index 84fd5a5..be4a63b 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@
 Vcs-Git: git://git.osmocom.org/libsmpp34.git
 Homepage: https://projects.osmocom.org/projects/libsmpp34
 
-Package: libsmpp0
+Package: libsmpp1
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -35,7 +35,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libsmpp0 (= ${binary:Version}),
+Depends: libsmpp1 (= ${binary:Version}),
  ${misc:Depends}
 Description: Development files for libsmpp34
  This library is an implementation for providing the PDU handling of the
@@ -55,5 +55,5 @@
 Architecture: any
 Section: debug
 Priority: extra
-Depends: libsmpp0 (= ${binary:Version}), ${misc:Depends}
+Depends: libsmpp1 (= ${binary:Version}), ${misc:Depends}
 Description: Debug symbols for libsmpp34
diff --git a/debian/libsmpp0.install b/debian/libsmpp1.install
similarity index 100%
rename from debian/libsmpp0.install
rename to debian/libsmpp1.install
diff --git a/src/Makefile.am b/src/Makefile.am
index 8954eae..67550f3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 # 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:1:0
+LIBVERSION=1:0:0
 
 # src/Makefile.am #
 lib_LTLIBRARIES = libsmpp34.la

-- 
To view, visit https://gerrit.osmocom.org/8011
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If8b3a91714b4738ace025fc7ccbcf6a8e1190c4b
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


[MERGED] osmo-msc[master]: Bump version: 1.1.2.269-86f21-dirty → 1.2.0

2018-05-03 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged.

Change subject: Bump version: 1.1.2.269-86f21-dirty → 1.2.0
..


Bump version: 1.1.2.269-86f21-dirty → 1.2.0

Change-Id: I79d1f009617b247b6c3322a7926fd565913b1e6c
---
M configure.ac
M debian/changelog
2 files changed, 309 insertions(+), 13 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 1dd79e8..deee84b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,16 +39,16 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.2.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.8.0)
-PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp)
-PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.1.0)
-PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.12.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.5.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
+PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.9.0)
+PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.3.0)
+PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.13.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
@@ -84,7 +84,7 @@
 AC_ARG_ENABLE([smpp], [AS_HELP_STRING([--enable-smpp], [Build the SMPP 
interface])],
 [osmo_ac_build_smpp="$enableval"],[osmo_ac_build_smpp="no"])
 if test "$osmo_ac_build_smpp" = "yes" ; then
-PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.12)
+PKG_CHECK_MODULES(LIBSMPP34, libsmpp34 >= 1.13.0)
 AC_DEFINE(BUILD_SMPP, 1, [Define if we want to build SMPP])
 fi
 AM_CONDITIONAL(BUILD_SMPP, test "x$osmo_ac_build_smpp" = "xyes")
@@ -94,8 +94,8 @@
 AC_ARG_ENABLE([iu], [AS_HELP_STRING([--enable-iu], [Build 3G support, aka IuPS 
and IuCS interfaces])],
 [osmo_ac_iu="$enableval"],[osmo_ac_iu="no"])
 if test "x$osmo_ac_iu" = "xyes" ; then
-PKG_CHECK_MODULES(LIBASN1C, libasn1c >= 0.9.28)
-PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap >= 0.2.0)
+PKG_CHECK_MODULES(LIBASN1C, libasn1c >= 0.9.30)
+PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap >= 0.3.0)
 AC_DEFINE(BUILD_IU, 1, [Define if we want to build IuPS and IuCS 
interfaces support])
 fi
 AM_CONDITIONAL(BUILD_IU, test "x$osmo_ac_iu" = "xyes")
diff --git a/debian/changelog b/debian/changelog
index 708129d..f14c792 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,299 @@
+osmo-msc (1.2.0) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * msc_vlr_tests: fix rebuild: rebuild when src/ libs were rebuilt
+  * cosmetic: vlr: rename auth_tuple_max_use_count to _reuse_
+  * tests: add msc_vlr_test_authen_reuse
+  * vty: make auth tuple reuse configurable
+  * vty: drop deprecated 'logging level sms...'
+  * defaults: assign TMSI by default
+  * vty: skip installing cmds now always installed by default
+  * examples: apply mgcp_client vty rename from 'mgcpgw' to 'mgw'
+  * vlr: auth_fsm_start: check return value of fsm alloc
+  * add --enable-sanitize config option
+  * rate_ctr: don't use . as separator
+  * sub_pres_vlr_fsm_start: fix heap use after free
+  * vlr_gsupc_read_cb: fix use after free of GSUP msgb
+  * subscr_conn: don't close after conn timeout
+  * vlr_subscr_conn_timeout(): don't fire events to discarded fi
+  * cosmetic: msc_vlr_tests: add comment to show expected tallocs
+  * sms_queue_test: sanitize: clean up talloc contexts when done
+  * cosmetic: log: CC state transition: log trans id and subscr
+  * cosmetic: log: CC trans_alloc: log trans_id and subscr, not memory addrs
+  * cosmetic: debug log: mncc: detached subscr: show subscriber
+  * msc_vlr_tests: fix test nr arg: clear errno before strtol()
+  * msc_vlr_tests: set a valid lac for fake conns
+  * use only 0.23.1 as point code for both A and Iu
+  * subscr_conn: introduce usage tokens for ref error tracking
+  * cosmetic: log error when using a conn that's in release
+  * add msc_vlr_test_call to reproduce a sanitizer error
+  * fix use after free: missing conn_get on CC paging response
+  * sms db: don't attempt to query pending SMS for unset MSISDN
+  * sms db: properly quote MSISDN in various SQL queries
+  * sms.db: silence libdbi warnings on out-of-range index
+  * fix vty write: add missing 'authentication optional/required' output
+  * compiler warning: drop double 'const' in a_iface_tx_cipher_mode()
+  * debug log: a_iface_tx_cipher_mode(): log cipher and key

[MERGED] osmo-mgw[master]: Bump version: 1.2.0.109-8d064-dirty → 1.3.0

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: Bump version: 1.2.0.109-8d064-dirty → 1.3.0
..


Bump version: 1.2.0.109-8d064-dirty → 1.3.0

Change-Id: I524222f5a056111325087cfb44d83d02571b475f
---
M TODO-RELEASE
M configure.ac
M debian/changelog
M debian/control
R debian/libosmo-mgcp-client3.install
M src/libosmo-legacy-mgcp/Makefile.am
M src/libosmo-mgcp-client/Makefile.am
7 files changed, 133 insertions(+), 11 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/TODO-RELEASE b/TODO-RELEASE
index 9d0e0dc..c5a3b36 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -24,6 +24,3 @@
 # If any interfaces have been removed or changed since the last public 
release, a=0.
 #
 #library   whatdescription / commit summary line
-libosmo-mgcp   API/ABI change  parse and represent connection 
identifiers as hex strings
-libosmo-mgcp   API/ABI change  connection identifiers are assigned by 
the server, not CA
-libosmo-mgcp-clientAPI/ABI change  parse and store connection identifier 
in response
\ No newline at end of file
diff --git a/configure.ac b/configure.ac
index fed44f0..0ded288 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,10 +39,10 @@
 AC_SUBST(LIBRARY_DL)
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.10.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.1.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.11.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.2.0)
 
 AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
diff --git a/debian/changelog b/debian/changelog
index bb9a849..a8a850a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,128 @@
+osmo-mgw (1.3.0) unstable; urgency=medium
+
+  [ Pau Espin Pedrol ]
+  * contrib: Add osmo-mgw systemd service
+  * legacy: mgcp_protocol: Don't print osmux stats if it is off
+  * mgcp_stat: Don't print osmux stats if it is off
+
+  [ Neels Hofmeyr ]
+  * fix segfault: DLCX for unknown endpoint: dont try to log NULL endpoint
+  * MGCP endpoints: parse as decimal, not hex
+  * add --enable-sanitize config option
+  * legacy_mgcp: mgcp_test: sanitize: free msgb_ctx
+  * mgcp_test: test_packet_error_detection: sanitize: free all conns
+  * mgcp_test: test_no_cycle: sanitize: free endp
+  * mgcp_test: sanitize: free msgb_ctx
+  * mgcp_client: don't configure "bts base"
+  * Revert "mgcp_client: don't configure "bts base"" until osmo-msc is ready
+  * mgcp_client: add transaction cleanup
+  * mgcp_client_test makefile: add update_exp target
+  * cosmetic: mgcp_network: typo in log
+  * osmo-mgw: Add talloc context introspection via VTY
+  * mgcp_client: show failure by MGCP SDP section parsing test
+  * mgcp_client: cosmetic: clean up SDP params parsing
+  * mgcp_client: detect SDP section-start parsing errors
+  * compiler warning: ignore deprecated in mgcp_client_test.c
+  * configure: add --enable-werror
+  * jenkins.sh: add --enable-werror to configure flags
+  * cosmetic: mgcp, legacy_mgcp: drop unused vty.h definitions
+  * use osmo_init_logging2() with proper talloc ctx
+
+  [ Philipp Maier ]
+  * osmux: fix nullpointer dereference
+  * cosmetic: guard dead osmux vty code with ifdef
+  * cosmetic: remove prefix "net" from rtp related vty commands
+  * doc: update sample config file
+  * cosmetic: use correct VTY port number constant
+  * vty: simplify endpoint allocation
+  * vty: do not change number_endpoints at runtime
+  * MGCP: Connection Identifiers are hex strings
+  * libosmo-mgcp: Connection Identifiers are allocated by MGW, not CA
+  * client: use osmo_strlcpy instead of strncpy
+  * cosmetic: fix sourcecode formatting
+  * cosmetic: clearly mark endpoint numbers as hex
+  * client: use string as connection identifier
+  * conn: remove assertions
+  * mgcp_test: fix wrong strcmp() parameters
+  * mgcp_test: fix nullpointer dereference
+  * mgcp_test: add returncode check
+  * mgcp_test: fix possible double free
+  * mcgp_client: mgcp_msg_gen(): add checks to verify params
+  * network: use originating RTP packet address for loopback
+  * client: mgcp_response_parse_params: check rtp port
+  * mgcp: allow endpoints beginning from zero
+  * client/common: move constant MGCP_ENDPOINT_MAXLEN
+  * mgcp: make domain name configurable
+  * cosmetic: protocol: remove unnecessary nul termination
+  * client: do not insist on \n\n when parsing MGCP messages
+  * main: display mgcp ip/port
+  * client: make callid in MDCX mandatory
+  * client: add missing mandatory SDP fields
+  * mgcp: permit wildcarded endpoint assignment (CRCX)
+  * mgcp: add prefix to virtual trunk
+  * client: eliminate destructive parameter parsing
+  * client: 

libasn1c[master]: Bump version: 0.9.28 → 0.9.29

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8008
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


osmo-mgw[master]: Bump version: 1.2.0.109-8d064-dirty → 1.3.0

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8009
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I524222f5a056111325087cfb44d83d02571b475f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


libasn1c[master]: build: Support make release target

2018-05-03 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/8006
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[MERGED] libasn1c[master]: Bump version: 0.9.28 → 0.9.29

2018-05-03 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: Bump version: 0.9.28 → 0.9.29
..


Bump version: 0.9.28 → 0.9.29

Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
---
M debian/changelog
M src/Makefile.am
2 files changed, 21 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/changelog b/debian/changelog
index 457e269..c2fd343 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,23 @@
+libasn1c (0.9.29) unstable; urgency=medium
+
+  [ Harald Welte ]
+  * link libasn1c against libmath, don't ask users to do it
+
+  [ Neels Hofmeyr ]
+  * fix compiler warning: drop dead code from BIT_STRING_fromBuf()
+  * jenkins: add missing set -e to catch build errors
+  * jenkins: use osmo-clean-workspace.sh before and after build
+  * add --enable-sanitize config option
+  * configure: add --enable-werror
+  * jenkins.sh: use --enable-werror configure flag, not CFLAGS
+
+  [ Pau Espin Pedrol ]
+  * .gitignore: add compile
+  * build: Support make release target
+  * debian/changelog: Set previous versions to unstable
+
+ -- Pau Espin Pedrol   Thu, 03 May 2018 17:18:02 +0200
+
 libasn1c (0.9.28) unstable; urgency=low
 
   * Initial release.
diff --git a/src/Makefile.am b/src/Makefile.am
index 8009c76..27fce6d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
 # 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=1:0:0
+LIBVERSION=1:1:0
 
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include/asn1c
 AM_CFLAGS = -fPIC -Wall $(LIBTALLOC_CFLAGS)

-- 
To view, visit https://gerrit.osmocom.org/8008
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
Gerrit-PatchSet: 1
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


  1   2   >