From ff50aa2689b0c43349a3a53bb1bf8d59572c8609 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 27 Jun 2008 21:23:05 -0700 Subject: [PATCH] Use the correct PTS database path in pt_util 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 | 16 ---------------- src/ptserver/pt_util.c | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 debian/patches/paths diff --git a/debian/patches/paths b/debian/patches/paths deleted file mode 100644 index d5d58c83d..000000000 --- a/debian/patches/paths +++ /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; diff --git a/src/ptserver/pt_util.c b/src/ptserver/pt_util.c index 0134d3a01..fb908dee3 100644 --- a/src/ptserver/pt_util.c +++ b/src/ptserver/pt_util.c @@ -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; -- 2.39.5