All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] nfs-utils: add host package
@ 2018-05-18 11:31 Baruch Siach
  2018-05-18 11:31 ` [Buildroot] [PATCH 2/4] quota: depend on host-nfs-utils Baruch Siach
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Baruch Siach @ 2018-05-18 11:31 UTC (permalink / raw)
  To: buildroot

We only need the host package for the rpcgen utility. glibc deprecated
this utility in version 2.26. Fedora has recently removed rpcgen from
its glibc package. So we need to build the rpcgen from the nfs-utils
package.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/nfs-utils/nfs-utils.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
index 26112d69f230..8100706c1505 100644
--- a/package/nfs-utils/nfs-utils.mk
+++ b/package/nfs-utils/nfs-utils.mk
@@ -24,6 +24,19 @@ NFS_UTILS_CONF_OPTS = \
 	--with-statedir=/run/nfs \
 	--with-rpcgen=internal
 
+HOST_NFS_UTILS_CONF_OPTS = \
+	--disable-nfsv4 \
+	--disable-nfsv41 \
+	--disable-gss \
+	--disable-uuid \
+	--disable-ipv6 \
+	--without-tcp-wrappers \
+	--with-statedir=/run/nfs \
+	--disable-caps \
+	--disable-tirpc \
+	--without-systemd \
+	--with-rpcgen=internal
+
 NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug
 NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd
 NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad
@@ -89,4 +102,9 @@ endef
 # nfsiostat is interpreted python, so remove it unless it's in the target
 NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON),,NFS_UTILS_REMOVE_NFSIOSTAT)
 
+define HOST_NFS_UTILS_INSTALL_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/tools/rpcgen/rpcgen $(HOST_DIR)/bin/rpcgen
+endef
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-06-17 14:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 11:31 [Buildroot] [PATCH 1/4] nfs-utils: add host package Baruch Siach
2018-05-18 11:31 ` [Buildroot] [PATCH 2/4] quota: depend on host-nfs-utils Baruch Siach
2018-06-17 14:55   ` Peter Korsgaard
2018-05-18 11:31 ` [Buildroot] [PATCH 3/4] samba4: " Baruch Siach
2018-06-17 14:55   ` Peter Korsgaard
2018-05-18 11:31 ` [Buildroot] [PATCH 4/4] autofs: " Baruch Siach
2018-06-17 14:55   ` Peter Korsgaard
2018-05-18 12:32 ` [Buildroot] [PATCH 1/4] nfs-utils: add host package Thomas Petazzoni
2018-05-18 12:33   ` Thomas Petazzoni
2018-05-19 10:44 ` Thomas Petazzoni
2018-05-21  6:07   ` Baruch Siach
2018-05-21  8:19     ` Thomas Petazzoni
2018-05-21  8:28       ` Baruch Siach
2018-05-21  8:32         ` Thomas Petazzoni
2018-05-21  8:58           ` Baruch Siach
2018-06-17 14:55 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.