Projects
osmocom:nightly
osmo-hnbgw
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 674
View file
osmo-hnbgw.spec
Changed
@@ -17,14 +17,14 @@ %define _lto_cflags %{nil} Name: osmo-hnbgw -Requires: osmocom-nightly = 202404242026 -Version: 1.5.0.55.8fd9.202404242026 +Requires: osmocom-nightly = 202404252026 +Version: 1.5.0.56.7449.202404252026 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.202404242026.tar.xz +Source: osmo-hnbgw_1.5.0.56.7449.202404252026.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
osmo-hnbgw_1.5.0.55.8fd9.202404242026.dsc -> osmo-hnbgw_1.5.0.56.7449.202404252026.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.202404242026 +Version: 1.5.0.56.7449.202404252026 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: - 69c288cad2b8b5ee2abcc1a7078108ec4710f3d1 107776 osmo-hnbgw_1.5.0.55.8fd9.202404242026.tar.xz + fb12612c3c38086adf77df2a12c930b42954d9cf 108320 osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz Checksums-Sha256: - 2ed31a0377381a07d247ca4695ec35716d2759cdd98a2e1c0ee299359f701887 107776 osmo-hnbgw_1.5.0.55.8fd9.202404242026.tar.xz + ae841bb6aa78a52663d41bcad8e1b8d04e91fd25ccafd71bf1f27f7612fb2e54 108320 osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz Files: - b5e2ce913143c31a2b21ac207ef4951c 107776 osmo-hnbgw_1.5.0.55.8fd9.202404242026.tar.xz + 8ba2ee57c129b126f69e698c4d5de0b5 108320 osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz
View file
osmo-hnbgw_1.5.0.55.8fd9.202404242026.tar.xz/.tarball-version -> osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.5.0.55-8fd9.202404242026 +1.5.0.56-7449.202404252026
View file
osmo-hnbgw_1.5.0.55.8fd9.202404242026.tar.xz/contrib/osmo-hnbgw.spec.in -> osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz/contrib/osmo-hnbgw.spec.in
Changed
@@ -17,7 +17,7 @@ %define _lto_cflags %{nil} Name: osmo-hnbgw -Requires: osmocom-nightly = 202404242026 +Requires: osmocom-nightly = 202404252026 Version: @VERSION@ Release: 0 Summary: OsmoHNBGW: Osmocom's Base Station Controller for 2G CS mobile networks @@ -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.202404242026.tar.xz/contrib/systemd/osmo-hnbgw.service -> osmo-hnbgw_1.5.0.56.7449.202404252026.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.202404242026.tar.xz/debian/changelog -> osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-hnbgw (1.5.0.55.8fd9.202404242026) unstable; urgency=medium +osmo-hnbgw (1.5.0.56.7449.202404252026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Wed, 24 Apr 2024 20:26:58 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Thu, 25 Apr 2024 20:26:47 +0000 osmo-hnbgw (1.5.0) unstable; urgency=medium
View file
osmo-hnbgw_1.5.0.55.8fd9.202404242026.tar.xz/debian/control -> osmo-hnbgw_1.5.0.56.7449.202404252026.tar.xz/debian/control
Changed
@@ -31,7 +31,7 @@ Package: osmo-hnbgw Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202404242026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202404252026), ${misc:Depends}, ${shlibs:Depends}, adduser Recommends: osmo-mgw Description: OsmoHNBGW: Osmocom Home Node B Gateway @@ -39,14 +39,14 @@ Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202404242026), osmo-hnbgw (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202404252026), osmo-hnbgw (= ${binary:Version}), ${misc:Depends} Description: OsmoHNBGW: Osmocom Home Node B Gateway Package: osmo-hnbgw-doc Architecture: all Section: doc Priority: optional -Depends: osmocom-nightly (= 202404242026), ${misc:Depends} +Depends: osmocom-nightly (= 202404252026), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-hnbgw_1.5.0.56.7449.202404252026.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
.