diff options
author | Changqing Li <changqing.li@windriver.com> | 2021-08-25 17:01:09 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-08-26 19:18:28 -0700 |
commit | 14958cdad1a9ea1f33949d5d35106a022df3aa64 (patch) | |
tree | bee186f44f20612d2d51dda7ed9a4cffdac39e8b /meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb | |
parent | 341fcf678c4ab51390d2f8e8b18e3109773164df (diff) | |
download | meta-openembedded-14958cdad1a9ea1f33949d5d35106a022df3aa64.tar.gz |
linuxptp: upgrade 3.1 -> 3.1.1
* fix WARNING: linuxptp-3.1-r0 do_fetch: Failed to fetch URL
http://sourceforge.net/projects/linuxptp/files/v3.1/linuxptp-3.1.tgz,
attempting MIRRORS if available
linuxptp-3.1.tgz replace by linuxptp-3.1.1.tgz
* 3.1.1 release note
Version 3.1.1
Fixes:
CVE-2021-3570 linuxptp: missing length check of forwarded messages
CVE-2021-3571 linuxptp: wrong length of one-step follow-up in transparent clock
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb new file mode 100644 index 0000000000..6f2f1b46de --- /dev/null +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux" +LICENSE = "GPLv2" +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 \ + " + +SRC_URI[md5sum] = "3b79ab5e77c5b5cf06bc1c8350d405bb" +SRC_URI[sha256sum] = "94d6855f9b7f2d8e9b0ca6d384e3fae6226ce6fc012dbad02608bdef3be1c0d9" + +EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} EXTRA_CFLAGS='${CFLAGS}'" + +export KBUILD_OUTPUT="${RECIPE_SYSROOT}" + +do_install () { + install -d ${D}/${bindir} + install -p ${S}/ptp4l ${D}/${bindir} + install -p ${S}/pmc ${D}/${bindir} + install -p ${S}/phc2sys ${D}/${bindir} + install -p ${S}/hwstamp_ctl ${D}/${bindir} +} |