diff mbox

[125/131] strongswan: add new recipe for strongswan. Version 5.1.1

Message ID 08022d5c9733d9f8fcf0f4743d5b6127e23a830a.1389702652.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk Jan. 14, 2014, 12:34 p.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/strongswan/strongswan.inc          | 26 ++++++++++++++++++++++++++
 recipes/strongswan/strongswan_5.1.1.oe     |  1 +
 recipes/strongswan/strongswan_5.1.1.oe.sig |  1 +
 3 files changed, 28 insertions(+)
 create mode 100644 recipes/strongswan/strongswan.inc
 create mode 100644 recipes/strongswan/strongswan_5.1.1.oe
 create mode 100644 recipes/strongswan/strongswan_5.1.1.oe.sig
diff mbox

Patch

diff --git a/recipes/strongswan/strongswan.inc b/recipes/strongswan/strongswan.inc
new file mode 100644
index 0000000..cd5018a
--- /dev/null
+++ b/recipes/strongswan/strongswan.inc
@@ -0,0 +1,26 @@ 
+DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for the \
+Linux operating system."
+HOMEPAGE = "http://www.strongswan.org"
+LICENSE = "GPLv2"
+DEPENDS = "libgmp-dev libcrypto libssl openssl-dev libdl libm libpthread \
+	librt libgmp"
+
+SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
+
+EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \
+                --enable-gmp --disable-mysql --disable-sqlite \
+                --enable-openssl"
+
+inherit autotools auto-package-libs
+
+FILES_${PN}-dev += "${libdir}/ipsec/*.a \
+		    ${libdir}/ipsec/*.la \
+		    ${libdir}/ipsec/plugins/*.a \
+		    ${libdir}/ipsec/plugins/*.la"
+FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug \
+		${libexecdir}/ipsec/.debug"
+FILES_${PN} += "${libdir}/ipsec"
+DEPENDS_${PN} += "libc"
+DEPENDS_${PN}[qa] += "allow-missing-lib-depends"
+RDEPENDS_${PN} = "libgmp libcrypto libssl libdl libm libpthread librt"
+RDEPENDS_${PN}[qa] += "allow-missing-lib-rdepends"
diff --git a/recipes/strongswan/strongswan_5.1.1.oe b/recipes/strongswan/strongswan_5.1.1.oe
new file mode 100644
index 0000000..71353eb
--- /dev/null
+++ b/recipes/strongswan/strongswan_5.1.1.oe
@@ -0,0 +1 @@ 
+require strongswan.inc
diff --git a/recipes/strongswan/strongswan_5.1.1.oe.sig b/recipes/strongswan/strongswan_5.1.1.oe.sig
new file mode 100644
index 0000000..5d19f6d
--- /dev/null
+++ b/recipes/strongswan/strongswan_5.1.1.oe.sig
@@ -0,0 +1 @@ 
+eba9c90e3e910edd18ef4f1e380e59751965258b  strongswan-5.1.1.tar.bz2