|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=nfs-kernel-server |
|
|
PKG_NAME:=nfs-kernel-server |
|
|
PKG_VERSION:=2.3.2 |
|
|
PKG_VERSION:=2.3.2 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
PKG_HASH:=1748a046e452ceb2285cc07b61ec0f85af7c92ac443e111a6c8a1061254ca717 |
|
|
PKG_HASH:=1748a046e452ceb2285cc07b61ec0f85af7c92ac443e111a6c8a1061254ca717 |
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=@SF/nfs |
|
|
PKG_SOURCE_URL:=@SF/nfs |
|
@ -19,6 +19,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/nfs-utils-$(PKG_VERSION) |
|
|
PKG_INSTALL:=1 |
|
|
PKG_INSTALL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_DEPENDS:=$(PKG_NAME)/host |
|
|
PKG_BUILD_DEPENDS:=$(PKG_NAME)/host |
|
|
|
|
|
HOST_BUILD_DEPENDS:=libtirpc/host |
|
|
|
|
|
PKG_CONFIG_DEPENDS:= CONFIG_IPV6 |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk |
|
|
include $(INCLUDE_DIR)/host-build.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
@ -27,7 +29,7 @@ define Package/nfs-kernel-server/Default |
|
|
SECTION:=net |
|
|
SECTION:=net |
|
|
CATEGORY:=Network |
|
|
CATEGORY:=Network |
|
|
SUBMENU:=Filesystem |
|
|
SUBMENU:=Filesystem |
|
|
DEPENDS:=+libwrap +libblkid +libuuid $(LIBRPC_DEPENDS) |
|
|
|
|
|
|
|
|
DEPENDS:=+libwrap +libblkid +libuuid +libtirpc |
|
|
URL:=http://nfs.sourceforge.net/ |
|
|
URL:=http://nfs.sourceforge.net/ |
|
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at> |
|
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at> |
|
|
endef |
|
|
endef |
|
@ -35,7 +37,7 @@ endef |
|
|
define Package/nfs-kernel-server |
|
|
define Package/nfs-kernel-server |
|
|
$(call Package/nfs-kernel-server/Default) |
|
|
$(call Package/nfs-kernel-server/Default) |
|
|
TITLE:=Kernel NFS server support |
|
|
TITLE:=Kernel NFS server support |
|
|
DEPENDS+= +kmod-fs-nfsd +kmod-fs-nfs +portmap |
|
|
|
|
|
|
|
|
DEPENDS+= +kmod-fs-nfsd +kmod-fs-nfs +rpcbind |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nfs-kernel-server/description |
|
|
define Package/nfs-kernel-server/description |
|
@ -60,7 +62,7 @@ define Package/nfs-utils |
|
|
$(call Package/nfs-kernel-server/Default) |
|
|
$(call Package/nfs-kernel-server/Default) |
|
|
SECTION:=utils |
|
|
SECTION:=utils |
|
|
CATEGORY:=Utilities |
|
|
CATEGORY:=Utilities |
|
|
DEPENDS+= +libevent2 +USE_UCLIBC:librpc |
|
|
|
|
|
|
|
|
DEPENDS+= +libevent2 |
|
|
TITLE:=updated mount utility (includes nfs4) |
|
|
TITLE:=updated mount utility (includes nfs4) |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -75,18 +77,20 @@ TARGET_CFLAGS += -Wno-error=implicit-function-declaration \ |
|
|
-Wno-error=undef \
|
|
|
-Wno-error=undef \
|
|
|
-Wno-error=missing-include-dirs |
|
|
-Wno-error=missing-include-dirs |
|
|
|
|
|
|
|
|
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(LIBRPC) \
|
|
|
|
|
|
|
|
|
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
|
-L$(STAGING_DIR)/usr/lib/libevent |
|
|
-L$(STAGING_DIR)/usr/lib/libevent |
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--disable-gss \
|
|
|
--disable-gss \
|
|
|
--disable-nfsv4 \
|
|
|
--disable-nfsv4 \
|
|
|
--disable-nfsv41 \
|
|
|
--disable-nfsv41 \
|
|
|
--disable-ipv6 \
|
|
|
|
|
|
--enable-static \
|
|
|
--enable-static \
|
|
|
--enable-shared \
|
|
|
--enable-shared \
|
|
|
--disable-caps \
|
|
|
|
|
|
--disable-tirpc |
|
|
|
|
|
|
|
|
--disable-caps |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_IPV6),n) |
|
|
|
|
|
CONFIGURE_ARGS += --disable-ipv6 |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
|
|
CONFIGURE_VARS += \
|
|
|
libblkid_cv_is_recent=yes \
|
|
|
libblkid_cv_is_recent=yes \
|
|
@ -108,8 +112,6 @@ HOST_CONFIGURE_ARGS += \ |
|
|
--disable-gss \
|
|
|
--disable-gss \
|
|
|
--disable-nfsv4 \
|
|
|
--disable-nfsv4 \
|
|
|
--disable-nfsv41 \
|
|
|
--disable-nfsv41 \
|
|
|
--disable-ipv6 \
|
|
|
|
|
|
--disable-tirpc \
|
|
|
|
|
|
--without-tcp-wrappers |
|
|
--without-tcp-wrappers |
|
|
|
|
|
|
|
|
HOST_CONFIGURE_VARS += \
|
|
|
HOST_CONFIGURE_VARS += \
|
|
|