Blame SOURCES/nfs-utils-2.3.3-nfsdclddb-rename.patch

6f21ac
commit 77d053e4881664e7dbbc3bbb9a242af005598e95
6f21ac
Author: Steve Dickson <steved@redhat.com>
6f21ac
Date:   Wed May 13 12:22:41 2020 -0400
6f21ac
6f21ac
    nfsdclddb: Redname clddb-tool to nfsdclddb
6f21ac
    
6f21ac
    To try to maintain some type of name convention
6f21ac
    rename clddb-tool to nfsdclddb
6f21ac
    
6f21ac
    Signed-off-by: Steve Dickson <steved@redhat.com>
6f21ac
6f21ac
diff --git a/configure.ac b/configure.ac
6f21ac
index df88e58..0b1c8cc 100644
6f21ac
--- a/configure.ac
6f21ac
+++ b/configure.ac
6f21ac
@@ -695,7 +695,7 @@ AC_CONFIG_FILES([
6f21ac
 	tools/mountstats/Makefile
6f21ac
 	tools/nfs-iostat/Makefile
6f21ac
 	tools/nfsconf/Makefile
6f21ac
-	tools/clddb-tool/Makefile
6f21ac
+	tools/nfsdclddb/Makefile
6f21ac
 	utils/Makefile
6f21ac
 	utils/blkmapd/Makefile
6f21ac
 	utils/nfsdcld/Makefile
6f21ac
diff --git a/tools/Makefile.am b/tools/Makefile.am
6f21ac
index 53e6117..432d35d 100644
6f21ac
--- a/tools/Makefile.am
6f21ac
+++ b/tools/Makefile.am
6f21ac
@@ -9,7 +9,7 @@ endif
6f21ac
 OPTDIRS += nfsconf
6f21ac
 
6f21ac
 if CONFIG_NFSDCLD
6f21ac
-OPTDIRS += clddb-tool
6f21ac
+OPTDIRS += nfsdclddb
6f21ac
 endif
6f21ac
 
6f21ac
 SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat $(OPTDIRS)
6f21ac
diff --git a/tools/clddb-tool/Makefile.am b/tools/nfsdclddb/Makefile.am
6f21ac
similarity index 60%
6f21ac
rename from tools/clddb-tool/Makefile.am
6f21ac
rename to tools/nfsdclddb/Makefile.am
6f21ac
index 15a8fd4..18263fb 100644
6f21ac
--- a/tools/clddb-tool/Makefile.am
6f21ac
+++ b/tools/nfsdclddb/Makefile.am
6f21ac
@@ -1,13 +1,13 @@
6f21ac
 ## Process this file with automake to produce Makefile.in
6f21ac
-PYTHON_FILES =  clddb-tool.py
6f21ac
+PYTHON_FILES =  nfsdclddb.py
6f21ac
 
6f21ac
-man8_MANS	= clddb-tool.man
6f21ac
+man8_MANS	= nfsdclddb.man
6f21ac
 
6f21ac
 EXTRA_DIST	= $(man8_MANS) $(PYTHON_FILES)
6f21ac
 
6f21ac
 all-local: $(PYTHON_FILES)
6f21ac
 
6f21ac
 install-data-hook:
6f21ac
-	$(INSTALL) -m 755 clddb-tool.py $(DESTDIR)$(sbindir)/clddb-tool
6f21ac
+	$(INSTALL) -m 755 nfsdclddb.py $(DESTDIR)$(sbindir)/nfsdclddb
6f21ac
 
6f21ac
 MAINTAINERCLEANFILES=Makefile.in
6f21ac
diff --git a/tools/clddb-tool/clddb-tool.man b/tools/nfsdclddb/nfsdclddb.man
6f21ac
similarity index 84%
6f21ac
rename from tools/clddb-tool/clddb-tool.man
6f21ac
rename to tools/nfsdclddb/nfsdclddb.man
6f21ac
index e80b2c0..8ec7b18 100644
6f21ac
--- a/tools/clddb-tool/clddb-tool.man
6f21ac
+++ b/tools/nfsdclddb/nfsdclddb.man
6f21ac
@@ -1,20 +1,20 @@
6f21ac
 .\"
6f21ac
-.\" clddb-tool(8)
6f21ac
+.\" nfsdclddb(8)
6f21ac
 .\"
6f21ac
-.TH clddb-tool 8 "07 Aug 2019"
6f21ac
+.TH nfsdclddb 8 "07 Aug 2019"
6f21ac
 .SH NAME
6f21ac
-clddb-tool \- Tool for manipulating the nfsdcld sqlite database
6f21ac
+nfsdclddb \- Tool for manipulating the nfsdcld sqlite database
6f21ac
 .SH SYNOPSIS
6f21ac
-.B clddb-tool
6f21ac
+.B nfsdclddb
6f21ac
 .RB [ \-h | \-\-help ]
6f21ac
 .P
6f21ac
-.B clddb-tool
6f21ac
+.B nfsdclddb
6f21ac
 .RB [ \-p | \-\-path
6f21ac
 .IR dbpath ]
6f21ac
 .B fix-table-names
6f21ac
 .RB [ \-h | \-\-help ]
6f21ac
 .P
6f21ac
-.B clddb-tool
6f21ac
+.B nfsdclddb
6f21ac
 .RB [ \-p | \-\-path
6f21ac
 .IR dbpath ]
6f21ac
 .B downgrade-schema
6f21ac
@@ -22,7 +22,7 @@ clddb-tool \- Tool for manipulating the nfsdcld sqlite database
6f21ac
 .RB [ \-v | \-\-version
6f21ac
 .IR to-version ]
6f21ac
 .P
6f21ac
-.B clddb-tool
6f21ac
+.B nfsdclddb
6f21ac
 .RB [ \-p | \-\-path
6f21ac
 .IR dbpath ]
6f21ac
 .B print
6f21ac
@@ -31,10 +31,10 @@ clddb-tool \- Tool for manipulating the nfsdcld sqlite database
6f21ac
 .P
6f21ac
 
6f21ac
 .SH DESCRIPTION
6f21ac
-.RB "The " clddb-tool " command is provided to perform some manipulation of the nfsdcld sqlite database schema and to print the contents of the database."
6f21ac
+.RB "The " nfsdclddb " command is provided to perform some manipulation of the nfsdcld sqlite database schema and to print the contents of the database."
6f21ac
 .SS Sub-commands
6f21ac
 Valid
6f21ac
-.B clddb-tool
6f21ac
+.B nfsdclddb
6f21ac
 subcommands are:
6f21ac
 .IP "\fBfix-table-names\fP"
6f21ac
 .RB "A previous version of " nfsdcld "(8) contained a bug that corrupted the reboot epoch table names.  This sub-command will fix those table names."
6f21ac
@@ -66,7 +66,7 @@ The schema version to downgrade to.  Currently the schema can only be downgraded
6f21ac
 Do not list the clients in the reboot epoch tables in the output.
6f21ac
 .SH NOTES
6f21ac
 The
6f21ac
-.B clddb-tool
6f21ac
+.B nfsdclddb
6f21ac
 command will not allow the
6f21ac
 .B fix-table-names
6f21ac
 or
6f21ac
diff --git a/tools/clddb-tool/clddb-tool.py b/tools/nfsdclddb/nfsdclddb.py
6f21ac
similarity index 100%
6f21ac
rename from tools/clddb-tool/clddb-tool.py
6f21ac
rename to tools/nfsdclddb/nfsdclddb.py