Files
poky/meta/recipes-core/ttyrun/ttyrun_2.31.0.bb
Peter Marko 50b2758182 ttyrun: define CVE_PRODUCT
Single executable ttyrun is taken ouf of s390-tools repository
containing ton of other helper tools.
CVEs are not assigned to executables, but to whole components.
Historically there also already exists one CVE for s390-tools.

Most of the CVEs will not be for ttyrun, but this is the way
how to get notified even if most we get will have to be ignored.

(From oe-core rev: df28547387c2c122aef3e5326b216ec3f4d3caa7)

(From OE-Core rev: 9e07ff39c1b2794d6de7f8d14cdf47707db50f5a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00

36 lines
891 B
BlitzBasic

SUMMARY = "Start the program if the specified terminal device is available."
DESCRIPTION = "ttyrun is typically used to prevent a respawn through the \
init(8) program when a terminal is not available."
HOMEPAGE = "https://github.com/ibm-s390-linux/s390-tools"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f5118f167b055bfd7c3450803f1847af"
SRC_URI = "git://github.com/ibm-s390-linux/s390-tools;protocol=https;branch=master"
SRCREV = "6f15ed326491a17d83ca60cd2bda47fb5e8a0175"
CVE_PRODUCT = "s390-tools"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "\
V=1 \
CC="${CC}" \
DISTRELEASE=${PR} \
"
# We just want ttyrun and not the rest of s390-utils
do_configure() {
oe_runmake -C ${S}/iucvterm/src clean
}
do_compile() {
oe_runmake -C ${S}/iucvterm/src ttyrun
}
do_install() {
install -d ${D}${sbindir}
install ${S}/iucvterm/src/ttyrun ${D}${sbindir}
}