Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/4] libssl: new virtual package
Date: Sat, 24 Jun 2017 13:28:58 -0400	[thread overview]
Message-ID: <20170624172900.3610-2-Adamduskett@outlook.com> (raw)
In-Reply-To: <20170624172900.3610-1-Adamduskett@outlook.com>

libressl is API compatible with OpenSSL 1.0.1 and is almost API
compatible with OpenSSL 1.0.2.  As such, a new virtual package is needed
to handle having both libressl and openssl.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
---
Changes v1 -> v2:
  - Removed final "." in commit title. (Thomas)
  - Fixed indentation issues in commit message.

 package/Config.in        | 1 +
 package/libssl/Config.in | 6 ++++++
 package/libssl/libssl.mk | 7 +++++++
 3 files changed, 14 insertions(+)
 create mode 100644 package/libssl/Config.in
 create mode 100644 package/libssl/libssl.mk

diff --git a/package/Config.in b/package/Config.in
index 89b1ee4..0279e79 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -979,6 +979,7 @@ menu "Crypto"
 	source "package/libscrypt/Config.in"
 	source "package/libsecret/Config.in"
 	source "package/libsha1/Config.in"
+	source "package/libssl/Config.in"
 	source "package/libsodium/Config.in"
 	source "package/libssh/Config.in"
 	source "package/libssh2/Config.in"
diff --git a/package/libssl/Config.in b/package/libssl/Config.in
new file mode 100644
index 0000000..71347de
--- /dev/null
+++ b/package/libssl/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBSSL
+	bool
+
+config BR2_PACKAGE_PROVIDES_LIBSSL
+	string
+	depends on BR2_PACKAGE_HAS_LIBSSL
diff --git a/package/libssl/libssl.mk b/package/libssl/libssl.mk
new file mode 100644
index 0000000..6e89bcc
--- /dev/null
+++ b/package/libssl/libssl.mk
@@ -0,0 +1,7 @@
+################################################################################
+#
+# libssl
+#
+################################################################################
+
+$(eval $(virtual-package))
-- 
2.9.4

  reply	other threads:[~2017-06-24 17:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-24 17:28 [Buildroot] [PATCH v2 1/4] libressl: new package Adam Duskett
2017-06-24 17:28 ` Adam Duskett [this message]
2017-06-24 19:45   ` [Buildroot] [PATCH v2 2/4] libssl: new virtual package Thomas Petazzoni
2017-06-24 22:38     ` Arnout Vandecappelle
2017-06-24 17:28 ` [Buildroot] [PATCH v2 3/4] libressl: add libssl virtual package support Adam Duskett
2017-06-24 17:31   ` Adam Duskett
2017-06-24 17:29 ` [Buildroot] [PATCH v2 4/4] openssl: " Adam Duskett
2017-06-25 10:46   ` Arnout Vandecappelle
2017-06-24 19:42 ` [Buildroot] [PATCH v2 1/4] libressl: new package Thomas Petazzoni
2017-06-24 22:16   ` Arnout Vandecappelle
2017-06-25 10:46 ` Arnout Vandecappelle
2017-06-26 13:15   ` Adam Duskett
2017-06-26 15:43     ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170624172900.3610-2-Adamduskett@outlook.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox