From 89cd730ae8d215dbdb4fccb9ac3cbe2e0c02318a Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 25 Feb 2004 23:53:48 +0000 Subject: Add freeswan 2.05. BKrev: 403d358caTWly2vf7RCbdcbReyshIA --- freeswan/freeswan-2.04/pathnames.patch | 0 freeswan/freeswan-2.05/flags.patch | 0 freeswan/freeswan_2.04.oe | 27 +++++++++++++++++++++++++++ freeswan/freeswan_2.05.oe | 0 4 files changed, 27 insertions(+) delete mode 100644 freeswan/freeswan-2.04/pathnames.patch create mode 100644 freeswan/freeswan-2.05/flags.patch create mode 100644 freeswan/freeswan_2.05.oe diff --git a/freeswan/freeswan-2.04/pathnames.patch b/freeswan/freeswan-2.04/pathnames.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/freeswan/freeswan-2.05/flags.patch b/freeswan/freeswan-2.05/flags.patch new file mode 100644 index 0000000000..e69de29bb2 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 -- cgit v1.2.3