[MERGED] meta-telephony[201705]: Add osmo-sip-connector recipe

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Feb 16 17:53:53 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: Add osmo-sip-connector recipe
......................................................................


Add osmo-sip-connector recipe

Change-Id: Iaf7f1c2c611dccbd13bcdd6a5b53d52bee0e84c6
---
A recipes-osmocom/osmo-sip-connector/osmo-sip-connector.inc
A recipes-osmocom/osmo-sip-connector/osmo-sip-connector_git.bb
2 files changed, 28 insertions(+), 0 deletions(-)

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



diff --git a/recipes-osmocom/osmo-sip-connector/osmo-sip-connector.inc b/recipes-osmocom/osmo-sip-connector/osmo-sip-connector.inc
new file mode 100644
index 0000000..d7f22a3
--- /dev/null
+++ b/recipes-osmocom/osmo-sip-connector/osmo-sip-connector.inc
@@ -0,0 +1,21 @@
+DESCRIPTION = "Osmo SIP Connector"
+HOMEPAGE = "https://osmocom.org/projects/osmo-sip-conector"
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ccdfc45f78d625db70e70ede679d5ce3"
+
+DEPENDS = "sofia-sip libosmocore"
+
+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-sip-connector.cfg ${D}${sysconfdir}/osmocom/
+
+	install -m 0644 ${S}/contrib/systemd/osmo-sip-connector.service ${D}${systemd_system_unitdir}/
+}
+SYSTEMD_SERVICE_${PN} = "${PN}.service"
+CONFFILES_osmo-sip-connector = "${sysconfdir}/osmocom/osmo-sip-connector.cfg"
diff --git a/recipes-osmocom/osmo-sip-connector/osmo-sip-connector_git.bb b/recipes-osmocom/osmo-sip-connector/osmo-sip-connector_git.bb
new file mode 100644
index 0000000..015ee94
--- /dev/null
+++ b/recipes-osmocom/osmo-sip-connector/osmo-sip-connector_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "df62bb330e403293d7328b50f1276288ed7faca6"
+SRC_URI = "git://git.osmocom.org/osmo-sip-connector.git;protocol=git"
+PV = "1.1.0+gitr${SRCPV}"
+PR = "${INC_PR}.0"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf7f1c2c611dccbd13bcdd6a5b53d52bee0e84c6
Gerrit-PatchSet: 1
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: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>


More information about the gerrit-log mailing list