aboutsummaryrefslogtreecommitdiffstats
path: root/debian/control
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-05-14 15:35:49 +0200
committerHarald Welte <laforge@osmocom.org>2022-05-17 14:04:44 +0200
commitd43c22ef65ae645a8babb2907fd8de2be42383a6 (patch)
tree4306db0c7ca15164434e553a58c39924b182b8f1 /debian/control
parentd677f51187cf7c58026888a2d314821eba0202cf (diff)
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
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control4
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index d9fccfa98..0b26c8e50 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,6 @@ Build-Depends: debhelper (>=9),
automake,
libtool,
pkg-config,
- libdbi-dev,
- libdbd-sqlite3,
libsqlite3-dev,
libsctp-dev,
libtalloc-dev,
@@ -33,7 +31,7 @@ Homepage: https://osmocom.org/projects/osmomsc
Package: osmo-msc
Architecture: any
Multi-Arch: foreign
-Depends: ${misc:Depends}, ${shlibs:Depends}, libdbd-sqlite3
+Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: osmo-mgw
Description: OsmoMSC: Osmocom's Mobile Switching Center for 2G and 3G circuit-switched mobile networks
The Mobile Switching Center (MSC) is the heart of 2G/3G