nfs-utils

This commit is contained in:
Rmys
2023-01-08 14:55:08 +03:00
committed by GitHub
parent 7cdc971b2a
commit f5c43ecfd8
2 changed files with 9 additions and 4 deletions
+4 -1
View File
@@ -13,6 +13,9 @@ shelltools.export("CFLAGS","%s -fpie -D_FILE_OFFSET_BITS=64" % get.CFLAGS())
shelltools.export("LDFLAGS","%s -pie" % get.LDFLAGS()) shelltools.export("LDFLAGS","%s -pie" % get.LDFLAGS())
def setup(): def setup():
shelltools.system("sed -i 's|/usr/lib/udev/rules.d/|/lib/udev/rules.d/|g' tools/nfsrahead/Makefile.in")
shelltools.system("sed -i 's|/usr/lib/udev/rules.d/|/lib/udev/rules.d/|g' tools/nfsrahead/Makefile.am")
autotools.autoreconf("-vfi") autotools.autoreconf("-vfi")
autotools.configure("--enable-mountconfig \ autotools.configure("--enable-mountconfig \
--enable-ipv6 \ --enable-ipv6 \
@@ -20,7 +23,7 @@ def setup():
--enable-nfsv4 \ --enable-nfsv4 \
--enable-gss \ --enable-gss \
--with-krb5=/usr \ --with-krb5=/usr \
--libexecdir=/usr/lib \ --with-modprobedir=/etc/modprobe.d \
--with-statedir=/var/lib/nfs") --with-statedir=/var/lib/nfs")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
+5 -3
View File
@@ -28,6 +28,8 @@
<Dependency>libutil-linux-devel</Dependency> <Dependency>libutil-linux-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<!-- <Patch level="1">nfs-utils-1.2.1-statdpath-man.patch</Patch> -->
<!-- <Patch level="1">nfs-utils-1.2.1-exp-subtree-warn-off.patch</Patch> -->
<!-- <Patch level></Patch> --> <!-- <Patch level></Patch> -->
</Patches> </Patches>
</Source> </Source>
@@ -52,15 +54,15 @@
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="config">/etc/exports</Path> <Path fileType="config">/etc/exports</Path>
<Path fileType="config">/etc/modprobe.d/50-nfs.conf</Path>
<Path fileType="config">/etc/gssapi_mech.conf</Path> <Path fileType="config">/etc/gssapi_mech.conf</Path>
<Path fileType="config">/etc/nfsmount.conf</Path> <Path fileType="config">/etc/nfsmount.conf</Path>
<Path fileType="config">/etc/conf.d/nfs</Path> <Path fileType="config">/etc/conf.d/nfs</Path>
<Path fileType="config">/usr/lib/modprobe.d/50-nfs.conf</Path>
<Path fileType="library">/usr/lib/nfsrahead</Path>
<Path fileType="library">/usr/lib/udev/rules.d/99-nfs.rules</Path>
<Path fileType="executable">/usr/sbin</Path> <Path fileType="executable">/usr/sbin</Path>
<Path fileType="executable">/sbin</Path> <Path fileType="executable">/sbin</Path>
<Path fileType="executable">/usr/libexec/nfsrahead</Path>
<Path fileType="library">/var/lib</Path> <Path fileType="library">/var/lib</Path>
<Path fileType="library">/lib/udev/rules.d</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>