aboutsummaryrefslogtreecommitdiffstats
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2024-05-15debian/postinst: add checks, be verboseHEADmasterOliver Smith1-6/+14
Do not attempt to change permissions/ownership if the package gets upgraded from a version higher than the next release. Do not fail if the user deleted the config file. Be verbose when changing permissions. Related: OS#4107 Change-Id: I1bcbe414fd18101e4d875a16539deab7baf9cb5f
2024-04-26.deb/.rpm: various fixes related to non-rootOliver Smith2-32/+23
* Explicitly chown /var/lib/osmocom to osmocom:osmocom, instead of relying on systemd to do it when the service starts up. This does not work with the systemd versions in debian 10 and almalinux 8. * deb: Use "useradd" instead of the interactive "adduser" perl script from Debian. This makes it consistent with how we do it in rpm, and avoids the dependency on "adduser". * deb: Remove support for the "dpkg-statoverride --list" logic. This seems to be a rather obscure feature to override permissions for certain files or directories. Let's rather remove this complexity to make the postinst script more maintainable and more similar to the rpm spec file. If users need this, they can achieve something similar by using their own Osmocom config file in a different path with different permissions. * deb: Consistently use tabs throughout postinst, instead of mixing tabs and spaces. Related: OS#4107 Change-Id: Ib20406dd253f5e8720552e92e9002e45591218fa
2024-04-24.deb/.rpm: add osmocom user during package installMax2-1/+40
Created osmocom user & group during package installation. Fix the configuration dir/files permission to match. Related: OS#4107 Tweaked-By: Oliver Smith <osmith@sysmocom.de> Change-Id: I625c993ab03dfe32976c651acca9c35c33a768e7
2023-09-12Bump version: 1.6.0.20-37f0-dirty → 1.7.01.7.0Pau Espin Pedrol2-4/+38
Change-Id: I3f169ff8f9b10a4d4b5c50286951d326fa713245
2023-04-25debian: set compat level to 10Oliver Smith2-2/+2
Related: OS#5958 Change-Id: I5d26ab03aacf3b8ef8c1c4c669c12090fd0b7899
2023-02-07Bump version: 1.5.0.19-268a-dirty → 1.6.01.6.0Pau Espin Pedrol3-7/+46
Change-Id: Ide480a902bbfadefa396f3a0cb925f5dceab4f9c
2022-09-18Debian: install osmo-hlr-dgsm.cfg as example configMax1-0/+1
Related: OS#4107 Change-Id: Ia64f14ada006acb31c5f725dfa0d52f482d3e8b4
2022-09-18Debian: reformat package descriptionMax1-2/+3
Shorten the lines of package description to comply with Debian Policy Manual section 3.4.1 Related: OS#4107 Change-Id: Id6bbfc0b013f0e8da80af76206d3ac7fd6b6b0d4
2022-09-18Debian: bump copyright year to match currentMax1-1/+1
Related: OS#4107 Change-Id: I581e62b5410a9dddc6b5fd974081d633cc20416d
2022-08-29Set working directory in systemd service fileMax1-1/+0
By default systemd will execute service with root directory (or home directory for user instance) which might result in attempts to create files in unexpected place. Let's set it to 'osmocom' subdir of state directory (/var/lib for system instance) instead. Related: OS#4821 Change-Id: I40b5d50470cb55ca94af5e17f21658181a02d4c2
2022-06-28Bump version: 1.4.0.16-3863-dirty → 1.5.01.5.0Pau Espin Pedrol2-4/+32
Change-Id: I016ddf4fd955c3b518e620a35f9a817f489e81c4
2022-06-18update git URLs (git -> https; gitea)Harald Welte1-2/+2
Change-Id: Iaab27a8e258a29a0bb51ee8d9f5faeb2c025f139
2022-02-08debian: add new 'osmo-mslookup-utils' packageVadim Yanitskiy2-0/+11
Change-Id: I9dbe00187678a5032fb4ae32b496892fdc86ddb7 Related: OS#4706
2022-02-05fixup: debian: remove unneeded dependency libdbd-sqlite3Vadim Yanitskiy1-1/+1
Change-Id: I3ece7c32151f6f334d0595fdbf9099c930b22bb9 Fixes: I5bfe9c71740c1ced5bad0a41dfca568b9e00070c
2021-11-16Bump version: 1.3.0.7-bfee → 1.4.01.4.0Pau Espin Pedrol1-0/+21
Change-Id: I39bbc42009bf6291884f652618bfdf94b329a295
2021-09-01debian/control: remove dh-systemd build-dependOliver Smith1-1/+0
Related: OS#5223 Change-Id: Ieb8669a9a43ea1acc6b2d8d2e363f2466c51697a
2021-06-01Add post-upgrade script for automatic db upgradeOliver Smith2-0/+6
Closes: OS#5138 Change-Id: I34e943e5020285f63a2162010eb42675af1520bf
2021-02-23Bump version: 1.2.0.78-8c90-dirty → 1.3.01.3.0Pau Espin Pedrol2-4/+104
Change-Id: Iffdee17c1f70f472fb9cfe722b77967c2634ea37
2020-08-18Support setting rt-prio and cpu-affinity mask through VTYPau Espin Pedrol1-1/+1
Change-Id: I33101aae3e2851febc335f6fbf96228eab7cf6df Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c Related: SYS#4986
2020-08-13debian/control: change maintainer to the Osmocom team / mailing listVadim Yanitskiy1-1/+1
Change-Id: I6b38640b57480c6950be491eeb3c5167be1c6aab
2020-01-10add libosmo-mslookup abstract clientOliver Smith3-0/+28
mslookup is a key concept in Distributed GSM, which allows querying the current location of a subscriber in a number of cooperating but independent core network sites, by arbitrary service names and by MSISDN/IMSI. Add the abstract mslookup client library. An actual lookup method (besides mslookup_client_fake.c) is added in a subsequent patch. For a detailed overview of this and upcoming patches, please see the elaborate comment at the top of mslookup.c. Add as separate library, libosmo-mslookup, to allow adding D-GSM capability to arbitrary client programs. osmo-hlr will be the only mslookup server implementation, added in a subsequent patch. osmo-hlr itself will also use this library and act as an mslookup client, when requesting the home HLR for locally unknown IMSIs. Related: OS#4237 Patch-by: osmith, nhofmeyr Change-Id: I83487ab8aad1611eb02e997dafbcb8344da13df1
2020-01-03Bump version: 1.1.0.26-276c-dirty → 1.2.01.2.0Pau Espin Pedrol1-0/+42
Change-Id: I5778895237511c62903784e8bed6920ecf058a50
2019-12-10tests/auc: change back to python3osmith/fix-python3Oliver Smith1-1/+1
Change the interpreter of the python script back to python3, as it was when the script was initially added in Idff9d757ab956179aa41ada2a223fd9f439aafbd. In the meantime, it had been changed to python2 to make it work with build slaves that were missing python3, but this is not necessary anymore. This should be merged shortly after osmo-python-tests was migrated to python3, and the jenkins build slaves were (automatically) updated to have the new osmo-python-tests installed. Related: OS#2819 Depends: osmo-python-tests I3ffc3519bf6c22536a49dad7a966188ddad351a7 Change-Id: Ifbb8f8f5428657a1c2d4d6d1217f8e374be43aba
2019-08-07Bump version: 1.0.0.49-e493-dirty → 1.1.01.1.0Pau Espin Pedrol1-0/+66
Change-Id: If53bdb2e216cb98df4d5a482cbbf24096db536ed
2019-05-29debian: create -doc subpackage with pdf manualsOliver Smith3-2/+17
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: I4a327bac68769892634236c573c313c7859c6199
2019-01-20Bump version: 0.2.1.55-607c-dirty → 1.0.01.0.0Harald Welte1-0/+72
Change-Id: I696beb6f0b82dfaf664f62066cffbcc94e31b700
2018-09-12Install sample cfg file to /etc/osmocompespin/systemdPau Espin Pedrol1-0/+1
Change-Id: I2ac73f426d9489fcd64c2eea547eb1f3ec26ae2c
2018-09-10Install systemd services with autotoolsPau Espin Pedrol3-1/+4
Change-Id: Id81ae8e2d8a2c9456ac0dac2c30c0d24dab3b694
2018-08-06debian: Make libosmo-gsup-client-dev depend on libosmo-gsup-client0Harald Welte1-0/+1
The -dev package should depend on the binary package. Change-Id: I01e58788e8485cadecad8b8788887743b41b9f1f
2018-07-31debian: Fix typo in package descriptionMartin Hauke1-2/+2
Change-Id: Iaa5a3b9e249ce493221569cf9411cc04c4044a0c
2018-07-31debian: Add sub-package for libosmo-gsup-clientHarald Welte3-0/+30
Change-Id: Iad227bb477d64da30dd6bfbbe1bd0c0a55be9474
2018-07-02sql/Makefile: Create empty /var/lib/osmocom directory at install timepespin/debianPau Espin Pedrol1-0/+1
Otherwise osmo-hlr is unable to start correctly. Change-Id: I1233fc9b3dc685561f79a34e1c32c459dc1aa685
2018-07-02sql/Makefile: Install sql files under doc/.../sql subdirPau Espin Pedrol1-1/+2
Change-Id: I1c9008d4692412a0cfe39d05216fc9c857cf1e8a
2018-07-02debian: Avoid installing duplicate cfg file in /etcPau Espin Pedrol1-1/+0
Change-Id: Ieb25cc8195a2fe7f81b7a39955e0bca5d5c510eb
2018-05-04Bump version: 0.2.0.3-1b8a → 0.2.10.2.1Pau Espin Pedrol1-0/+9
Change-Id: I9c457e9baeb546bfefacacddddd48996902e587a
2018-05-03Bump version: 0.1.0.39-1cb4-dirty → 0.2.00.2.0Pau Espin Pedrol1-0/+57
Change-Id: I2a9fdd140d68053bc7c8354bf2b3a0293c514516
2017-11-17debian: install osmo-hlr.cfg to /etc/osmocomAlexander Couzens1-0/+1
Change-Id: Ifa1094da9b286a17a5c9a1ee300ec13a4a10a9a7
2017-11-17doc: install example .cfg files to $(docdir)/examples/Alexander Couzens1-0/+1
Change-Id: I8671ce33b9bf28c89f767dd1b4a1463aeb275158
2017-11-16debian: include systemd service osmo-hlr.serviceAlexander Couzens1-0/+1
Change-Id: I6d9fd34aa42b911f074557b526adde05e03d58b9
2017-10-28Tag/Release version 0.1.00.1.0Harald Welte1-0/+136
This is the first real version tag of osmo-hlr. Change-Id: Ie0aff33ab9c36cd9219258a4d869de36612b6095
2017-10-28Debian: Make sure we include osmo-hlr-db-tool in the packageHarald Welte1-0/+1
Change-Id: Ia67ae6d4b1af982db8c342f2d8fd29deb83ccaff
2017-10-13debian: 'make check' needs sqlite3, add to Build-DependsNeels Hofmeyr1-1/+2
At some point we should rather offer DB bootstrap as a DB API function instead of an external .sql file, which would remove the dep on the sqlite3 binary. For now, we need the binary to build debian packages for the 'make check' step. Change-Id: I71938dff688675dcf1dbfbce2feb8b72b1de0910
2017-10-11debian/rules: show testsuite.log when tests are failingAlexander Couzens1-0/+4
Change-Id: If0b10c02f87ed81878593198e21da1fc9f8d4bbc
2017-10-02debian: remove unneeded dependency libdbd-sqlite3Pau Espin Pedrol1-2/+0
Take the opportunity to remove duplicated pkg-config dependency. Change-Id: I5bfe9c71740c1ced5bad0a41dfca568b9e00070c
2017-07-13Another attempt at fixing .debMax1-1/+1
The previous efforts have failed: python3 does not supply /usr/bin/python symlink. Let's use python-minimal dependency. Change-Id: If9e3f31622efae132b25683c54ce09c83ce43415
2017-07-11Attempt to fix .deb packageMax1-1/+1
After recent switch to legacy python2 .deb fails on OBS. Let's put known-to-work python3 dependency back but keep the script itself on python without version specifier as it seems to work fine with both versions. This, in turn, causes tests to fail on FreeBSD so disable them for now. Change-Id: I4a87252d411d840fca7362736a8c7877efa6ff52 Related: SYS#3322
2017-06-07tests/auc: Don't require python3Daniel Willmann1-1/+1
Our jenkins buildslave does not have python3 installed so call python2 instead. Change-Id: Ifb59b79021b2c935b326496ed339f12e13c96b8e Ticket: SYS#3322
2017-05-22install hlr.sql in prefix/doc/osmo-hlr/Neels Hofmeyr1-0/+1
In particular I need this to start a fresh osmo-hlr instance on the osmo-gsm-tester. Might also come in handy during packaging? Change-Id: I08e48375814ab93691892299d34909c6d0bf12a2
2017-04-27debian: remove obsolete dependencyMax1-2/+1
This should fix package build for latest Ubuntu. Change-Id: I132515cd4d89132bb59f9ee7804a5a50e8bd2775
2017-03-14deb: fix OBS buildMax2-0/+2
Add explicit dependency on python3 which is necessary for 'make check' stage. While at it, add DH_VERBOSE option for debian/control to facilitate future troubleshooting. Change-Id: I0ed0bb0f889d4569c9229f3f12ad8bdb11cc1e7c Related: OS#1948