--- /dev/null
+commit ba03a02c2fd912f370e1f55de921a403bf5f9247
+Author: Steve Dickson <steved@redhat.com>
+Date: Thu Jun 22 12:56:41 2017 -0400
+
+ rpc.c: added include file so UINT16_MAX is defined.
+
+ Signed-off-by: Steve Dickson <steved@redhat.com>
+
+diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
+index 4e5f40e..0a8e56f 100644
+--- a/support/nsm/rpc.c
++++ b/support/nsm/rpc.c
+@@ -38,6 +38,7 @@
+ #include <sys/socket.h>
+ #include <sys/time.h>
+
++#include <stdint.h>
+ #include <time.h>
+ #include <stdbool.h>
+ #include <string.h>
Summary(ru.UTF-8): Утилиты для NFS и демоны поддержки для NFS-сервера ядра
Summary(uk.UTF-8): Утиліти для NFS та демони підтримки для NFS-сервера ядра
Name: nfs-utils
-Version: 1.3.4
-Release: 2
+Version: 2.1.1
+Release: 1
License: GPL v2
Group: Networking/Daemons
-#Source0: https://www.kernel.org/pub/linux/utils/nfs/%{name}-%{version}.tar.bz2
-Source0: http://downloads.sourceforge.net/nfs/%{name}-%{version}.tar.bz2
-# Source0-md5: 2fabdadb8ff415a1eafcfb12ab1bf781
+Source0: https://www.kernel.org/pub/linux/utils/nfs-utils/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 59dfcb2e6254b129f901f40c86086b13
#Source1: ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs.doc.tar.gz
Source1: nfs.doc.tar.gz
# Source1-md5: ae7db9c61c5ad04f83bb99e5caed73da
Patch3: %{name}-union-mount.patch
Patch4: %{name}-heimdal.patch
Patch5: %{name}-x32.patch
-URL: http://nfs.sourceforge.net/
+Patch6: nfs-utils-2.1.1-rpc-include.patch
+URL: http://linux-nfs.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: cpp
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%build
%{__libtoolize}
--with-start-statd=/sbin/start-statd \
--with-tcp-wrappers \
--without-gssglue \
- --with-krb5
+ --with-krb5 \
+ --with-systemd
%{__make} all
%config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/rmtab
%{_mandir}/man5/exports.5*
+%{_mandir}/man5/nfs.conf.5*
%{_mandir}/man7/nfsd.7*
+%{_mandir}/man7/nfs.systemd.7*
%{_mandir}/man8/exportfs.8*
%{_mandir}/man8/mountd.8*
%{_mandir}/man8/nfsd.8*