All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] libzypp: support signed repositories
@ 2012-02-01 15:20 Steve Sakoman
  2012-02-01 15:20 ` [PATCH v6 1/3] libksba: add 1.2.0 (initial recipe) Steve Sakoman
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steve Sakoman @ 2012-02-01 15:20 UTC (permalink / raw)
  To: openembedded-core; +Cc: Steve Sakoman

The current libzypp implementation does not work with signed repositories.
This patch series adds recipes for the required packages as well as the
necessary runtime dependencies to libzypp.

Tested on Gumstix Overo (OMAP3) with meta-openembedded layer enabled and
a systemd based console image.

Changes from version 5 include feedback from Paul Menzel:
 - add (initial recipe) to patch subject for libksba and gnupg
 - add HOMEPAGE to libksba and gnupg
 - use ${PV}/${P} in gnupg SRC_URI
 - fix description/punctuation for libksba and gnupg

Steve Sakoman (3):
  libksba: add 1.2.0 (initial recipe)
  gnupg: add 2.0.18 (initial recipe)
  libzypp: add missing runtime dependences on gzip and gnupg

 meta/recipes-extended/libzypp/libzypp_git.bb  |    4 ++--
 meta/recipes-support/gnupg/gnupg_2.0.18.bb    |   24 ++++++++++++++++++++++++
 meta/recipes-support/libksba/libksba_1.2.0.bb |   13 +++++++++++++
 3 files changed, 39 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-support/gnupg/gnupg_2.0.18.bb
 create mode 100644 meta/recipes-support/libksba/libksba_1.2.0.bb




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v6 1/3] libksba: add 1.2.0 (initial recipe)
  2012-02-01 15:20 [PATCH v6 0/3] libzypp: support signed repositories Steve Sakoman
@ 2012-02-01 15:20 ` Steve Sakoman
  2012-02-01 15:20 ` [PATCH v6 2/3] gnupg: add 2.0.18 " Steve Sakoman
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Steve Sakoman @ 2012-02-01 15:20 UTC (permalink / raw)
  To: openembedded-core; +Cc: Steve Sakoman

Libksba provides an easy API to create and parse X.509 and CMS related objects
and is required for gnupg

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 meta/recipes-support/libksba/libksba_1.2.0.bb |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-support/libksba/libksba_1.2.0.bb

diff --git a/meta/recipes-support/libksba/libksba_1.2.0.bb b/meta/recipes-support/libksba/libksba_1.2.0.bb
new file mode 100644
index 0000000..6489cc5
--- /dev/null
+++ b/meta/recipes-support/libksba/libksba_1.2.0.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Libksba provides an easy API to create and parse X.509 and CMS related objects."
+HOMEPAGE = "http://www.gnupg.org/related_software/libksba/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
+
+DEPENDS = "libgpg-error"
+
+inherit autotools binconfig
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${PN}/${PN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "e797f370b69b4dc776499d6a071ae137"
+SRC_URI[sha256sum] = "09afce65b03d027cbec10d21464f4f651cdfd269e38b404f83e48d3e2a3c934b"
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v6 2/3] gnupg: add 2.0.18 (initial recipe)
  2012-02-01 15:20 [PATCH v6 0/3] libzypp: support signed repositories Steve Sakoman
  2012-02-01 15:20 ` [PATCH v6 1/3] libksba: add 1.2.0 (initial recipe) Steve Sakoman
