1 SECTION = "console/network"
2 DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
3 Linux operating system."
4 HOMEPAGE = "http://www.openswan.org"
6 DEPENDS = "gmp flex-native"
7 RRECOMMENDS = "kernel-module-ipsec"
8 RDEPENDS_append_nylon = "perl"
11 SRC_URI = "http://www.openswan.org/download/openswan-${PV}.tar.gz \
12 file://openswan-2.4.7-gentoo.patch;patch=1 \
13 file://installflags.patch;patch=1 \
14 file://ld-library-path-breakage.patch;patch=1"
15 S = "${WORKDIR}/openswan-${PV}"
18 EXTRA_OEMAKE = "DESTDIR=${D} \
19 USERCOMPILE="${CFLAGS}" \
20 FINALCONFDIR=${sysconfdir}/ipsec \
21 INC_RCDEFAULT=${sysconfdir}/init.d \
22 INC_USRLOCAL=${prefix} \
23 INC_MANDIR=share/man WERROR=''"
33 FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*"
34 FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug"
36 CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"