Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
add_priv_user nfs:daemon && | ||
add_priv_user nfs:daemon && | ||
|
||
# please DO NOT remove --disable-tirpc even if ./configure shows | ||
# no such option - it works, and without that there's a bug and | ||
# thus rpc.mountd is not starting... <wdp@lunar-linux.org> | ||
./configure --prefix=/usr \ | ||
--mandir=/usr/share/man \ | ||
--disable-tirpc \ | ||
--disable-gss \ | ||
--without-tcp-wrappers \ | ||
$OPTS && | ||
# | ||
# it does not compile with it for ipv6 support <florin@lunar-linux.org> | ||
# | ||
if [ "$NO_IPV6" == "y" ]; then | ||
OPTS+=" --disable-tirpc" | ||
else | ||
OPTS+=" --enable-ipv6" | ||
fi && | ||
|
||
default_make && | ||
./configure --prefix=/usr \ | ||
--mandir=/usr/share/man \ | ||
--disable-gss \ | ||
--without-tcp-wrappers \ | ||
$OPTS && | ||
|
||
default_make && | ||
|
||
# install all auxiliary service files directly | ||
for f in nfs-blkmap.service nfs-config.service nfs-idmapd.service \ | ||
nfs-mountd.service nfs-utils.service proc-fs-nfsd.mount \ | ||
rpc-gssd.service rpc-statd-notify rpc-statd.service \ | ||
rpc-svcgssd.service var-lib-nfs-rpc_pipefs.mount; do | ||
for f in nfs-blkmap.service nfs-config.service nfs-idmapd.service \ | ||
nfs-mountd.service nfs-utils.service proc-fs-nfsd.mount \ | ||
rpc-gssd.service rpc-statd-notify.service rpc-statd.service \ | ||
rpc-svcgssd.service var-lib-nfs-rpc_pipefs.mount; do | ||
install -Dm0644 "systemd/$f" "/usr/lib/systemd/system/$f" | ||
done && | ||
|
||
devoke_installwatch && | ||
devoke_installwatch && | ||
chown -R nfs:daemon /var/lib/nfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mquery NO_IPV6 "Disable ipv6 support?" n " --disable-ipv6" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters