summaryrefslogtreecommitdiff
path: root/misc/afbackup/files/patch-ag
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-10-02 16:24:54 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-10-02 16:24:54 +0000
commitb3b6fd596b0c46e5e9a456fc7dec795806594f03 (patch)
tree3880d588a7dc9c9bfb6130fb917999346fbfd947 /misc/afbackup/files/patch-ag
parentUpdate 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-ag')
-rw-r--r--misc/afbackup/files/patch-ag34
1 files changed, 34 insertions, 0 deletions
diff --git a/misc/afbackup/files/patch-ag b/misc/afbackup/files/patch-ag
new file mode 100644
index 000000000000..9112657acc64
--- /dev/null
+++ b/misc/afbackup/files/patch-ag
@@ -0,0 +1,34 @@
+--- server.c.orig Thu Aug 23 12:54:50 2001
++++ server.c Thu Sep 13 18:52:58 2001
+@@ -103,11 +103,13 @@
+ UChar *storefile = NULL;
+ 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 },
+@@ -835,6 +837,8 @@
+ confdir = strdup(DEFSERVCONFDIR);
+ if(!bindir)
+ bindir = strdup(DEFSERVBINDIR);
++ if(!libexecdir)
++ libexecdir = strdup(DEFSERVLIBEXECDIR);
+ #else
+ if(!vardir)
+ vardir = strapp(backuphome, FN_DIRSEPSTR "var");
+@@ -844,6 +848,8 @@
+ libdir = strdup(confdir);
+ if(!bindir)
+ bindir = strapp(backuphome, FN_DIRSEPSTR "bin");
++ if(!libexecdir)
++ libexecdir = strapp(backuphome, FN_DIRSEPSTR "libexec/afbackup");
+ #endif
+
+ if(!g_lock.lockfile){