Browse Source

- libtirpc: bump version to 1.1.4

master
vanhofen 6 years ago
parent
commit
b54ad78d66
  1. 16
      make/target-libs.mk
  2. 6508
      patches/libtirpc-0003-Add-rpcgen-program-from-nfs-utils-sources.patch
  3. 0
      patches/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
  4. 0
      patches/libtirpc/0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch
  5. 35
      patches/libtirpc/0003-Automatically-generate-XDR-header-files-from-.x-sour.patch
  6. 0
      patches/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch
  7. 0
      patches/libtirpc/0005-Disable-DES-authentification-support.patch
  8. 31
      patches/libtirpc/0006-rpc-types.h-fix-musl-build.patch

16
make/target-libs.mk

@ -963,7 +963,7 @@ $(D)/librtmp: $(D)/zlib $(D)/openssl $(SOURCE_DIR)/$(NI-RTMPDUMP) | $(TARGET_DIR
# -----------------------------------------------------------------------------
LIBTIRPC_VER = 1.0.3
LIBTIRPC_VER = 1.1.4
LIBTIRPC_TMP = libtirpc-$(LIBTIRPC_VER)
LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VER).tar.bz2
LIBTIRPC_URL = https://sourceforge.net/projects/libtirpc/files/libtirpc/$(LIBTIRPC_VER)
@ -971,18 +971,18 @@ LIBTIRPC_URL = https://sourceforge.net/projects/libtirpc/files/libtirpc/$(LIB
$(ARCHIVE)/$(LIBTIRPC_SOURCE):
$(DOWNLOAD) $(LIBTIRPC_URL)/$(LIBTIRPC_SOURCE)
LIBTIRP_PATCH = libtirpc-0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
LIBTIRP_PATCH += libtirpc-0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch
LIBTIRP_PATCH += libtirpc-0003-Add-rpcgen-program-from-nfs-utils-sources.patch
LIBTIRP_PATCH += libtirpc-0004-Automatically-generate-XDR-header-files-from-.x-sour.patch
LIBTIRP_PATCH += libtirpc-0005-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch
LIBTIRP_PATCH += libtirpc-0006-Disable-DES-authentification-support.patch
LIBTIRP_PATCH = 0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
LIBTIRP_PATCH += 0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch
LIBTIRP_PATCH += 0003-Automatically-generate-XDR-header-files-from-.x-sour.patch
LIBTIRP_PATCH += 0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch
LIBTIRP_PATCH += 0005-Disable-DES-authentification-support.patch
LIBTIRP_PATCH += 0006-rpc-types.h-fix-musl-build.patch
$(D)/libtirpc: $(ARCHIVE)/$(LIBTIRPC_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(LIBTIRPC_TMP)
$(UNTAR)/$(LIBTIRPC_SOURCE)
$(CHDIR)/$(LIBTIRPC_TMP); \
$(call apply_patches, $(LIBTIRP_PATCH)); \
$(call apply_patches, $(addprefix $(notdir $@)/,$(LIBTIRP_PATCH))); \
autoreconf -fi; \
$(CONFIGURE) \
--target=$(TARGET) \

6508
patches/libtirpc-0003-Add-rpcgen-program-from-nfs-utils-sources.patch

File diff suppressed because it is too large

0
patches/libtirpc-0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch → patches/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch

0
patches/libtirpc-0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch → patches/libtirpc/0002-uClibc-without-RPC-support-and-musl-does-not-install-rpcent.h.patch

35
patches/libtirpc-0004-Automatically-generate-XDR-header-files-from-.x-sour.patch → patches/libtirpc/0003-Automatically-generate-XDR-header-files-from-.x-sour.patch

@ -1,4 +1,4 @@
From eba198c27f2b8d3f0b27ea4a42f3dc79d397440c Mon Sep 17 00:00:00 2001
From 001e3f26dc80b8f21bed7d9b5872fe10e8b4af04 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 10 Nov 2012 17:29:53 +0100
Subject: [PATCH] Automatically generate XDR header files from .x sources using
@ -8,21 +8,23 @@ Subject: [PATCH] Automatically generate XDR header files from .x sources using
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[yann.morin.1998@free.fr: update for 0.3.1]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[baruch: use external rpcgen]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Makefile.am | 19 +-
Makefile.am | 16 +-
src/Makefile.am | 2 +-
tirpc/rpc/rpcb_prot.h | 797 --------------------------------------------------
tirpc/rpcsvc/crypt.h | 109 -------
4 files changed, 17 insertions(+), 910 deletions(-)
tirpc/rpc/rpcb_prot.h | 797 ------------------------------------------
tirpc/rpcsvc/crypt.h | 109 ------
4 files changed, 14 insertions(+), 910 deletions(-)
delete mode 100644 tirpc/rpc/rpcb_prot.h
delete mode 100644 tirpc/rpcsvc/crypt.h
diff --git a/Makefile.am b/Makefile.am
index 8558289..aa5908e 100644
index 3f6063771faf..368fb8a1aed2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,9 @@
SUBDIRS = src man doc rpcgen
SUBDIRS = src man doc
ACLOCAL_AMFLAGS = -I m4
+GENFILES = tirpc/rpcsvc/crypt.h \
@ -39,7 +41,7 @@ index 8558289..aa5908e 100644
tirpc/rpc/xdr.h \
tirpc/rpc/types.h \
tirpc/rpc/svc_soc.h \
@@ -20,7 +22,6 @@ nobase_include_HEADERS = tirpc/netconfig.h \
@@ -21,7 +23,6 @@ nobase_include_HEADERS = tirpc/netconfig.h \
tirpc/rpc/rpcent.h \
tirpc/rpc/rpc_com.h \
tirpc/rpc/rpcb_prot.x \
@ -47,7 +49,7 @@ index 8558289..aa5908e 100644
tirpc/rpc/rpcb_clnt.h \
tirpc/rpc/raw.h \
tirpc/rpc/pmap_rmt.h \
@@ -51,5 +52,17 @@ endif
@@ -48,5 +49,14 @@ endif
pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA = libtirpc.pc
@ -55,19 +57,16 @@ index 8558289..aa5908e 100644
+nobase_nodist_include_HEADERS = $(GENFILES)
+BUILT_SOURCES = $(GENFILES)
+
+$(GENFILES): %.h: %.x $(top_builddir)/rpcgen/rpcgen
+$(GENFILES): %.h: %.x
+ mkdir -p $(dir $@)
+ $(top_builddir)/rpcgen/rpcgen -h -o $@ $<
+
+$(top_builddir)/rpcgen/rpcgen: force
+ cd rpcgen && $(MAKE)
+ rpcgen -h -o $@ $<
+
+force:
+
+CLEANFILES = cscope.* *~ $(GENFILES)
DISTCLEANFILES = Makefile.in libtirpc*.tar.gz
diff --git a/src/Makefile.am b/src/Makefile.am
index 7428e92..0356171 100644
index 2af40f16d03a..0b7e23835c36 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,7 +8,7 @@
@ -81,7 +80,7 @@ index 7428e92..0356171 100644
diff --git a/tirpc/rpc/rpcb_prot.h b/tirpc/rpc/rpcb_prot.h
deleted file mode 100644
index 7ae48b8..0000000
index 7ae48b805370..000000000000
--- a/tirpc/rpc/rpcb_prot.h
+++ /dev/null
@@ -1,797 +0,0 @@
@ -884,7 +883,7 @@ index 7ae48b8..0000000
-#endif /* !_RPCB_PROT_H_RPCGEN */
diff --git a/tirpc/rpcsvc/crypt.h b/tirpc/rpcsvc/crypt.h
deleted file mode 100644
index da1f9cc..0000000
index da1f9ccb56ea..000000000000
--- a/tirpc/rpcsvc/crypt.h
+++ /dev/null
@@ -1,109 +0,0 @@
@ -998,5 +997,5 @@ index da1f9cc..0000000
-
-#endif /* !_CRYPT_H_RPCGEN */
--
1.9.1
2.17.0

0
patches/libtirpc-0005-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch → patches/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch

0
patches/libtirpc-0006-Disable-DES-authentification-support.patch → patches/libtirpc/0005-Disable-DES-authentification-support.patch

31
patches/libtirpc/0006-rpc-types.h-fix-musl-build.patch

@ -0,0 +1,31 @@
From 238f0a870f577e8fffd92820e1c1a88d4fc6d35f Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 10 Jun 2018 19:48:21 +0200
Subject: [PATCH] rpc/types.h: fix musl build
Don't redefine existing typedef (u_char, u_long, ...) on musl
Fixes:
- http://autobuild.buildroot.net/results/dbc07e383605a84eb19a2fd1899668612212518a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
tirpc/rpc/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tirpc/rpc/types.h b/tirpc/rpc/types.h
index f069efa..0153a5c 100644
--- a/tirpc/rpc/types.h
+++ b/tirpc/rpc/types.h
@@ -66,7 +66,7 @@ typedef int32_t rpc_inline_t;
#define mem_free(ptr, bsize) free(ptr)
-#if defined __APPLE_CC__ || defined __FreeBSD__
+#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined (__GLIBC__)
# define __u_char_defined
# define __daddr_t_defined
#endif
--
2.14.1
Loading…
Cancel
Save