diff options
Diffstat (limited to 'meta/recipes-extended/libtirpc/libtirpc-0.2.2')
5 files changed, 0 insertions, 144 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch deleted file mode 100644 index 4a785d344a..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.1-fortify.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Fix a possible overflow (reported by _FORTIFY_SOURCE=2) | ||
2 | |||
3 | Ported from Gentoo | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | |||
9 | Index: libtirpc-0.2.1/src/getrpcport.c | ||
10 | =================================================================== | ||
11 | --- libtirpc-0.2.1.orig/src/getrpcport.c | ||
12 | +++ libtirpc-0.2.1/src/getrpcport.c | ||
13 | @@ -54,11 +54,11 @@ getrpcport(host, prognum, versnum, proto | ||
14 | |||
15 | if ((hp = gethostbyname(host)) == NULL) | ||
16 | return (0); | ||
17 | + if (hp->h_length != sizeof(addr.sin_addr.s_addr)) | ||
18 | + return (0); | ||
19 | memset(&addr, 0, sizeof(addr)); | ||
20 | addr.sin_family = AF_INET; | ||
21 | addr.sin_port = 0; | ||
22 | - if (hp->h_length > sizeof(addr)) | ||
23 | - hp->h_length = sizeof(addr); | ||
24 | memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); | ||
25 | /* Inconsistent interfaces need casts! :-( */ | ||
26 | return (pmap_getport(&addr, (u_long)prognum, (u_long)versnum, | ||
diff --git a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch deleted file mode 100644 index c38a55b876..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/libtirpc-0.2.2-rpc-des-prot.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From f2f43212b33dea42635061c82645287454a70107 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mike Frysinger <vapier@gentoo.org> | ||
3 | Date: Sat, 11 Jun 2011 15:21:55 -0400 | ||
4 | Subject: [PATCH] add multiple inclusion protection to rpc/des.h | ||
5 | |||
6 | If you try to include this file multiple times, you get a build failure | ||
7 | due to redefinitions of enums and such. | ||
8 | |||
9 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
10 | --- | ||
11 | tirpc/rpc/des.h | 5 +++++ | ||
12 | 1 files changed, 5 insertions(+), 0 deletions(-) | ||
13 | |||
14 | |||
15 | Upstream-Status: Backport | ||
16 | |||
17 | diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h | ||
18 | index e3d6897..d2881ad 100644 | ||
19 | --- a/tirpc/rpc/des.h | ||
20 | +++ b/tirpc/rpc/des.h | ||
21 | @@ -33,6 +33,9 @@ | ||
22 | * Copyright (c) 1986 by Sun Microsystems, Inc. | ||
23 | */ | ||
24 | |||
25 | +#ifndef _RPC_DES_H_ | ||
26 | +#define _RPC_DES_H_ | ||
27 | + | ||
28 | #define DES_MAXLEN 65536 /* maximum # of bytes to encrypt */ | ||
29 | #define DES_QUICKLEN 16 /* maximum # of bytes to encrypt quickly */ | ||
30 | |||
31 | @@ -80,3 +83,5 @@ struct desparams { | ||
32 | * Software DES. | ||
33 | */ | ||
34 | extern int _des_crypt( char *, int, struct desparams * ); | ||
35 | + | ||
36 | +#endif | ||
37 | -- | ||
38 | 1.7.5.3 | ||
39 | |||
diff --git a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/obsolete_automake_macros.patch b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/obsolete_automake_macros.patch deleted file mode 100644 index 88d759fde6..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/obsolete_automake_macros.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Submitted [libtirpc-devel@lists.sourceforge.net] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurd libtirpc-0.2.2/configure.ac libtirpc-0.2.2/configure.ac | ||
5 | --- libtirpc-0.2.2/configure.ac 2011-05-02 15:10:40.000000000 +0300 | ||
6 | +++ libtirpc-0.2.2/configure.ac 2013-01-11 15:11:24.275000030 +0200 | ||
7 | @@ -17,7 +17,7 @@ | ||
8 | fi | ||
9 | |||
10 | AC_PROG_CC | ||
11 | -AM_CONFIG_HEADER(config.h) | ||
12 | +AC_CONFIG_HEADERS(config.h) | ||
13 | AC_PROG_LIBTOOL | ||
14 | AC_HEADER_DIRENT | ||
15 | AC_PREFIX_DEFAULT(/usr) | ||
diff --git a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch b/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch deleted file mode 100644 index d94a5850ae..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-crypt.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | http://sourceforge.net/mailarchive/message.php?msg_id=27636466 | ||
2 | |||
3 | Upstream-Status: Backport | ||
4 | |||
5 | Index: libtirpc-0.2.2/src/Makefile.am | ||
6 | =================================================================== | ||
7 | --- libtirpc-0.2.2.orig/src/Makefile.am | ||
8 | +++ libtirpc-0.2.2/src/Makefile.am | ||
9 | @@ -50,7 +50,7 @@ libtirpc_la_SOURCES = auth_none.c auth_u | ||
10 | rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ | ||
11 | rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \ | ||
12 | svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \ | ||
13 | - auth_time.c auth_des.c authdes_prot.c des_crypt.c | ||
14 | + auth_time.c auth_des.c authdes_prot.c | ||
15 | |||
16 | ## XDR | ||
17 | libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c | ||
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 deleted file mode 100644 index 4e828f6998..0000000000 --- a/meta/recipes-extended/libtirpc/libtirpc-0.2.2/remove-des-uclibc.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
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() | ||