summaryrefslogtreecommitdiff
path: root/packages/openswan
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-12-24 11:38:46 +0000
committerBruno Randolf <br1@subnet.at>2004-12-24 11:38:46 +0000
commitc24bdfa07920d585280cb0414f44693b2770daee (patch)
tree5625133554edf228676c0e713647ad4cdcb2ce31 /packages/openswan
parent68e4e043a23f2ef73aa67bcdf40990c5c0131c70 (diff)
openswan: added rdepends
BKrev: 41cbffc6kgy8c5Kt4vaHzoZ4kqf3FA
Diffstat (limited to 'packages/openswan')
-rw-r--r--packages/openswan/openswan_2.2.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/openswan/openswan_2.2.0.bb b/packages/openswan/openswan_2.2.0.bb
index e69de29bb2..866c97a4f7 100644
--- a/packages/openswan/openswan_2.2.0.bb
+++ b/packages/openswan/openswan_2.2.0.bb
@@ -0,0 +1,32 @@
+SECTION = "console/network"
+DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
+Linux operating system."
+HOMEPAGE = "http://www.openswan.org"
+LICENSE = "GPLv2"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+DEPENDS = "gmp flex-native"
+RDEPENDS = "kernel-module-ipsec perl"
+PR = "r1"
+
+SRC_URI = "http://www.openswan.org/code/openswan-${PV}.tar.gz \
+ file://openswan-2.2.0-gentoo.patch;patch=1"
+S = "${WORKDIR}/openswan-${PV}"
+
+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} += "/usr/lib/ipsec/"
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ipsec/ipsec.conf"