mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
7590de304a
Details: https://nvd.nist.gov/vuln/detail/CVE-2024-42861 The vulnerability report is considered to be bogus and a non-issue (or at least not a security issue) by upstream[1] and by major Linux distros[2][3][4]. [1]: https://lists.nwtime.org/sympa/arc/linuxptp-devel/2024-09/msg00080.html [2]: Ubuntu: https://ubuntu.com/security/CVE-2024-42861 [3]: Debian: https://security-tracker.debian.org/tracker/CVE-2024-42861 [4]: Suse: https://bugzilla.suse.com/show_bug.cgi?id=1230935 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
36 lines
1.3 KiB
BlitzBasic
36 lines
1.3 KiB
BlitzBasic
DESCRIPTION = "Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux"
|
|
HOMEPAGE = "http://linuxptp.sourceforge.net/"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v3.1/linuxptp-${PV}.tgz \
|
|
file://build-Allow-CC-and-prefix-to-be-overriden.patch \
|
|
file://Use-cross-cpp-in-incdefs.patch \
|
|
file://0001-makefile-use-conditional-assignment-for-KBUILD_OUTPU.patch \
|
|
"
|
|
|
|
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/linuxptp/files/"
|
|
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
|
|
|
|
SRC_URI[sha256sum] = "94d6855f9b7f2d8e9b0ca6d384e3fae6226ce6fc012dbad02608bdef3be1c0d9"
|
|
|
|
EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} EXTRA_CFLAGS='${CFLAGS}' mandir=${mandir}"
|
|
|
|
export KBUILD_OUTPUT="${RECIPE_SYSROOT}"
|
|
|
|
do_install() {
|
|
oe_runmake install DESTDIR=${D} prefix=${prefix}
|
|
|
|
# Install example configs from source tree
|
|
install -d ${D}${docdir}/${PN}
|
|
cp -R --no-dereference --preserve=mode,links ${S}/configs ${D}${docdir}/${PN}
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-configs"
|
|
|
|
FILES:${PN}-configs = "${docdir}"
|
|
FILES:${PN}-doc = "${mandir}"
|
|
|
|
# disputed: Considered to be bogus by upstream and major distros
|
|
CVE_CHECK_IGNORE += "CVE-2024-42861"
|