30 Commits

Author SHA1 Message Date
Oliver Smith
249c720af9 Bump version: 1.7.0.1-50c5 → 1.7.1
Change-Id: I9d9c4eb38bcce81a38d61d20b4a071917d048f8e
2025-02-12 14:42:41 +01:00
Oliver Smith
7a3532e0eb Bump version: 1.6.3.12-6725 → 1.7.0
Change-Id: Ia741d0a574828da121693fa73f54f517ad9d2be2
2024-07-25 10:35:54 +02:00
Oliver Smith
d639836123 debian/postinst: add checks, be verbose
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: I2b01a7625cf66fbb7d203f939ddcc1cbab43cf33
2024-05-14 15:21:06 +02:00
Oliver Smith
58f3e032d0 .deb/.rpm: various fixes related to non-root
* 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: Consistently use tabs through the file, instead of mixing tabs
  and spaces.
* 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, for which it does not seem to be a good
  idea to make the postinst script less maintainable. Something similar
  can be achieved by using your own Osmocom config file in a different
  path with different permissions.

Related: OS#4107
Change-Id: Ib129217f6aff713d1d0e7aa831b4b54823e9bade
2024-04-26 16:23:08 +02:00
Max
e3dd323579 .deb/.rpm: add osmocom user during package install
Create 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: I7826fedb1b055a282954e5774615245092ddae5d
2024-04-24 11:52:59 +02:00
Pau Espin Pedrol
a6fedff8a6 Bump version: 1.6.2.6-47e6-dirty → 1.6.3
Change-Id: I5263fa4d1c2edcd12a5521b5cc03753482ff76cc
2023-09-12 17:24:27 +02:00
Oliver Smith
47e6130cae debian: set compat level to 10
Related: OS#5958
Change-Id: Ib45ad7c44cdefa4c5acab2da09f24796253a133d
2023-04-25 16:48:33 +02:00
Pau Espin Pedrol
ec505be5ee Bump version: 1.6.1.2-44b4-dirty → 1.6.2
Change-Id: Id050891c8465cbb3bb81c9907de509009b7131ff
2023-02-07 17:47:29 +01:00
Pau Espin Pedrol
3f4625586f Bump version: 1.6.0.4-c0af → 1.6.1
Change-Id: I5e247667968d80be72bfe890c2afb3a25c7c105c
2022-06-28 18:29:49 +02:00
Harald Welte
bf3b705a2b update git URLs (git -> https; gitea)
Change-Id: Ic45226b2de537fe4d45324fbe346bd7ed6db92fd
2022-06-18 13:36:59 +02:00
Pau Espin Pedrol
03bc63a1da Bump version: 1.5.0.8-bd66 → 1.6.0
Change-Id: I72fa9fdc5c6f1c5cfc6e4cb0b7d0e8ea4557b1ab
2021-11-16 14:52:09 +01:00
Oliver Smith
1c76aadeed debian/control: remove dh-systemd build-depend
Related: OS#5223
Change-Id: I769bf61a2f3a97d55c65999436d2cb079c9170a0
2021-09-01 16:07:07 +02:00
Pau Espin Pedrol
d9e57e5f08 Bump version: 1.4.1.15-9484-dirty → 1.5.0
Change-Id: I2cafda295513b019cda424f09655061fa7a0fa10
2021-02-23 13:42:08 +01:00
Vadim Yanitskiy
39a2e19309 debian/control: change maintainer to the Osmocom team / mailing list
Change-Id: Id7a258c52e72101920a1c0de5534a2ed9f488203
2020-08-13 14:59:51 +00:00
Harald Welte
79d76480ac Bump version: 1.4.0.3-e02b → 1.4.1
Change-Id: I66c64cae47e32a16ef605348d02884172ef04d70
2020-08-13 12:38:17 +02:00
Pau Espin Pedrol
e58ead7ac4 Bump version: 1.3.1 → 1.4.0
Change-Id: Ia6693372994791bac4ab86808729f5e568dd9176
2020-01-02 21:35:01 +01:00
Pau Espin Pedrol
f56af15181 Bump version: 1.2.0.25-ff8a → 1.3.0
Change-Id: I3d3d048380753431c313cffa82de430dfbd3b93c
2019-08-08 17:54:49 +02:00
Pau Espin Pedrol
ff8a4ed3d6 Require newer libosmocore 1.0.0
Use of osmo_mncc_name() requires libosmocore 0.12.0
Use of gsm48_cc_cause_name() requires libosmocore 1.0.0

Change-Id: I466140a9c1e05c191fe1b079cf3615fd6ac5fb8c
2019-08-08 17:54:11 +02:00
Oliver Smith
a137cdaaa4 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: I30df67b1c31f07e85002da4c2c75afb67ba529d2
2019-05-29 12:14:22 +02:00
Oliver Smith
356b3c6722 Cosmetic: debian: build-depends in multiple lines
Change-Id: I2d126341d8653408b0a6a371088aead58b61bb84
2019-05-22 14:00:16 +02:00
Harald Welte
336add4990 Bump version: 1.1.0 → 1.2.0
Change-Id: Ia3926179b9020ba597d8dda727da89a20ff4bdce
2019-01-21 18:54:09 +01:00
Pau Espin Pedrol
e3fb258284 Install sample cfg file to /etc/osmocom
Change-Id: I48ddd65125f25ac9f2d03bd43e7ab0a0bcf18196
2018-09-12 20:29:17 +02:00
Pau Espin Pedrol
b47fc45642 Install systemd services with autotools
Change-Id: I672f49f1034554ce62347ff9493eca18340deb3a
2018-09-10 16:09:56 +02:00
Pau Espin Pedrol
3233e0d9df debian: Use osmo-sip-connector.service from contrib
Use a symlink to avoid duplicating content.
Remove nonsense Wants= line on itself.

Change-Id: I556a91e012692c4073b4b832bccce0c850f684f8
2018-09-06 15:18:08 +02:00
Harald Welte
ff4675516e debian/rules: Don't overwrite .tarball-version
The .tarball-version file should contain the *source version* uniquely
identifying the git commit, and not the Debian package name.

With https://gerrit.osmocom.org/#/c/osmo-ci/+/10343/ there is a correct
.tarball-version file in the .tar.xz of the nightly source packages.

Change-Id: Ia277b1d41c3f5b81a2c909320d23c2e763feac28
Related: OS#3449
2018-08-06 11:19:22 +02:00
Pau Espin Pedrol
55faf38675 Bump version: 1.1.0.11-11a0-dirty → 1.1.1
Change-Id: Iefb8ada270a7a34d5db1c1e3c94f72a02e2dd609
2018-05-06 17:45:55 +02:00
Harald Welte
b18bbf3fd8 debian/control: Fix URLs for homepage / git
Change-Id: Ib431d5dcaf78cc31dbfaa4fd13105ec62142e9be
2018-02-09 11:17:29 +01:00
Harald Welte
8706a688ff Tag/Release Version 1.1.0
Change-Id: Id3876b2d940b5612788760dfeabe308f43d42ae2
2017-10-28 18:20:02 +02:00
Holger Hans Peter Freyther
0e9434184e debian: Add dh-autoreconf required by the debian packaging 2016-03-31 20:04:54 +02:00
Holger Hans Peter Freyther
adc7484a0c debian: Initial packaging of the osmo-sip-connector
It installs a service file but requires a user to create a config
file. We will not provide a sysv start script.
2016-03-31 19:12:56 +02:00