summaryrefslogtreecommitdiff
path: root/net/rpcbind/Makefile
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2019-03-27 13:18:26 +0100
committerAndy Walsh <andy.walsh44+github@gmail.com>2019-03-27 13:18:26 +0100
commit9dafa4324c0f2fdbb3d48136cb9617cc2c0d9f44 (patch)
treeadfd154c2fcd6a391a6fefea8c5d515943a8adc4 /net/rpcbind/Makefile
parent4f1e48001fcfb7127b2756308ed0ab39fb83c989 (diff)
rpcbind: fix warmstart option, CVE-2017-8779
* always build with warmstart options * fix CVE-2017-8779 Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Diffstat (limited to 'net/rpcbind/Makefile')
-rw-r--r--net/rpcbind/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/net/rpcbind/Makefile b/net/rpcbind/Makefile
index 434f7a974..24d31d20c 100644
--- a/net/rpcbind/Makefile
+++ b/net/rpcbind/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rpcbind
PKG_VERSION:=1.2.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_URL:=@SF/rpcbind
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -16,8 +16,7 @@ PKG_REMOVE_FILES:=autogen.sh aclocal.m4
PKG_INSTALL:=1
PKG_CONFIG_DEPENDS:= \
- CONFIG_RPCBIND_LIBWRAP \
- CONFIG_RPCBIND_WARMSTARTS
+ CONFIG_RPCBIND_LIBWRAP
include $(INCLUDE_DIR)/package.mk
@@ -43,27 +42,19 @@ if PACKAGE_rpcbind
config RPCBIND_LIBWRAP
bool "Enable libwrap (TCP wrappers) support."
default y
-
- config RPCBIND_WARMSTARTS
- bool "Enable warmstarts support"
- default y
- help
- The warmstart feature saves RPC registrations on termination.
endif
endef
CONFIGURE_ARGS += \
--with-rpcuser=rpc \
- --without-systemdsystemunitdir
+ --without-systemdsystemunitdir \
+ --enable-warmstarts
ifeq ($(CONFIG_RPCBIND_LIBWRAP),y)
CONFIGURE_ARGS += --enable-libwrap
else
CONFIGURE_ARGS += --disable-libwrap
endif
-ifeq ($(CONFIG_RPCBIND_WARMSTARTS),y)
- CONFIGURE_ARGS += --enable-warmstarts
-endif
define Package/rpcbind/install
$(INSTALL_DIR) $(1)/usr/bin