|
@@ -4,11 +4,11 @@
|
|
|
#
|
|
|
################################################################################
|
|
|
|
|
|
-BOTAN_VERSION = 1.10.16
|
|
|
+BOTAN_VERSION = 2.7.0
|
|
|
BOTAN_SOURCE = Botan-$(BOTAN_VERSION).tgz
|
|
|
BOTAN_SITE = http://botan.randombit.net/releases
|
|
|
BOTAN_LICENSE = BSD-2-Clause
|
|
|
-BOTAN_LICENSE_FILES = doc/license.txt
|
|
|
+BOTAN_LICENSE_FILES = license.txt
|
|
|
|
|
|
BOTAN_INSTALL_STAGING = YES
|
|
|
|
|
@@ -19,8 +19,25 @@ BOTAN_CONF_OPTS = \
|
|
|
--cc-bin="$(TARGET_CXX)" \
|
|
|
--prefix=/usr
|
|
|
|
|
|
-ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
-BOTAN_CONF_OPTS += --disable-shared --no-autoload
|
|
|
+ifeq ($(BR2_SHARED_LIBS),y)
|
|
|
+BOTAN_CONF_OPTS += \
|
|
|
+ --disable-static-library \
|
|
|
+ --enable-shared-library
|
|
|
+else ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
+BOTAN_CONF_OPTS += \
|
|
|
+ --disable-shared-library \
|
|
|
+ --enable-static-library \
|
|
|
+ --no-autoload
|
|
|
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
|
+BOTAN_CONF_OPTS += \
|
|
|
+ --enable-shared-library \
|
|
|
+ --enable-static-library
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
|
|
+BOTAN_CONF_OPTS += --with-stack-protector
|
|
|
+else
|
|
|
+BOTAN_CONF_OPTS += --without-stack-protector
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
@@ -28,11 +45,6 @@ BOTAN_DEPENDENCIES += bzip2
|
|
|
BOTAN_CONF_OPTS += --with-bzip2
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(BR2_PACKAGE_GMP),y)
|
|
|
-BOTAN_DEPENDENCIES += gmp
|
|
|
-BOTAN_CONF_OPTS += --with-gnump
|
|
|
-endif
|
|
|
-
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
BOTAN_DEPENDENCIES += openssl
|
|
|
BOTAN_CONF_OPTS += --with-openssl
|