* 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: I6dd0205fb65d4ad5a79821c111865e67fb293a73
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: Ic24b43bde8d4af0641365f276106eb3cd016be2c
It doesn't make much sense to pull whole libgtp to implement only the
user plan side of GTP. Let's drop it and add a minimal GTP-U
implementation here.
Related: SYS#5516
Change-Id: I53ad4915aaed3bc7574036e963be10514e370fe2
This first implementation uses libgtp to manage the GTPv1-U socket and
pdp contexts, as a proof of concept to have something working for now.
At a later step, it is expected to drop libgtp and use some adhoc code
to handle GTP-U.
Related: SYS#5516
Change-Id: I5a6f5dfc4e508c92adb35210b4dc576d64353366
autoconf-archive is apparently needed to build the package. We have it
in few other Osmocom projects as build dependency too, others seem to
ship related m4 macros directly in a m4 dir.
Fix for:
configure: error: Please install autoconf-archive; re-run 'autoreconf -fi' for it to take effect.
Related: SYS#5516
Change-Id: If9ff232844d72094fb883700185ae152ca40493d
This commit contains all the relevant project structure to build the
osmo-hnodeb binary, its doc, tests, packaging, etc.
The osmo-hnodeb binary itself is still just an empty main().
Related: SYS#5516
Change-Id: I6ae3215ae4b956689d2adc88db7c3ead5df14f37