summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-05-15 14:29:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:48 +0100
commitabdaeae74d79c5aa766b8321b353715a2875c74a (patch)
treed38dee10dff0831fb51e729f9024ab82ee67f157 /meta/recipes-support/gnutls
parentea989926ebbacbc13037ff4ea100fd96f69732da (diff)
downloadpoky-abdaeae74d79c5aa766b8321b353715a2875c74a.tar.gz
gnutls: add PACKAGECONFIG for DANE
DANE (DNS-based Authentication of Named Entities) allows certificates to be bound to DNS entries. This requires unbound which is not part of oe-core. Add a PACKAGECONFIG but disable by default. (From OE-Core rev: cfb328b2a7c35a8c1e0dd7cd8c7552a0837db206) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnutls')
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.8.0.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_3.8.0.bb b/meta/recipes-support/gnutls/gnutls_3.8.0.bb
index 7ddd2420bd..e6b9a527a6 100644
--- a/meta/recipes-support/gnutls/gnutls_3.8.0.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.8.0.bb
@@ -40,10 +40,10 @@ PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,
40PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit" 40PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
41PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers" 41PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers"
42PACKAGECONFIG[fips] = "--enable-fips140-mode --with-libdl-prefix=${STAGING_BASELIBDIR}" 42PACKAGECONFIG[fips] = "--enable-fips140-mode --with-libdl-prefix=${STAGING_BASELIBDIR}"
43PACKAGECONFIG[dane] = "--enable-libdane,--disable-libdane,unbound"
43 44
44EXTRA_OECONF = " \ 45EXTRA_OECONF = " \
45 --enable-doc \ 46 --enable-doc \
46 --disable-libdane \
47 --disable-rpath \ 47 --disable-rpath \
48 --enable-openssl-compatibility \ 48 --enable-openssl-compatibility \
49 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \ 49 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \
@@ -73,9 +73,11 @@ do_compile:append() {
73 oe_runmake ${PARALLEL_MAKE} -C tests buildtest-TESTS 73 oe_runmake ${PARALLEL_MAKE} -C tests buildtest-TESTS
74} 74}
75 75
76PACKAGES =+ "${PN}-openssl ${PN}-xx ${PN}-fips" 76PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips"
77 77
78FILES:${PN}-dev += "${bindir}/gnutls-cli-debug" 78FILES:${PN}-dev += "${bindir}/gnutls-cli-debug"
79
80FILES:${PN}-dane = "${libdir}/libgnutls-dane.so.*"
79FILES:${PN}-openssl = "${libdir}/libgnutls-openssl.so.*" 81FILES:${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
80FILES:${PN}-xx = "${libdir}/libgnutlsxx.so.*" 82FILES:${PN}-xx = "${libdir}/libgnutlsxx.so.*"
81FILES:${PN}-fips = "${bindir}/fipshmac" 83FILES:${PN}-fips = "${bindir}/fipshmac"