SHA256
1
0
forked from pool/osmo-iuh

- Update to release 1.2.0

OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=34
This commit is contained in:
Jan Engelhardt 2022-04-02 14:55:42 +00:00 committed by Git OBS Bridge
parent 4c50f6bcb3
commit 2ce8bc99a7
5 changed files with 14 additions and 53 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a089c26919f5eb78d9cf013bb80adf750ab8227ede666576ae6ec228c6c4f2a
size 13275894

3
1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6872ac89d5fe8a010b00b2c1d4b94cd9e58cd6f4a2eb3c28e8632109a1df79e5
size 13246366

View File

@ -1,22 +0,0 @@
Index: osmo-iuh-0.7.0/contrib/systemd/osmo-hnbgw.service
===================================================================
--- osmo-iuh-0.7.0.orig/contrib/systemd/osmo-hnbgw.service
+++ osmo-iuh-0.7.0/contrib/systemd/osmo-hnbgw.service
@@ -2,6 +2,17 @@
Description=Osmocom Home Nodeb Gateway (OsmoHNBGW)
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=simple
Restart=always
ExecStart=/usr/bin/osmo-hnbgw -c /etc/osmocom/osmo-hnbgw.cfg

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Apr 2 14:52:53 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.0
* Drop osmo-hnbgw
* Introduce dynamic log category for libosmo-rua/hnbap
- Drop harden_osmo-hnbgw.service.patch
-------------------------------------------------------------------
Fri Nov 19 10:09:05 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package osmo-iuh
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: osmo-iuh
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@ -25,7 +25,6 @@ Group: Hardware/Mobile
URL: https://osmocom.org/projects/osmohnbgw/wiki
Source: https://github.com/osmocom/osmo-iuh/archive/%version.tar.gz
Patch0: harden_osmo-hnbgw.service.patch
BuildRequires: automake >= 1.9
BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel
@ -132,8 +131,6 @@ autoreconf -fi
%install
%make_install
find "%buildroot" -type f -name "*.la" -delete -print
install -d %buildroot/%_sbindir
ln -s %_sbindir/service %buildroot/%_sbindir/rcosmo-hnbgw
%check
if ! %make_build check; then
@ -152,30 +149,8 @@ fi
%post -n libosmo-sabp1 -p /sbin/ldconfig
%postun -n libosmo-sabp1 -p /sbin/ldconfig
%pre
%service_add_pre osmo-hnbgw.service
%post
%service_add_post osmo-hnbgw.service
%preun
%service_del_preun osmo-hnbgw.service
%postun
%service_del_postun osmo-hnbgw.service
%files
%license COPYING
%doc README.md
%dir %_sysconfdir/osmocom
%config(noreplace) %_sysconfdir/osmocom/osmo-hnbgw.cfg
%dir %_docdir/%name/examples
%_docdir/%name/examples/osmo-hnbgw.cfg
%_bindir/osmo-hnbgw
%_unitdir/osmo-hnbgw.service
%_sbindir/rcosmo-hnbgw
%files -n libosmo-hnbap0
%license COPYING
%_libdir/libosmo-hnbap.so.0*
%files -n libosmo-hnbap-devel