Hello Max, Neels Hofmeyr,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/4095
to look at the new patch set (#2).
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(-)
git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/95/4095/2
diff --git a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
new file mode 100644
index 000..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 000..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: newpatchset
Gerrit-Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68
Gerrit-PatchSet: 2
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol
Gerrit-Reviewer: Max
Gerrit-Reviewer: Neels Hofmeyr
Gerrit-Reviewer: Pau Espin Pedrol