summaryrefslogtreecommitdiff
path: root/packages/openswan/openswan_2.4.7.bb
diff options
context:
space:
mode:
authorDirk Opfer <dirk@opfer-online.de>2006-12-27 12:08:51 +0000
committerDirk Opfer <dirk@opfer-online.de>2006-12-27 12:08:51 +0000
commit16a79e306aa5bc2e7f7caafa50e537bcad75f83d (patch)
tree8e360df28b7d4a7868a4a47eb17b2c479c3e04cc /packages/openswan/openswan_2.4.7.bb
parente11c549a86de9cc9b53326e47e120896a1e50b5f (diff)
add 2.4.7
Diffstat (limited to 'packages/openswan/openswan_2.4.7.bb')
-rw-r--r--packages/openswan/openswan_2.4.7.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/openswan/openswan_2.4.7.bb b/packages/openswan/openswan_2.4.7.bb
new file mode 100644
index 0000000000..353e0eacdd
--- /dev/null
+++ b/packages/openswan/openswan_2.4.7.bb
@@ -0,0 +1,36 @@
+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://openswan-2.4.7-gentoo.patch;patch=1 \
+ file://installflags.patch;patch=1 \
+ 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} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*"
+FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug"
+
+CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"