From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/openswan: select libxcrypt if needed
Date: Sat, 20 Jul 2024 21:31:42 +0200 [thread overview]
Message-ID: <20240720193142.770839-1-fontaine.fabrice@gmail.com> (raw)
Fix the following build failure raised since bump of glibc to version
2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97:
/home/autobuild/autobuild/instance-7/output-1/build/openswan-3.0.0/programs/pluto/xauth.c:36:10: fatal error: crypt.h: No such file or directory
36 | #include <crypt.h>
| ^~~~~~~~~
Fixes: b5680f53d60acf8ff6010082f873438a39bd5d97
- http://autobuild.buildroot.org/results/df7cce809e3e4aa92e700a3fc5105c6c20f21f6b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/openswan/Config.in | 1 +
package/openswan/openswan.mk | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/package/openswan/Config.in b/package/openswan/Config.in
index 724654e984..31c4a66b35 100644
--- a/package/openswan/Config.in
+++ b/package/openswan/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_OPENSWAN
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
select BR2_PACKAGE_GMP
select BR2_PACKAGE_IPROUTE2
+ select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
help
Openswan is an implementation of IPsec for Linux
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
index 4c6a779f0d..64218810f8 100644
--- a/package/openswan/openswan.mk
+++ b/package/openswan/openswan.mk
@@ -22,6 +22,10 @@ OPENSWAN_DEPENDENCIES += libcurl
OPENSWAN_MAKE_OPTS += USE_LIBCURL=true
endif
+ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
+OPENSWAN_DEPENDENCIES += libxcrypt
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
OPENSWAN_DEPENDENCIES += openssl
OPENSWAN_MAKE_OPTS += HAVE_OPENSSL=true
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-07-20 19:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 19:31 Fabrice Fontaine [this message]
2024-07-20 21:05 ` [Buildroot] [PATCH 1/1] package/openswan: select libxcrypt if needed Thomas Petazzoni via buildroot
2024-08-29 6:16 ` Peter Korsgaard
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=20240720193142.770839-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@buildroot.org \
/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