mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 04:56:54 +00:00
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>
This commit is contained in:
parent
61603d4dce
commit
f747ee50b2
@ -1,15 +1,17 @@
|
|||||||
PV = "0.05"
|
|
||||||
LICENSE = "GPL-2.0-or-later"
|
LICENSE = "GPL-2.0-or-later"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/mstpd/mstpd;branch=master;protocol=https"
|
PV = "0.1.0+git"
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
git://github.com/mstpd/mstpd;branch=master;protocol=https \
|
||||||
|
file://bridge-stp \
|
||||||
|
file://mstpd.service \
|
||||||
|
"
|
||||||
SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c"
|
SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
SRC_URI:append = " \
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+){2,})"
|
||||||
file://bridge-stp \
|
|
||||||
file://mstpd.service \
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit autotools pkgconfig systemd
|
inherit autotools pkgconfig systemd
|
||||||
|
|
||||||
@ -20,12 +22,12 @@ SYSTEMD_PACKAGES = "${PN}-mstpd"
|
|||||||
SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service"
|
SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager
|
rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager
|
||||||
rmdir ${D}${libdir} || true
|
rmdir ${D}${libdir} || true
|
||||||
|
|
||||||
install -d -m 0755 ${D}/${sbindir}
|
install -d -m 0755 ${D}${sbindir}
|
||||||
install -m 0755 ${WORKDIR}/bridge-stp ${D}/${sbindir}
|
install -m 0755 ${WORKDIR}/bridge-stp ${D}${sbindir}
|
||||||
|
|
||||||
install -d -m 0755 ${D}${systemd_system_unitdir}
|
install -d -m 0755 ${D}${systemd_system_unitdir}
|
||||||
install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}/
|
install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user