[OE-core] [PATCH v5 2/3] gnupg: add recipe for 2.0.18

Paul Menzel paulepanter at users.sourceforge.net
Wed Feb 1 09:24:50 UTC 2012


Am Dienstag, den 31.01.2012, 09:45 -0800 schrieb Steve Sakoman:

gnupg: add 2.0.18 (initial recipe)

> GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME
> 
> Signed-off-by: Steve Sakoman <steve at sakoman.com>
> ---
>  meta/recipes-support/gnupg/gnupg_2.0.18.bb |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-support/gnupg/gnupg_2.0.18.bb
> 
> diff --git a/meta/recipes-support/gnupg/gnupg_2.0.18.bb b/meta/recipes-support/gnupg/gnupg_2.0.18.bb
> new file mode 100644
> index 0000000..bdf6e3e
> --- /dev/null
> +++ b/meta/recipes-support/gnupg/gnupg_2.0.18.bb
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "gnupg - GNU privacy guard"

Could we get a better description? Debian has the following as the
summary.

    GNU privacy guard - a free PGP replacement (new v2.x)

Could you also please add the field `HOMEPAGE` set to [1].

> +LICENSE = "GPLv3 & LGPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
> +                    file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
> +
> +DEPENDS = "pth libassuan libksba zlib bzip2 readline"
> +
> +inherit autotools gettext
> +
> +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2"

Change that to the following?

    ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2

> +
> +SRC_URI[md5sum] = "2f37e0722666a0fedbe4d9f9227ac4d7"
> +SRC_URI[sha256sum] = "48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b"
> +
> +S = "${WORKDIR}/gnupg-${PV}"

Is not that the default?

> +
> +EXTRA_OECONF = "--disable-ldap \
> +		--with-zlib=${STAGING_LIBDIR}/.. \
> +		--with-bzip2=${STAGING_LIBDIR}/.. \
> +                --with-readline=${STAGING_LIBDIR}/.. \
> +               "
> +
> +do_install_append() {
> +	ln -sf gpg2 ${D}${bindir}/gpg
> +}

With these changes this patch is

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>


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-core/attachments/20120201/0d385a90/attachment-0002.sig>


More information about the Openembedded-core mailing list