Change in meta-telephony[laforge/nightly]: osmo-bsc: Don't try to package anything bsc-nat related

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon May 28 11:57:15 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9345 )

Change subject: osmo-bsc: Don't try to package anything bsc-nat related
......................................................................

osmo-bsc: Don't try to package anything bsc-nat related

osmo-bsc_nat has been fully removed from osmo-bsc.git in
1c9b8b19176854ecf4a3d57e9eef6b495361557f.

Instead, build the one from openbsc.git.

Change-Id: I98109914d53cce1880f259f5d8d366879c2aff61
---
M recipes-osmocom/openbsc/openbsc.inc
M recipes-osmocom/osmo-bsc/osmo-bsc.inc
2 files changed, 11 insertions(+), 13 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved; Verified



diff --git a/recipes-osmocom/openbsc/openbsc.inc b/recipes-osmocom/openbsc/openbsc.inc
index 36c57e7..9f23d52 100644
--- a/recipes-osmocom/openbsc/openbsc.inc
+++ b/recipes-osmocom/openbsc/openbsc.inc
@@ -11,9 +11,9 @@
 	   file://osmo-bsc-sccplite.service \
 	   "
 
-INC_PR = "r0.${META_TELEPHONY_OSMO_INC}"
+INC_PR = "r1.${META_TELEPHONY_OSMO_INC}"
 
-EXTRA_OECONF += "--enable-osmo-bsc --enable-smpp --enable-mgcp-transcoding --with-g729"
+EXTRA_OECONF += "--enable-nat --enable-osmo-bsc --enable-smpp --enable-mgcp-transcoding --with-g729"
 
 inherit autotools update-rc.d pkgconfig
 
@@ -21,6 +21,7 @@
 	install -d ${D}${sysconfdir}/osmocom
 	install -m 0660 ${S}/doc/examples/osmo-nitb/nanobts/openbsc.cfg ${D}${sysconfdir}/osmocom/osmo-nitb.cfg
 	install -m 0660 ${S}/doc/examples/osmo-bsc-sccplite/osmo-bsc-sccplite.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-sccplite.cfg
+	install -m 0644 ${S}/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg ${D}${sysconfdir}/osmocom/
 
 	# Install sysv-init files
 	install -d ${D}${sysconfdir}/init.d
@@ -37,7 +38,7 @@
 
 }
 
-PACKAGES =+ "osmo-bsc-sccplite osmo-nitb"
+PACKAGES =+ "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb"
 
 INITSCRIPT_PACKAGES = "osmo-bsc-sccplite osmo-nitb"
 
@@ -62,3 +63,9 @@
 		${sysconfdir}/osmocom/osmo-nitb.cfg \
 		${systemd_unitdir}/system/osmo-nitb.service \
 		"
+
+CONFFILES_osmo-bsc-nat = "${sysconfdir}/osmocom/osmo-bsc_nat.cfg"
+FILES_osmo-bsc-nat = " \
+               ${bindir}/osmo-bsc_nat \
+               ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \
+               "
diff --git a/recipes-osmocom/osmo-bsc/osmo-bsc.inc b/recipes-osmocom/osmo-bsc/osmo-bsc.inc
index f20362f..d066a58 100644
--- a/recipes-osmocom/osmo-bsc/osmo-bsc.inc
+++ b/recipes-osmocom/osmo-bsc/osmo-bsc.inc
@@ -14,12 +14,11 @@
 	install -d ${D}${sysconfdir}/osmocom/
 
 	install -m 0644 ${S}/doc/examples/osmo-bsc/osmo-bsc.cfg ${D}${sysconfdir}/osmocom/
-	install -m 0644 ${S}/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg ${D}${sysconfdir}/osmocom/
 
 	install -m 0644 ${S}/contrib/systemd/osmo-bsc.service ${D}${systemd_system_unitdir}/
 }
 
-PACKAGES =+ "osmo-bsc-nat-doc osmo-bsc-nat meas-utils ipaccess-utils bs11-utils abisip-find"
+PACKAGES =+ "meas-utils ipaccess-utils bs11-utils abisip-find"
 SYSTEMD_PACKAGES = "osmo-bsc"
 SYSTEMD_SERVICE_osmo-bsc = "osmo-bsc.service"
 
@@ -43,11 +42,3 @@
 		${bindir}/osmo-meas-pcap2db \
 		${bindir}/meas_json \
 		"
-
-FILES_osmo-bsc-nat = " \
-		${bindir}/osmo-bsc_nat \
-		${sysconfdir}/osmocom/osmo-bsc_nat.cfg \
-		"
-CONFFILES_osmo-bsc-nat = "${sysconfdir}/osmocom/osmo-bsc_nat.cfg"
-
-FILES_osmo-bsc-nat-doc = " ${docdir}/osmo-bsc/examples/osmo-bsc_nat "

-- 
To view, visit https://gerrit.osmocom.org/9345
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: meta-telephony
Gerrit-Branch: laforge/nightly
Gerrit-MessageType: merged
Gerrit-Change-Id: I98109914d53cce1880f259f5d8d366879c2aff61
Gerrit-Change-Number: 9345
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180528/a82ed485/attachment.htm>


More information about the gerrit-log mailing list