Commit Graph

83 Commits

Author SHA1 Message Date
Oliver Smith 1792ba92c1 Bump version: 1.11.0.7-dbe88 → 1.11.1
Change-Id: Ia7a90b7c192702bb71ee55df92cb05030fe5dd03
2023-09-28 13:53:08 +02:00
Pau Espin 7eefae4b01 Bump version: 1.10.0.125-92caa-dirty → 1.11.0
Change-Id: Ifc4bfe8b4154fa892a4d15d54cee34b501038c20
2023-09-12 16:46:12 +02:00
Oliver Smith e4aa86514e debian: set compat level to 10
Related: OS#5958
Change-Id: I9776c48f4f913dd7f7cde3afc6fe32bd0e9ba1b0
2023-04-25 16:48:30 +02:00
Pau Espin 964ce6f46c Bump version: 1.9.0.58-1289-dirty → 1.10.0
Change-Id: Ifff00a3107447da911629948e9f3061c93b6ac86
2023-02-07 17:28:17 +01:00
Pau Espin 5b06a8d6a5 Bump version: 1.8.0.43-2eaaf-dirty → 1.9.0
Change-Id: Iacb839715290b27f1f3d302e13f219f5f0e1d161
2022-06-29 11:32:12 +02:00
Harald Welte 3b13edf48f update git URLs (git -> https; gitea)
Change-Id: I0d7a9140ccbe5adecddde1901703e49243ee0b92
2022-06-18 12:27:10 +02:00
Harald Welte d43c22ef65 switch from libdbi to lbsqlite3
The choice of libdbi was one of the biggest early mistakes in (back
then) OpenBSC development.  A database abstraction library that
prevents you from using proper prepared statements.  Let's finally
abandon it and use sqlite3 directly, just like we do in osmo-hlr.

I decided to remove the database migration code as it would be relatively
cumbersome to port all of it to direct sqlite3 with prepared statements,
and it is prone to introduction of all kinds of errors.  Since we don't
have a body of older database files and comprehensive migration tests,
it is safer to not offer migration code of uncertain quality.  The last
schema revision (5) was introduced 5 years ago in 2017 (osmo-msc
v1.1.0), so it is considered an exceptionally rare case.  People can
install osmo-msc 1.1.0 through 1.8.0 to upgrade to v5 before using
this new 'direct sqlite3' version of osmo-msc.

Change-Id: Ia334904289f92d014e7bd16b02b3b5817c12c790
Related: OS#5559, OS#5563, OS#5564
2022-05-17 14:04:44 +02:00
Harald Welte 467fc5728d switch sqlite3 to single-threaded mode
Looking at 'perf top' of osmo-msc under load shows that there's a
significant amount of time spent in terms of locking (mutex,...)
which is useless as osmo-msc is a single-threaded application.

Unfortunately libdbi doesn't provide a mechanism to perform
sqlite3_config(), so we have to do it directly here, introducing an
explicit build-time dependency (and linkage) to libsqlite3.

Related: OS#5559
Change-Id: I5bbea90d28b6d73b64b9e5124ff59304b90a8a75
2022-05-15 13:04:56 +02:00
Pau Espin b7f97ea8a0 Bump version: 1.7.0.43-aefbf-dirty → 1.8.0
Change-Id: I37aa63e1c4ed021c5cc8b186f073cf01ab9a9cb6
2021-11-16 17:44:54 +01:00
Pau Espin 59764b6f3e Bump version: 1.6.1.98-cad22-dirty → 1.7.0
Change-Id: I1bf25c0c01efd6f93df8ac2b26868dd1579b3531
2021-02-23 20:22:34 +01:00
Harald Welte e188010474 debian/control: Recommend installation of osmo-mgw
osmo-msc is pretty useless without osmo-mgw these days.  Let's not
make it a strong dependency, as the mgw could of course be running
on different machines.

