Attention is currently required from: fixeria, laforge, pespin.
jolly has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/36317?usp=email )
Change subject: osmo-bts-virtual: Port over to osmo_io
......................................................................
Patch Set 2:
(2 comments)
File src/osmo-bts-virtual/scheduler_virtbts.c:
https://gerrit.osmocom.org/c/osmo-bts/+/36317/comment/25c52194_5fba2e99
PS2, Line 105: else if (rc == 0)
> This is not `read()`, but `send()` code path. […]
Ok, I commented the wrong file.
File src/osmo-bts-virtual/virtual_um.c:
https://gerrit.osmocom.org/c/osmo-bts/+/36317/comment/bef71d62_ac23a7ae
PS2, Line 53: (rc == 0)
I meant this file when I said: If the socket dies, not handling of rc <= 0 will result in an infinite loop of read events. This is UDP socket can it die?
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/36317?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Icfe42da00fd446c38090055e2baa5d5e0ae5b70c
Gerrit-Change-Number: 36317
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 19 Mar 2024 12:56:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: jolly <andreas(a)eversberg.eu>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/36349?usp=email )
Change subject: debian: initial layer23 packaging
......................................................................
debian: initial layer23 packaging
Related: OS#6409
Change-Id: I3713201233e13fca5ea4e0b8c4df913c787965f5
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/osmocom-bb.install
A debian/rules
A debian/source/format
7 files changed, 76 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Verified
Hoernchen: Looks good to me, approved
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2335d18
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osmocom-bb (0.1.0) unstable; urgency=medium
+
+ * Initial debian packaging for layer23
+
+ -- Oliver Smith <osmith(a)sysmocom.de> Mon, 19 Mar 2024 11:38:22 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c90b6a7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: osmocom-bb
+Section: net
+Priority: optional
+Maintainer: Osmocom team <openbsc(a)lists.osmocom.org>
+Build-Depends: debhelper (>= 10),
+ dh-autoreconf,
+ autotools-dev,
+ autoconf,
+ automake,
+ libtool,
+ pkg-config,
+ libosmocore-dev (>= 1.5.0),
+ libosmo-csn1-dev,
+ libosmo-gprs-gmm-dev,
+ libosmo-gprs-llc-dev,
+ libosmo-gprs-rlcmac-dev,
+ libosmo-gprs-sm-dev,
+ libosmo-gprs-sndcp-dev,
+ libosmogapk-dev
+Standards-Version: 4.1.4
+Vcs-Browser: https://gitea.osmocom.org/phone-side/osmocom-bb
+Vcs-Git: https://gerrit.osmocom.org/osmocom-bb
+Homepage: https://osmocom.org/projects/baseband/wiki
+
+Package: osmocom-bb-layer23
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: MS-side implementation of L2 and L3 GSM protocols
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c9ee2c1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: osmocom-bb
+Source: https://gitea.osmocom.org/phone-side/osmocom-bb
+
+Files: *
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/osmocom-bb.install b/debian/osmocom-bb.install
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/osmocom-bb.install
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8dd0df8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ -D src/host/layer23 --with-autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -D src/host/layer23 -- --with-gapk-io
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/36349?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I3713201233e13fca5ea4e0b8c4df913c787965f5
Gerrit-Change-Number: 36349
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged