]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Use the correct PTS database path in pt_util
authorRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 04:23:05 +0000 (21:23 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 04:23:05 +0000 (21:23 -0700)
Apply quilt patch paths: Patch pt_util to use the correct Debian patch for
the Protection Server database.  The correct fix would be to use the
standard functions to find the database path.

debian/patches/paths [deleted file]
src/ptserver/pt_util.c

diff --git a/debian/patches/paths b/debian/patches/paths
deleted file mode 100644 (file)
index d5d58c8..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Patch pt_util to use the correct Debian patch for the Protection Server
-database.  Not suitable upstream in its current form, but will be
-obsolete if upstream uses the standard functions to figure out the
-database path.
-
---- openafs.orig/src/ptserver/pt_util.c
-+++ openafs/src/ptserver/pt_util.c
-@@ -137,7 +137,7 @@
-     struct prentry uentry, gentry;
-     struct ubik_hdr *uh;
-     char *dfile = 0;
--    char *pfile = "/usr/afs/db/prdb.DB0";
-+    char *pfile = "/var/lib/openafs/db/prdb.DB0";
-     struct cmd_parmdesc *tparm;
-     tparm = a_as->parms;
index 0134d3a01a1cbf81f58fde99e570fb55c102a9e0..fb908dee35e5ea2a8227544b5eae726db2823110 100644 (file)
@@ -137,7 +137,7 @@ CommandProc(register struct cmd_syndesc *a_as, void *arock)
     struct prentry uentry, gentry;
     struct ubik_hdr *uh;
     char *dfile = 0;
-    char *pfile = "/usr/afs/db/prdb.DB0";
+    char *pfile = "/var/lib/openafs/db/prdb.DB0";
     struct cmd_parmdesc *tparm;
 
     tparm = a_as->parms;