Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
83 lines
2.1 KiB
Makefile
83 lines
2.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rpcbind
|
|
PKG_VERSION:=1.2.6
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_URL:=@SF/rpcbind
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_HASH:=5613746489cae5ae23a443bb85c05a11741a5f12c8f55d2bb5e83b9defeee8de
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_CPE_ID:=cpe:/a:rpcbind_project:rpcbind
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
PKG_REMOVE_FILES:=autogen.sh aclocal.m4
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
CONFIG_RPCBIND_LIBWRAP \
|
|
CONFIG_RPCBIND_RMTCALLS
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/rpcbind
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+libtirpc +RPCBIND_LIBWRAP:libwrap
|
|
TITLE:=Universal addresses to RPC mapper
|
|
URL:=http://rpcbind.sourceforge.net/
|
|
USERID:=rpc=65533:rpc=65533
|
|
endef
|
|
|
|
define Package/rpcbind/description
|
|
The rpcbind utility is a server that converts RPC program numbers into universal addresses.
|
|
It must be running on the host to be able to make RPC calls on a server on that machine.
|
|
|
|
Rpcbind replaces portmap for NFS v2/v3. It has more features, like ipv6 support.
|
|
Note: Nfs4 only configurations can run without it.
|
|
endef
|
|
|
|
define Package/rpcbind/config
|
|
if PACKAGE_rpcbind
|
|
config RPCBIND_LIBWRAP
|
|
bool "Enable libwrap (TCP wrappers) support."
|
|
default y
|
|
config RPCBIND_RMTCALLS
|
|
bool "Enable broadcast discovery support of rpc services."
|
|
help
|
|
Services such as Kodi (via libnfs) use this functionality to discover available NFS shares on the network.
|
|
default y
|
|
|
|
|
|
endif
|
|
endef
|
|
|
|
CONFIGURE_ARGS += \
|
|
--with-rpcuser=rpc \
|
|
--without-systemdsystemunitdir \
|
|
--enable-warmstarts
|
|
|
|
ifeq ($(CONFIG_RPCBIND_LIBWRAP),y)
|
|
CONFIGURE_ARGS += --enable-libwrap
|
|
else
|
|
CONFIGURE_ARGS += --disable-libwrap
|
|
endif
|
|
|
|
ifeq ($(CONFIG_RPCBIND_RMTCALLS),y)
|
|
CONFIGURE_ARGS += --enable-rmtcalls
|
|
else
|
|
CONFIGURE_ARGS += --disable-rmtcalls
|
|
endif
|
|
|
|
|
|
define Package/rpcbind/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rpcinfo $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rpcbind $(1)/usr/sbin/
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/rpcbind.init $(1)/etc/init.d/rpcbind
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,rpcbind))
|