[MERGED] meta-telephony[201705]: osmo-bsc: Introduce recipe

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Oct 5 10:37:10 UTC 2017


Pau Espin Pedrol has submitted this change and it was merged.

Change subject: osmo-bsc: Introduce recipe
......................................................................


osmo-bsc: Introduce recipe

This recipe provides osmo-bsc package from new osmo-bsc.git repository,
and replaces old osmo-bsc from openbc.git.

Change-Id: I06c529c01a72e16aa20a2c7a20e8b043718edab3
---
A recipes-osmocom/osmo-bsc/osmo-bsc.inc
A recipes-osmocom/osmo-bsc/osmo-bsc_git.bb
2 files changed, 44 insertions(+), 0 deletions(-)

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



diff --git a/recipes-osmocom/osmo-bsc/osmo-bsc.inc b/recipes-osmocom/osmo-bsc/osmo-bsc.inc
new file mode 100644
index 0000000..dfa332a
--- /dev/null
+++ b/recipes-osmocom/osmo-bsc/osmo-bsc.inc
@@ -0,0 +1,37 @@
+DESCRIPTION = "Osmocom BSC implementation"
+HOMEPAGE = "https://osmocom.org/projects/osmobsc"
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "sqlite3 libosmocore libosmo-abis libosmo-sccp libosmo-netif osmo-mgw"
+
+INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+
+inherit autotools pkgconfig systemd
+
+do_install_append() {
+	install -d ${D}${systemd_system_unitdir}/
+	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 ipaccess-utils"
+SYSTEMD_PACKAGES = "osmo-bsc"
+SYSTEMD_SERVICE_osmo-bsc = "osmo-bsc.service"
+
+FILES_ipaccess-utils = " \
+		${bindir}/ipaccess-find \
+		${bindir}/ipaccess-config \
+		${bindir}/ipaccess-proxy \
+		"
+
+FILES_osmo-bsc-nat = " \
+		${bindir}/osmo-bsc_nat \
+		${sysconfdir}/osmocom/osmo-bsc_nat.cfg \
+		"
+
+FILES_osmo-bsc-nat-doc = " ${docdir}/osmo-bsc/examples/osmo-bsc_nat "
diff --git a/recipes-osmocom/osmo-bsc/osmo-bsc_git.bb b/recipes-osmocom/osmo-bsc/osmo-bsc_git.bb
new file mode 100644
index 0000000..234e054
--- /dev/null
+++ b/recipes-osmocom/osmo-bsc/osmo-bsc_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "00c22464a0c1b51bb4b29efecab39e993224949c"
+SRC_URI = "git://git.osmocom.org/osmo-bsc.git;protocol=git"
+PV = "1.0.1+gitr${SRCPV}"
+PR = "${INC_PR}.0"

-- 
To view, visit https://gerrit.osmocom.org/4099
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I06c529c01a72e16aa20a2c7a20e8b043718edab3
Gerrit-PatchSet: 2
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list