summaryrefslogtreecommitdiff
path: root/source/n/nfs-utils
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-10-26 20:24:28 +0000
committerEric Hameleers <alien@slackware.com>2020-10-27 08:59:49 +0100
commit97a24c03c221f9da261a733691167dd1c701e823 (patch)
tree1d5d60b00e3762b909bf8051e66b227b7f338afb /source/n/nfs-utils
parent7e354ebac35f9b1630bc52a2019fe095d3fb3f25 (diff)
downloadcurrent-97a24c03c221f9da261a733691167dd1c701e823.tar.gz
Mon Oct 26 20:24:28 UTC 202020201026202428
l/libbluray-1.2.1-x86_64-1.txz: Upgraded. n/libassuan-2.5.4-x86_64-1.txz: Upgraded. n/nfs-utils-2.5.2-x86_64-2.txz: Rebuilt. Comment out debugging lines from exportfs.c, probably left in by mistake. Thanks to upnort. x/libva-2.9.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/nfs-utils')
-rwxr-xr-xsource/n/nfs-utils/nfs-utils.SlackBuild4
-rw-r--r--source/n/nfs-utils/nfs-utils.exportfs.comment.out.debugging.spew.diff24
2 files changed, 27 insertions, 1 deletions
diff --git a/source/n/nfs-utils/nfs-utils.SlackBuild b/source/n/nfs-utils/nfs-utils.SlackBuild
index f8de1a31..1a28d50f 100755
--- a/source/n/nfs-utils/nfs-utils.SlackBuild
+++ b/source/n/nfs-utils/nfs-utils.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nfs-utils
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -94,6 +94,8 @@ cd nfs-utils-$VERSION || exit 1
zcat $CWD/nfs-utils.lwrap.needs.lnsl.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/nfs-utils.exportfs.comment.out.debugging.spew.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/source/n/nfs-utils/nfs-utils.exportfs.comment.out.debugging.spew.diff b/source/n/nfs-utils/nfs-utils.exportfs.comment.out.debugging.spew.diff
new file mode 100644
index 00000000..22b01851
--- /dev/null
+++ b/source/n/nfs-utils/nfs-utils.exportfs.comment.out.debugging.spew.diff
@@ -0,0 +1,24 @@
+--- ./utils/exportfs/exportfs.c.orig 2020-10-21 08:15:26.000000000 -0500
++++ ./utils/exportfs/exportfs.c 2020-10-26 14:59:29.733988620 -0500
+@@ -176,10 +176,10 @@
+ xlog(L_ERROR, "-r and -u are incompatible");
+ return 1;
+ }
+-printf("point 1\n");
++/* printf("point 1\n"); */
+ if (!setup_state_path_names(progname, ETAB, ETABTMP, ETABLCK, &etab))
+ return 1;
+-printf("point 2\n");
++/* printf("point 2\n"); */
+ if (optind == argc && ! f_all) {
+ if (force_flush) {
+ cache_flush(1);
+@@ -193,7 +193,7 @@
+ return 0;
+ }
+ }
+-printf("point 3\n");
++/* printf("point 3\n"); */
+
+ /*
+ * Serialize things as best we can