diff mbox

[1/1] openssl: Split out utilities in seperate packages.

Message ID ec7d0313ffb0c1163769c96c28822afee66c3de6.1397201328.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk April 11, 2014, 7:29 a.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

The reason for c_rehash not having any DEPEND/RDEPEND's set, is that
c_rehash is a perl script, whereas the openssl binary is an binary file.

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/openssl/openssl.inc | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Esben Haabendal April 23, 2014, 7:32 a.m. UTC | #1
Merged to master, thanks.

/Esben
diff mbox

Patch

diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 95c9782..d6ba0ae 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -123,6 +123,10 @@  FILES_${PN}-doc =+ "${libdir}/ssl/man"
 inherit auto-package-libs
 AUTO_PACKAGE_LIBS = "crypto ssl"
 AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev_${PV}"
+inherit auto-package-utils
+AUTO_PACKAGE_UTILS = "openssl c_rehash"
+DEPENDS_${PN}-openssl += "libc libdl libcrypto libssl"
+RDEPENDS_${PN}-openssl += "libc libdl libcrypto libssl"
 DEPENDS_${PN}-dev = ""
 FILES_${PN}-libcrypto += " ${LIBCRYPTO_FILES}"  
 LIBCRYPTO_FILES = ""