[PATCH] meta-telephony[201705]: osmo-iuh: Introduce recipe

2017-09-29 Thread Pau Espin Pedrol
Hello Neels Hofmeyr,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/4094

to look at the new patch set (#2).

osmo-iuh: Introduce recipe

Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94
---
A recipes-osmocom/osmo-iuh/osmo-iuh.inc
A recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
2 files changed, 27 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/94/4094/2

diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh.inc 
b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
new file mode 100644
index 000..118827e
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "Osmocom Iuh and HNB-GW implementation"
+HOMEPAGE = "https://osmocom.org/projects/osmohnbgw;
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"
+
+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-hnbgw.cfg 
${D}${sysconfdir}/osmocom/
+   install -m 0644 ${S}/contrib/systemd/osmo-hnbgw.service 
${D}${systemd_system_unitdir}/
+}
+
+SYSTEMD_SERVICE_${PN} = "osmo-hnbgw.service"
diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb 
b/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
new file mode 100644
index 000..821373d
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "5a3df8fa9ffc4400367250a0f9ff0e20dc4b5d3b"
+SRC_URI = "git://git.osmocom.org/osmo-iuh.git;protocol=git"
+PV = "0.1.0+gitr${SRCPV}"
+PR = "${INC_PR}.0"

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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94
Gerrit-PatchSet: 2
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Neels Hofmeyr 


[PATCH] meta-telephony[201705]: osmo-iuh: Introduce recipe

2017-09-28 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/4094

osmo-iuh: Introduce recipe

Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94
---
A recipes-osmocom/osmo-iuh/osmo-iuh.inc
A recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
2 files changed, 27 insertions(+), 0 deletions(-)


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

diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh.inc 
b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
new file mode 100644
index 000..613df72
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
@@ -0,0 +1,20 @@
+DESCRITOPN = "Osmocom Iuh and HNB-GW implementation"
+HOMEPAGE = "https://osmocom.org/;
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"
+
+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-hnbgw.cfg 
${D}${sysconfdir}/osmocom/
+   install -m 0644 ${S}/contrib/systemd/osmo-hnbgw.service 
${D}${systemd_system_unitdir}/
+}
+
+SYSTEMD_SERVICE_${PN} = "osmo-hnbgw.service"
diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb 
b/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
new file mode 100644
index 000..821373d
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "5a3df8fa9ffc4400367250a0f9ff0e20dc4b5d3b"
+SRC_URI = "git://git.osmocom.org/osmo-iuh.git;protocol=git"
+PV = "0.1.0+gitr${SRCPV}"
+PR = "${INC_PR}.0"

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94
Gerrit-PatchSet: 1
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol