mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Heidelberg <m.heidelberg@cab.de>
To: <ptxdist@pengutronix.de>
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: [ptxdist] [PATCH 2/3] host-gnutls: new package
Date: Mon, 11 Mar 2024 08:43:07 +0100	[thread overview]
Message-ID: <20240311074308.34315-3-m.heidelberg@cab.de> (raw)
In-Reply-To: <20240311074308.34315-1-m.heidelberg@cab.de>

Will be needed for certain configurations of U-Boot.

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---

That was left from configure_helper.py -p host-gnutls:

+       --with-default-trust-store-pkcs11=URI
+       --with-default-trust-store-dir=DIR
        --with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt
+       --with-default-crl-file=FILE
+       --with-default-blacklist-file=FILE
+       --with-guile-site-dir=DIR
+       --with-guile-site-ccache-dir=DIR
+       --with-guile-extension-dir=DIR

I guess these options don't have an influence, but is there some
approach to apply dummy values to get configure_helper.py silent?

 rules/host-gnutls.in   |  7 ++++
 rules/host-gnutls.make | 95 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)
 create mode 100644 rules/host-gnutls.in
 create mode 100644 rules/host-gnutls.make

diff --git a/rules/host-gnutls.in b/rules/host-gnutls.in
new file mode 100644
index 000000000..9178fa7ef
--- /dev/null
+++ b/rules/host-gnutls.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_GNUTLS
+	tristate
+	default y if ALLYES
+	select HOST_LIBTASN1
+	select HOST_NETTLE
diff --git a/rules/host-gnutls.make b/rules/host-gnutls.make
new file mode 100644
index 000000000..ddba332c8
--- /dev/null
+++ b/rules/host-gnutls.make
@@ -0,0 +1,95 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Markus Heidelberg <m.heidelberg@cab.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_GNUTLS) += host-gnutls
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_GNUTLS_CONF_TOOL	:= autoconf
+HOST_GNUTLS_CONF_OPT	:=  \
+	$(HOST_AUTOCONF) \
+	$(GLOBAL_LARGE_FILE_OPTION) \
+	--enable-threads=posix \
+	--disable-code-coverage \
+	--disable-bash-tests \
+	--disable-doc \
+	--disable-manpages \
+	--disable-tools \
+	--enable-cxx \
+	--disable-dyn-ncrypt \
+	--enable-hardware-acceleration \
+	--enable-tls13-interop \
+	--enable-padlock \
+	--enable-strict-der-time \
+	--enable-sha1-support \
+	--disable-ssl3-support \
+	--enable-ssl2-support \
+	--enable-dtls-srtp-support \
+	--enable-alpn-support \
+	--enable-heartbeat-support \
+	--enable-srp-authentication \
+	--enable-psk-authentication \
+	--enable-anon-authentication \
+	--enable-dhe \
+	--enable-ecdhe \
+	--enable-gost \
+	--disable-cryptodev \
+	--disable-afalg \
+	--disable-ktls \
+	--enable-ocsp \
+	--disable-openssl-compatibility \
+	--disable-tests \
+	--disable-fuzzer-target \
+	--disable-gtk-doc \
+	--disable-gtk-doc-html \
+	--disable-gtk-doc-pdf \
+	--disable-nls \
+	--disable-rpath \
+	--disable-seccomp-tests \
+	--enable-cross-guesses=conservative \
+	--disable-valgrind-tests \
+	--disable-full-test-suite \
+	--disable-oldgnutls-interop \
+	--disable-gcc-warnings \
+	--disable-static \
+	--enable-shared \
+	--disable-fips140-mode \
+	--disable-strict-x509 \
+	--enable-non-suiteb-curves \
+	--disable-libdane \
+	--disable-guile \
+	--without-gcov \
+	--with-nettle-mini \
+	--without-included-libtasn1 \
+	--with-included-unistring \
+	--without-fips140-key \
+	--without-fips140-module-name \
+	--without-fips140-module-version \
+	--with-pkcs12-iter-count=600000 \
+	--without-idn \
+	--without-unbound-root-key-file \
+	--without-system-priority-file \
+	--without-default-priority-string \
+	--without-p11-kit \
+	--without-tpm2 \
+	--without-tpm \
+	--without-trousers-lib \
+	--without-zlib \
+	--without-brotli \
+	--without-zstd \
+	--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt
+
+# vim: syntax=make
-- 
2.34.1




  parent reply	other threads:[~2024-03-11  7:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11  7:43 [ptxdist] [PATCH 0/3] Fix U-Boot build with missing host libs Markus Heidelberg
2024-03-11  7:43 ` [ptxdist] [PATCH 1/3] host-nettle: new package Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-03-11  7:43 ` Markus Heidelberg [this message]
2024-03-19  6:44   ` [ptxdist] [APPLIED] host-gnutls: " Michael Olbrich
2024-03-11  7:43 ` [ptxdist] [PATCH 3/3] u-boot: new options to select host-gnutls and host-libuuid Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240311074308.34315-3-m.heidelberg@cab.de \
    --to=m.heidelberg@cab.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox