diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-23 21:15:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-24 20:56:01 +0200 |
commit | f920132acf0d785d238388e1652b7023207c553c (patch) | |
tree | 6a358b9531986b98f8fc5872787f8fdc86a24dc9 | |
parent | 45483a482f5629a1a0b6f3e249c3534f6903568f (diff) |
update to latest stable version
64 files changed, 24 insertions, 1569 deletions
diff --git a/package/libtirpc/Makefile b/package/libtirpc/Makefile index 97ffab482..dca48206d 100644 --- a/package/libtirpc/Makefile +++ b/package/libtirpc/Makefile @@ -4,9 +4,9 @@ include ${ADK_TOPDIR}/rules.mk PKG_NAME:= libtirpc -PKG_VERSION:= 0.2.5 +PKG_VERSION:= 0.3.2 PKG_RELEASE:= 1 -PKG_HASH:= 62f9de7c2c8686c568757730e1fef66502a0e00d6cacf33546d0267984e002db +PKG_HASH:= 2008a379f37f2c5d5a87a568b06707422cc3e4f5da305f7fb71f3f4c6d473ffc PKG_DESCR:= transport independent rpc library PKG_SECTION:= libs/net PKG_URL:= http://sourceforge.net/projects/libtirpc/ diff --git a/package/libtirpc/patches/patch-Makefile_am b/package/libtirpc/patches/patch-Makefile_am deleted file mode 100644 index 31152a662..000000000 --- a/package/libtirpc/patches/patch-Makefile_am +++ /dev/null @@ -1,8 +0,0 @@ ---- libtirpc-0.2.4.orig/Makefile.am 2013-12-09 21:59:51.000000000 +0100 -+++ libtirpc-0.2.4/Makefile.am 2014-05-10 17:56:58.282550787 +0200 -@@ -1,4 +1,4 @@ --SUBDIRS = src man doc -+SUBDIRS = src - ACLOCAL_AMFLAGS = -I m4 - - noinst_HEADERS = tirpc/reentrant.h \ diff --git a/package/libtirpc/patches/patch-configure_ac b/package/libtirpc/patches/patch-configure_ac deleted file mode 100644 index 63a3410f1..000000000 --- a/package/libtirpc/patches/patch-configure_ac +++ /dev/null @@ -1,21 +0,0 @@ ---- libtirpc-0.2.5.orig/configure.ac 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/configure.ac 2015-02-10 11:20:21.483005131 -0600 -@@ -24,14 +24,16 @@ if test "x$enable_ipv6" != xno; then - fi - - AC_PROG_CC --m4_pattern_allow(AM_CONFIG_HEADERS(config.h)) -+AC_CONFIG_HEADERS([config.h]) - AC_PROG_LIBTOOL - AC_HEADER_DIRENT - AC_PREFIX_DEFAULT(/usr) - AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h]) - AC_CHECK_LIB([pthread], [pthread_create]) - AC_CHECK_LIB([nsl], [yp_get_default_domain]) -- -+AC_CHECK_FUNCS([getrpcbyname getrpcbynumber]) - - AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) - AC_OUTPUT(libtirpc.pc) -+ -+ diff --git a/package/libtirpc/patches/patch-src_Makefile_am b/package/libtirpc/patches/patch-src_Makefile_am index f2a448829..0c39f90b9 100644 --- a/package/libtirpc/patches/patch-src_Makefile_am +++ b/package/libtirpc/patches/patch-src_Makefile_am @@ -1,11 +1,20 @@ ---- libtirpc-0.2.5.orig/src/Makefile.am 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/src/Makefile.am 2015-02-10 11:38:08.670995360 -0600 +--- libtirpc-0.3.2.orig/src/Makefile.am 2015-06-16 17:35:08.000000000 +0200 ++++ libtirpc-0.3.2/src/Makefile.am 2015-06-21 21:02:26.000000000 +0200 @@ -51,7 +51,7 @@ libtirpc_la_SOURCES = auth_none.c auth_u rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \ svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \ - auth_time.c auth_des.c authdes_prot.c debug.c -+ authdes_prot.c debug.c ++ debug.c ## XDR libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c +@@ -68,7 +68,7 @@ if GSS + libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) + endif + +-libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c ++libtirpc_la_SOURCES += key_call.c key_prot_xdr.c + libtirpc_la_SOURCES += netname.c netnamer.c rtime.c + + CLEANFILES = cscope.* *~ diff --git a/package/libtirpc/patches/patch-src_auth_des_c b/package/libtirpc/patches/patch-src_auth_des_c deleted file mode 100644 index 09c48bb7e..000000000 --- a/package/libtirpc/patches/patch-src_auth_des_c +++ /dev/null @@ -1,18 +0,0 @@ ---- libtirpc-0.2.5.orig/src/auth_des.c 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/src/auth_des.c 2015-02-10 11:20:21.499005133 -0600 -@@ -38,7 +38,6 @@ - #include <string.h> - #include <stdlib.h> - #include <unistd.h> --#include <sys/cdefs.h> - #include <rpc/des_crypt.h> - #include <syslog.h> - #include <rpc/types.h> -@@ -52,7 +51,6 @@ - - #if defined(LIBC_SCCS) && !defined(lint) - #endif --#include <sys/cdefs.h> - - #include "debug.h" - diff --git a/package/libtirpc/patches/patch-src_auth_none_c b/package/libtirpc/patches/patch-src_auth_none_c deleted file mode 100644 index d8fd74f3d..000000000 --- a/package/libtirpc/patches/patch-src_auth_none_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/auth_none.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/auth_none.c 2014-03-22 13:20:53.000000000 +0100 -@@ -31,7 +31,6 @@ - static char *sccsid = "@(#)auth_none.c 1.19 87/08/11 Copyr 1984 Sun Micro"; - static char *sccsid = "@(#)auth_none.c 2.1 88/07/29 4.0 RPCSRC"; - #endif --#include <sys/cdefs.h> - __FBSDID("$FreeBSD: src/lib/libc/rpc/auth_none.c,v 1.12 2002/03/22 23:18:35 obrien Exp $"); - */ - diff --git a/package/libtirpc/patches/patch-src_auth_time_c b/package/libtirpc/patches/patch-src_auth_time_c deleted file mode 100644 index b6319db96..000000000 --- a/package/libtirpc/patches/patch-src_auth_time_c +++ /dev/null @@ -1,32 +0,0 @@ ---- libtirpc-0.2.3.orig/src/auth_time.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/auth_time.c 2014-03-22 13:20:53.000000000 +0100 -@@ -25,7 +25,6 @@ - * needed to deal with TCP connections. - */ - --#include <sys/cdefs.h> - #include <stdio.h> - #include <syslog.h> - #include <string.h> -@@ -43,7 +42,7 @@ - //#include <clnt_soc.h> - #include <sys/select.h> - #undef NIS --#include <rpcsvc/nis.h> -+//#include <rpcsvc/nis.h> - - - #ifdef TESTING -@@ -138,6 +137,7 @@ free_eps(eps, num) - * NIS+ server will call __rpc_get_time_offset() with the nis_server - * structure already populated. - */ -+#ifdef 0 - static nis_server * - get_server(sin, host, srv, eps, maxep) - struct sockaddr_in *sin; -@@ -491,3 +491,4 @@ error: - - return (time_valid); - } -+#endif diff --git a/package/libtirpc/patches/patch-src_auth_unix_c b/package/libtirpc/patches/patch-src_auth_unix_c deleted file mode 100644 index a1ba7b587..000000000 --- a/package/libtirpc/patches/patch-src_auth_unix_c +++ /dev/null @@ -1,18 +0,0 @@ ---- libtirpc-0.2.5.orig/src/auth_unix.c 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/src/auth_unix.c 2015-02-10 11:22:29.687003959 -0600 -@@ -26,7 +26,6 @@ - * POSSIBILITY OF SUCH DAMAGE. - */ - --#include <sys/cdefs.h> - - /* - * auth_unix.c, Implements UNIX style authentication parameters. -@@ -45,6 +44,7 @@ - - #include <assert.h> - #include <err.h> -+#include <stdarg.h> - #include <stdio.h> - #include <stdlib.h> - #include <unistd.h> diff --git a/package/libtirpc/patches/patch-src_authdes_prot_c b/package/libtirpc/patches/patch-src_authdes_prot_c deleted file mode 100644 index f829ed45e..000000000 --- a/package/libtirpc/patches/patch-src_authdes_prot_c +++ /dev/null @@ -1,7 +0,0 @@ ---- libtirpc-0.2.3.orig/src/authdes_prot.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/authdes_prot.c 2014-03-22 13:20:53.000000000 +0100 -@@ -1,4 +1,3 @@ --#include <sys/cdefs.h> - /* - * Copyright (c) 2009, Sun Microsystems, Inc. - * All rights reserved. diff --git a/package/libtirpc/patches/patch-src_authunix_prot_c b/package/libtirpc/patches/patch-src_authunix_prot_c deleted file mode 100644 index 178436474..000000000 --- a/package/libtirpc/patches/patch-src_authunix_prot_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/authunix_prot.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/authunix_prot.c 2014-03-22 13:20:53.000000000 +0100 -@@ -26,7 +26,6 @@ - * POSSIBILITY OF SUCH DAMAGE. - */ - --#include <sys/cdefs.h> - - /* - * authunix_prot.c diff --git a/package/libtirpc/patches/patch-src_bindresvport_c b/package/libtirpc/patches/patch-src_bindresvport_c deleted file mode 100644 index 4e828a005..000000000 --- a/package/libtirpc/patches/patch-src_bindresvport_c +++ /dev/null @@ -1,18 +0,0 @@ ---- libtirpc-0.2.3.orig/src/bindresvport.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/bindresvport.c 2014-03-22 13:24:36.000000000 +0100 -@@ -26,7 +26,6 @@ - * POSSIBILITY OF SUCH DAMAGE. - */ - --#include <sys/cdefs.h> - - /* - * Copyright (c) 1987 by Sun Microsystems, Inc. -@@ -38,6 +37,7 @@ - #include <sys/socket.h> - - #include <netinet/in.h> -+#include <netdb.h> - - #include <errno.h> - #include <string.h> diff --git a/package/libtirpc/patches/patch-src_clnt_bcast_c b/package/libtirpc/patches/patch-src_clnt_bcast_c deleted file mode 100644 index f4776e5b1..000000000 --- a/package/libtirpc/patches/patch-src_clnt_bcast_c +++ /dev/null @@ -1,27 +0,0 @@ ---- libtirpc-0.2.5.orig/src/clnt_bcast.c 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/src/clnt_bcast.c 2015-02-10 11:27:39.523001122 -0600 -@@ -28,7 +28,6 @@ - /* - * Copyright (c) 1986-1991 by Sun Microsystems Inc. - */ --#include <sys/cdefs.h> - - /* - * clnt_bcast.c -@@ -41,7 +40,7 @@ - */ - #include <sys/socket.h> - #include <sys/types.h> --#include <sys/queue.h> -+#include "queue.h" - - #include <net/if.h> - #include <netinet/in.h> -@@ -57,6 +56,7 @@ - #include <arpa/inet.h> - #include <stdio.h> - #include <errno.h> -+#include <stdarg.h> - #include <stdlib.h> - #include <unistd.h> - #include <netdb.h> diff --git a/package/libtirpc/patches/patch-src_clnt_perror_c b/package/libtirpc/patches/patch-src_clnt_perror_c deleted file mode 100644 index 5c3c9169a..000000000 --- a/package/libtirpc/patches/patch-src_clnt_perror_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/clnt_perror.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/clnt_perror.c 2014-03-22 13:20:53.000000000 +0100 -@@ -27,7 +27,6 @@ - */ - - /* --#include <sys/cdefs.h> - */ - /* - * clnt_perror.c diff --git a/package/libtirpc/patches/patch-src_clnt_simple_c b/package/libtirpc/patches/patch-src_clnt_simple_c deleted file mode 100644 index 8db2f1b8e..000000000 --- a/package/libtirpc/patches/patch-src_clnt_simple_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/clnt_simple.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/clnt_simple.c 2014-03-22 13:20:53.000000000 +0100 -@@ -29,7 +29,6 @@ - * Copyright (c) 1986-1991 by Sun Microsystems Inc. - */ - --#include <sys/cdefs.h> - - /* - * clnt_simple.c diff --git a/package/libtirpc/patches/patch-src_crypt_client_c b/package/libtirpc/patches/patch-src_crypt_client_c deleted file mode 100644 index 3768305f8..000000000 --- a/package/libtirpc/patches/patch-src_crypt_client_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/crypt_client.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/crypt_client.c 2014-03-22 13:20:53.000000000 +0100 -@@ -30,7 +30,6 @@ - * SUCH DAMAGE. - */ - --#include <sys/cdefs.h> - - #include <err.h> - #include <sys/types.h> diff --git a/package/libtirpc/patches/patch-src_debug_h b/package/libtirpc/patches/patch-src_debug_h deleted file mode 100644 index c6cfa5dc1..000000000 --- a/package/libtirpc/patches/patch-src_debug_h +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.5.orig/src/debug.h 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/src/debug.h 2015-02-10 11:32:36.946998399 -0600 -@@ -21,6 +21,7 @@ - - #ifndef _DEBUG_H - #define _DEBUG_H -+#include <stdarg.h> - #include <syslog.h> - - extern int libtirpc_debug_level; diff --git a/package/libtirpc/patches/patch-src_des_crypt_c b/package/libtirpc/patches/patch-src_des_crypt_c deleted file mode 100644 index 6bb81e176..000000000 --- a/package/libtirpc/patches/patch-src_des_crypt_c +++ /dev/null @@ -1,27 +0,0 @@ ---- libtirpc-0.2.5.orig/src/des_crypt.c 2014-08-08 11:24:34.000000000 -0500 -+++ libtirpc-0.2.5/src/des_crypt.c 2015-02-10 11:20:21.587005130 -0600 -@@ -39,11 +39,10 @@ - static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; - #endif - #endif --#include <sys/cdefs.h> - - static int common_crypt( char *, char *, unsigned, unsigned, struct desparams * ); - int (*__des_crypt_LOCAL)() = 0; --extern int _des_crypt_call(char *, int, struct desparams *); -+//extern int _des_crypt_call(char *, int, struct desparams *); - /* - * Copy 8 bytes - */ -@@ -145,10 +144,6 @@ common_crypt(key, buf, len, mode, desp) - if (!__des_crypt_LOCAL(buf, len, desp)) { - return (DESERR_HWERROR); - } -- } else { -- if (!_des_crypt_call(buf, len, desp)) { -- return (DESERR_HWERROR); -- } -- } -+ } - return(desdev == DES_SW ? DESERR_NONE : DESERR_NOHWDEVICE); - } diff --git a/package/libtirpc/patches/patch-src_des_soft_c b/package/libtirpc/patches/patch-src_des_soft_c deleted file mode 100644 index 675a6a265..000000000 --- a/package/libtirpc/patches/patch-src_des_soft_c +++ /dev/null @@ -1,9 +0,0 @@ ---- libtirpc-0.2.3.orig/src/des_soft.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/des_soft.c 2014-03-22 13:20:53.000000000 +0100 -@@ -1,5 +1,4 @@ --//#include <sys/cdefs.h> -- -+// - /* - * Copyright (c) 2009, Sun Microsystems, Inc. - * All rights reserved. diff --git a/package/libtirpc/patches/patch-src_getnetconfig_c b/package/libtirpc/patches/patch-src_getnetconfig_c deleted file mode 100644 index fb1f285a1..000000000 --- a/package/libtirpc/patches/patch-src_getnetconfig_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/getnetconfig.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/getnetconfig.c 2014-03-22 13:20:53.000000000 +0100 -@@ -32,7 +32,6 @@ - - #include <pthread.h> - #include <reentrant.h> --#include <sys/cdefs.h> - #include <stdio.h> - #include <errno.h> - #include <netconfig.h> diff --git a/package/libtirpc/patches/patch-src_getnetpath_c b/package/libtirpc/patches/patch-src_getnetpath_c deleted file mode 100644 index 73788ea04..000000000 --- a/package/libtirpc/patches/patch-src_getnetpath_c +++ /dev/null @@ -1,16 +0,0 @@ ---- libtirpc-0.2.3.orig/src/getnetpath.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/getnetpath.c 2014-03-22 13:20:53.000000000 +0100 -@@ -25,13 +25,11 @@ - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ --#include <sys/cdefs.h> - - /* - * Copyright (c) 1989 by Sun Microsystems, Inc. - */ - --#include <sys/cdefs.h> - #include <stdio.h> - #include <errno.h> - #include <netconfig.h> diff --git a/package/libtirpc/patches/patch-src_getpeereid_c b/package/libtirpc/patches/patch-src_getpeereid_c deleted file mode 100644 index 1af375563..000000000 --- a/package/libtirpc/patches/patch-src_getpeereid_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/getpeereid.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/getpeereid.c 2014-03-22 13:20:52.000000000 +0100 -@@ -24,7 +24,6 @@ - * SUCH DAMAGE. - */ - --#include <sys/cdefs.h> - - #include <sys/param.h> - #include <sys/socket.h> diff --git a/package/libtirpc/patches/patch-src_getpublickey_c b/package/libtirpc/patches/patch-src_getpublickey_c deleted file mode 100644 index a41eca54a..000000000 --- a/package/libtirpc/patches/patch-src_getpublickey_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/getpublickey.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/getpublickey.c 2014-03-22 13:20:53.000000000 +0100 -@@ -26,7 +26,6 @@ - * POSSIBILITY OF SUCH DAMAGE. - */ - /* --#include <sys/cdefs.h> - */ - - /* diff --git a/package/libtirpc/patches/patch-src_getrpcent_c b/package/libtirpc/patches/patch-src_getrpcent_c deleted file mode 100644 index 8e213ae54..000000000 --- a/package/libtirpc/patches/patch-src_getrpcent_c +++ /dev/null @@ -1,41 +0,0 @@ ---- libtirpc-0.2.4.orig/src/getrpcent.c 2013-12-09 21:59:51.000000000 +0100 -+++ libtirpc-0.2.4/src/getrpcent.c 2014-05-18 08:04:03.462885748 +0200 -@@ -50,6 +50,10 @@ - #include <libc_private.h> - #endif - -+#if HAVE_CONFIG_H -+#include "config.h" -+#endif -+ - /* - * Internet version. - */ -@@ -89,7 +93,7 @@ _rpcdata() - return (d); - } - --#ifdef GQ -+#if !HAVE_GETRPCBYNYMBER - struct rpcent * - getrpcbynumber(number) - int number; -@@ -135,7 +139,9 @@ no_yp: - endrpcent(); - return (p); - } -+#endif /* !HAVE_GETRPCBYNUMBER */ - -+#if !HAVE_GETRPCBYNAME - struct rpcent * - getrpcbyname(name) - const char *name; -@@ -158,7 +164,7 @@ done: - endrpcent(); - return (rpc); - } --#endif /* GQ */ -+#endif /* !HAVE_GETRPCBYNAME */ - - void - setrpcent(f) diff --git a/package/libtirpc/patches/patch-src_key_call_c b/package/libtirpc/patches/patch-src_key_call_c deleted file mode 100644 index f7e7fb44d..000000000 --- a/package/libtirpc/patches/patch-src_key_call_c +++ /dev/null @@ -1,10 +0,0 @@ ---- libtirpc-0.2.3.orig/src/key_call.c 2013-02-13 16:13:59.000000000 +0100 -+++ libtirpc-0.2.3/src/key_call.c 2014-03-22 13:20:52.000000000 +0100 -@@ -30,7 +30,6 @@ - */ - - --#include <sys/cdefs.h& |