summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-utilities/nbdkit/nbdkit_git.bb
blob: f7d690ff8bf295727b17607a9c9ccca7fcb822ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SUMMARY = "nbdkit is a toolkit for creating NBD servers."
DESCRIPTION = "NBD — Network Block Device — is a protocol \
for accessing Block Devices (hard disks and disk-like things) \
over a Network. \
\
nbdkit is a toolkit for creating NBD servers."

HOMEPAGE = "https://github.com/libguestfs/nbdkit"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f9dcc2d8acdde215fa4bd6ac12bb14f0"

SRC_URI = "git://github.com/libguestfs/nbdkit.git;protocol=https"
SRC_URI += "file://0001-Force-nbdkit-to-send-PATCH-as-upload-method.patch"
SRC_URI += "file://0002-Add-support-for-ssl-config.patch"
SRC_URI += "file://0003-Add-support-for-tls13-ciphers.patch"
SRC_URI += "file://0004-Handle-empty-CAInfo-in-curl-plugin-correctly.patch"

PV = "1.25.5+git${SRCPV}"
SRCREV = "c828c6d48ff6b69454cad98054a1920d03c4b4c7"

S = "${WORKDIR}/git"

DEPENDS = "curl xz e2fsprogs zlib"

inherit pkgconfig python3native perlnative autotools
inherit autotools-brokensep

# Specify any options you want to pass to the configure script using EXTRA_OECONF:
EXTRA_OECONF = "--disable-python --disable-perl --disable-ocaml \
               --disable-rust --disable-ruby --disable-tcl \
               --disable-lua --disable-vddk --without-libvirt \
               --without-libguestfs"

do_install:append() {
    rm -f ${D}/usr/share/bash-completion/completions/nbdkit
    rmdir ${D}/usr/share/bash-completion/completions
    rmdir ${D}/usr/share/bash-completion
}