[PATCH] meta-telephony[201705]: Add osmo-sip-connector 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
Fri Feb 16 16:59:41 UTC 2018


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

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(-)


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

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: newchange
Gerrit-Change-Id: Iaf7f1c2c611dccbd13bcdd6a5b53d52bee0e84c6
Gerrit-PatchSet: 1
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list