mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
45
package/gnupg/Config.in
Normal file
45
package/gnupg/Config.in
Normal file
@@ -0,0 +1,45 @@
|
||||
config BR2_PACKAGE_GNUPG
|
||||
bool "gnupg"
|
||||
depends on !BR2_PACKAGE_GNUPG2
|
||||
select BR2_PACKAGE_ZLIB
|
||||
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/
|
||||
|
||||
if BR2_PACKAGE_GNUPG
|
||||
|
||||
config BR2_PACKAGE_GNUPG_AES
|
||||
bool "AES support"
|
||||
help
|
||||
Support for the AES cipher
|
||||
|
||||
config BR2_PACKAGE_GNUPG_RSA
|
||||
bool "RSA support"
|
||||
help
|
||||
Support for RSA public key algorithm
|
||||
|
||||
config BR2_PACKAGE_GNUPG_GPGV
|
||||
bool "gpgv"
|
||||
help
|
||||
gpgv is an OpenPGP signature verification tool.
|
||||
|
||||
This program is actually a stripped-down version of gpg
|
||||
which is only able to check signatures. It is somewhat
|
||||
smaller than the fully-blown gpg and uses a different (and
|
||||
simpler) way to check that the public keys used to make the
|
||||
signature are valid. There are no configuration files and
|
||||
only a few options are implemented.
|
||||
|
||||
config BR2_PACKAGE_GNUPG_GPGSPLIT
|
||||
bool "gpgsplit"
|
||||
help
|
||||
gpgsplit splits an OpenPGP message into packets.
|
||||
|
||||
endif
|
||||
12
package/gnupg/Config.in.host
Normal file
12
package/gnupg/Config.in.host
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_HOST_GNUPG
|
||||
bool "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/
|
||||
3
package/gnupg/gnupg.hash
Normal file
3
package/gnupg/gnupg.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed based on signature
|
||||
# https://gnupg.org/ftp/gcrypt/gnupg/gnupg-1.4.23.tar.bz2.sig
|
||||
sha256 c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba gnupg-1.4.23.tar.bz2
|
||||
83
package/gnupg/gnupg.mk
Normal file
83
package/gnupg/gnupg.mk
Normal file
@@ -0,0 +1,83 @@
|
||||
################################################################################
|
||||
#
|
||||
# gnupg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GNUPG_VERSION = 1.4.23
|
||||
GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2
|
||||
GNUPG_SITE = https://gnupg.org/ftp/gcrypt/gnupg
|
||||
GNUPG_LICENSE = GPL-3.0+
|
||||
GNUPG_LICENSE_FILES = COPYING
|
||||
GNUPG_DEPENDENCIES = zlib $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
GNUPG_CONF_ENV = ac_cv_sys_symbol_underscore=no
|
||||
GNUPG_CONF_OPTS = \
|
||||
--disable-rpath \
|
||||
--enable-minimal \
|
||||
--disable-regex \
|
||||
--enable-sha256 \
|
||||
--enable-sha512
|
||||
|
||||
HOST_GNUPG_DEPENDENCIES = host-zlib
|
||||
HOST_GNUPG_CONF_OPTS = \
|
||||
--disable-rpath \
|
||||
--enable-minimal \
|
||||
--disable-regex \
|
||||
--enable-sha256 \
|
||||
--enable-sha512 \
|
||||
--enable-aes \
|
||||
--enable-rsa \
|
||||
--without-libcurl \
|
||||
--without-readline
|
||||
|
||||
# gnupg doesn't support assembly for coldfire
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
GNUPG_CONF_OPTS += --disable-asm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
GNUPG_CONF_OPTS += --enable-bzip2
|
||||
GNUPG_DEPENDENCIES += bzip2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
GNUPG_CONF_ENV += ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config
|
||||
GNUPG_DEPENDENCIES += libcurl
|
||||
else
|
||||
GNUPG_CONF_OPTS += --without-libcurl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
GNUPG_DEPENDENCIES += readline
|
||||
else
|
||||
GNUPG_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUPG_AES),y)
|
||||
GNUPG_CONF_OPTS += --enable-aes
|
||||
else
|
||||
GNUPG_CONF_OPTS += --disable-aes
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUPG_RSA),y)
|
||||
GNUPG_CONF_OPTS += --enable-rsa
|
||||
else
|
||||
GNUPG_CONF_OPTS += --disable-rsa
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y)
|
||||
define GNUPG_REMOVE_GPGV
|
||||
rm -f $(TARGET_DIR)/usr/bin/gpgv
|
||||
endef
|
||||
GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGV
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_GNUPG_GPGSPLIT),y)
|
||||
define GNUPG_REMOVE_GPGSPLIT
|
||||
rm -f $(TARGET_DIR)/usr/bin/gpgsplit
|
||||
endef
|
||||
GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGSPLIT
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user