Patchwork [meta-oe,v2] strongswan: upgrade to 4.6.2

login
register
mail settings
Submitter Zhenhua Luo
Date March 21, 2012, 8:02 a.m.
Message ID <1332316954-11131-1-git-send-email-b19537@freescale.com>
Download mbox | patch
Permalink /patch/23951/
State New, archived
Headers show

Comments

Zhenhua Luo - March 21, 2012, 8:02 a.m.
From: Zhenhua Luo <b19537@freescale.com>

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../recipes-support/strongswan/strongswan_4.5.1.bb |   21 --------------
 .../recipes-support/strongswan/strongswan_4.6.2.bb |   30 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 21 deletions(-)
 delete mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
 create mode 100644 meta-oe/recipes-support/strongswan/strongswan_4.6.2.bb

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
deleted file mode 100644
index 3276fdd..0000000
--- a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
+++ /dev/null
@@ -1,21 +0,0 @@ 
-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"
-DEPENDS = "gmp openssl flex-native flex bison-native"
-
-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
-
-RRECOMMENDS_${PN} = "kernel-module-ipsec"
-
-FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.6.2.bb b/meta-oe/recipes-support/strongswan/strongswan_4.6.2.bb
new file mode 100644
index 0000000..5b553da
--- /dev/null
+++ b/meta-oe/recipes-support/strongswan/strongswan_4.6.2.bb
@@ -0,0 +1,30 @@ 
+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=b234ee4d69f5fce4486a80fdaf4a4263"
+DEPENDS = "gmp openssl flex-native flex bison-native"
+
+SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
+SRC_URI[md5sum] = "ed64e6746011930a70f3a271dc0e3c9e"
+SRC_URI[sha256sum] = "a5ecb3fc60a94ded9197532c7ebf42e8e321223311e4a4834ea15219aa1625e4"
+
+EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \
+		--enable-gmp --disable-mysql --disable-sqlite \
+		--enable-openssl"
+
+inherit autotools
+
+RRECOMMENDS_${PN} = "kernel-module-ipsec"
+
+FILES_${PN} += "${baselib}/systemd/system/strongswan.service"
+FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug \
+			${libexecdir}/ipsec/plugins/.debug \
+			${libdir}/ipsec/plugins/.debug \
+			${libdir}/ipsec/.debug"
+FILES_${PN}-dev += "${libdir}/ipsec/lib*.la \
+			${libdir}/ipsec/lib*.a ${libdir}/ipsec/lib*.so* \
+			${libdir}/ipsec/plugins/lib*.la \
+			${libdir}/ipsec/plugins/lib*.a \
+			${libdir}/ipsec/plugins/lib*.so*"