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

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


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

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


osmo-sgsn: Introduce recipe

Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68
---
A recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
A recipes-osmocom/osmo-sgsn/osmo-sgsn_git.bb
2 files changed, 48 insertions(+), 0 deletions(-)

Approvals:
  Pau Espin Pedrol: Verified
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
new file mode 100644
index 0000000..3669b79
--- /dev/null
+++ b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
@@ -0,0 +1,41 @@
+DESCRIPTION = "Osmocom SGSN implementation"
+HOMEPAGE = "https://osmocom.org/projects/osmosgsn"
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "c-ares libpcap libasn1c libosmocore libosmo-netif osmo-iuh osmo-ggsn"
+
+INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+
+inherit autotools pkgconfig systemd
+
+EXTRA_OECONF += "--enable-iu"
+
+do_install_append() {
+	install -d ${D}${systemd_system_unitdir}/
+	install -d ${D}${sysconfdir}/osmocom/
+
+	install -m 0644 ${S}/doc/examples/osmo-sgsn/osmo-sgsn.cfg ${D}${sysconfdir}/osmocom/
+	install -m 0644 ${S}/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg ${D}${sysconfdir}/osmocom/
+
+	install -m 0644 ${S}/contrib/systemd/osmo-sgsn.service ${D}${systemd_system_unitdir}/
+	install -m 0644 ${S}/contrib/systemd/osmo-gbproxy.service ${D}${systemd_system_unitdir}/
+}
+
+PACKAGES =+ "osmo-gbproxy-doc osmo-gtphub-doc osmo-gbproxy osmo-gtphub"
+SYSTEMD_PACKAGES = "osmo-sgsn osmo-gbproxy"
+SYSTEMD_SERVICE_osmo-sgsn = "osmo-sgsn.service"
+SYSTEMD_SERVICE_osmo-gbproxy = "osmo-gbproxy.service"
+
+FILES_osmo-gbproxy = " \
+		${bindir}/osmo-gbproxy \
+		${sysconfdir}/osmocom/osmo-gbproxy.cfg \
+		"
+
+FILES_osmo-gtphub = " \
+		${bindir}/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 "
diff --git a/recipes-osmocom/osmo-sgsn/osmo-sgsn_git.bb b/recipes-osmocom/osmo-sgsn/osmo-sgsn_git.bb
new file mode 100644
index 0000000..e94618f
--- /dev/null
+++ b/recipes-osmocom/osmo-sgsn/osmo-sgsn_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "341d446b4db87b48812afe8d2149ebc840e8a357"
+SRC_URI = "git://git.osmocom.org/osmo-sgsn.git;protocol=git"
+PV = "0.1.0+gitr${SRCPV}"
+PR = "${INC_PR}.0"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68
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: Max <msuraev at sysmocom.de>
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