|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=rpcbind |
|
|
PKG_NAME:=rpcbind |
|
|
PKG_VERSION:=1.2.5 |
|
|
PKG_VERSION:=1.2.5 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=@SF/rpcbind |
|
|
PKG_SOURCE_URL:=@SF/rpcbind |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
@ -16,8 +16,7 @@ PKG_REMOVE_FILES:=autogen.sh aclocal.m4 |
|
|
PKG_INSTALL:=1 |
|
|
PKG_INSTALL:=1 |
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
|
CONFIG_RPCBIND_LIBWRAP \
|
|
|
|
|
|
CONFIG_RPCBIND_WARMSTARTS |
|
|
|
|
|
|
|
|
CONFIG_RPCBIND_LIBWRAP |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
@ -43,27 +42,19 @@ if PACKAGE_rpcbind |
|
|
config RPCBIND_LIBWRAP |
|
|
config RPCBIND_LIBWRAP |
|
|
bool "Enable libwrap (TCP wrappers) support." |
|
|
bool "Enable libwrap (TCP wrappers) support." |
|
|
default y |
|
|
default y |
|
|
|
|
|
|
|
|
config RPCBIND_WARMSTARTS |
|
|
|
|
|
bool "Enable warmstarts support" |
|
|
|
|
|
default y |
|
|
|
|
|
help |
|
|
|
|
|
The warmstart feature saves RPC registrations on termination. |
|
|
|
|
|
endif |
|
|
endif |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--with-rpcuser=rpc \
|
|
|
--with-rpcuser=rpc \
|
|
|
--without-systemdsystemunitdir |
|
|
|
|
|
|
|
|
--without-systemdsystemunitdir \
|
|
|
|
|
|
--enable-warmstarts |
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_RPCBIND_LIBWRAP),y) |
|
|
ifeq ($(CONFIG_RPCBIND_LIBWRAP),y) |
|
|
CONFIGURE_ARGS += --enable-libwrap |
|
|
CONFIGURE_ARGS += --enable-libwrap |
|
|
else |
|
|
else |
|
|
CONFIGURE_ARGS += --disable-libwrap |
|
|
CONFIGURE_ARGS += --disable-libwrap |
|
|
endif |
|
|
endif |
|
|
ifeq ($(CONFIG_RPCBIND_WARMSTARTS),y) |
|
|
|
|
|
CONFIGURE_ARGS += --enable-warmstarts |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
define Package/rpcbind/install |
|
|
define Package/rpcbind/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|