aboutsummaryrefslogtreecommitdiff
path: root/package/libressl/libressl.mk
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2017-07-06 10:40:50 -0400
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-07-08 20:54:21 +0200
commitbe76f4dd2032999a232677922c3dc3dac6b94a61 (patch)
tree4248d82b8aa194c13f59df064cd20d025ebdfa77 /package/libressl/libressl.mk
parent9bf78446888ed3b98d893e70ce4f5e4679fd2ebb (diff)
downloadbuildroot-be76f4dd2032999a232677922c3dc3dac6b94a61.tar.gz
buildroot-be76f4dd2032999a232677922c3dc3dac6b94a61.tar.bz2
libressl: new package
Libressl is a fork of openssl from OpenSSL in 2014. Its goal is to modernize the OpenSSL codebase, improve security, and apply best practice development processes. Right now, libressl is API compatible with OpenSSL 1.0.1, but does not yet include all new APIs from OpenSSL 1.0.2 and later. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libressl/libressl.mk')
-rw-r--r--package/libressl/libressl.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk
new file mode 100644
index 0000000000..694144736b
--- /dev/null
+++ b/package/libressl/libressl.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# libressl
+#
+################################################################################
+
+LIBRESSL_VERSION = 2.5.4
+LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
+LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code)
+LIBRESSL_LICENSE_FILES = COPYING
+LIBRESSL_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
+define LIBRESSL_REMOVE_BIN
+ $(RM) -f $(TARGET_DIR)/usr/bin/openssl
+endef
+LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
+endif
+
+$(eval $(autotools-package))