summaryrefslogtreecommitdiff
path: root/freeswan
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-02-25 23:53:48 +0000
committerChris Larson <clarson@kergoth.com>2004-02-25 23:53:48 +0000
commit89cd730ae8d215dbdb4fccb9ac3cbe2e0c02318a (patch)
treef01cefdb5ec917c61633fc2ebcc4622f2aeb5f98 /freeswan
parent398c9c8a6711f326afe2b8fcff04d27af1e71ef3 (diff)
Add freeswan 2.05.
BKrev: 403d358caTWly2vf7RCbdcbReyshIA
Diffstat (limited to 'freeswan')
-rw-r--r--freeswan/freeswan-2.05/flags.patch (renamed from freeswan/freeswan-2.04/pathnames.patch)0
-rw-r--r--freeswan/freeswan_2.04.oe27
-rw-r--r--freeswan/freeswan_2.05.oe0
3 files changed, 27 insertions, 0 deletions
diff --git a/freeswan/freeswan-2.04/pathnames.patch b/freeswan/freeswan-2.05/flags.patch
index e69de29bb2..e69de29bb2 100644
--- a/freeswan/freeswan-2.04/pathnames.patch
+++ b/freeswan/freeswan-2.05/flags.patch
diff --git a/freeswan/freeswan_2.04.oe b/freeswan/freeswan_2.04.oe
index e69de29bb2..7bd4aed290 100644
--- a/freeswan/freeswan_2.04.oe
+++ b/freeswan/freeswan_2.04.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/old/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
+}
diff --git a/freeswan/freeswan_2.05.oe b/freeswan/freeswan_2.05.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/freeswan/freeswan_2.05.oe