@ 2012-02-01 15:20 ` Steve Sakoman
  2012-02-01 15:20 ` [PATCH v6 3/3] libzypp: add missing runtime dependences on gzip and gnupg Steve Sakoman
  2012-02-03 17:23 ` [PATCH v6 0/3] libzypp: support signed repositories Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Steve Sakoman @ 2012-02-01 15:20 UTC (permalink / raw)
  To: openembedded-core; +Cc: Steve Sakoman

GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 meta/recipes-support/gnupg/gnupg_2.0.18.bb |   24 ++++++++++++++++++++++++
 1 files changed, 24 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..c1024c8
--- /dev/null
+++ b/meta/recipes-support/gnupg/gnupg_2.0.18.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "GNU privacy guard - a free PGP replacement (new v2.x)"
+HOMEPAGE = "http://www.gnupg.org/"
+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/${PN}/${P}.tar.bz2"
+
+SRC_URI[md5sum] = "2f37e0722666a0fedbe4d9f9227ac4d7"
+SRC_URI[sha256sum] = "48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b"
+
+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
+}
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v6 3/3] libzypp: add missing runtime dependences on gzip and gnupg
  2012-02-01 15:20 [PATCH v6 0/3] libzypp: support signed repositories Steve Sakoman
  2012-02-01 15:20 ` [PATCH v6 1/3] libksba: add 1.2.0 (initial recipe) Steve Sakoman
  2012-02-01 15:20 ` [PATCH v6 2/3] gnupg: add 2.0.18 " Steve Sakoman
@ 2012-02-01 15:20 ` Steve Sakoman
  2012-02-03 17:23 ` [PATCH v6 0/3] libzypp: support signed repositories Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Steve Sakoman @ 2012-02-01 15:20 UTC (permalink / raw)
  To: openembedded-core; +Cc: Steve Sakoman

gzip is required to uncompress repository files
gnupg is required for the support of signed repositories.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-extended/libzypp/libzypp_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index f494f1b..368cc06 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -11,7 +11,7 @@ DEPENDS  = "rpm boost curl libxml2 zlib sat-solver expat openssl udev"
 S = "${WORKDIR}/git"
 SRCREV = "15b6c52260bbc52b3d8e585e271b67e10cc7c433"
 PV = "0.0-git${SRCPV}"
-PR = "r17"
+PR = "r18"
 
 SRC_URI = "git://github.com/openSUSE/libzypp.git;protocol=git \
            file://no-doc.patch \
@@ -30,7 +30,7 @@ SRC_URI_append_mips = " file://mips-workaround-gcc-tribool-error.patch"
 SRC_URI_append_arm  = " file://arm-workaround-global-constructor.patch"
 
 # rpmdb2solv from sat-solver is run from libzypp
-RDEPENDS_${PN} = "sat-solver rpm-libs"
+RDEPENDS_${PN} = "sat-solver rpm-libs gzip gnupg"
 
 PACKAGES =+ "${PN}-pkgmgt"
 
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v6 0/3] libzypp: support signed repositories
  2012-02-01 15:20 [PATCH v6 0/3] libzypp: support signed repositories Steve Sakoman
                   ` (2 preceding siblings ...)
  2012-02-01 15:20 ` [PATCH v6 3/3] libzypp: add missing runtime dependences on gzip and gnupg Steve Sakoman
@ 2012-02-03 17:23 ` Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2012-02-03 17:23 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Steve Sakoman

On Wed, 2012-02-01 at 07:20 -0800, Steve Sakoman wrote:
> The current libzypp implementation does not work with signed repositories.
> This patch series adds recipes for the required packages as well as the
> necessary runtime dependencies to libzypp.
> 
> Tested on Gumstix Overo (OMAP3) with meta-openembedded layer enabled and
> a systemd based console image.
> 
> Changes from version 5 include feedback from Paul Menzel:
>  - add (initial recipe) to patch subject for libksba and gnupg
>  - add HOMEPAGE to libksba and gnupg
>  - use ${PV}/${P} in gnupg SRC_URI
>  - fix description/punctuation for libksba and gnupg
> 
> Steve Sakoman (3):
>   libksba: add 1.2.0 (initial recipe)
>   gnupg: add 2.0.18 (initial recipe)
>   libzypp: add missing runtime dependences on gzip and gnupg

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-03 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-01 15:20 [PATCH v6 0/3] libzypp: support signed repositories Steve Sakoman
2012-02-01 15:20 ` [PATCH v6 1/3] libksba: add 1.2.0 (initial recipe) Steve Sakoman
2012-02-01 15:20 ` [PATCH v6 2/3] gnupg: add 2.0.18 " Steve Sakoman
2012-02-01 15:20 ` [PATCH v6 3/3] libzypp: add missing runtime dependences on gzip and gnupg Steve Sakoman
2012-02-03 17:23 ` [PATCH v6 0/3] libzypp: support signed repositories Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.