Change-Id: I76c1bf30c733cf2fd596a8971ccb8bac4220be66
2020-11-07 17:42:53 +01:00
Pau Espin 24a885608d Support setting rt-prio and cpu-affinity mask through VTY
Change-Id: I40cf8a86961c1e350b5cd74d6e2cf64a22b7a2b1
Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a
Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c
Related: SYS#4986
2020-08-20 08:44:20 +00:00
Vadim Yanitskiy a908b43e59 debian/control: change maintainer to the Osmocom team / mailing list
Change-Id: I8c4e1749e6b4903877962b2da87be472e63c8de0
2020-08-13 16:09:02 +07:00
Pau Espin 4a5ba81f7d Bump version: 1.6.0.3-02dd2 → 1.6.1
Change-Id: I3ac4ca12139230863607980cd29250c12df319b7
2020-01-09 12:29:08 +01:00
Pau Espin 6a0c4d9d24 Bump version: 1.5.0.72-6e72-dirty → 1.6.0
Change-Id: I315ba8c67fbb5bec520f1bc42aedd25d47e4ca95
2020-01-03 18:51:37 +01:00
Pau Espin 0218814c8c Bump version: 1.4.0 → 1.5.0
Change-Id: I9b79805c703f4bb860a07bf521ddbf8cb9b29d23
2019-08-08 16:01:38 +02:00
Pau Espin b0504632c5 Fix dependency version requirements
libosmocore 1.1.0 0e8df1c7e48bcae2285c7c138bd50f932049bd24  osmo_use_count()
Fixes: 7c5346cd70

libosmocore 1.2.0 cdac620579b5bf44970b5f4bb11734fdfdf5bf59 GSM23003_MSISDN_MAX_DIGITS
Fixes: 8b0737fa71

libosmo-sccp 1.1.0 21ff9ae4264de159784a59ce4421365007bde08d osmo_sccp_addr_ri_cmp()
Fixes: c4628a3ad4

osmo-mgw 1.6.0 538d2c53d90074267e7a70a90c773baa03d6ec04 mgcp_client_endpoint_fsm.h
Fixes: c4628a3ad4

libosmo-netif 0.6.0 needed by osmo-mgw 1.6.0

libsmpp34 1.14.0 required due to needed heap allocation function overrides from smpp34_heap.h

Change-Id: I1cd2c7317933b416b74a412f10e4cad16ecd6e59
2019-08-08 15:56:25 +02:00
Vadim Yanitskiy f523f22899 debian/control: add missing libdbd-sqlite3 to Build-Depends
The libdbd-sqlite3 provides SQLite3 driver for libdbi. We use it
by default for the built-in SMS Centre. Since [1], we have unit
test coverage for the db_sms_* API, thus we need libdbd-sqlite3
to be installed at build-time.

[1] Id94ad35b6f78f839137db2e17010fbf9b40111a3

Change-Id: Ice9fb11f5b8a39abecee426d2fadcf62b7ee47c4
2019-06-05 18:31:53 +07:00
Oliver Smith a2273f5f1d debian: create -doc subpackage with pdf manuals
I have verified, that the resulting debian packages build in my own OBS
namespace (see the -doc packages):
https://download.opensuse.org/repositories/home:/osmith42/Debian_9.0/all/
https://build.opensuse.org/project/show/home:osmith42

Depends: Ib7251cca9116151e473798879375cd5eb48ff3ad (osmo-ci)
Related: OS#3899
Change-Id: Iafa9fba60b3ad4478ec24d6ba8538ec80ce99f52
2019-05-29 12:14:16 +02:00
Pau Espin 0dad52d0b7 debian/control: Fix typo
Change-Id: I3392d8e184413203d27fc3d75371de4d66f205b9
2019-03-27 11:42:29 +00:00
Oliver Smith 0dfa61e39e debian: depend on libdbd-sqlite3
Make sure that we don't fail at startup with:

<0009> db.c:621 Failed to create database connection to sqlite3 db
'sms.db'; Is the sqlite3 database driver for libdbi installed on this
system?

Tested by building the Debian package and looking at its depends.

Related: OS#3771
Change-Id: I7c099212a6ad7d87978c3dce63ce7385d8076bd1
2019-02-25 14:59:03 +01:00
Harald Welte ca292dd607 debian: depend on libsctp-dev
Since we merged the SGs interface, we include <netinet/sctp.h>, which
is provided by libsctp-dev.  This means that the Debian package should
depend on this.

It is expected that this will un-break the network:osmocom:nightly
builds.

Change-Id: I092e95ea970763c4008d3c7ff1b7028042574a64
2019-02-06 17:56:01 +00:00
Harald Welte 41e7cf115d Bump version: 1.3.0 → 1.3.1
Change-Id: I624144d6f8919d1dd237cdffc9122f685a8e4d6b
2019-01-22 16:02:11 +01:00
Harald Welte 811f6806a4 Bump version: 1.2.0.199-45df98-dirty → 1.3.0
Change-Id: I59d032ad953438f12439ac3d6275ee78d0ebbb40
2019-01-21 00:16:27 +01:00
Pau Espin 5e91debe4e Install sample cfg file to /etc/osmocom
Change-Id: I19f3755f7637dfc017a89f503831f7df8098a919
2018-09-12 18:49:29 +02:00
Pau Espin f282f33360 Install systemd services with autotools
Change-Id: I3a87d5ad4cb43efdcfc25828144f825f4d3b1594
2018-09-10 16:10:06 +02:00
Harald Welte 1ea6baf1ec Remove local libgsupclient; Use libosmo-gsup-client from osmo-hlr
osmo-hlr has recently (as of Change-Id
Iad227bb477d64da30dd6bfbbe1bd0c0a55be9474) a working shared library
implementation of libosmo-gsup-client.

