]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
openssl: Handle -conf package file conflicts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Aug 2018 14:23:11 +0000 (15:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Aug 2018 14:33:56 +0000 (15:33 +0100)
The configuration files from 1.0 and 1.1 conflict:

"""
file /etc/ssl/openssl.cnf conflicts between attempted installs of openssl10-conf-1.0.2p-r0.i586 and openssl-conf-1.1.1+pre9-r0.i586
"""

Ensure that if 1.1 is present, it will overwrite the config file
from 1.0.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb

index 3f4e19f296391c01cb8d693bb791a11df4680425..7fcb9c2c9b4cb47d5946e9afb47f2dede1988e5a 100644 (file)
@@ -175,4 +175,8 @@ RDEPENDS_${PN}-bin = "perl"
 RDEPENDS_${PN}-misc = "perl"
 RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash python"
 
+RPROVIDES_openssl-conf = "openssl10-conf"
+RREPLACES_openssl-conf = "openssl10-conf"
+RCONFLICTS_openssl-conf = "openssl10-conf"
+
 BBCLASSEXTEND = "native nativesdk"