diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-networking/recipes-support/ipsec-tools/ipsec-tools/racoonctl-build-fix.patch | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-support/ipsec-tools/ipsec-tools/racoonctl-build-fix.patch')
-rw-r--r-- | meta-networking/recipes-support/ipsec-tools/ipsec-tools/racoonctl-build-fix.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools/racoonctl-build-fix.patch b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/racoonctl-build-fix.patch new file mode 100644 index 000000000..f77fa8638 --- /dev/null +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/racoonctl-build-fix.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | Subject: [PATCH] ipsec-tools: racoonctl buildfix | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | building ipsec-tools failed building/linking racoonctl with some errors: | ||
6 | - missing "yylex" error | ||
7 | - some linking errors for variables defined in racoon but not racoonctl | ||
8 | - some symbols from nattraversal.c where not found as it wasn't linked | ||
9 | when building with NAT support. | ||
10 | |||
11 | Signed-off-by: Liviu Gheorghisan <liviu.gheorghisan@enea.com> | ||
12 | Signed-off-by: Daniel BORNAZ <daniel.bornaz@enea.com> | ||
13 | --- | ||
14 | diff -rupN a/src/racoon/Makefile.am b/src/racoon/Makefile.am | ||
15 | --- a/src/racoon/Makefile.am 2014-03-05 12:16:52.907101044 +0100 | ||
16 | +++ b/src/racoon/Makefile.am 2014-03-05 12:17:10.946320064 +0100 | ||
17 | @@ -44,7 +44,17 @@ racoon_DEPENDENCIES = \ | ||
18 | $(CRYPTOBJS) $(HYBRID_OBJS) $(NATT_OBJS) $(FRAG_OBJS) $(SECCTX_OBJS) \ | ||
19 | vmbuf.o sockmisc.o misc.o | ||
20 | |||
21 | -racoonctl_SOURCES = racoonctl.c str2val.c | ||
22 | +racoonctl_SOURCES = \ | ||
23 | + session.c isakmp.c handler.c \ | ||
24 | + isakmp_ident.c isakmp_agg.c isakmp_base.c \ | ||
25 | + isakmp_quick.c isakmp_inf.c isakmp_newg.c \ | ||
26 | + gssapi.c dnssec.c getcertsbyname.c privsep.c \ | ||
27 | + pfkey.c admin.c evt.c ipsec_doi.c oakley.c grabmyaddr.c vendorid.c \ | ||
28 | + policy.c localconf.c remoteconf.c crypto_openssl.c algorithm.c \ | ||
29 | + proposal.c sainfo.c strnames.c nattraversal.c \ | ||
30 | + plog.c logger.c schedule.c str2val.c \ | ||
31 | + safefile.c backupsa.c genlist.c rsalist.c \ | ||
32 | + cftoken.l cfparse.y prsa_tok.l prsa_par.y racoonctl.c | ||
33 | racoonctl_LDADD = libracoon.la ../libipsec/libipsec.la | ||
34 | |||
35 | libracoon_la_SOURCES = kmpstat.c vmbuf.c sockmisc.c misc.c | ||
36 | |||
37 | diff -rupN a/src/racoon/racoonctl.c b/src/racoon/racoonctl.c | ||
38 | --- a/src/racoon/racoonctl.c 2014-03-05 12:16:52.915100698 +0100 | ||
39 | +++ b/src/racoon/racoonctl.c 2014-03-05 12:17:17.906018754 +0100 | ||
40 | @@ -247,6 +247,9 @@ usage() | ||
41 | #error "Incompatible racoonctl interface" | ||
42 | #endif | ||
43 | |||
44 | +int f_local = 0; /* local test mode. behave like a wall. */ | ||
45 | +int dump_config =0; | ||
46 | + | ||
47 | int | ||
48 | main(ac, av) | ||
49 | int ac; | ||