2007-01-14 02:46:04 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# nfs-utils
|
|
|
|
#
|
|
|
|
#############################################################
|
2012-05-29 20:13:21 +02:00
|
|
|
|
|
|
|
NFS_UTILS_VERSION = 1.2.6
|
2011-02-20 22:39:04 +01:00
|
|
|
NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.bz2
|
2012-08-26 01:52:48 +02:00
|
|
|
NFS_UTILS_SITE = http://downloads.sourceforge.net/project/nfs/nfs-utils/$(NFS_UTILS_VERSION)
|
2012-05-29 20:13:21 +02:00
|
|
|
NFS_UTILS_AUTORECONF = YES
|
2012-10-22 17:47:52 +02:00
|
|
|
NFS_UTILS_DEPENDENCIES = host-pkgconf
|
2007-01-14 02:46:04 +01:00
|
|
|
|
2011-02-20 22:39:04 +01:00
|
|
|
NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no
|
2007-01-22 16:56:42 +01:00
|
|
|
|
2011-02-20 22:39:04 +01:00
|
|
|
NFS_UTILS_CONF_OPT = \
|
2007-01-14 02:46:04 +01:00
|
|
|
--disable-nfsv4 \
|
2012-05-29 20:13:21 +02:00
|
|
|
--disable-nfsv41 \
|
2007-01-14 02:46:04 +01:00
|
|
|
--disable-gss \
|
2011-02-20 22:39:04 +01:00
|
|
|
--disable-uuid \
|
2012-04-25 22:29:34 +02:00
|
|
|
--disable-ipv6 \
|
2011-02-20 22:39:04 +01:00
|
|
|
--without-tcp-wrappers \
|
|
|
|
--with-rpcgen=internal
|
2007-01-14 02:46:04 +01:00
|
|
|
|
2007-08-22 14:35:41 +02:00
|
|
|
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
|
2007-01-14 02:46:04 +01:00
|
|
|
|
2012-11-04 08:34:13 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
|
|
NFS_UTILS_CONF_OPT += --enable-tirpc --with-tirpcinclude=$(STAGING_DIR)/usr/include/tirpc/
|
|
|
|
NFS_UTILS_DEPENDENCIES += libtirpc
|
|
|
|
else
|
|
|
|
NFS_UTILS_CONF_OPT += --disable-tirpc
|
|
|
|
endif
|
|
|
|
|
2011-02-20 22:39:04 +01:00
|
|
|
define NFS_UTILS_INSTALL_FIXUP
|
|
|
|
$(INSTALL) -m 0755 package/nfs-utils/S60nfs \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S60nfs
|
|
|
|
rm -f $(NFS_UTILS_TARGETS_)
|
|
|
|
endef
|
2007-01-14 02:46:04 +01:00
|
|
|
|
2012-05-29 20:13:21 +02:00
|
|
|
define NFS_UTILS_REMOVE_NFSIOSTAT
|
|
|
|
rm -f $(TARGET_DIR)/usr/sbin/nfsiostat
|
|
|
|
endef
|
|
|
|
|
2011-02-20 22:39:04 +01:00
|
|
|
NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
|
2007-01-14 02:46:04 +01:00
|
|
|
|
2012-05-29 20:13:21 +02:00
|
|
|
# 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)
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|