summaryrefslogtreecommitdiff
path: root/freeswan
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-29 17:11:04 +0000
committerChris Larson <clarson@kergoth.com>2004-05-29 17:11:04 +0000
commit087629f4afb009d0eceec99db1e2ae45c1cf507e (patch)
treeb33e81f2007fd813d64b11c6b513e6ebdc493e7b /freeswan
parent57805d1d4e115d1901fa432d0dcb49807a38233b (diff)
Cleanup pass - remove remnant virtual/libc items from DEPENDS.
BKrev: 40b8c428TTv4Isw4YZOO0-X8vxwV2g
Diffstat (limited to 'freeswan')
-rw-r--r--freeswan/freeswan_2.04.oe2
-rw-r--r--freeswan/freeswan_2.05.oe2
-rw-r--r--freeswan/freeswan_2.06.oe26
3 files changed, 28 insertions, 2 deletions
diff --git a/freeswan/freeswan_2.04.oe b/freeswan/freeswan_2.04.oe
index e9bff1de55..cde9a019f7 100644
--- a/freeswan/freeswan_2.04.oe
+++ b/freeswan/freeswan_2.04.oe
@@ -1,5 +1,5 @@
DESCRIPTION = "FreeS/WAN IPSEC"
-DEPENDS = "virtual/libc gmp"
+DEPENDS = "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 e9bff1de55..cde9a019f7 100644
--- a/freeswan/freeswan_2.05.oe
+++ b/freeswan/freeswan_2.05.oe
@@ -1,5 +1,5 @@
DESCRIPTION = "FreeS/WAN IPSEC"
-DEPENDS = "virtual/libc gmp"
+DEPENDS = "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.06.oe b/freeswan/freeswan_2.06.oe
index e69de29bb2..94b1b5962b 100644
--- a/freeswan/freeswan_2.06.oe
+++ b/freeswan/freeswan_2.06.oe
@@ -0,0 +1,26 @@
+DESCRIPTION = "FreeS/WAN IPSEC"
+DEPENDS = "gmp"
+FILES_freeswan_append = " ${libdir}/ipsec"
+
+SRC_URI = "ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-${PV}.tar.gz \
+ file://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
+}