diff options
| author | Peter Kjellerstedt <pkj@axis.com> | 2023-11-07 08:12:28 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-07 19:59:58 -0800 |
| commit | f747ee50b2893f5226d0e1ce552b315d765505b9 (patch) | |
| tree | d649c93cc340a8563062f59e334c377cbc56e6e9 /meta-oe | |
| parent | 61603d4dce0f47a7027c4fe2c0d0f677f7d05b53 (diff) | |
| download | meta-openembedded-f747ee50b2893f5226d0e1ce552b315d765505b9.tar.gz | |
mstpd: Update to 0.1.0+
The "update" to 0.05 in commit d0dbeb580f was actually a revert, since
version "0.05" in reality corresponds to "0.0.5".
Also do some clean up:
* Unify SRC_URI.
* Correct the indentation of shell code.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-extended/networking/mstpd_git.bb | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/meta-oe/recipes-extended/networking/mstpd_git.bb b/meta-oe/recipes-extended/networking/mstpd_git.bb index ed5669e55e..b2043ef062 100644 --- a/meta-oe/recipes-extended/networking/mstpd_git.bb +++ b/meta-oe/recipes-extended/networking/mstpd_git.bb | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | PV = "0.05" | ||
| 2 | LICENSE = "GPL-2.0-or-later" | 1 | LICENSE = "GPL-2.0-or-later" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4" | 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4" |
| 4 | 3 | ||
| 5 | SRC_URI = "git://github.com/mstpd/mstpd;branch=master;protocol=https" | 4 | PV = "0.1.0+git" |
| 5 | |||
| 6 | SRC_URI = " \ | ||
| 7 | git://github.com/mstpd/mstpd;branch=master;protocol=https \ | ||
| 8 | file://bridge-stp \ | ||
| 9 | file://mstpd.service \ | ||
| 10 | " | ||
| 6 | SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c" | 11 | SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c" |
| 7 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 8 | 13 | ||
| 9 | SRC_URI:append = " \ | 14 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+){2,})" |
| 10 | file://bridge-stp \ | ||
| 11 | file://mstpd.service \ | ||
| 12 | " | ||
| 13 | 15 | ||
| 14 | inherit autotools pkgconfig systemd | 16 | inherit autotools pkgconfig systemd |
| 15 | 17 | ||
| @@ -20,12 +22,12 @@ SYSTEMD_PACKAGES = "${PN}-mstpd" | |||
| 20 | SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service" | 22 | SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service" |
| 21 | 23 | ||
| 22 | do_install:append() { | 24 | do_install:append() { |
| 23 | rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager | 25 | rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager |
| 24 | rmdir ${D}${libdir} || true | 26 | rmdir ${D}${libdir} || true |
| 25 | 27 | ||
| 26 | install -d -m 0755 ${D}/${sbindir} | 28 | install -d -m 0755 ${D}${sbindir} |
| 27 | install -m 0755 ${WORKDIR}/bridge-stp ${D}/${sbindir} | 29 | install -m 0755 ${WORKDIR}/bridge-stp ${D}${sbindir} |
| 28 | 30 | ||
| 29 | install -d -m 0755 ${D}${systemd_system_unitdir} | 31 | install -d -m 0755 ${D}${systemd_system_unitdir} |
| 30 | install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}/ | 32 | install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir} |
| 31 | } | 33 | } |
