]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- up to 2.1.1; systemd support needs cleanup auto/th/nfs-utils-2.1.1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 26 Oct 2017 10:54:52 +0000 (12:54 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 26 Oct 2017 10:54:52 +0000 (12:54 +0200)
nfs-utils-2.1.1-rpc-include.patch [new file with mode: 0644]
nfs-utils.spec

diff --git a/nfs-utils-2.1.1-rpc-include.patch b/nfs-utils-2.1.1-rpc-include.patch
new file mode 100644 (file)
index 0000000..5cf44f1
--- /dev/null
@@ -0,0 +1,20 @@
+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>
index c7bad5ef4d826ee1886a728c7f829fc3755755c8..17a3365bc60f91c9c2bc724401e1af28c436acea 100644 (file)
@@ -9,13 +9,12 @@ Summary(pt_BR.UTF-8): Os utilitários para o cliente e servidor NFS do Linux
 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
@@ -48,7 +47,8 @@ Patch2:               %{name}-subsys.patch
 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
@@ -188,6 +188,7 @@ Wspólne programy do obsługi NFS.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %{__libtoolize}
@@ -216,7 +217,8 @@ Wspólne programy do obsługi NFS.
        --with-start-statd=/sbin/start-statd \
        --with-tcp-wrappers \
        --without-gssglue \
-       --with-krb5
+       --with-krb5 \
+       --with-systemd
 
 %{__make} all
 
@@ -436,7 +438,9 @@ fi
 %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*
This page took 0.178174 seconds and 4 git commands to generate.