Patchwork [3/4] gnupg: add recipe for 2.0.18

login
register
mail settings
Submitter Steve Sakoman
Date Jan. 30, 2012, 3:20 p.m.
Message ID <1327936840-13937-4-git-send-email-steve@sakoman.com>
Download mbox | patch
Permalink /patch/20307/
State New
Headers show

Comments

Steve Sakoman - Jan. 30, 2012, 3:20 p.m.
GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-extended/gnupg/gnupg_2.0.18.bb |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-extended/gnupg/gnupg_2.0.18.bb
Saul Wold - Jan. 30, 2012, 4:34 p.m.
On 01/30/2012 07:20 AM, Steve Sakoman wrote:
> GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME
>
> Signed-off-by: Steve Sakoman<steve@sakoman.com>
> ---
>   meta/recipes-extended/gnupg/gnupg_2.0.18.bb |   24 ++++++++++++++++++++++++
>   1 files changed, 24 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-extended/gnupg/gnupg_2.0.18.bb
>
> diff --git a/meta/recipes-extended/gnupg/gnupg_2.0.18.bb b/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
> new file mode 100644
> index 0000000..c56f3d5
> --- /dev/null
> +++ b/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "gnupg - GNU privacy guard"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
> +
> +DEPENDS = "pth libassuan libksba zlib bzip2 readline"
> +
> +inherit autotools gettext
> +
> +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "2f37e0722666a0fedbe4d9f9227ac4d7"
> +SRC_URI[sha256sum] = "48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b"
> +
> +S = "${WORKDIR}/gnupg-${PV}"
> +
> +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
> +}

This recipe along with libksba, would should live in recipes-support, as 
they "support" functionality provided elsewhere.

Sau!
Steve Sakoman - Jan. 30, 2012, 4:57 p.m.
On Mon, Jan 30, 2012 at 8:34 AM, Saul Wold <sgw@linux.intel.com> wrote:
> On 01/30/2012 07:20 AM, Steve Sakoman wrote:
>>
>> GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and
>> S/MIME
>>
>> Signed-off-by: Steve Sakoman<steve@sakoman.com>
>> ---
>>  meta/recipes-extended/gnupg/gnupg_2.0.18.bb |   24
>> ++++++++++++++++++++++++
>>  1 files changed, 24 insertions(+), 0 deletions(-)
>>  create mode 100644 meta/recipes-extended/gnupg/gnupg_2.0.18.bb
>>
>> diff --git a/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
>> b/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
>> new file mode 100644
>> index 0000000..c56f3d5
>> --- /dev/null
>> +++ b/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
>> @@ -0,0 +1,24 @@
>> +DESCRIPTION = "gnupg - GNU privacy guard"
>> +LICENSE = "GPLv2+"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
>> +
>> +DEPENDS = "pth libassuan libksba zlib bzip2 readline"
>> +
>> +inherit autotools gettext
>> +
>> +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2"
>> +
>> +SRC_URI[md5sum] = "2f37e0722666a0fedbe4d9f9227ac4d7"
>> +SRC_URI[sha256sum] =
>> "48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b"
>> +
>> +S = "${WORKDIR}/gnupg-${PV}"
>> +
>> +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
>> +}
>
>
> This recipe along with libksba, would should live in recipes-support, as
> they "support" functionality provided elsewhere.

OK, will resubmit with that change.

Steve

Patch

diff --git a/meta/recipes-extended/gnupg/gnupg_2.0.18.bb b/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
new file mode 100644
index 0000000..c56f3d5
--- /dev/null
+++ b/meta/recipes-extended/gnupg/gnupg_2.0.18.bb
@@ -0,0 +1,24 @@ 
+DESCRIPTION = "gnupg - GNU privacy guard"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
+
+DEPENDS = "pth libassuan libksba zlib bzip2 readline"
+
+inherit autotools gettext
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "2f37e0722666a0fedbe4d9f9227ac4d7"
+SRC_URI[sha256sum] = "48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b"
+
+S = "${WORKDIR}/gnupg-${PV}"
+
+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
+}