Add freeswan 2.05.
authorChris Larson <clarson@kergoth.com>
Wed, 25 Feb 2004 23:53:48 +0000 (23:53 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 25 Feb 2004 23:53:48 +0000 (23:53 +0000)
BKrev: 403d358caTWly2vf7RCbdcbReyshIA

freeswan/freeswan-2.05/flags.patch [moved from freeswan/freeswan-2.04/pathnames.patch with 100% similarity]
freeswan/freeswan_2.04.oe
freeswan/freeswan_2.05.oe [new file with mode: 0644]

index e69de29..7bd4aed 100644 (file)
@@ -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 (file)
index 0000000..e69de29