meta-virtualization/recipes-containers/conmon/conmon_git.bb
Bruce Ashfield 0a7ae8bc50 global: convert github SRC_URIs to use https protocol
github is removing git:// access, and fetches will start experiencing
interruptions in service, and eventually will fail completely.

bitbake will also begin to warn on github src_uri's that don't use
https. So we convert the meta-virt instances to use protocol=https
(done using the oe-core contrib conversion script)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-02 09:57:03 -04:00

31 lines
798 B
BlitzBasic

SUMMARY = "An OCI container runtime monitor"
SECTION = "console/utils"
HOMEPAGE = "https://github.com/containers/conmon"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=61af0b6932ea7b12fb9142721043bc77"
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "seccomp"
DEPENDS = "glib-2.0 go-md2man-native libseccomp"
SRCREV = "1ef246896b4f6566964ed861b98cd32d0e7bf7a2"
SRC_URI = "\
git://github.com/containers/conmon.git;branch=main;protocol=https \
"
PV = "2.0.29+git${SRCPV}"
S = "${WORKDIR}/git"
inherit pkgconfig
EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
PACKAGECONFIG[systemd] = ",,systemd"
do_install() {
oe_runmake 'DESTDIR=${D}' install
}