2005-08-31 10:45:47 +00:00
|
|
|
SECTION = "console/network"
|
|
|
|
DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
|
|
|
|
Linux operating system."
|
|
|
|
HOMEPAGE = "http://www.openswan.org"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
DEPENDS = "gmp flex-native"
|
|
|
|
RRECOMMENDS = "kernel-module-ipsec"
|
|
|
|
RDEPENDS_nylon = "perl"
|
2006-02-10 14:33:55 +00:00
|
|
|
PR = "r4"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
2006-02-10 14:33:55 +00:00
|
|
|
SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \
|
2005-08-31 10:45:47 +00:00
|
|
|
file://openswan-2.2.0-gentoo.patch;patch=1 \
|
2005-11-16 16:15:32 +00:00
|
|
|
file://gcc4-fixes.patch;patch=1 \
|
2006-01-16 14:30:24 +00:00
|
|
|
file://makefile-whitespace-fix.patch;patch=1 \
|
2005-08-31 10:45:47 +00:00
|
|
|
file://ld-library-path-breakage.patch;patch=1"
|
|
|
|
S = "${WORKDIR}/openswan-${PV}"
|
|
|
|
|
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
EXTRA_OEMAKE = "DESTDIR=${D} \
|
|
|
|
USERCOMPILE="${CFLAGS}" \
|
|
|
|
FINALCONFDIR=${sysconfdir}/ipsec \
|
|
|
|
INC_RCDEFAULT=${sysconfdir}/init.d \
|
|
|
|
INC_USRLOCAL=${prefix} \
|
|
|
|
INC_MANDIR=share/man WERROR=''"
|
|
|
|
|
|
|
|
do_compile () {
|
|
|
|
oe_runmake programs
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install () {
|
|
|
|
oe_runmake install
|
|
|
|
}
|
|
|
|
|
|
|
|
FILES_${PN} += "${libdir}/ipsec/"
|
|
|
|
|
|
|
|
CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"
|