Projects
osmocom:nightly
osmo-bsc
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 272
View file
osmo-bsc.spec
Changed
@@ -17,14 +17,14 @@ %define _lto_cflags %{nil} Name: osmo-bsc -Requires: osmocom-nightly = 202303180005 -Version: 1.10.0.96.9f761.202303180005 +Requires: osmocom-nightly = 202303190005 +Version: 1.10.0.98.f276.202303190005 Release: 0 Summary: OsmoBSC: Osmocom's Base Station Controller for 2G CS mobile networks License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Hardware/Mobile URL: https://osmocom.org/projects/osmobsc -Source: osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz +Source: osmo-bsc_1.10.0.98.f276.202303190005.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2 @@ -49,7 +49,7 @@ OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks. %package abisip-find -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: CLI utility to find ip.access compatible BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -58,7 +58,7 @@ Command line utility to find ip.access compatible BTS. %package ipaccess-utils -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: Command line utilities for ip.access nanoBTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -69,7 +69,7 @@ and ipaccess-proxy. %package bs11-utils -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: Command line utilities for Siemens BS-11 BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -80,7 +80,7 @@ public telephone network as frequency standard for the E1 line. %package meas-utils -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: Command line utilities for OsmoBSC's measurement reports License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities
View file
osmo-bsc_1.10.0.96.9f761.202303180005.dsc -> osmo-bsc_1.10.0.98.f276.202303190005.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-bsc Binary: osmo-bsc, osmo-bsc-dbg, abisip-find, osmo-bsc-ipaccess-utils, osmo-bsc-bs11-utils, osmo-bsc-meas-utils, osmo-bsc-doc Architecture: any all -Version: 1.10.0.96.9f761.202303180005 +Version: 1.10.0.98.f276.202303190005 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-bsc Standards-Version: 3.9.8 @@ -18,8 +18,8 @@ osmo-bsc-ipaccess-utils deb net extra arch=any osmo-bsc-meas-utils deb net extra arch=any Checksums-Sha1: - c09604fea502daba542f094f285c9a7870db4ccc 595896 osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz + 9ae23c1b7d6826418dfb6c5c8a1792c3f73120d6 595888 osmo-bsc_1.10.0.98.f276.202303190005.tar.xz Checksums-Sha256: - b1b599fbdcf2ea537e1e4abbccde51efb6f242a49442ad9f73d5f84bcc4e8511 595896 osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz + 24ce5715116a55df6b5a8c2cbc1681c40e5ba17916db526d951a323503aeab01 595888 osmo-bsc_1.10.0.98.f276.202303190005.tar.xz Files: - 6492e4bdf70ad901334195a6d9826f2c 595896 osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz + 8f7c9564bdbe83ab1c4ff2de3797844e 595888 osmo-bsc_1.10.0.98.f276.202303190005.tar.xz
View file
osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz/.tarball-version -> osmo-bsc_1.10.0.98.f276.202303190005.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.10.0.96-9f761.202303180005 +1.10.0.98-f276.202303190005
View file
osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz/contrib/osmo-bsc.spec.in -> osmo-bsc_1.10.0.98.f276.202303190005.tar.xz/contrib/osmo-bsc.spec.in
Changed
@@ -17,7 +17,7 @@ %define _lto_cflags %{nil} Name: osmo-bsc -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Version: @VERSION@ Release: 0 Summary: OsmoBSC: Osmocom's Base Station Controller for 2G CS mobile networks @@ -48,7 +48,7 @@ OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks. %package abisip-find -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: CLI utility to find ip.access compatible BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -57,7 +57,7 @@ Command line utility to find ip.access compatible BTS. %package ipaccess-utils -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: Command line utilities for ip.access nanoBTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -68,7 +68,7 @@ and ipaccess-proxy. %package bs11-utils -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: Command line utilities for Siemens BS-11 BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -79,7 +79,7 @@ public telephone network as frequency standard for the E1 line. %package meas-utils -Requires: osmocom-nightly = 202303180005 +Requires: osmocom-nightly = 202303190005 Summary: Command line utilities for OsmoBSC's measurement reports License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities
View file
osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz/debian/changelog -> osmo-bsc_1.10.0.98.f276.202303190005.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-bsc (1.10.0.96.9f761.202303180005) unstable; urgency=medium +osmo-bsc (1.10.0.98.f276.202303190005) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Sat, 18 Mar 2023 00:06:14 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Sun, 19 Mar 2023 00:06:28 +0000 osmo-bsc (1.10.0) unstable; urgency=medium
View file
osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz/debian/control -> osmo-bsc_1.10.0.98.f276.202303190005.tar.xz/debian/control
Changed
@@ -26,7 +26,7 @@ Package: osmo-bsc Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202303180005), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202303190005), ${misc:Depends}, ${shlibs:Depends} Recommends: osmo-mgw Description: OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks @@ -34,19 +34,19 @@ Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202303180005), osmo-bsc (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202303190005), osmo-bsc (= ${binary:Version}), ${misc:Depends} Description: OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks Package: abisip-find Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202303180005), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202303190005), ${misc:Depends}, ${shlibs:Depends} Description: Command line utility to find ip.access compatible BTS Package: osmo-bsc-ipaccess-utils Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202303180005), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202303190005), ${misc:Depends}, ${shlibs:Depends} Description: Command line utilities for ip.access nanoBTS This package contains utilities that are specific for nanoBTS when being used together with OpenBSC. It contains mainly two tools: ipaccess-config and ipaccess-proxy. @@ -54,7 +54,7 @@ Package: osmo-bsc-bs11-utils Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202303180005), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202303190005), ${misc:Depends}, ${shlibs:Depends} Description: Command line utilities for Siemens BS-11 BTS There is a tool in this package for configuring the Siemens BS-11 BTS. Additionally, it contains one tool for making use of an ISDN-card and the @@ -63,14 +63,14 @@ Package: osmo-bsc-meas-utils Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202303180005), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202303190005), ${misc:Depends}, ${shlibs:Depends} Description: Command line utilities to manage measurement reports. Package: osmo-bsc-doc Architecture: all Section: doc Priority: optional -Depends: osmocom-nightly (= 202303180005), ${misc:Depends} +Depends: osmocom-nightly (= 202303190005), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz/src/osmo-bsc/bsc_vty.c -> osmo-bsc_1.10.0.98.f276.202303190005.tar.xz/src/osmo-bsc/bsc_vty.c
Changed
@@ -2712,6 +2712,7 @@ { struct bsc_msc_data *data = bsc_msc_data(vty); struct gsm_audio_support tmpARRAY_SIZE(data->audio_support); + const char *arg = NULL; int i; /* Nr of arguments must fit in the array */ @@ -2724,35 +2725,28 @@ /* check all given arguments first */ for (i = 0; i < argc; i++) { int j; + int ver; + arg = argvi; - /* check for hrX or frX */ - if (strlen(argvi) != 3 - || argvi1 != 'r' - || (argvi0 != 'h' && argvi0 != 'f') - || argvi2 < '0' - || argvi2 > '9') { - vty_out(vty, "Codec name must be hrX or frX. Was '%s'%s", argvi, VTY_NEWLINE); - return CMD_WARNING; - } - - /* store in tmp first, to not overwrite data->audio_support in case of error */ - tmpi.ver = atoi(argvi + 2); - if (strncmp("hr", argvi, 2) == 0) + if (strncmp("hr", arg, 2) == 0) tmpi.hr = 1; - else if (strncmp("fr", argvi, 2) == 0) + else if (strncmp("fr", arg, 2) == 0) tmpi.hr = 0; + else + goto invalid_arg; - /* forbid invalid versions */ - if (tmpi.ver < 1 || tmpi.ver > 7 - || (tmpi.hr && tmpi.ver == 2)) { - vty_out(vty, "'%s' is not a valid codec version%s", argvi, VTY_NEWLINE); - return CMD_WARNING; - } + ver = atoi(arg + 2); + if (ver < 1 || ver > 7) + goto invalid_arg; + tmpi.ver = ver; + + if (tmpi.hr == 1 && ver == 2) + goto invalid_arg; /* prevent duplicate entries */ for (j = 0; j < i; j++) { if (gsm_audio_support_cmp(&tmpj, &tmpi) == 0) { - vty_out(vty, "duplicate entry in 'msc' / 'codec-support': %s%s", argvi, VTY_NEWLINE); + vty_out(vty, "duplicate entry in 'msc' / 'codec-list': %s%s", argvi, VTY_NEWLINE); return CMD_WARNING; } } @@ -2762,6 +2756,10 @@ data->audio_length = argc; return CMD_SUCCESS; + +invalid_arg: + vty_out(vty, "%s is not a valid codec version%s", osmo_quote_cstr_c(OTC_SELECT, arg, -1), VTY_NEWLINE); + return CMD_WARNING; } #define LEGACY_STR "This command has no effect, it is kept to support legacy config files\n"
View file
osmo-bsc_1.10.0.96.9f761.202303180005.tar.xz/tests/msc.vty -> osmo-bsc_1.10.0.98.f276.202303190005.tar.xz/tests/msc.vty
Changed
@@ -33,16 +33,16 @@ ... OsmoBSC(config-msc)# codec-list foo -Codec name must be hrX or frX. Was 'foo' +"foo" is not a valid codec version OsmoBSC(config-msc)# codec-list fr10 -Codec name must be hrX or frX. Was 'fr10' +"fr10" is not a valid codec version OsmoBSC(config-msc)# codec-list hr10 -Codec name must be hrX or frX. Was 'hr10' +"hr10" is not a valid codec version OsmoBSC(config-msc)# codec-list FR1 -Codec name must be hrX or frX. Was 'FR1' +"FR1" is not a valid codec version OsmoBSC(config-msc)# # Ensure the codec-list with wrong args did not change the config OsmoBSC(config-msc)# show running-config @@ -53,7 +53,7 @@ ... OsmoBSC(config-msc)# codec-list fr1 fr1 -duplicate entry in 'msc' / 'codec-support': fr1 +duplicate entry in 'msc' / 'codec-list': fr1 OsmoBSC(config-msc)# show running-config ... msc 0 @@ -62,7 +62,7 @@ ... OsmoBSC(config-msc)# codec-list fr0 fr1 -'fr0' is not a valid codec version +"fr0" is not a valid codec version OsmoBSC(config-msc)# show running-config ... msc 0 @@ -71,7 +71,7 @@ ... OsmoBSC(config-msc)# codec-list hr0 hr1 -'hr0' is not a valid codec version +"hr0" is not a valid codec version OsmoBSC(config-msc)# show running-config ... msc 0 @@ -80,7 +80,7 @@ ... OsmoBSC(config-msc)# codec-list fr8 fr9 -'fr8' is not a valid codec version +"fr8" is not a valid codec version OsmoBSC(config-msc)# show running-config ... msc 0 @@ -89,7 +89,7 @@ ... OsmoBSC(config-msc)# codec-list hr8 hr9 -'hr8' is not a valid codec version +"hr8" is not a valid codec version OsmoBSC(config-msc)# show running-config ... msc 0 @@ -98,7 +98,7 @@ ... OsmoBSC(config-msc)# codec-list fr2 hr2 -'hr2' is not a valid codec version +"hr2" is not a valid codec version OsmoBSC(config-msc)# show running-config ... msc 0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.