Commit Graph

18 Commits

Author SHA1 Message Date
Oliver Smith b9e204f3bd contrib: remove rpm spec file
Related: https://osmocom.org/news/255
Related: OS#6446
Change-Id: I9e7a3beb861faab1b6852aa5b57847c590986976
2024-05-08 14:41:10 +02:00
Oliver Smith 7dbd34a37e .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 15:08:47 +02:00
Max 961e96bfd9 .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: I459ac6b80526afa0f5d47a8b56f40d5f636dbe28
2024-04-24 16:16:33 +02:00
Pau Espin e7535a4a9b Bump version: 0.2.3.12-7385-dirty → 0.2.4
Change-Id: Ib73d7f15f55a52479a7728f86e96e93bba699ec5
2023-09-12 17:14:42 +02:00
Oliver Smith 85f1cca096 systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: Idadcbbf55e976ae035cfac4b85ccd870e0f27b82
2023-05-26 14:10:49 +02:00
Pau Espin 848316e9d4 Bump version: 0.2.2.4-5ac8-dirty → 0.2.3
Change-Id: I84d05f283cfd28298f3a4ef6df1c49265638969b
2023-02-07 17:42:01 +01:00
Max 518550e404 Set working directory in systemd service file
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: Ie8b014e8eac23221a6a7087bb2b886014323680b
2022-09-12 07:12:35 +00:00
Vadim Yanitskiy accb1d1b25 contrib/jenkins.sh: execute distcheck/maintainer-clean with $PARALLEL_MAKE
Change-Id: I14b0e0343dc70b72cc9e14641bccaa6da2059e46
2022-08-29 00:33:10 +07:00
Pau Espin f30a8a1133 Bump version: 0.2.1.5-cd82-dirty → 0.2.2
Change-Id: I17fe1460bb04da7d10ebaa1410cdb0dd670ece24
2022-06-29 12:21:07 +02:00
Harald Welte cd82cb23be Fill README with content; convert to markdown
Change-Id: I54297aba4dbb4f521caaeb555de9e5404f9e6dcd
2022-06-18 14:01:07 +02:00
Pau Espin 454047c586 deb/rpm packaging: Drop dependency on autoconf-archive
it is not needed since ec37263a37.

Change-Id: I729b7dc0f2971b959810a46baa8a344e8b71e4a4
2022-01-11 18:26:44 +01:00
Pau Espin 8ec775714c Bump version: 0.2.0.2-ec37-dirty → 0.2.1
Change-Id: I4a2e2ff8e5f8d08fb4f8bb1f75e92ede9bb5521f
2021-11-16 18:14:21 +01:00
Pau Espin ed87bd5c74 Bump version: 0.1.0.8-14c9-dirty → 0.2.0
Change-Id: I67c0bde168c91f3d38cb228b4318321a70b68c3e
2021-02-24 14:30:57 +01:00
Harald Welte 8b6341b02f fix osmo-smlc.service: drop unknown '-s' command line argument
Change-Id: I3804fea29e06280f12b62e8c27d2a0ba4aafa7a0
2020-10-22 16:02:26 +02:00
Harald Welte dbf98d5433 osmo-smlc.spec.in: Add dependency to autoconf-archive
I don't really understand why our other spec files only contain
a dependency to autoconf and get away with that (while still using
autoconf-archive from configure.ac), but let's try this.

Change-Id: Ica5f58297722b650a3862326d31b8eb8947ee1b6
2020-10-22 08:05:51 +02:00
Harald Welte fb2abb8f8c debian/spec: Add build depedency to autoconf-archive
Change-Id: I56ff1c97ef7f11ac35eb78558cc7a0049f39cd56
2020-10-21 20:58:02 +02:00
Harald Welte b6ebda3594 contrib/jenkins.sh: Build libosmo-abis, a dependency of libosmo-netif
Change-Id: I059434e778954a9491b8d66eff8be3699ddda6af
Related: OS#4626
2020-08-22 09:39:40 +02:00
Harald Welte b53e2bfc67 initial skeleton
Change-Id: I706aa9e11a646aad71bb310fa552d0bdb5084d4b
2020-08-21 19:56:10 +02:00