Files
bpfire/lfs/nfs
Adolf Belka a2a05a4706 nfs: Update to version 2.6.1
- Update from version 2.5.3 to 2.6.1
- Update of rootfile not required
- Changelog is not available in the source tarball or on the website. Follwoing list of
   changes obtained from git shortlog listing
    Release: 2.6.1 nfs-utils-2-6-1
	mount: removed unused lable
	tools/rpcgen: fix build on macos arm64 (stat64 issue)
	mount: Remove NFS v2 support from mount.nfs
	nfs.man: Remove references to NFS v2 from the man pages
	nfsd: Remove the ability to enable NFS v2.
	mount: don't bind a socket needlessly.
	Add --disable-sbin-override for when /sbin is a symlink
	mountstats: division by zero error on new mount when...
	mountd: only do NFSv4 logging on supported kernels.
	Move version.h into a common include directory
	install-dep: Use command -v instead of which
	nfs.man: adding new mount option max_connect
	cacheio.c:216:21: warning: unused variable 'stb' [...
	gssd: fix crash in debug message.
	systemd generators: Install depending on location for...
	systemd/Makefile: Drop exlicit setting of unit_dir
	nfs-utils: add install-dep for installing all dependencies
	nfs-utils: Fix mem leak in mountd
	nfs-utils: Fix mem leaks in krb5_util
	nfs-utils: Fix mem leaks in gssd
	nfs-utils: Fix potential memory leaks in idmap
	nfsdcltrack: Use uint64_t instead of time_t
	systemd: Fix non-default statedir paths.
	nfsdcltrack/nfsdcltrack.c: Fix printf format
	nfsdcltrack/sqlite: Fix printf format
	mount.nfs: Fix the sloppy option processing
    Release: 2.5.4
	gssd: Cleaned up debug messages
	mount.nfs: insert 'sloppy' at beginning of the options
	nfs(5): Correct the spelling of "kernel_source"
	nfs(5): Fix missing mentions of "rdma6" netid
	gssd: add timeout for upcall threads
	gssd: deal with failed thread creation
	configure: check for rpc/rpc.h presence
	README: update git repository URL
	Move declaration of etab and rmtab into libraries
	Remove 'force' arg from cache_flush()
	Fix NFSv4 export of tmpfs filesystems
	gssd: use mutex to protect decrement of refcount
	nfs-utils: Enable the retrieval of raw config settings...
	nfs-utils: Factor out common structure cleanup calls
	Replace all /var/run with /run
	Fix `statx()` emulation breaking exports
	mountd/exports: Fix typo in the man page
	NFS server should enable RDMA by default
	mountd/exportd: only log confirmed clients, and poll...
	exportfs: fix unexporting of '/'
	nfsdclnts: Ignore SIGPIPE signal
	mountd: add logging of NFSv4 clients attaching and...
	mountd: make default ttl settable by option
	mountd: add --cache-use-ipaddr option to force use_ipaddr
	mountd: add logging for authentication results for...
	mountd/exports: update man page
	mountd: Don't proactively add export info when fh info...
	mountd: reject unknown client IP when !use_ipaddr.
	gssd: Add options to rpc.gssd to allow for the use...
	exportd: server-side gid management

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-29 21:09:36 +00:00

107 lines
3.7 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = Support Utilities for Kernel nfsd
VER = 2.6.1
THISAPP = nfs-utils-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = nfs
PAK_VER = 17
DEPS = rpcbind
SERVICES = nfs-server
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = fe6ec58b4c0def75a43f40a581a9d67d25ee2e6979f41da87453661b33460b99744e1799d6b1a3ef026027cafb1aae8a954cc6449d3eb77eee494fe72804751d
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-gss \
--without-tcp-wrappers \
--disable-ipv6
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
# Install initscript
$(call INSTALL_INITSCRIPTS,$(SERVICES))
# Install configuration
mkdir -pv $(CONFIG_ROOT)/nfs
install -v -m 644 $(DIR_SRC)/config/cfgroot/nfs-server $(CONFIG_ROOT)/nfs/nfs-server
# Install backup include
install -v -m 644 $(DIR_SRC)/config/backup/includes/nfs \
/var/ipfire/backup/addons/includes/nfs
@rm -rf $(DIR_APP)
@$(POSTBUILD)