diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-10-02 16:24:54 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-10-02 16:24:54 +0000 |
commit | b3b6fd596b0c46e5e9a456fc7dec795806594f03 (patch) | |
tree | 3880d588a7dc9c9bfb6130fb917999346fbfd947 /misc/afbackup/files/patch-ae | |
parent | Update to 20011002. (diff) |
Add afbackup, AF's backup system.
Submitted by: Vadim Belman <voland@catpipe.net>
Notes
Notes:
svn path=/head/; revision=48347
Diffstat (limited to 'misc/afbackup/files/patch-ae')
-rw-r--r-- | misc/afbackup/files/patch-ae | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/misc/afbackup/files/patch-ae b/misc/afbackup/files/patch-ae new file mode 100644 index 000000000000..97c9eb9a8774 --- /dev/null +++ b/misc/afbackup/files/patch-ae @@ -0,0 +1,34 @@ +--- mserver.c.orig Mon Jun 25 18:59:42 2001 ++++ mserver.c Thu Sep 13 18:51:21 2001 +@@ -122,11 +122,13 @@ + + UChar *vardir = NULL; + UChar *bindir = NULL; ++UChar *libexecdir = NULL; + UChar *libdir = NULL; + UChar *confdir = NULL; + + ReplSpec replacements[] = { + { "%B", NULL, &bindir }, ++ { "%E", NULL, &libexecdir }, + { "%L", NULL, &libdir }, + { "%V", NULL, &vardir }, + { "%C", NULL, &confdir }, +@@ -2005,6 +2007,8 @@ + confdir = strdup(DEFSERVCONFDIR); + if(!bindir) + bindir = strdup(DEFSERVBINDIR); ++ if(!libexecdir) ++ libexecdir = strdup(DEFSERVLIBEXECDIR); + #else + if(!vardir) + vardir = strapp(backuphome, FN_DIRSEPSTR "var"); +@@ -2014,6 +2018,8 @@ + libdir = strdup(confdir); + if(!bindir) + bindir = strapp(backuphome, FN_DIRSEPSTR "bin"); ++ if(!libexecdir) ++ libexecdir = strapp(backuphome, FN_DIRSEPSTR "libexec/afbackup"); + #endif + + if(cryptfile) |