Change in meta-telephony[laforge/nightly]: Adjust to osmo-gbproxy split from osmo-sgsn

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Tue Feb 9 11:29:34 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/meta-telephony/+/22791 )


Change subject: Adjust to osmo-gbproxy split from osmo-sgsn
......................................................................

Adjust to osmo-gbproxy split from osmo-sgsn

Related: OS#4992
Change-Id: I146d2a3600232a8b9eed05d0c3674d2416befd29
---
A recipes-osmocom/osmo-gbproxy/osmo-gbproxy.inc
A recipes-osmocom/osmo-gbproxy/osmo-gbproxy_git.bb
M recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
3 files changed, 28 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/91/22791/1

diff --git a/recipes-osmocom/osmo-gbproxy/osmo-gbproxy.inc b/recipes-osmocom/osmo-gbproxy/osmo-gbproxy.inc
new file mode 100644
index 0000000..39071c3
--- /dev/null
+++ b/recipes-osmocom/osmo-gbproxy/osmo-gbproxy.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "Osmocom's Gb interface aggregation/conversion proxy"
+HOMEPAGE = "https://osmocom.org/projects/osmo-gbproxy"
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "c-ares libosmocore"
+
+INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
+
+inherit autotools pkgconfig systemd
+
+PACKAGECONFIG ??= "\
+    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+    "
+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
+
+SYSTEMD_SERVICE_osmo-gbproxy = "osmo-gbproxy.service"
+
+CONFFILES_osmo-gbproxy = "${sysconfdir}/osmocom/osmo-gbproxy.cfg"
diff --git a/recipes-osmocom/osmo-gbproxy/osmo-gbproxy_git.bb b/recipes-osmocom/osmo-gbproxy/osmo-gbproxy_git.bb
new file mode 100644
index 0000000..12bf4ed
--- /dev/null
+++ b/recipes-osmocom/osmo-gbproxy/osmo-gbproxy_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://git.osmocom.org/osmo-gbproxy.git;protocol=git"
+PV = "0.0.1+gitr${SRCPV}"
+PR = "${INC_PR}.0"
diff --git a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
index 57ab845..1f6fd7a 100644
--- a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
+++ b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
@@ -16,25 +16,17 @@
 PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
 PACKAGECONFIG[iu] = "--enable-iu,--disable-iu,libasn1c libosmo-sccp osmo-iuh,"
 
-PACKAGES =+ "osmo-gbproxy-doc osmo-gtphub-doc osmo-gbproxy osmo-gtphub"
-SYSTEMD_PACKAGES = "osmo-sgsn osmo-gbproxy osmo-gtphub"
+PACKAGES =+ "osmo-gtphub-doc osmo-gtphub"
+SYSTEMD_PACKAGES = "osmo-sgsn osmo-gtphub"
 SYSTEMD_SERVICE_osmo-sgsn = "osmo-sgsn.service"
-SYSTEMD_SERVICE_osmo-gbproxy = "osmo-gbproxy.service"
 SYSTEMD_SERVICE_osmo-gtphub = "osmo-gtphub.service"
 
 CONFFILES_osmo-sgsn = "${sysconfdir}/osmocom/osmo-sgsn.cfg"
 
-FILES_osmo-gbproxy = " \
-		${bindir}/osmo-gbproxy \
-		${sysconfdir}/osmocom/osmo-gbproxy.cfg \
-		"
-CONFFILES_osmo-gbproxy = "${sysconfdir}/osmocom/osmo-gbproxy.cfg"
-
 FILES_osmo-gtphub = " \
 		${bindir}/osmo-gtphub \
 		${sysconfdir}/osmocom/osmo-gtphub.cfg \
 		"
 CONFFILES_osmo-gtphub = "${sysconfdir}/osmocom/osmo-gtphub.cfg"
 
-FILES_osmo-gbproxy-doc = " ${docdir}/osmo-sgsn/examples/osmo-gbproxy "
 FILES_osmo-gtphub-doc = " ${docdir}/osmo-sgsn/examples/osmo-gtphub "

-- 
To view, visit https://gerrit.osmocom.org/c/meta-telephony/+/22791
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: meta-telephony
Gerrit-Branch: laforge/nightly
Gerrit-Change-Id: I146d2a3600232a8b9eed05d0c3674d2416befd29
Gerrit-Change-Number: 22791
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210209/87cfb501/attachment.htm>


More information about the gerrit-log mailing list