Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libcrypto and libudev compatible packages
They create symlinks for binaries which were build for older lib versions.
- Loading branch information
1 parent
6eca809
commit 65aff97
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
meta-openpli/recipes-connectivity/openssl/libcrypto-compat_1.0.2.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SUMMARY = "Compatibility for packages that link to older libcrypto or libssl" | ||
|
||
require conf/license/license-gplv2.inc | ||
|
||
RDEPENDS_${PN} = "libcrypto libssl" | ||
|
||
RREPLACES_${PN} = "libcrypto1.0.0 libssl1.0.0 libcrypto0.9.8 libssl0.9.8" | ||
RCONFLICTS_${PN} = "libcrypto1.0.0 libssl1.0.0 libcrypto0.9.8 libssl0.9.8" | ||
|
||
do_install () { | ||
install -d ${D}${libdir} | ||
ln -sf libcrypto.so.1.0.2 ${D}${libdir}/libcrypto.so.0.9.8 | ||
ln -sf libssl.so.1.0.2 ${D}${libdir}/libssl.so.0.9.8 | ||
ln -sf libcrypto.so.1.0.2 ${D}${libdir}/libcrypto.so.1.0.0 | ||
ln -sf libssl.so.1.0.2 ${D}${libdir}/libssl.so.1.0.0 | ||
} | ||
|
||
FILES_${PN} = "${libdir}" | ||
|
||
RPROVIDES_${PN} += "libcrypto1.0.0 libssl1.0.0 libcrypto0.9.8 libssl0.9.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
SUMMARY = "Compatibility for packages that link to older libudev0" | ||
|
||
require conf/license/license-gplv2.inc | ||
|
||
RDEPENDS_${PN} = "libudev" | ||
|
||
do_install_append() { | ||
install -d ${D}${base_libdir} | ||
ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0 | ||
} | ||
|
||
FILES_${PN} = "${base_libdir}" |