Oliver Smith | ef06673 | 2021-02-09 11:47:52 +0100 | [diff] [blame] | 1 | DESCRIPTION = "Osmocom's Gb interface aggregation/conversion proxy" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmo-gbproxy" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" |
| 5 | |
| 6 | DEPENDS = "libosmocore" |
| 7 | |
Pau Espin Pedrol | df5ac43 | 2023-02-17 14:57:14 +0100 | [diff] [blame] | 8 | INC_PR="r1.${META_TELEPHONY_OSMO_INC}" |
Oliver Smith | ef06673 | 2021-02-09 11:47:52 +0100 | [diff] [blame] | 9 | |
| 10 | inherit autotools pkgconfig systemd |
| 11 | |
| 12 | PACKAGECONFIG ??= "\ |
| 13 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 14 | " |
| 15 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir" |
| 16 | |
Pau Espin Pedrol | df5ac43 | 2023-02-17 14:57:14 +0100 | [diff] [blame] | 17 | # StateDirectory requires systemd >= v235, but poky pyro ships with v232 (SYS#6340): |
| 18 | do_install_append() { |
| 19 | sed -i '/^StateDirectory=/d' "${D}${systemd_system_unitdir}/${PN}.service" |
| 20 | sed -i '/^WorkingDirectory=/d' "${D}${systemd_system_unitdir}/${PN}.service" |
| 21 | } |
| 22 | |
Oliver Smith | ef06673 | 2021-02-09 11:47:52 +0100 | [diff] [blame] | 23 | SYSTEMD_SERVICE_osmo-gbproxy = "osmo-gbproxy.service" |
| 24 | |
| 25 | CONFFILES_osmo-gbproxy = "${sysconfdir}/osmocom/osmo-gbproxy.cfg" |