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

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