summaryrefslogtreecommitdiff
path: root/freeswan
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /freeswan
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'freeswan')
-rw-r--r--freeswan/freeswan_2.04.oe6
-rw-r--r--freeswan/freeswan_2.05.oe27
2 files changed, 30 insertions, 3 deletions
diff --git a/freeswan/freeswan_2.04.oe b/freeswan/freeswan_2.04.oe
index 7bd4aed290..9bae71d327 100644
--- a/freeswan/freeswan_2.04.oe
+++ b/freeswan/freeswan_2.04.oe
@@ -1,6 +1,6 @@
-DESCRIPTION = FreeS/WAN IPSEC
-DEPENDS = virtual/libc gmp
-RDEPENDS = libc6 gmp
+DESCRIPTION = "FreeS/WAN IPSEC"
+DEPENDS = "virtual/libc gmp"
+RDEPENDS = "libc6 gmp"
FILES_freeswan_append = ' ${libdir}/ipsec'
SRC_URI = ftp://ftp.xs4all.nl/pub/crypto/freeswan/old/freeswan-${PV}.tar.gz \
diff --git a/freeswan/freeswan_2.05.oe b/freeswan/freeswan_2.05.oe
index e69de29bb2..10cbd9a8ee 100644
--- a/freeswan/freeswan_2.05.oe
+++ b/freeswan/freeswan_2.05.oe
@@ -0,0 +1,27 @@
+DESCRIPTION = "FreeS/WAN IPSEC"
+DEPENDS = "virtual/libc gmp"
+RDEPENDS = "libc6 gmp"
+FILES_freeswan_append = ' ${libdir}/ipsec'
+
+SRC_URI = ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-${PV}.tar.gz \
+ file://${FILESDIR}/flags.patch;patch=1
+
+S = "${WORKDIR}/freeswan-${PV}"
+
+# "local" part of tree, used in building other pathnames
+EXTRA_OEMAKE = "'INC_USRLOCAL=${prefix}' \
+ 'FINALLIBEXECDIR=${libexecdir}/ipsec' \
+ 'FINALSBINDIR=${sbindir}' \
+ 'FINALLIBDIR=${libdir}/ipsec' \
+ 'MANTREE=${DESTDIR}/${mandir}' \
+ 'FINALCONFFILE?=${sysconfdir}/ipsec.conf' \
+ 'FINALCONFDIR?=${sysconfdir}'"
+
+do_compile () {
+ oe_runmake 'CFLAGS=${CFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}' programs
+}
+
+do_install () {
+ install -d ${D}/${sysconfdir}/init.d
+ oe_runmake DESTDIR=${D} install
+}