Patchwork [meta-oe,v2,6/8] strongswan: add

login
register
mail settings
Submitter Zhenhua Luo
Date Dec. 16, 2011, 9:41 a.m.
Message ID <1324028520-16474-6-git-send-email-b19537@freescale.com>
Download mbox | patch
Permalink /patch/17115/
State Superseded
Headers show

Comments

Zhenhua Luo - Dec. 16, 2011, 9:41 a.m.
From: Zhenhua Luo <b19537@freescale.com>

    strongSwan is an OpenSource IPsec implementation for the Linux operating system.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../recipes-support/strongswan/strongswan_4.5.1.bb |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
Koen Kooi - Dec. 16, 2011, 10:41 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 10:41, b19537@freescale.com schreef:
> From: Zhenhua Luo <b19537@freescale.com>
> 
> strongSwan is an OpenSource IPsec implementation for the Linux operating
> system.
> 
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> --- 
> .../recipes-support/strongswan/strongswan_4.5.1.bb |   21
> ++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) 
> create mode 100644
> meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> 
> diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file mode
> 100644 index 0000000..9c5e736 --- /dev/null +++
> b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb @@ -0,0 +1,21
> @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for
> the \ +Linux operating system." +HOMEPAGE = "http://www.strongswan.org" 
> +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI =
> "http://download.strongswan.org/strongswan-${PV}.tar.bz2" 
> +SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033" +SRC_URI[sha256sum]
> = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a" + 
> +EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ +
> --enable-gmp --disable-mysql --disable-sqlite \ +		--enable-openssl" + 
> +inherit autotools + +DEPENDS = "gmp openssl flex-native flex
> bison-native"

Normal DEPENDS go at the top :) Same for the rng-tools recipe. The general
idea is that 'recipe' variable go on top and other variables are ordered
next to the tasks they are used in, e.g. RDEPENDS are for do_packages, so
they go below do_install, DEPENDS are for the recipe, so they go on top.

> +RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN}-dbg +=
> "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7rIGAACgkQMkyGM64RGpHudwCgu3FhI+64lWnp7q6gzK1itDW3
2TYAn0lXYwRxN5vKcrErNyF4jZO8adfy
=Zmzb
-----END PGP SIGNATURE-----
Zhenhua Luo - Dec. 16, 2011, 11:04 a.m.
Hello Koen,

Thanks a lot for the clarification, I am more clear now. :)


Best Regards,

Zhenhua


> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-
> devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
> Sent: Friday, December 16, 2011 6:42 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCH meta-oe v2 6/8] strongswan: add
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Op 16-12-11 10:41, b19537@freescale.com schreef:
> > From: Zhenhua Luo <b19537@freescale.com>
> >
> > strongSwan is an OpenSource IPsec implementation for the Linux
> > operating system.
> >
> > Signed-off-by: Zhenhua Luo <b19537@freescale.com> ---
> > .../recipes-support/strongswan/strongswan_4.5.1.bb |   21
> > ++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-)
> > create mode 100644
> > meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> >
> > diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> > b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file mode
> > 100644 index 0000000..9c5e736 --- /dev/null +++
> > b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb @@ -0,0 +1,21
> > @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation
> > for the \ +Linux operating system." +HOMEPAGE = "http://www.strongswan.org"
> > +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
> > "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI =
> > "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
> > +SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033"
> > ++SRC_URI[sha256sum]
> > = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a" +
> > +EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ +
> > --enable-gmp --disable-mysql --disable-sqlite \ +		--enable-openssl" +
> > +inherit autotools + +DEPENDS = "gmp openssl flex-native flex
> > bison-native"
> 
> Normal DEPENDS go at the top :) Same for the rng-tools recipe. The general idea
> is that 'recipe' variable go on top and other variables are ordered next to the
> tasks they are used in, e.g. RDEPENDS are for do_packages, so they go below
> do_install, DEPENDS are for the recipe, so they go on top.
> 
> > +RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN}-dbg +=
> > "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> 
> iEYEARECAAYFAk7rIGAACgkQMkyGM64RGpHudwCgu3FhI+64lWnp7q6gzK1itDW3
> 2TYAn0lXYwRxN5vKcrErNyF4jZO8adfy
> =Zmzb
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
new file mode 100644
index 0000000..9c5e736
--- /dev/null
+++ b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
@@ -0,0 +1,21 @@ 
+DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \
+Linux operating system."
+HOMEPAGE = "http://www.strongswan.org"
+SECTION = "console/network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
+SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033"
+SRC_URI[sha256sum] = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a"
+
+EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \
+		--enable-gmp --disable-mysql --disable-sqlite \
+		--enable-openssl"
+
+inherit autotools
+
+DEPENDS = "gmp openssl flex-native flex bison-native"
+RRECOMMENDS_${PN} = "kernel-module-ipsec"
+
+FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"