[oe] [meta-oe][PATCH 2/2] openssl-1.0.0: Add recipes for openssl_1.0.0d
Paul Menzel
paulepanter at users.sourceforge.net
Sat Aug 13 20:55:24 UTC 2011
Am Samstag, den 13.08.2011, 08:47 -0700 schrieb Khem Raj:
> Delete 1.0.0c recipes
The commit summary should say »update« and not »Add« then.
openssl-1.0.0: Update to openssl_1.0.0d
In my opinion »recipe« is redundant for a commit summary.
> Add patches from debian
The patch headers seem to be missing. Maybe you can submit those to
Debian too.
> Remove recipes for openssl-native use BBCLASSEXTEND instead
> Drop libdeps-first.patch it would not let openssl-native build on ubuntu 11.10
What is the error?
> Delete debian.patch, all changes in it are now provided by patches under debian dir
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> .../openssl/openssl-1.0.0c/debian.patch | 515 ---
> .../openssl/openssl-1.0.0c/libdeps-first.patch | 27 -
> .../configure-targets.patch | 0
> .../openssl-1.0.0d/debian/c_rehash-compat.patch | 43 +
> .../openssl/openssl-1.0.0d/debian/ca.patch | 20 +
> .../openssl-1.0.0d/debian/debian-targets.patch | 52 +
> .../openssl-1.0.0d/debian/make-targets.patch | 13 +
> .../openssl/openssl-1.0.0d/debian/man-dir.patch | 13 +
> .../openssl-1.0.0d/debian/man-section.patch | 32 +
> .../openssl/openssl-1.0.0d/debian/no-rpath.patch | 13 +
> .../openssl-1.0.0d/debian/no-symbolic.patch | 13 +
> .../openssl/openssl-1.0.0d/debian/pic.patch | 240 ++
> .../openssl/openssl-1.0.0d/debian/pkg-config.patch | 34 +
> .../openssl-1.0.0d/debian/version-script.patch | 4491 ++++++++++++++++++++
> .../engines-install-in-libdir-ssl.patch | 0
> .../oe-ldflags.patch | 0
> .../openssl/openssl-1.0.0d/parallel-make-fix.patch | 20 +
> .../shared-libs.patch | 0
> .../openssl/openssl-native_1.0.0c.bb | 27 -
> .../recipes-connectivity/openssl/openssl_1.0.0c.bb | 36 -
> .../recipes-connectivity/openssl/openssl_1.0.0d.bb | 47 +
> 21 files changed, 5031 insertions(+), 605 deletions(-)
> delete mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0c/debian.patch
> delete mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0c/libdeps-first.patch
> rename meta-oe/recipes-connectivity/openssl/{openssl-1.0.0c => openssl-1.0.0d}/configure-targets.patch (100%)
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/c_rehash-compat.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/ca.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/debian-targets.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/make-targets.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/man-dir.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/man-section.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/no-rpath.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/no-symbolic.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/pic.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/pkg-config.patch
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/debian/version-script.patch
> rename meta-oe/recipes-connectivity/openssl/{openssl-1.0.0c => openssl-1.0.0d}/engines-install-in-libdir-ssl.patch (100%)
> rename meta-oe/recipes-connectivity/openssl/{openssl-1.0.0c => openssl-1.0.0d}/oe-ldflags.patch (100%)
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl-1.0.0d/parallel-make-fix.patch
> rename meta-oe/recipes-connectivity/openssl/{openssl-1.0.0c => openssl-1.0.0d}/shared-libs.patch (100%)
> delete mode 100644 meta-oe/recipes-connectivity/openssl/openssl-native_1.0.0c.bb
> delete mode 100644 meta-oe/recipes-connectivity/openssl/openssl_1.0.0c.bb
> create mode 100644 meta-oe/recipes-connectivity/openssl/openssl_1.0.0d.bb
[…]
> diff --git a/meta-oe/recipes-connectivity/openssl/openssl_1.0.0d.bb b/meta-oe/recipes-connectivity/openssl/openssl_1.0.0d.bb
> new file mode 100644
> index 0000000..384f3ba
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/openssl/openssl_1.0.0d.bb
> @@ -0,0 +1,47 @@
> +require recipes-connectivity/openssl/openssl.inc
> +
> +# For target side versions of openssl enable support for OCF Linux driver
> +# if they are available.
> +DEPENDS += "ocf-linux"
> +
> +CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
> +
> +PR = "${INC_PR}.0"
> +#- * Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
> +#+ * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
What are those comments good for?
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
> +
> +SRC_URI[src.md5sum] = "40b6ea380cc8a5bf9734c2f8bf7e701e"
> +SRC_URI[src.sha256sum] = "92511d1f0caaa298dba250426f8e7d5d00b271847886d1adc62422778d6320db"
> +
> +DEFAULT_PREFERENCE = "-1"
Why is it not the default? Just not tested? I am not into
meta-openembedded yet but I am wondering if only distributions should
pin that in their configurations.
> +
> +export DIRS = "crypto ssl apps engines"
> +export OE_LDFLAGS="${LDFLAGS}"
> +
> +SRC_URI += "file://configure-targets.patch \
> + file://shared-libs.patch \
> + file://oe-ldflags.patch \
> + file://engines-install-in-libdir-ssl.patch \
> + file://debian/version-script.patch \
> + file://debian/pic.patch \
> + file://debian/c_rehash-compat.patch \
> + file://debian/ca.patch \
> + file://debian/make-targets.patch \
> + file://debian/no-rpath.patch \
> + file://debian/man-dir.patch \
> + file://debian/man-section.patch \
> + file://debian/pkg-config.patch \
> + file://debian/no-symbolic.patch \
> + file://debian/debian-targets.patch \
> + "
The indentations do look differently.
> +
> +PACKAGES += " \
> + ${PN}-engines \
> + ${PN}-engines-dbg \
> + "
> +
> +PARALLEL_MAKE = ""
Do you know what the problem with parallel builds is? What is the error?
> +FILES_${PN}-engines = "${libdir}/ssl/engines/*.so"
> +FILES_${PN}-engines-dbg = "${libdir}/ssl/engines/.debug"
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110813/ae7e455e/attachment-0002.sig>
More information about the Openembedded-devel
mailing list