We can remove the local implementation in osmo-msc and use the
system-installed shared library instead.

Change-Id: I6f542945403cf2e3ddac419186b09ec0e2d43b69
2018-08-05 11:20:21 +02:00
Pau Espin cb8c75bba0 Bump version: 1.1.2.269-86f21-dirty → 1.2.0
Change-Id: I79d1f009617b247b6c3322a7926fd565913b1e6c
2018-05-03 18:52:03 +02:00
Max 753c15de2f Migrate from OpenSSL to osmo_get_rand_id()
This avoids potential licensing incompatibility and makes integration of
Debian packaging patches easier.

Related: OS#1694
Change-Id: I71cd631704a4dc155c6c752fee2a42cd6e2fa336
2017-12-27 11:11:14 +00:00
Alexander Couzens f1521a14df debian/rules: remove doublicated project name in example files
For example:
/usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc.cfg -> /usr/share/doc/osmo-msc/examples/osmo-msc.cfg

Change-Id: I702cd963d5c3a2f4085ebce5e0dfa1a8a27ea89f
2017-11-16 00:12:45 +01:00
Harald Welte 9a5b4747ac Bump version: 1.1.1.2-633e5 → 1.1.2
Change-Id: Id3ddab71f98046c3ce26ea240313b0ffef8ddf09
2017-10-29 09:01:31 +01:00
Harald Welte 633e58a196 Debian: require minimum versions of packages we depend on
I'm using the dame version as in configure.ac to avoid build failures
against older versions of certain packages, such as older libsmpp34.

Change-Id: I83c617fa4e83e2e3d2613e454f517d6031814f21
2017-10-29 08:49:12 +01:00
Harald Welte 6a9d9baef5 Depend on both libosmo-sigtran-dev and libosmo-sccp-dev
libmsc/a_iface.c and libmsc/a_iface_bssap.c still include
osmocom/sccp/sccp_types.h to get access to enums defining SCCP
cause values.  Until that is resolved, we have to keep the build
dependency to libosmo-sccp-dev

Change-Id: I957dcb2bcce216d0fd81a58bfe869aca0e4624a8
Related: OS#2601
2017-10-28 23:53:23 +02:00
Harald Welte aaa858069a Bump version: 1.1.0.1-6299 → 1.1.1
Change-Id: I0143cbf462d8685bb7388024dddbc0eb9b3883dc
2017-10-28 19:58:11 +00:00
Harald Welte f45c34ddab Debian: Depend on libosmo-sigtran-dev, not libsomo-sccp-dev!
Change-Id: I478e28ba5f7e39cecea8912183e288ecb2f03337
2017-10-28 19:58:11 +00:00
Harald Welte 6a01568351 Tag/Release Version 1.1.0
[ Alexander Couzens ]
  * debian/rules: show testsuite.log when tests are failing

  [ Neels Hofmeyr ]
  * build: check for -lgsm
  * am: msc_vlr_tests: use AM_LDFLAGS instead of COMMON vars
  * jenkins: fix build: osmo-mgw from master, not pre_release
  * jenkins: drop unused build matrix vars, always --enable-smpp
  * configure.ac: fix to "AC_INIT[osmo-msc]"
  * rewrite README
  * rename openbsc.pc to osmo-msc.pc
  * debian: fix web and VCS links, tweak osmo-msc.install
  * drop files unrelated to osmo-msc
  * rename include/openbsc to include/osmocom/msc
  * doc/examples: add detailed cs7 config examples
  * use separated libosmo-mgcp-client, apply rename to mgcp_client_*
  * ctrl: subscriber-list-active: list only attached subscribers
  * debian: fix dependency to mgcp library
  * main: remove cmdline args no longer available for osmo-msc
  * vty: fix: missing default cmds at hlr node
  * ctrl: remove unimplemented cmds subscriber-{modify,delete}
  * fix build: remove obsolete header legacy_mgcp/mgcp.h
  * fix debian: fix erratic doc/examples install path
  * fix memory leak: vlr: vlr_gsupc_read_cb() must msgb_free()
  * fix vty tests: long timeout due to unreachable STP address
  * cosmetic: vlr: declare a struct in .h; drop unused header
  * add ';' after OSMO_ASSERT()

  [ Philipp Maier ]
  * a_iface: fix memory leaks
  * a_iface: fix typo

  [ Max ]
  * Remove rest_octets.h
  * Remove SI-related code
  * Remove BTS-specific attributes
  * Remove unused osmo_bsc_rf.h header
  * Remove pkg-config file

  [ Harald Welte ]
  * Update .gitignore for post-nitb-split
  * remove further files and autotest/autoconf bits irrelevant to osmo-msc
  * Rename osmo_fsm to avoid illegal space in name + more meaningful name
  * Debian: remove obsolete Dependencies
  * configure.ac: Depend on latest tagged/released libosmo-* versions
  * Debian: Build with enabled SMPP support
  * osmo-msc: Don't link against libasn1c
  * Debian: Include systemd.service in package
  * Debian: include all (not just one) example config files

Change-Id: Ic24d937658e5b467c6643ae3cd54e5b6d9db3175
2017-10-28 15:17:53 +02:00
Harald Welte 9588450f92 Debian: Add proper description for packages.
Change-Id: I6cf4a6d84048e68abd7323387766acb674fd345c
2017-10-28 15:17:53 +02:00
Harald Welte e0c728fd39 Debian: include all (not just one) example config files
Change-Id: I19ac23898e9543081a1407da9af63ed643791d6e
2017-10-28 15:17:53 +02:00
Harald Welte fb60b57923 Debian: Include systemd.service in package
Change-Id: Iee768a0e812db782f3e23c5a1454e141eee08a74
2017-10-28 15:17:53 +02:00
Harald Welte bde463d781 Debian: Build with enabled SMPP support
Change-Id: Ibab5ede36cf329620a66b7811c43cc73c7135ecd
2017-10-28 15:17:53 +02:00
Harald Welte 69c5ae0923 Debian: remove obsolete Dependencies
libgtp and c-ares are GRPS dependencies; we don't have GPRS in MSC

Change-Id: Ie7fb8a9417d9024e3da0e8547679f7b696c79a9f
2017-10-28 14:22:31 +02:00
Alexander Couzens ba692aecbd debian/rules: show testsuite.log when tests are failing
Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f
2017-10-11 08:13:26 +00:00
Neels Hofmeyr 4e7ece0bd9 fix debian: fix erratic doc/examples install path
Change-Id: I8fc3d50b95649145e45ea6b56792ddbaf0548050
2017-09-25 15:52:04 +02:00
Neels Hofmeyr a81ee7c3b8 debian: fix dependency to mgcp library
osmo-mgw has split the MGCP client to a separate library in
change-id I8e0b2d2a399b77086a36606f5e427271c6242df1
or commit 97df691307e48c39170ac39b2394a7095d7f0ee5.

Change-Id: I9c56c218fce2264fe0acae62caed4d9ff4bfb54c
2017-09-14 03:29:33 +00:00
Neels Hofmeyr d6d90ce259 debian: fix web and VCS links, tweak osmo-msc.install
Change-Id: I3fffa73722c5437c969d25294e0ff86de5385087
2017-09-06 16:33:43 +02:00
Alexander Couzens 4d1ee5eaf0 rework debian packages support
Remove old leftover from split of osmo-mgw out of openbsc.

Change-Id: I77544cb38c31777c3fab52979d19488a63e52de3
2017-08-29 12:51:20 +00:00
Neels Hofmeyr bac227653a split off osmo-msc: remove files, apply build, rename
Change-Id: Icf025e5ea8d180613b3114282951c9afa67af9a7
2017-08-29 12:51:19 +00:00
Max c6e8a01e70 deb: install python scripts from contrib/
Add .py scripts from contrib/ to osmo-nitb.deb package.

Change-Id: I852815f348ae330980b186e1ddbc78f18f4f42b5
Related: SYS#3028
2017-05-04 13:38:45 +00:00
Max 8b8fca757e deb: install openbsc.pc
Previously openbsc.pc was generated but not installed as part of
openbsc-dev.

Change-Id: I5472a8fe74a81b98598fbdb688db778cb7d09e62
2017-04-27 10:21:19 +00:00
Holger Hans Peter Freyther 3f940fc9ee debian: Require libgtp-dev after the SO version bump
The ABI of libgtp changed and we require a new library now. Drop
the SO_VERSION from the library name and just depend on libgtp-dev.

Change-Id: Ib301b27e2c08fda827b55820389247e27e5e8fc7
2017-01-30 09:54:22 +00:00