* [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies
@ 2024-04-12 21:43 Ben Hutchings via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package Ben Hutchings via buildroot
` (5 more replies)
0 siblings, 6 replies; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
Currently we can build a host package of the obsolete GnuPG 1 but not
GnuPG 2. This series adds host packages of gnupg2 and the various
libraries it depends on, but with only the host gnupg2 package being
directly selectable.
Ben.
Ben Hutchings (6):
package/libgpg-error: Add host package
package/libnpth: Add host package
package/libassuan: Add host package
package/libgcrypt: Add host package
package/libksba: Add host package
package/gnupg2: Add host package
package/Config.in.host | 1 +
package/gnupg2/Config.in.host | 13 +++++++++++++
package/gnupg2/gnupg2.mk | 11 +++++++++++
package/libassuan/libassuan.mk | 5 +++++
package/libgcrypt/libgcrypt.mk | 4 ++++
package/libgpg-error/libgpg-error.mk | 4 ++++
package/libksba/libksba.mk | 4 ++++
package/libnpth/libnpth.mk | 1 +
8 files changed, 43 insertions(+)
create mode 100644 package/gnupg2/Config.in.host
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
@ 2024-04-12 21:43 ` Ben Hutchings via buildroot
2024-07-15 12:06 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 2/6] package/libnpth: " Ben Hutchings via buildroot
` (4 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
This is needed to support a host build of gnupg2. It is not directly
selectable.
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
package/libgpg-error/libgpg-error.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk
index 60e3da9de1..9c8233b492 100644
--- a/package/libgpg-error/libgpg-error.mk
+++ b/package/libgpg-error/libgpg-error.mk
@@ -19,6 +19,9 @@ LIBGPG_ERROR_CONF_OPTS = \
--enable-install-gpg-error-config \
--disable-tests \
--disable-languages
+HOST_LIBGPG_ERROR_CONF_OPTS = \
+ --enable-install-gpg-error-config \
+ --disable-languages
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBGPG_ERROR_CONF_OPTS += --enable-threads
@@ -27,3 +30,4 @@ LIBGPG_ERROR_CONF_OPTS += --disable-threads
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 2/6] package/libnpth: Add host package
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package Ben Hutchings via buildroot
@ 2024-04-12 21:43 ` Ben Hutchings via buildroot
2024-07-15 12:28 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 3/6] package/libassuan: " Ben Hutchings via buildroot
` (3 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
This is needed to support a host build of gnupg2. It is not directly
selectable.
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
package/libnpth/libnpth.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libnpth/libnpth.mk b/package/libnpth/libnpth.mk
index ecfef863f4..5109bb53f9 100644
--- a/package/libnpth/libnpth.mk
+++ b/package/libnpth/libnpth.mk
@@ -12,3 +12,4 @@ LIBNPTH_LICENSE_FILES = COPYING.LIB
LIBNPTH_INSTALL_STAGING = YES
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 3/6] package/libassuan: Add host package
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package Ben Hutchings via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 2/6] package/libnpth: " Ben Hutchings via buildroot
@ 2024-04-12 21:43 ` Ben Hutchings via buildroot
2024-07-15 12:30 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 4/6] package/libgcrypt: " Ben Hutchings via buildroot
` (2 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
This is needed to support a host build of gnupg2. It is not directly
selectable.
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
package/libassuan/libassuan.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/libassuan/libassuan.mk b/package/libassuan/libassuan.mk
index fb95a6fd67..d4800d698f 100644
--- a/package/libassuan/libassuan.mk
+++ b/package/libassuan/libassuan.mk
@@ -14,9 +14,14 @@ LIBASSUAN_DEPENDENCIES = libgpg-error
LIBASSUAN_CONF_OPTS = \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
LIBASSUAN_CONFIG_SCRIPTS = libassuan-config
+HOST_LIBASSUAN_DEPENDENCIES = host-libgpg-error
+HOST_LIBASSUAN_CONF_OPTS = \
+ --with-gpg-error-prefix=$(HOST_DIR)
# Force the path to "gpgrt-config" (from the libgpg-error package) to
# avoid using the one on host, if present.
LIBASSUAN_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config
+HOST_LIBASSUAN_CONF_ENV += GPGRT_CONFIG=$(HOST_DIR)/bin/gpgrt-config
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 4/6] package/libgcrypt: Add host package
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
` (2 preceding siblings ...)
2024-04-12 21:43 ` [Buildroot] [PATCH 3/6] package/libassuan: " Ben Hutchings via buildroot
@ 2024-04-12 21:43 ` Ben Hutchings via buildroot
2024-07-15 12:34 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 5/6] package/libksba: " Ben Hutchings via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 6/6] package/gnupg2: " Ben Hutchings via buildroot
5 siblings, 1 reply; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
This is needed to support a host build of gnupg2. It is not directly
selectable.
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
package/libgcrypt/libgcrypt.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk
index 2e4bf7448e..af342c6948 100644
--- a/package/libgcrypt/libgcrypt.mk
+++ b/package/libgcrypt/libgcrypt.mk
@@ -13,6 +13,7 @@ LIBGCRYPT_INSTALL_STAGING = YES
LIBGCRYPT_DEPENDENCIES = libgpg-error
LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
LIBGCRYPT_CPE_ID_VENDOR = gnupg
+HOST_LIBGCRYPT_DEPENDENCIES = host-libgpg-error
# Patching configure.ac and Makefile.am in 0001
LIBGCRYPT_AUTORECONF = YES
@@ -20,6 +21,8 @@ LIBGCRYPT_CONF_OPTS = \
--disable-tests \
$(if $(BR2_OPTIMIZE_0),--disable-ppc-crypto-support,) \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
+HOST_LIBGCRYPT_CONF_OPTS = \
+ --with-gpg-error-prefix=$(HOST_DIR)
# disable asm for broken archs
ifeq ($(BR2_i386)$(BR2_m68k_cf),y)
@@ -32,3 +35,4 @@ LIBGCRYPT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 5/6] package/libksba: Add host package
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
` (3 preceding siblings ...)
2024-04-12 21:43 ` [Buildroot] [PATCH 4/6] package/libgcrypt: " Ben Hutchings via buildroot
@ 2024-04-12 21:43 ` Ben Hutchings via buildroot
2024-07-15 12:36 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 6/6] package/gnupg2: " Ben Hutchings via buildroot
5 siblings, 1 reply; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
This is needed to support a host build of gnupg2. It is not directly
selectable.
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
package/libksba/libksba.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libksba/libksba.mk b/package/libksba/libksba.mk
index 52ad5fbeec..dc4ad8d241 100644
--- a/package/libksba/libksba.mk
+++ b/package/libksba/libksba.mk
@@ -13,9 +13,13 @@ LIBKSBA_CPE_ID_VENDOR = gnupg
LIBKSBA_INSTALL_STAGING = YES
LIBKSBA_DEPENDENCIES = libgpg-error
LIBKSBA_CONF_OPTS = --with-gpg-error-prefix=$(STAGING_DIR)/usr
+HOST_LIBKSBA_DEPENDENCIES = host-libgpg-error
+HOST_LIBKSBA_CONF_OPTS = --with-gpg-error-prefix=$(HOST_DIR)
# Force the path to "gpgrt-config" (from the libgpg-error package) to
# avoid using the one on host, if present.
LIBKSBA_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config
+HOST_LIBKSBA_CONF_ENV += GPGRT_CONFIG=$(HOST_DIR)/bin/gpgrt-config
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 6/6] package/gnupg2: Add host package
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
` (4 preceding siblings ...)
2024-04-12 21:43 ` [Buildroot] [PATCH 5/6] package/libksba: " Ben Hutchings via buildroot
@ 2024-04-12 21:43 ` Ben Hutchings via buildroot
2024-07-15 12:41 ` Thomas Petazzoni via buildroot
5 siblings, 1 reply; 13+ messages in thread
From: Ben Hutchings via buildroot @ 2024-04-12 21:43 UTC (permalink / raw)
To: buildroot; +Cc: Ben Hutchings
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
package/Config.in.host | 1 +
package/gnupg2/Config.in.host | 13 +++++++++++++
package/gnupg2/gnupg2.mk | 11 +++++++++++
3 files changed, 25 insertions(+)
create mode 100644 package/gnupg2/Config.in.host
diff --git a/package/Config.in.host b/package/Config.in.host
index f03ca16b7b..635a7ebc13 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -43,6 +43,7 @@ menu "Host utilities"
source "package/genimage/Config.in.host"
source "package/genpart/Config.in.host"
source "package/gnupg/Config.in.host"
+ source "package/gnupg2/Config.in.host"
source "package/go/Config.in.host"
source "package/go-bootstrap-stage1/Config.in.host"
source "package/go-bootstrap-stage2/Config.in.host"
diff --git a/package/gnupg2/Config.in.host b/package/gnupg2/Config.in.host
new file mode 100644
index 0000000000..c636cbee8b
--- /dev/null
+++ b/package/gnupg2/Config.in.host
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_HOST_GNUPG2
+ bool "host gnupg2"
+ depends on !BR2_PACKAGE_HOST_GNUPG
+ help
+ GnuPG is the GNU project's complete and free implementation
+ of the OpenPGP standard as defined by RFC4880. GnuPG allows
+ to encrypt and sign your data and communication, features a
+ versatile key management system as well as access modules
+ for all kinds of public key directories. GnuPG, also known
+ as GPG, is a command line tool with features for easy
+ integration with other applications.
+
+ http://gnupg.org/
diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk
index 986da4790c..b7aa50f801 100644
--- a/package/gnupg2/gnupg2.mk
+++ b/package/gnupg2/gnupg2.mk
@@ -14,6 +14,8 @@ GNUPG2_CPE_ID_PRODUCT = gnupg
GNUPG2_SELINUX_MODULES = gpg
GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \
$(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf
+HOST_GNUPG2_DEPENDENCIES = host-zlib host-libgpg-error host-libgcrypt host-libassuan \
+ host-libksba host-libnpth host-pkgconf
GNUPG2_CONF_OPTS = \
--disable-rpath \
@@ -23,9 +25,17 @@ GNUPG2_CONF_OPTS = \
--with-ksba-prefix=$(STAGING_DIR)/usr \
--with-npth-prefix=$(STAGING_DIR)/usr
+HOST_GNUPG2_CONF_OPTS = \
+ --with-gpg-error-prefix=$(HOST_DIR) \
+ --with-libgcrypt-prefix=$(HOST_DIR) \
+ --with-libassuan-prefix=$(HOST_DIR) \
+ --with-ksba-prefix=$(HOST_DIR) \
+ --with-npth-prefix=$(HOST_DIR)
+
# Force the path to "gpgrt-config" (from the libgpg-error package) to
# avoid using the one on host, if present.
GNUPG2_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config
+HOST_GNUPG2_CONF_ENV += GPGRT_CONFIG=$(HOST_DIR)/bin/gpgrt-config
ifneq ($(BR2_PACKAGE_GNUPG2_GPGV),y)
define GNUPG2_REMOVE_GPGV
@@ -71,3 +81,4 @@ GNUPG2_CONF_OPTS += --disable-sqlite
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package
2024-04-12 21:43 ` [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package Ben Hutchings via buildroot
@ 2024-07-15 12:06 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-15 12:06 UTC (permalink / raw)
To: Ben Hutchings via buildroot; +Cc: Ben Hutchings
Hello Ben,
On Fri, 12 Apr 2024 23:43:05 +0200
Ben Hutchings via buildroot <buildroot@buildroot.org> wrote:
> This is needed to support a host build of gnupg2. It is not directly
> selectable.
>
> Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
> ---
> package/libgpg-error/libgpg-error.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Thanks a lot, but I merger an earlier patch from Yann E. Morin that did
the same and also added --enable-threads, because we always have thread
support on the host.
So I marked this patch as Not Applicable.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Buildroot] [PATCH 2/6] package/libnpth: Add host package
2024-04-12 21:43 ` [Buildroot] [PATCH 2/6] package/libnpth: " Ben Hutchings via buildroot
@ 2024-07-15 12:28 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-15 12:28 UTC (permalink / raw)
To: Ben Hutchings via buildroot; +Cc: Ben Hutchings
On Fri, 12 Apr 2024 23:43:06 +0200
Ben Hutchings via buildroot <buildroot@buildroot.org> wrote:
> This is needed to support a host build of gnupg2. It is not directly
> selectable.
>
> Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
> ---
> package/libnpth/libnpth.mk | 1 +
> 1 file changed, 1 insertion(+)
I've added:
+HOST_LIBNPTH_CONF_OPTS = --disable-tests
and applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Buildroot] [PATCH 3/6] package/libassuan: Add host package
2024-04-12 21:43 ` [Buildroot] [PATCH 3/6] package/libassuan: " Ben Hutchings via buildroot
@ 2024-07-15 12:30 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-15 12:30 UTC (permalink / raw)
To: Ben Hutchings via buildroot; +Cc: Ben Hutchings
On Fri, 12 Apr 2024 23:43:07 +0200
Ben Hutchings via buildroot <buildroot@buildroot.org> wrote:
> This is needed to support a host build of gnupg2. It is not directly
> selectable.
>
> Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
> ---
> package/libassuan/libassuan.mk | 5 +++++
> 1 file changed, 5 insertions(+)
I merged another similar patch from Yann. But your patch made me
realize Yann patches had mistakenly added some HOST_*_CONFIG_SCRIPTS
variables, which were not relevant, so I cooked some commits to drop
them.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Buildroot] [PATCH 4/6] package/libgcrypt: Add host package
2024-04-12 21:43 ` [Buildroot] [PATCH 4/6] package/libgcrypt: " Ben Hutchings via buildroot
@ 2024-07-15 12:34 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-15 12:34 UTC (permalink / raw)
To: Ben Hutchings via buildroot; +Cc: Ben Hutchings
On Fri, 12 Apr 2024 23:43:08 +0200
Ben Hutchings via buildroot <buildroot@buildroot.org> wrote:
> This is needed to support a host build of gnupg2. It is not directly
> selectable.
>
> Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
> ---
> package/libgcrypt/libgcrypt.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk
> index 2e4bf7448e..af342c6948 100644
> --- a/package/libgcrypt/libgcrypt.mk
> +++ b/package/libgcrypt/libgcrypt.mk
> @@ -13,6 +13,7 @@ LIBGCRYPT_INSTALL_STAGING = YES
> LIBGCRYPT_DEPENDENCIES = libgpg-error
> LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
> LIBGCRYPT_CPE_ID_VENDOR = gnupg
> +HOST_LIBGCRYPT_DEPENDENCIES = host-libgpg-error
>
> # Patching configure.ac and Makefile.am in 0001
> LIBGCRYPT_AUTORECONF = YES
> @@ -20,6 +21,8 @@ LIBGCRYPT_CONF_OPTS = \
> --disable-tests \
> $(if $(BR2_OPTIMIZE_0),--disable-ppc-crypto-support,) \
> --with-gpg-error-prefix=$(STAGING_DIR)/usr
> +HOST_LIBGCRYPT_CONF_OPTS = \
> + --with-gpg-error-prefix=$(HOST_DIR)
I've added --disable-tests here, and applied. Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Buildroot] [PATCH 5/6] package/libksba: Add host package
2024-04-12 21:43 ` [Buildroot] [PATCH 5/6] package/libksba: " Ben Hutchings via buildroot
@ 2024-07-15 12:36 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-15 12:36 UTC (permalink / raw)
To: Ben Hutchings via buildroot; +Cc: Ben Hutchings
On Fri, 12 Apr 2024 23:43:09 +0200
Ben Hutchings via buildroot <buildroot@buildroot.org> wrote:
> This is needed to support a host build of gnupg2. It is not directly
> selectable.
>
> Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
> ---
> package/libksba/libksba.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Buildroot] [PATCH 6/6] package/gnupg2: Add host package
2024-04-12 21:43 ` [Buildroot] [PATCH 6/6] package/gnupg2: " Ben Hutchings via buildroot
@ 2024-07-15 12:41 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-15 12:41 UTC (permalink / raw)
To: Ben Hutchings via buildroot; +Cc: Ben Hutchings
On Fri, 12 Apr 2024 23:43:10 +0200
Ben Hutchings via buildroot <buildroot@buildroot.org> wrote:
> +HOST_GNUPG2_CONF_OPTS = \
> + --with-gpg-error-prefix=$(HOST_DIR) \
> + --with-libgcrypt-prefix=$(HOST_DIR) \
> + --with-libassuan-prefix=$(HOST_DIR) \
> + --with-ksba-prefix=$(HOST_DIR) \
> + --with-npth-prefix=$(HOST_DIR)
I've added a whole bunch of --disable/--without to disable optional
features that we don't support in the host package, to avoid the
./configure from mistakenly detecting stuff provided by the system:
+ --disable-bzip2 \
+ --disable-gnutls \
+ --disable-ccid-driver \
+ --without-readline \
+ --disable-sqlite
Applied with this change. Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-07-15 12:41 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 21:43 [Buildroot] [PATCH 0/6] Add host packages of gnupg2 and its dependencies Ben Hutchings via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 1/6] package/libgpg-error: Add host package Ben Hutchings via buildroot
2024-07-15 12:06 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 2/6] package/libnpth: " Ben Hutchings via buildroot
2024-07-15 12:28 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 3/6] package/libassuan: " Ben Hutchings via buildroot
2024-07-15 12:30 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 4/6] package/libgcrypt: " Ben Hutchings via buildroot
2024-07-15 12:34 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 5/6] package/libksba: " Ben Hutchings via buildroot
2024-07-15 12:36 ` Thomas Petazzoni via buildroot
2024-04-12 21:43 ` [Buildroot] [PATCH 6/6] package/gnupg2: " Ben Hutchings via buildroot
2024-07-15 12:41 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox