]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/libgpg-error: bump to version 1.23
authorJörg Krause <joerg.krause@embedded.rocks>
Sun, 3 Jul 2016 23:48:34 +0000 (01:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 Jul 2016 20:22:27 +0000 (22:22 +0200)
This patch is based on a patch sent by Vicente Olivert Riera and commented by
Arnout Vandecappelle [1].

- Bump version to 1.23
- Add a hook to fix cross-compilation
- Fix license and license files
- Remove patch applied upstream
- Add a BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS variable
- Propagate the dependencies using that variable:
    * package/cppcms
    * package/crda
    * package/gnupg2
        - package/gcr
            - package/midori
    * package/kodi
    * package/libaacs
    * package/libassuan
    * package/libgcrypt
    * package/libgpgme
    * package/libksba
    * package/libmicrohttpd
        - package/janus-gateway
        - package/kodi
        - package/ola
        - package/systemd
    * package/libssh
    * package/libssh2
        - package/php-ssh2
    * package/netatalk
    * package/network-manager
    * package/ntfs-3g
    * package/opkg
    * package/php-gnupg
    * package/rng-tools
    * package/strongswan
    * package/vpnc

[1] http://patchwork.ozlabs.org/patch/416427/

Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas:
 - rebase on master
 - changing systemd no longer needed, as it no longer selects
   libgcrypt.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Maxime:
 - rebase on master
 - bump to new version
 - propagate dependencies to missing packages]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - fix hash file.
 - change the way to handle the various arch so that it works properly
   for uClibc.
 - add nios2 arch support.
 - Maxime Hadjinlian learned some basic Emacs-fu to do the final fixups
   of this commit.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 files changed:
package/cppcms/Config.in
package/crda/Config.in
package/gcr/Config.in
package/gnupg2/Config.in
package/janus-gateway/Config.in
package/kodi/Config.in
package/libaacs/Config.in
package/libassuan/Config.in
package/libgcrypt/Config.in
package/libgpg-error/0001-avoid-breakage-with-gcc-5.patch [deleted file]
package/libgpg-error/Config.in
package/libgpg-error/libgpg-error.hash
package/libgpg-error/libgpg-error.mk
package/libgpgme/Config.in
package/libksba/Config.in
package/libmicrohttpd/Config.in
package/libssh/Config.in
package/libssh2/Config.in
package/midori/Config.in
package/netatalk/Config.in
package/network-manager/Config.in
package/ntfs-3g/Config.in
package/ola/Config.in
package/opkg/Config.in
package/php-gnupg/Config.in
package/php-ssh2/Config.in
package/rng-tools/Config.in
package/strongswan/Config.in
package/systemd/Config.in
package/vpnc/Config.in

index 79f54741ba7871dec579dc730c7da279f17a872c..2cf70052f888139d134bd519084b69b4a177bc4f 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_CPPCMS
        select BR2_PACKAGE_PCRE
        select BR2_PACKAGE_LIBGCRYPT
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on !BR2_STATIC_LIBS # dlopen()
        depends on BR2_USE_WCHAR
index 2b9332fc07218fe85a9b4e9049024e27753571a2..2cb040372f2df1cab4ce73b7bba853e684b97f4d 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_CRDA
        bool "crda"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
        depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_LIBGCRYPT
index cd40ca18f6c25c6c2dc4357e3e2906995d9a84a3..e233fffed079d136bd5a5c3114144dcdabde2dea 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GCR
        bool "gcr"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # gnupg2
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
index e246fd79e30bdc3ddefc212e012399671a3f2196..ba2a6bcff510e39a9e0030fb3ac71f8495903617 100644 (file)
@@ -12,6 +12,7 @@ config BR2_PACKAGE_GNUPG2
        select BR2_PACKAGE_LIBPTHSEM
        select BR2_PACKAGE_LIBPTHSEM_COMPAT
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        depends on BR2_USE_MMU # libassuan
        depends on !BR2_STATIC_LIBS
        help
index 035ee6c3345e39e87ef1e353e6ef0155b8eee0ac..20491b7943e85bd4db98413a7e1aa2d4979b07b2 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_JANUS_GATEWAY
        select BR2_PACKAGE_LIBSRTP
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_DING_LIBS
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, libmicrohttpd
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libmicrohttpd
        depends on BR2_USE_WCHAR # libnice -> libglib2
        depends on BR2_USE_MMU # libnice
index 01445a21dffaa0cabb59a3d487ac3af0609c4ad4..3d3ecfd8d82452a71f8f153a418121696436a7fa 100644 (file)
@@ -158,6 +158,7 @@ config BR2_PACKAGE_KODI_LIRC
 
 config BR2_PACKAGE_KODI_LIBMICROHTTPD
        bool "web server"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, libmicrohttpd
        select BR2_PACKAGE_LIBMICROHTTPD
        help
          Enable webserver feature
index d7da40657ddd5260e69d9701a09ba7355ea24ac8..d59b6da64b1e4ea8ef71a637177893d14d748864 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBAACS
        bool "libaacs"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_LIBGCRYPT
        help
index 4f0a6ba0b76e8b632bac448838cf8ab1368b44fa..012e65c4b6bc55963e38717047dfaab5578ef343 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBASSUAN
        bool "libassuan"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_LIBGPG_ERROR
        help
index dd8f270116a7fd9405e65cd6ea9204537e6edf22..d3e5d4f7a26b8824dd208165ed729f2db99f77a9 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBGCRYPT
        bool "libgcrypt"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        select BR2_PACKAGE_LIBGPG_ERROR
        help
          LibGCrypt is GNU's basic cryptographic library.
diff --git a/package/libgpg-error/0001-avoid-breakage-with-gcc-5.patch b/package/libgpg-error/0001-avoid-breakage-with-gcc-5.patch
deleted file mode 100644 (file)
index 96dc569..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-Patch ported from Debian
-http://anonscm.debian.org/cgit/pkg-gnupg/libgpg-error.git/diff/?id=c3d7571
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-
-
-From 91da4f5dbbc9d93975ef9753652a4e71719f9f27 Mon Sep 17 00:00:00 2001
-From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-Date: Mon, 16 Mar 2015 13:26:00 -0400
-Subject: [LIBGPG-ERROR PATCH] avoid breakage with gcc 5
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
- * src/Makefile.am: add -P to the C preprocessor when building
-   mkerrcodes.h, to avoid a noisy intermediate pipeline.
-
---
-
-With gcc 5 without this patch, we see many errors like the following:
-
-gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
-In file included from ./mkerrcodes.c:26:0:
-./mkerrcodes.h:9:5: error: expected expression before ‘,’ token
-   { , "GPG_ERR_E2BIG" },
-     ^
-./mkerrcodes.h:10:5: error: expected expression before ‘,’ token
-   { , "GPG_ERR_EACCES" },
-     ^
-
-This patch cleans up the generated mkerrcodes.h by making the
-intermediate stage clean for all the versions of gcc i tested (4.x and
-5).
-
-Debian-Bug-Id: 777374
-Signed-Off-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
----
- src/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 99c2c53..f847a80 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -213,7 +213,7 @@ code-to-errno.h: Makefile mkerrnos.awk errnos.in
- # It is correct to use $(CPP).  We want the host's idea of the error codes.
- mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
-       $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
--      $(CPP) $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
-+      $(CPP) $(CPPFLAGS) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \
-                $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
-       -rm _$@
--- 
-2.1.4
-
index 114e2b7ca5cd7d0e5bba2580ebb4486f175fb080..4a667b47b33f8688547ba79243551a6d0232af7d 100644 (file)
@@ -1,7 +1,49 @@
+config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
+       bool
+       # see src/syscfg/
+       default y if \
+               BR2_aarch64     || BR2_aarch64_eb       || BR2_arm      || \
+               BR2_armeb       || BR2_i386             || BR2_mips     || \
+               BR2_mipsel      || BR2_mips64           || BR2_mips64el || \
+               BR2_m68k        || BR2_nios2            || BR2_powerpc  || \
+               BR2_powerpc64   || BR2_powerpc64le      || BR2_sh4      || \
+               BR2_sh4eb       || BR2_sh4a             || BR2_sh4aeb   || \
+               BR2_sparc       || BR2_sparc64          || BR2_x86_64
+
 config BR2_PACKAGE_LIBGPG_ERROR
        bool "libgpg-error"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
        help
          Libgpg-error is a small library with error codes and
          descriptions shared by most GnuPG related software.
 
          https://www.gnupg.org/related_software/libgpg-error
+
+config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG
+       string
+       default "aarch64-unkown-linux-gnu" \
+               if BR2_aarch64 || BR2_aarch64_eb
+       default "arm-unknown-linux-gnueabi" \
+               if BR2_arm || BR2_armeb
+       default "i686-pc-linux-gnu" \
+               if BR2_i386
+       default "mips-unkown-linux-gnu" \
+               if BR2_mips || BR2_mipsel
+       default "mips64el-unkown-linux-gnuabi64" \
+               if BR2_mips64 || BR2_mips64el
+       default "m68k-unkown-linux-gnu" \
+               if BR2_m68k
+       default "nios2-unknown-linux-gnu" \
+               if BR2_nios2
+       default "powerpc-unkown-linux-gnu" \
+               if BR2_powerpc
+       default "powerpc64-unkown-linux-gnu" \
+               if BR2_powerpc64 || BR2_powerpc64le
+       default "sh4-unkown-linux-gnu" \
+               if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
+       default "sparc-unkown-linux-gnu" \
+               if BR2_sparc
+       default "sparc64-unknown-linux-gnu" \
+               if BR2_sparc64
+       default "x86_64-pc-linux-gnu" \
+               if BR2_x86_64
\ No newline at end of file
index 76aff5d7518c57156d6674a51326cc17da123b5b..7e06b91054aff44bf2d2a5a0caa8d78f60ca2eb5 100644 (file)
@@ -1,2 +1,2 @@
 # Locally calculated after checking pgp signature
-sha256 fa6fbf315efa33a943751e3c4d04ea3d41ddf4bdee5727de3c0978277d52923b        libgpg-error-1.12.tar.gz
+sha256 0939cd4bd9bc027ae24a8b05a698af962b5af3d7a34c1fea15279ea69ea27abc        libgpg-error-1.23.tar.gz
index 52b7058e813b7e0a6d8c7c482cac1a962c51386c..b074ff610b6efab6485d8bb05bd3005460234d9c 100644 (file)
@@ -4,14 +4,18 @@
 #
 ################################################################################
 
-LIBGPG_ERROR_VERSION = 1.12
+LIBGPG_ERROR_VERSION = 1.23
 LIBGPG_ERROR_SITE = ftp://ftp.gnupg.org/gcrypt/libgpg-error
-LIBGPG_ERROR_LICENSE = LGPLv2.1+
-LIBGPG_ERROR_LICENSE_FILES = COPYING.LIB
+LIBGPG_ERROR_LICENSE = GPLv2+, LGPLv2.1+
+LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB
 LIBGPG_ERROR_INSTALL_STAGING = YES
 LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
-# we patch src/Makefile.am
-LIBGPG_ERROR_AUTORECONF = YES
-LIBGPG_ERROR_GETTEXTIZE = YES
+
+define LIBGPG_ERROR_FIX_CROSS_COMPILATION
+       cd $(@D)/src/syscfg && \
+       ln -s lock-obj-pub.$(call qstrip, $(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG)).h \
+               lock-obj-pub.$(GNU_TARGET_NAME).h
+endef
+LIBGPG_ERROR_PRE_CONFIGURE_HOOKS += LIBGPG_ERROR_FIX_CROSS_COMPILATION
 
 $(eval $(autotools-package))
index e176dacd136c1e8ae2ff478834a93c9ccf0a466d..4aabd063672e450f369ceadb4c7c1f691c959dab 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBGPGME
        bool "libgpgme"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        depends on BR2_USE_MMU # libassuan
        #gnupg is not needed to build, but at runtime.
        select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2
index 780fed9b6a10af189d5876eac4f858f7cd6a41f1..1f25d6dbe2a7d2faf4a27f149bd55cb8dcb2b03a 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBKSBA
        bool "libksba"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        select BR2_PACKAGE_LIBGPG_ERROR
        help
          CMS and X.509 library
index ec0b715fb5c53492f27a9ae2e2a5252147709eae..302dbb7ac8adf43d3eed280c46954ba0942a87a7 100644 (file)
@@ -11,6 +11,7 @@ if BR2_PACKAGE_LIBMICROHTTPD
 
 config BR2_PACKAGE_LIBMICROHTTPD_SSL
        bool "https support"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on BR2_USE_WCHAR
        select BR2_PACKAGE_GNUTLS
        select BR2_PACKAGE_LIBGCRYPT
index 3357fb9e925210cb3ecd7289d9408fe3eaa9fd73..6029f459d34e4e8cd96367d773717009a526002e 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBSSH
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        # Either OpenSSL or libgcrypt are mandatory
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS && !BR2_PACKAGE_OPENSSL # libgcrypt
        select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL
        help
          libssh is a multiplatform C library implementing the SSHv2
index 017fd4061a40b6a43cf3ae5753cb8a383ca9d827..0deb3bbcf18a7c643c96584f044987cfd6b50b7c 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBSSH2
        bool "libssh2"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS && !BR2_PACKAGE_OPENSSL # libgcrypt
        select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL
        help
          libssh2 is a client-side C library implementing the SSH2
index ca8150f4b089df3f34c949490fdcf7d114e64366..0d7672c1344cde7864a2cdabccac0952e7a14ec6 100644 (file)
@@ -15,6 +15,7 @@ config BR2_PACKAGE_MIDORI
        select BR2_PACKAGE_WEBKITGTK
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, gcr, gnupg2
        depends on BR2_PACKAGE_LIBGTK3
        depends on BR2_INSTALL_LIBSTDCPP # webkitgtk
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # webkitgtk
index ec6ec2c15db54b616fa0f3e4d9fca36b29963bca..ce1731830bad9af88a24e814e9a26e69192b1274 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NETATALK
        bool "netatalk"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
        depends on !BR2_STATIC_LIBS
index b234494e59ce27d39cba8f106b30f451c502de0a..06364152347c7d9aa00855b117debb27d059f495 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NETWORK_MANAGER
        bool "networkmanager"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on BR2_USE_MMU # dbus
        depends on BR2_PACKAGE_HAS_UDEV
        # Tested with 3.2, but may even work with earlier versions
index d6d1481ad2935c9dc5adb641cf7a1747b2e64464..b9f7eafc9ebf4257075bee9d0a645a951a5c5cf6 100644 (file)
@@ -18,6 +18,7 @@ if BR2_PACKAGE_NTFS_3G
 
 config BR2_PACKAGE_NTFS_3G_ENCRYPTED
        bool "encrypted volumes"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        select BR2_PACKAGE_GNUTLS
        select BR2_PACKAGE_LIBGCRYPT
        help
index 55cea65d87d48377084f971da80331bcb3dfc970..38d744a7c569d57475c3e9cef4def6359904b46a 100644 (file)
@@ -26,6 +26,7 @@ menu "bindings and interface"
 
 config BR2_PACKAGE_OLA_WEB
        bool "http interface"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, libmicrohttpd
        select BR2_PACKAGE_LIBMICROHTTPD
        help
          Build OLA with browser interface.
index 495ce91f3ee7be89b5d19931e45bbabd3cf7d3ad..5a4bbc2654f901fd951a4fd79fe9654213fb5991 100644 (file)
@@ -22,6 +22,7 @@ if BR2_PACKAGE_OPKG
 
 config BR2_PACKAGE_OPKG_GPG_SIGN
        bool "gnupg support"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
        select BR2_PACKAGE_LIBGPGME
        select BR2_PACKAGE_LIBGPG_ERROR
        help
index 49fb43b5eb4afae536ae38ad5d0c3b471b1b5bdf..113017d02a24c89c3c8ed9a38b4386a96363e680 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PHP_GNUPG
        bool "php-gnupg"
        depends on BR2_PACKAGE_PHP
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # ligpgme
        depends on BR2_USE_MMU # libassuan
        select BR2_PACKAGE_LIBGPGME
        help
index b4579007400fcde01ac30cd9c3274ffe228f92d6..c795dd527772cab0c2ddf42e7853e18c8848295a 100644 (file)
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_PHP_SSH2
        bool "php-ssh2"
        depends on BR2_PACKAGE_PHP
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS \
+               && !BR2_PACKAGE_OPENSSL # libssh2, libgcrypt
        select BR2_PACKAGE_LIBSSH2
        help
          PHP bindings for the libssh2 library.
index 469b60e89b428100ec82b4142d57798a30e35840..0c538cc292ba10b6b55d19f06c781b8b132a3a81 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_RNG_TOOLS
        bool "rng-tools"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS && (BR2_i386 || BR2_x86_64) # libgcrypt
        select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
        # For rdrand ligcrypt is required and it's not obvious to users
        select BR2_PACKAGE_LIBGCRYPT if BR2_i386 || BR2_x86_64
index b49435c8c7935dd2a7b34476abd0a26a96ce4481..0a95ac021eed405467fd4c1a2b619f737baa7a1d 100644 (file)
@@ -35,6 +35,7 @@ config BR2_PACKAGE_STRONGSWAN_OPENSSL
 
 config BR2_PACKAGE_STRONGSWAN_GCRYPT
        bool "libgcrypt"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        select BR2_PACKAGE_LIBGCRYPT
 
 config BR2_PACKAGE_STRONGSWAN_GMP
index 3a48b9f9a972a4be545368b388d9057bd564d32d..ddaf3e23b0249d5cc0ae4b009c5cde4f59555d0d 100644 (file)
@@ -143,6 +143,7 @@ config BR2_PACKAGE_SYSTEMD_HWDB
 
 config BR2_PACKAGE_SYSTEMD_IMPORTD
        bool "enable import daemon"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        select BR2_PACKAGE_LIBCURL
        select BR2_PACKAGE_LIBGCRYPT
        select BR2_PACKAGE_BZIP2
index 7642b0f9f0d3122ae79dea6dfb2deaa3cc3c4850..2049c457314ba7933ff8e47343a13964ea0bd4d3 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_VPNC
        bool "vpnc"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on BR2_USE_MMU # fork()
        depends on BR2_USE_WCHAR # gnutls
        select BR2_PACKAGE_LIBGCRYPT