]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - nfs-utils/nfs-utils.nm
nfs-utils: Update to 2.6.2
[ipfire-3.x.git] / nfs-utils / nfs-utils.nm
index 07ac64ce143bab0f401addaf6e265ad6d6f36dbc..f703bf53abfd5c1afe6a4c0b26fcdad27b7adf54 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = nfs-utils
-version    = 1.3.3
+version    = 2.6.2
 release    = 1
 
 groups     = Networking/Tools
@@ -36,13 +36,14 @@ build
                libcap-devel
                libevent-devel
                libgssglue-devel >= 0.3
+               libkeyutils-devel
                libmount-devel
-               libnfsidmap-devel
                libtirpc-devel
                libtool
+               rpcsvc-proto
                shadow-utils
                sqlite-devel
-               systemd-units
+               systemd-devel
        end
 
        configure_options += \
@@ -50,9 +51,16 @@ build
                --enable-libmount-mount \
                --enable-mountconfig \
                --enable-ipv6 \
-               --with-statdpath=/var/lib/nfs/statd
+               --enable-gss \
+               --with-statedir=/var/lib/nfs \
+               --with-statdpath=/var/lib/nfs/statd \
+               --with-start-statd=/usr/bin/start-statd \
+               --with-systemd
 
        prepare_cmds
+               # Install utils into correct place.
+               sed -i "s|sbindir = /sbin|sbindir = /usr/bin|g" utils/*/Makefile.am
+
                sh autogen.sh
 
                %{create_user}
@@ -96,7 +104,6 @@ packages
                end
 
                requires
-                       libnfsidmap >= 0.25
                        quota
                        rpcbind
                        util-linux
@@ -126,6 +133,14 @@ packages
                end
        end
 
+       package libnfsidmap
+               template LIBS
+       end
+
+       package libnfsidmap-devel
+               template DEVEL
+       end
+
        package %{name}-debuginfo
                template DEBUGINFO
        end