diff options
Diffstat (limited to 'meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc')
-rw-r--r-- | meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc b/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc new file mode 100644 index 000000000..caf2b0b71 --- /dev/null +++ b/meta-oe/recipes-support/ipsec-tools/ipsec-tools.inc | |||
@@ -0,0 +1,51 @@ | |||
1 | DESCRIPTION = "IPsec-Tools is a port of KAME's IPsec utilities to the \ | ||
2 | Linux-2.6 IPsec implementation." | ||
3 | HOMEPAGE = "http://ipsec-tools.sourceforge.net/" | ||
4 | SECTION = "console/network" | ||
5 | LICENSE = "BSD" | ||
6 | DEPENDS = "virtual/kernel openssl readline flex" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/ipsec-tools/ipsec-tools-${PV}.tar.bz2;name=ipsec-tools-${PV}" | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | # Options: | ||
13 | # --enable-adminport enable admin port | ||
14 | # --enable-rc5 enable RC5 encryption (patented) | ||
15 | # --enable-idea enable IDEA encryption (patented) | ||
16 | # --enable-gssapi enable GSS-API authentication | ||
17 | # --enable-hybrid enable hybrid, both mode-cfg and xauth support | ||
18 | # --enable-frag enable IKE fragmentation payload support | ||
19 | # --enable-stats enable statistics logging function | ||
20 | # --enable-dpd enable dead peer detection | ||
21 | # --enable-samode-unspec enable to use unspecified a mode of SA | ||
22 | # --disable-ipv6 disable ipv6 support | ||
23 | # --enable-natt enable NAT-Traversal (yes/no/kernel) | ||
24 | # --enable-natt-versions=list list of supported NAT-T versions delimited by coma. | ||
25 | # --with-kernel-headers=/lib/modules/<uname>/build/include | ||
26 | # where your Linux Kernel headers are installed | ||
27 | # --with-readline support readline input (yes by default) | ||
28 | # --with-flex use directiory (default: no) | ||
29 | # --with-flexlib=<LIB> specify flex library. | ||
30 | # --with-openssl=DIR specify OpenSSL directory | ||
31 | # --with-libradius=DIR specify libradius path (like/usr/pkg) | ||
32 | # --with-libpam=DIR specify libpam path (like/usr/pkg) | ||
33 | # | ||
34 | # Note: if you give it the actual kernel headers it won't build, it actually | ||
35 | # needs to point at the linux-libc-headers version of the kernel headers. | ||
36 | # | ||
37 | EXTRA_OECONF = "--with-kernel-headers=${STAGING_INCDIR} \ | ||
38 | --with-readline \ | ||
39 | --with-openssl=${STAGING_LIBDIR}/.. \ | ||
40 | --without-libradius \ | ||
41 | --without-gssapi \ | ||
42 | --without-libpam \ | ||
43 | --disable-security-context" | ||
44 | |||
45 | # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530527 | ||
46 | CFLAGS += "-fno-strict-aliasing" | ||
47 | |||
48 | # Sometimes it attempts to use y.tab.c before it is actually | ||
49 | # generated. Note that the failure case is very rare, but it does | ||
50 | # happen. | ||
51 | PARALLEL_MAKE = "" | ||