diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-01-24 13:07:24 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-25 14:36:16 +0000 |
commit | 5916dcc1f357a624ecaa7cf9a4071fbf00447512 (patch) | |
tree | c67341aa92fed2809ba51ae24d6c0fb9260fe4b4 /meta | |
parent | 16cd29ba1f2d4d909a1846f12ac0a74c7948234f (diff) | |
download | poky-5916dcc1f357a624ecaa7cf9a4071fbf00447512.tar.gz |
libtirpc: Disable DES functions on uclibc
uclibc does not provide these functions so dont expect them
/usr/lib/libtirpc.so: undefined reference to `key_encryptsession_pk'
/usr/lib/libtirpc.so: undefined reference to `getnetname'
/usr/lib/libtirpc.so: undefined reference to `cbc_crypt'
/usr/lib/libtirpc.so: undefined reference to `ecb_crypt'
/usr/lib/libtirpc.so: undefined reference to `getpublickey'
/usr/lib/libtirpc.so: undefined reference to `key_gendes'
(From OE-Core rev: c66a269f6f68d670ca3bf9e7b22a5dce4bb95cd0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-uclibc.patch | 47 | ||||
-rw-r--r-- | meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb | 2 |
2 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-uclibc.patch b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-uclibc.patch new file mode 100644 index 0000000000..4e828f6998 --- /dev/null +++ b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-uclibc.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | uclibc does not provide des functionality unlike eglibc so lets disable ssl support | ||
2 | |||
3 | Upstream-Status: Inappropriate [uclibc specific] | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | Index: libtirpc-0.2.2/src/Makefile.am | ||
7 | =================================================================== | ||
8 | --- libtirpc-0.2.2.orig/src/Makefile.am 2013-01-23 14:08:58.802143165 -0800 | ||
9 | +++ libtirpc-0.2.2/src/Makefile.am 2013-01-23 18:06:22.970410357 -0800 | ||
10 | @@ -40,7 +40,7 @@ | ||
11 | # release number of your package. This is an abuse that only fosters | ||
12 | # misunderstanding of the purpose of library versions." | ||
13 | # | ||
14 | -libtirpc_la_LDFLAGS = -lnsl -lpthread -version-info 1:10:0 | ||
15 | +libtirpc_la_LDFLAGS = -lpthread -version-info 1:10:0 | ||
16 | |||
17 | libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \ | ||
18 | clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ | ||
19 | @@ -50,7 +50,7 @@ | ||
20 | rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ | ||
21 | rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \ | ||
22 | svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \ | ||
23 | - auth_time.c auth_des.c authdes_prot.c | ||
24 | + auth_time.c | ||
25 | |||
26 | ## XDR | ||
27 | libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c | ||
28 | Index: libtirpc-0.2.2/src/rpc_soc.c | ||
29 | =================================================================== | ||
30 | --- libtirpc-0.2.2.orig/src/rpc_soc.c 2011-05-02 05:10:40.000000000 -0700 | ||
31 | +++ libtirpc-0.2.2/src/rpc_soc.c 2013-01-23 18:07:28.894410317 -0800 | ||
32 | @@ -515,6 +515,7 @@ | ||
33 | (resultproc_t) rpc_wrap_bcast, "udp"); | ||
34 | } | ||
35 | |||
36 | +#if 0 | ||
37 | /* | ||
38 | * Create the client des authentication object. Obsoleted by | ||
39 | * authdes_seccreate(). | ||
40 | @@ -546,6 +547,7 @@ | ||
41 | dummy = authdes_seccreate(servername, window, NULL, ckey); | ||
42 | return (dummy); | ||
43 | } | ||
44 | +#endif | ||
45 | |||
46 | /* | ||
47 | * Create a client handle for a unix connection. Obsoleted by clnt_vc_create() | ||
diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb b/meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb index 295ca83daa..36591bf8cb 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_0.2.2.bb | |||
@@ -19,6 +19,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2;name=libtirpc \ | |||
19 | file://obsolete_automake_macros.patch \ | 19 | file://obsolete_automake_macros.patch \ |
20 | " | 20 | " |
21 | 21 | ||
22 | SRC_URI_append_libc-uclibc = " file://remove-des-uclibc.patch" | ||
23 | |||
22 | SRC_URI[libtirpc.md5sum] = "74c41c15c2909f7d11d9c7bfa7db6273" | 24 | SRC_URI[libtirpc.md5sum] = "74c41c15c2909f7d11d9c7bfa7db6273" |
23 | SRC_URI[libtirpc.sha256sum] = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705" | 25 | SRC_URI[libtirpc.sha256sum] = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705" |
24 | SRC_URI[glibc-nfs.md5sum] = "5ae500b9d0b6b72cb875bc04944b9445" | 26 | SRC_URI[glibc-nfs.md5sum] = "5ae500b9d0b6b72cb875bc04944b9445" |