Files
bpfire/lfs/nfs
Adolf Belka 0422f3fc52 nfs: Update to 2.5.3
- Update from 2.5.1 to 2.5.3
- No update to rootfile required
- Changelog
   Changelog for each version has around 500 lines so there is too much to
    put here. The full change logs for each version can be found at
    https://sourceforge.net/projects/nfs/files/nfs-utils/
   Two bug fixes in 2.5.2 and four in 2.5.3 as follows
    Author: Steve Dickson <steved@redhat.com>
    Date:   Tue Feb 2 11:02:47 2021 -0500
      mount: fix parsing of default options
      A recent patch to change configfile.c to use parse_opt.c contained code
      which was intended to remove all "default*" options from the list before
      that could be passed to the kernel.  This code didn't work, so default*
      options WERE passed to the kernel, and the kernel complained and failed
      the mount attempt.
      A more recent patch attempted to fix this by not including the
      "default*" options in the option list at all.  This resulting in
      global-default defaults over-riding per-mount or per-server defaults.
      This patch reverse the "more recent" patch, and fixes the original patch
      by providing correct code to remove all "default*" options before the
      kernel can see them.
       Fixes: 88c22f924f1b ("mount: convert configfile.c to use parse_opt.c")
       Fixes: 8142542bda28 ("mount: parse default values correctly")
    Author: Steve Dickson <steved@redhat.com>
    Date:   Wed Jan 6 13:12:12 2021 -0500
      mount: parse default values correctly
      Commit 88c22f92 converted the configfile.c routines
      to use the parse_opt interfaces which broke how
      default values from nfsmount.conf are managed.
      Default values can not be added to the mount string
      handed to the kernel. They must be interpreted into
      the correct mount options then passed to the kernel.
       Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1912877
    Author: Steve Dickson <steved@redhat.com>
    Date:   Mon Nov 9 14:34:15 2020 -0500
      nfs-v4client.target: NFSv4 only client target.
      To allow v4 only clients, create an systemd
      nfs-client target that does not "Wants" a
      rpc-statd notify
       Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1886634
    Author: Steve Dickson <steved@redhat.com>
    Date:   Fri Sep 4 14:15:53 2020 -0400
      rpc.idmapd: Do not free config variables
      Commit 93e8f092e added a conf_cleanup() call to clean
      up memory after the config file was parsed. It turns
      out that memory still needed and it is not very much
      so the call is removed.
       Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1873965
    Author: Steve Dickson <steved@redhat.com>
    Date:   Wed Aug 5 14:59:23 2020 -0400
      rpc.idmapd: Turn down the verbosity in flush_inotify()
      Commit 27a8e146 introduce a debugging message
      that was not cover by a check if verbose
      is set, which cause a large number of message
      to be logged on every kerberos mount
       Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1867172

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-22 10:42:26 +00:00

103 lines
3.6 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
VER = 2.5.3
THISAPP = nfs-utils-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = nfs
PAK_VER = 15
DEPS = libnfsidmap rpcbind
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = dd8100f51bf838f2a396c86163c9a0e3
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# 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_INITSCRIPT,nfs-server)
# 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)