summaryrefslogtreecommitdiff
path: root/packages/openswan/openswan_2.4.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openswan/openswan_2.4.4.bb')
-rw-r--r--packages/openswan/openswan_2.4.4.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/openswan/openswan_2.4.4.bb b/packages/openswan/openswan_2.4.4.bb
new file mode 100644
index 0000000000..ea4a0c2d66
--- /dev/null
+++ b/packages/openswan/openswan_2.4.4.bb
@@ -0,0 +1,33 @@
+SECTION = "console/network"
+DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
+Linux operating system."
+HOMEPAGE = "http://www.openswan.org"
+LICENSE = "GPLv2"
+DEPENDS = "gmp flex-native"
+RRECOMMENDS = "kernel-module-ipsec"
+RDEPENDS_nylon = "perl"
+PR = "r0"
+
+SRC_URI = "http://www.openswan.org/download/openswan-${PV}.tar.gz \
+ file://ld-library-path-breakage.patch;patch=1"
+S = "${WORKDIR}/openswan-${PV}"
+
+PARALLEL_MAKE = ""
+EXTRA_OEMAKE = "DESTDIR=${D} \
+ USERCOMPILE="${CFLAGS}" \
+ FINALCONFDIR=${sysconfdir}/ipsec \
+ INC_RCDEFAULT=${sysconfdir}/init.d \
+ INC_USRLOCAL=${prefix} \
+ INC_MANDIR=share/man WERROR=''"
+
+do_compile () {
+ oe_runmake programs
+}
+
+do_install () {
+ oe_runmake install
+}
+
+FILES_${PN} += "${libdir}/ipsec/"
+
+CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"