Projects
osmocom:master
osmo-hnbgw
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 89
View file
osmo-hnbgw.spec
Changed
@@ -18,13 +18,13 @@ Name: osmo-hnbgw Requires: osmocom-master -Version: 1.5.0.55.8fd9 +Version: 1.5.0.56.7449 Release: 0 Summary: OsmoHNBGW: Osmocom's Base Station Controller for 2G CS mobile networks License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Hardware/Mobile URL: https://osmocom.org/projects/osmohnbgw -Source: osmo-hnbgw_1.5.0.55.8fd9.tar.xz +Source: osmo-hnbgw_1.5.0.56.7449.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2 @@ -70,19 +70,32 @@ %install %make_install -%if 0%{?suse_version} %preun +%if 0%{?suse_version} %service_del_preun %{name}.service +%endif %postun +%if 0%{?suse_version} %service_del_postun %{name}.service +%endif %pre +getent group osmocom >/dev/null || groupadd --system osmocom +getent passwd osmocom >/dev/null || useradd --system --gid osmocom --home-dir /var/lib/osmocom \ + --shell /sbin/nologin --comment "Open Source Mobile Communications" osmocom +%if 0%{?suse_version} %service_add_pre %{name}.service +%endif %post +%if 0%{?suse_version} %service_add_post %{name}.service %endif +chown osmocom:osmocom /etc/osmocom/osmo-hnbgw.cfg +chmod 0660 /etc/osmocom/osmo-hnbgw.cfg +chown root:osmocom /etc/osmocom +chmod 2775 /etc/osmocom %check make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
View file
commit_744963552072c59d0bbcfeb2471f29e8fed4ce71.txt
Added
View file
commit_8fd95f3e747534268a007b1e1b0ea3f7bac84f51.txt
Deleted
View file
osmo-hnbgw_1.5.0.55.8fd9.dsc -> osmo-hnbgw_1.5.0.56.7449.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-hnbgw Binary: osmo-hnbgw, osmo-hnbgw-dbg, osmo-hnbgw-doc Architecture: any all -Version: 1.5.0.55.8fd9 +Version: 1.5.0.56.7449 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-hnbgw Standards-Version: 3.9.8 @@ -14,8 +14,8 @@ osmo-hnbgw-dbg deb debug extra arch=any osmo-hnbgw-doc deb doc optional arch=all Checksums-Sha1: - f49c10ef5bc2d45feca7acf363cac5a40e2002f8 107792 osmo-hnbgw_1.5.0.55.8fd9.tar.xz + c3ec83b319188d2889cd140fed1331efc3eec640 108336 osmo-hnbgw_1.5.0.56.7449.tar.xz Checksums-Sha256: - 1caccb57d5df01655e4240cae6f3bc1a7221ee9b494e3e93c6714783b1da329d 107792 osmo-hnbgw_1.5.0.55.8fd9.tar.xz + adc0a5355d184143a2b37f22e384678d8f0235dffd4e42e0496a6a414e7fd619 108336 osmo-hnbgw_1.5.0.56.7449.tar.xz Files: - a1c40d43c5901f87d20105b324391696 107792 osmo-hnbgw_1.5.0.55.8fd9.tar.xz + 5e4a80ccec9dedd88b3c7c6db141a3ef 108336 osmo-hnbgw_1.5.0.56.7449.tar.xz
View file
osmo-hnbgw_1.5.0.55.8fd9.tar.xz/.tarball-version -> osmo-hnbgw_1.5.0.56.7449.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.5.0.55-8fd9 +1.5.0.56-7449
View file
osmo-hnbgw_1.5.0.55.8fd9.tar.xz/contrib/osmo-hnbgw.spec.in -> osmo-hnbgw_1.5.0.56.7449.tar.xz/contrib/osmo-hnbgw.spec.in
Changed
@@ -69,19 +69,32 @@ %install %make_install -%if 0%{?suse_version} %preun +%if 0%{?suse_version} %service_del_preun %{name}.service +%endif %postun +%if 0%{?suse_version} %service_del_postun %{name}.service +%endif %pre +getent group osmocom >/dev/null || groupadd --system osmocom +getent passwd osmocom >/dev/null || useradd --system --gid osmocom --home-dir /var/lib/osmocom \ + --shell /sbin/nologin --comment "Open Source Mobile Communications" osmocom +%if 0%{?suse_version} %service_add_pre %{name}.service +%endif %post +%if 0%{?suse_version} %service_add_post %{name}.service %endif +chown osmocom:osmocom /etc/osmocom/osmo-hnbgw.cfg +chmod 0660 /etc/osmocom/osmo-hnbgw.cfg +chown root:osmocom /etc/osmocom +chmod 2775 /etc/osmocom %check make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
View file
osmo-hnbgw_1.5.0.55.8fd9.tar.xz/contrib/systemd/osmo-hnbgw.service -> osmo-hnbgw_1.5.0.56.7449.tar.xz/contrib/systemd/osmo-hnbgw.service
Changed
@@ -9,6 +9,8 @@ LimitNOFILE=65536 StateDirectory=osmocom WorkingDirectory=%S/osmocom +User=osmocom +Group=osmocom ExecStart=/usr/bin/osmo-hnbgw -c /etc/osmocom/osmo-hnbgw.cfg RestartSec=2
View file
osmo-hnbgw_1.5.0.55.8fd9.tar.xz/debian/changelog -> osmo-hnbgw_1.5.0.56.7449.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-hnbgw (1.5.0.55.8fd9) unstable; urgency=medium +osmo-hnbgw (1.5.0.56.7449) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Wed, 17 Apr 2024 10:45:58 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Thu, 25 Apr 2024 08:40:06 +0000 osmo-hnbgw (1.5.0) unstable; urgency=medium
View file
osmo-hnbgw_1.5.0.55.8fd9.tar.xz/debian/control -> osmo-hnbgw_1.5.0.56.7449.tar.xz/debian/control
Changed
@@ -31,7 +31,7 @@ Package: osmo-hnbgw Architecture: any Multi-Arch: foreign -Depends: osmocom-master, ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-master, ${misc:Depends}, ${shlibs:Depends}, adduser Recommends: osmo-mgw Description: OsmoHNBGW: Osmocom Home Node B Gateway
View file
osmo-hnbgw_1.5.0.56.7449.tar.xz/debian/postinst
Added
@@ -0,0 +1,39 @@ +#!/bin/sh -e +# Create 'osmocom' user and group (if it doesn't exist yet) and adjust permissions +# of directories which are not automatically adjusted by systemd from previous (root-owned) +# install. + +# N. B: the user is intentionally NOT removed during package uninstall: +# see https://wiki.debian.org/AccountHandlingInMaintainerScripts for reasoning. +chperms() { + # chperms <user> <group> <perms> <file> + if ! OVERRIDE=`dpkg-statoverride --list $4 2>&1`; then + if -e $4 ; then + chown $1:$2 $4 + chmod $3 $4 + fi + fi +} + +case "$1" in + configure) + if ! getent passwd osmocom > /dev/null; then + adduser --quiet \ + --system \ + --group \ + --no-create-home \ + --disabled-password \ + --home /var/lib/osmocom \ + --gecos "Open Source Mobile Communications" \ + osmocom + fi +# Set permissions according to https://www.debian.org/doc/debian-policy/ch-files.html#s-permissions-owners + chperms osmocom osmocom 0660 /etc/osmocom/osmo-hnbgw.cfg + chperms root osmocom 2775 /etc/osmocom + + ;; +esac + +# dh_installdeb(1) will replace this with shell code automatically +# generated by other debhelper scripts. +#DEBHELPER#
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.